← Data, auth and payments
LESSON 4 OF 5

Taking payments

Payments reward preparation. Create your products and prices in the payment provider's dashboard first, by hand — then give the agent the exact price IDs in your prompt. Generated checkout code with real IDs works on the first run far more often. Stay in test mode until the whole flow works end to end: checkout, success page, failure page, and the webhook that records the purchase. Providers publish test card numbers for every scenario, including declines — use them all. Watch the details that bite later: currency defaults (many stacks silently assume USD), taxes, and what happens if a user pays twice. Each is one prompt to handle — if you remember to ask.

Sign in to track your progress. ← Previous Next lesson →