In plain words
Taking payments means a provider like Stripe, Polar or Lemon Squeezy handles the card, while your server confirms what was paid before granting access.
Where you see it
QuickBite sends the customer to a Stripe Checkout page, then back to /success. That page loading proves nothing about payment, because anyone can type the address.
What goes wrong
- Unlocking the order on the success page
Anyone can open /success without paying. Mark orders paid only when your server hears from Stripe through a verified webhook.
- Letting the browser set the price
Pass along whatever amount the request contains, and sooner or later someone sends amount: 1. Look up the price on the server.
unit_amount: body.amount - Testing only in test mode, then flipping to live
Live mode has its own keys, products, prices and webhook endpoints. Launch day is a bad time to find one missing.
What to tell your agent
Quick check
Sign in to earn +10 XP for itA Quill user gets Pro without paying by visiting /success directly. What's the fix?