Legacy jersey webhook handler missing payment_status guard #267
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/basketball-api#267
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Bug
Lineage
Discovered scope from QA review of basketball-api PR #266 (2026-03-30).
Repo
forgejo_admin/basketball-apiWhat Broke
_handle_jersey_checkout_completedinroutes/webhooks.pyis a legacy handler that marks players as paid without checkingpayment_status == "paid"first. PR #266 fixed this in_handle_generic_order_completedbut the legacy handler was not updated.Repro Steps
Expected Behavior
Legacy handler should check
payment_status == "paid"before updating player/order records, matching the pattern fixed in PR #266.Environment
Acceptance Criteria
_handle_jersey_checkout_completedguards onpayment_status == "paid"Related
project-westside-basketball