Stripe Payment Debug Panel

Current environment: production

Environment Variables

STRIPE_PUBLISHABLE_KEY: pk_live_...
PUBLIC_SITE_URL: https://tamlyno.com
STRIPE_SECRET_KEY: Not visible (security) The secret key can only be verified in API tests below

Environment Tests

Create Checkout Session Test

Request/Response Flow

Cloudflare Specific Info

Click "Cloudflare Env Test" to see Cloudflare data

Troubleshooting Tips

If "Stripe configuration missing" error:

  1. Check Cloudflare dashboard for environment variables
  2. Run wrangler secret put STRIPE_SECRET_KEY
  3. Ensure wrangler.toml has the [secrets] section
  4. Verify API version in stripe-test.ts matches your Stripe account
  5. Try adjusting create-checkout-session.ts to use request.locals instead of request.platform