Go-live checklist
Environment
- [ ]
SIMPLEPAY_PRODUCTION=true(exactly this text) - [ ] The live
SIMPLEPAY_MERCHANT_ID_*andSIMPLEPAY_MERCHANT_KEY_*values are set, not the sandbox ones - [ ]
SIMPLEPAY_REDIRECT_URLis an absolutehttpsURL (the SDK throws in production if not) - [ ] Every per-payment
redirectUrlandurlsentry ishttpstoo - [ ]
SIMPLEPAY_LOGGERis off - [ ] The secret keys are not in the repo, the client bundle or the logs
IPN
- [ ] The IPN URL is set in the live merchant admin
- [ ] The IPN endpoint reads the raw body and sends
responseBodyback unchanged (IPN) - [ ] A bad signature does not change the order
- [ ] Order fulfilment is idempotent
- [ ] The IPN route is not behind login, CSRF tokens or a WAF rule that blocks SimplePay
Payment flow
- [ ] The server computes the amount from the order
- [ ]
orderRefis unique (a retry uses a neworderRef, or restarts according to SimplePay's rules) - [ ] The back-URL page handles
SUCCESS,FAIL,TIMEOUTandCANCEL - [ ] On a failed payment the customer sees the SimplePay transaction ID
- [ ] The IPN sets the order status, not the back URL
SimplePay requirements
Before going live SimplePay reviews your site (for example logo, data transfer notice, terms). The list is in the SimplePay documentation and your contract; the SDK doesn't cover these.
Recurring payments
- [ ] SimplePay enabled recurring payments on the live account
- [ ] Tokens are stored securely, per customer
- [ ] There is a card removal feature (
cancelCard) that also deletes the tokens
Google Pay
- [ ]
environment: 'PRODUCTION' - [ ] The domain is approved in the Google Pay & Wallet Console and SimplePay has your Google merchant ID
- [ ]
gatewayMerchantIdis the live SimplePay merchant ID
Apple Pay
- [ ] The domain is registered on the Apple Pay tab of the live SimplePay admin
- [ ] The association file is served at
https://<domain>/.well-known/apple-developer-merchantid-domain-association - [ ] The server sends its own registered domain to
startApplePay - [ ] Before
doApplePayyou check thattransactionIdbelongs to this order
After the first live payment
- [ ] A small real payment goes through, the IPN arrives, the order is paid
- [ ] The transaction shows as completed in the SimplePay admin
