Fix Stripe Connect capability + mount Gmail token in pod #37
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#37
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?
Lineage
plan-2026-03-08-tryout-prep→ Phase 3a-iii → blockers discovered during E2E testRepo
forgejo_admin/basketball-apiUser Story
As a coach signing up via
/coach/signupI want Stripe Connect onboarding to work
So that I can set up direct deposit
As the system
I want Gmail OAuth tokens available in the pod
So that confirmation emails send automatically after Stripe payment
Context
Stripe Connect:
create_stripe_connect_account()requests onlytransferscapability. Stripe requirescard_paymentsalongsidetransfersunless platform has special approval. Error: "Your platform needs approval for accounts to have requested thetransferscapability without thecard_paymentscapability."Gmail token: The pod doesn't have the Gmail OAuth token file mounted.
gmail-oauth-tokenk8s secret already created withgmail-draneylucas.json. Need volume mount in deployment.yaml at the pathsettings.gmail_secrets_direxpects.File Targets
src/basketball_api/services/coach_onboarding.py— addcard_paymentscapability to Stripe Connect account creationk8s/deployment.yaml— add volume mount for gmail-oauth-token secretAcceptance Criteria
transfersandcard_paymentscapabilitiesTest Expectations
pytest tests/ -vConstraints
~/.secrets/google-oauth— checkconfig.pyfor the settingsettings.gmail_secrets_dirresolves to in the containerChecklist
Related
project-westside-basketball