Production Environment

Live Mode is where real customer payments are processed. Complete the Testing Guide and the Go-Live Checklist before you switch.

Switching to Live Mode does not change the API base URL or the Merchant Dashboard. You switch your API key and your webhook configuration.


What stays the same, what changes

ItemTest ModeLive Mode
API base URLhttps://api.digetpay.com/v1https://api.digetpay.com/v1 (unchanged)
Merchant Dashboardhttps://pay.digetpay.com/https://pay.digetpay.com/ (unchanged)
API keyTest API KeyLive API Key
CheckoutUse the redirectUrl returned by the APIUse the redirectUrl returned by the API
WebhooksTest Webhook ConfigurationLive Webhook Configuration, with its own HTTPS URL
SDK tokensTest SDK tokens, where applicableLive SDK tokens, where applicable

See API Modes & Credentials for the full comparison.

❗️

Never use your Live API Key for development or testing, and never leave your Test API Key in a live deployment. Keep the two keys in separate secrets.


Cutover steps

flowchart TD
  test[Test Mode tests pass]
  checklist[Go-live checklist complete]
  approval[Go-live approval]
  keys[Get Live API Key]
  config[Update API key secret]
  webhooks[Register Live webhook]
  smoke[Live smoke test]
  live[Live traffic enabled]

  test --> checklist --> approval --> keys --> config --> webhooks --> smoke --> live
  1. Validate in Test Mode — the Testing Guide scenarios all pass.
  2. Business sign-off — Business Onboarding approved for live processing, and technical go-live approval granted.
  3. Get your Live API Key — from the Merchant Dashboard or the DigetPay integration team.
  4. Update configuration. Replace the API key in your secrets manager or environment. The base URL stays the same:
DIGETPAY_API_KEY=your_live_api_key
DIGETPAY_API_BASE=https://api.digetpay.com/v1
  1. Update your own URLs — set successUrl, failureUrl and your webhook endpoint to your live HTTPS domains.
  2. Register your Live webhook in the Live Webhook Configuration of the Merchant Dashboard. It is separate from your Test webhook.
  3. Smoke test — place a small real or authorized transaction, confirm it with the Status API, and check that your Live webhook was received.
  4. Monitor — the dashboard and webhook logs for the first 24 hours.

Configuration

Use one base URL and load the key from a secret. Do not add logic that switches the base URL by environment.

$config = [
    'api_base' => 'https://api.digetpay.com/v1',
    // Test API Key in development/QA; Live API Key in your live deployment.
    'api_key' => getenv('DIGETPAY_API_KEY'),
];

Integration Code — Hosted · Integration Code — Embedded


Apple Pay in Live Mode

  • Live merchant domain verified with Apple (Embedded integrations)
  • customerPhone on every create link request
  • Test on Safari before marketing launch

Apple Pay Embedded if using custom checkout.


Rollback plan

IssueAction
High decline ratePause traffic; compare your Test and Live configuration
Webhook failuresFix handler and check the Live webhook configuration; replay from dashboard if available
Key compromiseRotate the Live API Key immediately

Contact [email protected] for production incidents.


Related


Did this page help you?