After payment, Stripe redirects the user back to a URL you control. Set these in the Integration tab of your project.Documentation Index
Fetch the complete documentation index at: https://docs.cuprice.io/llms.txt
Use this file to discover all available pages before exploring further.
Success URL
Where users go after a successful payment:{CHECKOUT_SESSION_ID} is a Stripe placeholder. Stripe replaces it with the actual session ID like cs_live_a1b2c3... automatically.Cancel URL
Where users go if they close the payment page:Test URLs
Cuprice supports separate redirect URLs for test mode. When your Stripe key starts withsk_test_, the test URLs are used instead of production URLs.
Set both production and test URLs in the Integration tab:
| Production | Test | |
|---|---|---|
| Success | https://yoursite.com/?payment=success&session_id={CHECKOUT_SESSION_ID} | http://localhost:3001/?payment=success&session_id={CHECKOUT_SESSION_ID} |
| Cancel | https://yoursite.com/?payment=cancelled | http://localhost:3001/?payment=cancelled |
