hackclub / hackclub/hcb

[Stripe] Set `current_balance_available` even if we declined a card charge

Open Beginner friendly
#14,874 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
870
Forks
138
Avg merge
1d 14h
Merged PRs (30d)
208

Description

https://github.com/hackclub/hcb/blob/d6d5c9cd4b24e52465e1d1e43ed10d0207116196/app/services/stripe_authorization_service/webhook/handle_issuing_authorization_request.rb#L85

Contributor guide

Open the contributing guide

Research direction

Start by reading app/services/stripe_authorization_service/webhook/handle_issuing_authorization_request.rb around line 85 and trace the declined card-charge path. Confirm how current_balance_available is handled there; the work is done when that value is set for declined charges as well as accepted ones.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
payments
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.