Go Live Checklist
Use staging (staging.turnstay.com + sk_test_ key) for all testing. Verify each item before switching to production.
Checklist
Section titled “Checklist”- Create a payment intent — verify you receive
turnstay_payment_urlin the response. - Open the payment URL — verify amount and description display correctly.
- Complete a test payment — verify your webhook/callback receives the notification.
- Check merchant_reference — confirm it matches what you sent.
- Verify success redirect — confirm customer lands on your
success_redirect_url. - Test a failed payment — verify redirect to
failed_redirect_url. - Test without customer_email — verify the payment page prompts for it.
Callback endpoint requirements
Section titled “Callback endpoint requirements”Before going live, ensure your callback endpoint:
- Accepts POST requests with JSON body (
Content-Type: application/json). - Returns HTTP
200on success. - Is accessible from the internet (not behind a VPN or firewall).
- Handles duplicate callbacks gracefully (idempotency).
Go live
Section titled “Go live”Once all checks pass:
- Swap URL:
staging.turnstay.com→prod.turnstay.com - Swap API keys:
sk_test_→sk_live_