---
name: go-live-checklist
description: >-
  Safe transition from sandbox to production for Smart Glocal integrations —
  credentials, environment switch, webhook configuration, and cutover
  procedure. Use when user asks to go live, move to production, or deploy
  to the live environment.
---

# Go-Live Checklist

## Purpose

Use this skill for a safe transition from the Smart Glocal sandbox (demo) environment to production (live).

## Primary references
- [API format](https://developer.smart-glocal.com/reference/reference-format)
- [Webhooks](https://developer.smart-glocal.com/reference/reference-webhooks)
- [Error codes](https://developer.smart-glocal.com/reference/reference-errors)

## Preconditions

- All payment scenarios tested and verified in sandbox
- Webhook endpoint implemented and signature verification working
- Idempotency key handling implemented for safe retries
- Error handling and logging in place

## Go-live gates

### 1) Credentials and keys

- [ ] Production `X-PARTNER-PROJECT` received from Account Manager
- [ ] Production private key configured in secure storage
- [ ] Smart Glocal production public key downloaded for webhook verification: [smgl_public.pem](https://developer.smart-glocal.com/assets/smgl_public.pem)
- [ ] Key rotation and revocation process documented

### 2) Environment and network

- [ ] Base URL switched from `https://demo.smart-glocal.com` to `https://proxy.smart-glocal.com`
- [ ] Outbound network paths to `proxy.smart-glocal.com` verified
- [ ] Firewall rules allow traffic to production IPs (check with Account Manager)
- [ ] TLS certificate verification enabled (no self-signed certs in production)

### 3) Webhook configuration

- [ ] Production webhook URL provided to Account Manager
- [ ] Webhook endpoint responds with HTTP 200 within timeout
- [ ] `X-PARTNER-SIGN` verification implemented using Smart Glocal's production public key
- [ ] Retry logic tested: 4xx/5xx responses trigger retries with backoff

### 4) Testing before cutover

- [ ] Smoke test: one live payment of minimal amount (e.g., 1 USD) using a real card
- [ ] Verify `payment_finished` webhook received with correct data
- [ ] Process a full refund of the test payment
- [ ] Verify `payment_refunded` webhook received
- [ ] Check that the test payment appears in the daily report

### 5) Cutover

- [ ] Deploy production configuration (URL, Project ID, keys) to your servers
- [ ] Redirect your application from demo to production API
- [ ] Monitor first 10–20 live transactions for errors
- [ ] Verify daily report delivery the next day

## Rollback plan

If critical issues are found after cutover:

1. Switch back to sandbox URL (`https://demo.smart-glocal.com`)
2. Use sandbox Project ID (`shop1`)
3. Inform Account Manager about the issue
4. Resume testing in sandbox until resolved

## Important Links

- [Getting started](https://developer.smart-glocal.com/assets/skills/getting-started/SKILL.md) — initial setup and authentication
- [API format](https://developer.smart-glocal.com/reference/reference-format)
- [Webhooks](https://developer.smart-glocal.com/reference/reference-webhooks)
- [Testing](https://developer.smart-glocal.com/reference/reference-testing)
