Payments
Switch payments from test to live
Everything works with test cards, and live mode has its own keys, webhooks and settings.
- What you get
- A go-live checklist for your provider, with every test-mode leftover found in the code.
- Paste it into
- Your AI tool, in your project
The prompt
I'm about to switch payments from test mode to live. Search the project for anything tied to test mode: keys, price and product IDs, webhook secrets, hard-coded links. List what needs a live value and where it's set. Then give me the checklist for the provider's dashboard: recreate products and prices in live mode, add the live webhook address with the same event types, set the business details, receipts and tax settings, and turn on the customer portal if the app links to it. Finish with one real, small purchase and refund that I make myself, and what I should see in the database after each.
Use it
Open your AI tool (Claude Code, Codex or Cursor) in your project folder and paste it in.
More in Payments
Handle every subscription state
Signing up to a plan works, and nothing happens when a card fails or someone cancels.
Add payments the safe way
Checkout looks done when the success page shows, and that page proves nothing.
Make payment webhooks reliable
A customer pays, the webhook fails or arrives twice, and their account is wrong.
Someone paid and didn’t get access
The money arrived and the account still says free. Or the reverse.