Go-live checklist
What to check before you switch to a live key.
Run through this list with your test key, then switch.
Integration
-
GET /connectionreturns the right brand and platform. - New Pro Deals are found, their codes are created in the store as single-use codes with the right discount and dates, and they are confirmed.
- Every order with a Pro Deal code is reported when placed and again when it changes.
-
orderAmountexcludes tax and shipping and is after discounts. - A daily catch-up job re-sends the last days of redemptions.
- Each item result is checked, and
rejecteditems are logged. - The catalog is synced on change and once a day.
Webhooks
- The endpoint is HTTPS and verifies every signature.
- It answers
2xxquickly and processes in the background. - It skips events it already handled (by
webhook-id). -
code.deactivateandpro_deal.endeddisable the codes in the store. -
POST /webhooks/testsucceeds for both event types.
Operations
- Keys and the webhook secret are in a secret manager, not in code.
-
429answers are retried afterRetry-After;5xxanswers with backoff. - You log the
requestIdof every error. - Someone gets alerted when the integration fails.
Switch
- Create a live key in the Brand Portal.
- Deploy it and set the webhook endpoint with it (live and test have separate settings).
- Check
GET /connectionshowsmode: live, then watch the first live redemptions withGET /redemptions.