Skip to Content
Docs

Go live

Switch your integration from the sandbox to live, and complete the pre-launch checklist.

After validating your integration in the sandbox, switch to the live environment to process real payments. Moving to live means changing your API base URL, API key, and webhook signing secret, and passing live: true if you load Pay.com.js from @pay-com/js.

Get live access

Pay.com turns on live for your account after underwriting and your commercial agreement are complete (see Set up your account).

  1. 1

    Contact Pay.com

    Contact your account manager or support@pay.com. Your account team verifies your integration and confirms compliance requirements.

  2. 2

    Create a live key

    In the Pay.com dashboard, go to Developers → API keys and select Create an API key. Choose the key's workspaces, permissions, and network access (A policy, IP addresses, or Any network if Pay.com has allowed it for your organization). Every live key needs a network access setting, and there's no default.

    Copy the secret immediately (it's shown only once) and store it in your secrets manager or server environment. See API keys.

  3. 3

    Switch your integration to live

    Update the settings in What changes in live, then verify every item in the checklist before processing your first live payment.

What changes in live

Your integration uses a different base URL, API key, and webhook signing secret in each environment.

SettingSandboxLive
API base URLhttps://api.sandbox.pay.com/v1https://api.pay.com/v1
API keysk-pay-com-sandbox-…sk-pay-com-live-…
Network access on the keyNo settingRequired (a policy, IP addresses, or any network)
Pay.com.js scripthttps://js.pay.com/v1https://js.pay.com/v1
Pay.com.js from @pay-com/jsPay.com({ identifier })Pay.com({ identifier, live: true })
Webhook signing secretwhsec-pay-com-sandbox-…whsec-pay-com-live-…
test_mode on objectstruefalse
Test cardsSimulate outcomesDeclined
Simulate endpointsAvailableReturn 403
FundsNever moveReal transactions on banking networks

Sessions belong to one environment too. Pay.com.js works in the environment of the session you give it, so your live checkout needs sessions created with the live API.

Checklist

Before your first live payment, verify each of these items.

Your server

Confirm your backend configuration and request headers:

  • Your server calls https://api.pay.com/v1 with your sk-pay-com-live- key, loaded at runtime from a secrets manager or environment variable. See Get your API keys.
  • Your live key's workspaces, permissions, and network access cover the requests your servers make and the networks they make them from. Requests outside them return 403. See Manage API keys.
  • If your live key serves several workspaces (or all of them), each request passes the workspace's merchant ID as the HTTP Basic auth username. See Live keys for several workspaces.
  • If you send raw card details, your key is marked PCI compliant and your infrastructure is fully PCI DSS compliant (SAQ-D). See PCI compliant keys and Find your use case.
  • Your requests no longer set duplicate_card_check: false, so duplicate card detection stays on in live. It blocks the same card from being used by more than one customer. See Create your first payment.
  • Every POST request that creates or changes something sends a unique idempotency-key header, and your code sends the same key when it retries. See Idempotency and retries.

Your checkout

Confirm your browser integration points to live:

  • Your pages load Pay.com.js from https://js.pay.com/v1, or with @pay-com/js and live: true. See Install and initialize.
  • Your server creates the sessions your pages use with the live API (https://api.pay.com/v1).

Your webhooks

Confirm your live webhook endpoint and verification logic:

  • A live webhook endpoint is registered under Developers → Webhooks for the events your integration consumes.
  • Your server verifies Pay-Signature with the live endpoint's signing secret (whsec-pay-com-live-), not the sandbox secret. See Verify webhook signatures.
  • Your handler skips events whose id it has already handled and returns a 2xx response for each event. Pay.com retries failed deliveries every 15 minutes for up to 24 hours. See Webhooks.

Your keys

Confirm your key management practices:

  • Live keys stay out of development and test systems.
  • Your team knows how to roll a key that may have leaked with Roll key on the key's page. See Keep your keys safe.

Your payouts

If you send payouts, confirm that your payout methods are turned on in live and that your settlement account's balance covers them. See the payouts go-live checklist.

After you go live

Live transactions appear in real time in the Pay.com dashboard. Continue using the sandbox to test integration changes, because test cards and simulate endpoints work only in the sandbox. See Test your integration.

Was this page helpful?