fix(billing): make Stripe checkout actually work end-to-end #82
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gmackie/ForgeGraph!82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/stripe-checkout-e2e"
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?
Closes the gaps that made checkout non-functional in production:
constructEvent→constructEventAsync— sync crypto is unavailable on the Workers runtime.subscription.upgradelet any authed user setplan: prodirectly. Now FORBIDDEN for paid plans (new tests).Still required ops-side (not in this PR):
wrangler secret putSTRIPE_SECRET_KEY / STRIPE_WEBHOOK_SECRET / STRIPE_PRO_PRICE_ID + APP_URL, create the Pro Price, and register the webhook endpoint in the Stripe dashboard.🤖 Generated with Claude Code