Payments
Someone paid and didn’t get access
The money arrived and the account still says free. Or the reverse.
- What you get
- The path from payment to access traced, the broken link fixed, and the affected users listed.
- Paste it into
- Your AI tool, in your project
The prompt
A customer paid but didn't get what they paid for (or someone has access without paying). Trace the full path for one payment: checkout creation, the provider's events, our webhook handler, the database change, and the check the app makes when deciding what the user can do. Tell me where a real payment can fall through: a webhook that failed, a customer not matched to a user, a different email at checkout, a cached plan, or test and live modes mixed up. Find the cause for this case. Then write a small script that compares the provider's records with my database and lists every user whose access is wrong, without changing anything until I approve.
Use it
Open your AI tool (Claude Code, Codex or Cursor) in your project folder and paste it in.
More in Payments
Switch payments from test to live
Everything works with test cards, and live mode has its own keys, webhooks and settings.
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.