Jersey checkout "load failed" error on payment click #340
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
forgejo_admin/basketball-api#340
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
Standalone — discovered via user email report during operations (2026-04-04).
Repo
forgejo_admin/basketball-api(backend) andforgejo_admin/westside-app(frontend)What Broke
When a parent clicks "Order" on the jersey page (accessed via email token link), the browser shows "load failed" instead of redirecting to Stripe checkout. The
fetch()call toPOST /jersey/checkout?token=...fails at the network level — never reaches the server. GET endpoints on the same API (/jersey/options,/jersey/sizes) respond correctly.Reporter: Daniel Niyitanga (niyitangadaniel72@gmail.com), 2026-04-04 16:45 MT.
"Load failed" is Safari/iOS's
TypeError.messagefor network-level fetch failures.Repro Steps
https://westsidekingsandqueens.tail5b443a.ts.net/jersey?token=15nB1jKs0FmwSbG0qI5lYPspbEAYAag9djFB262horwExpected Behavior
Clicking "Order" should POST to
/jersey/checkout?token=..., receive a Stripe checkout URL, and redirect the user to Stripe's hosted payment page.Environment
westsidekingsandqueens.tail5b443a.ts.netGET /jersey/optionsreturns 200Acceptance Criteria
POST /jersey/checkout?token=...returns valid Stripe checkout URLRelated
westside-basketball— project this affectsbasketball-api/src/basketball_api/routes/jersey.py:172-338,basketball-api/src/basketball_api/main.py(CORS),westside-app/src/routes/(app)/jersey/+page.svelte:248-289opt_outoption missing from API response)Scope Review: READY
Review note:
review-823-2026-04-04Well-scoped bug ticket with verified file targets, complete template, and clear investigation priority. All 4 AC are testable. No hard blockers from related QA/in_progress items (#718, #719, #733). Single agent pass, <5 min estimated.
Non-blocking discovered scope:
[SCOPE]arch-basketball-api architecture note does not exist in pal-e-docs (platform-wide gap)