Skip to content

Go-live checklist ​

Environment ​

  • [ ] SIMPLEPAY_PRODUCTION=true (exactly this text)
  • [ ] The live SIMPLEPAY_MERCHANT_ID_* and SIMPLEPAY_MERCHANT_KEY_* values are set, not the sandbox ones
  • [ ] SIMPLEPAY_REDIRECT_URL is an absolute https URL (the SDK throws in production if not)
  • [ ] Every per-payment redirectUrl and urls entry is https too
  • [ ] SIMPLEPAY_LOGGER is 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 responseBody back 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
  • [ ] orderRef is unique (a retry uses a new orderRef, or restarts according to SimplePay's rules)
  • [ ] The back-URL page handles SUCCESS, FAIL, TIMEOUT and CANCEL
  • [ ] 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
  • [ ] gatewayMerchantId is 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 doApplePay you check that transactionId belongs 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

Unofficial community SDK. Not affiliated with or endorsed by SimplePay Zrt. MIT License.