# Next Theme — pay.nexttheme.com (Root Index v11)

- Server-side initiate (no JS)
- Never redirects browser to Stripe; server-side capture via API
- Loop guard detects redirect back to own /pay and captures immediately
- PRETTY-first + FC fallback
- Logs: storage/logs/pay.log
- Cloudflare-safe (no 5xx)

## Env
API_BASE=https://api.nexttheme.com
DEFAULT_PROVIDER=stripe
PAY_API_TOKEN=change-me
PAY_DEBUG=1
PAY_CAPTURE_ENDPOINTS="website/checkout/capture, payments/capture, website/pay/capture"
