Going Live
Sandbox vs live, ePay's app review, and what keeps your app running.
Going Live
Build against sandbox with cp_test_ and sk_test_, then switch to cp_live_ and sk_live_ once ePay approves your app.
Sandbox vs live
| Sandbox | Live | |
|---|---|---|
| Keys | sk_test_ + cp_test_ | sk_live_ + cp_live_ |
| Available | As soon as you submit the app | After ePay approves it |
| Redirect URIs | Any https URL, or http://localhost | https only, reviewed by ePay |
| Who can approve | While the app is in review: only members of your business | Owners and administrators of any active business except your own |
| Consent screen | Shows a "Test mode" banner | Normal |
| Money | Test transactions only | Real; settles to the connected business's bank account |
Sandbox redirect URIs can be changed any time from the app page. Live redirect URIs go through review.
App review
When you submit your app, ePay reviews its details, policies, live redirect URIs and the app logo and INSA certificate. The review can come back with questions — answer them from the app page and resubmit. Once approved, the cp_live_ client ID appears on the app page in live mode.
If your app charges an app fee, turn on Charges an app fee before you submit, so it's shown to ePay during review. Before taking live payments, set your pricing model and a default app fee for each currency you take in Developers → Apps → your app → Fees. Turning app fees on after approval goes through a change request like the details below.
After approval, changes to the name, logo, website, support email, use case, policies or live redirect URIs go through review again. Your app keeps working on its current details while a change is reviewed.
Live mode for a connected business
A live call on behalf of a business works only when all of these hold:
- Your app is approved, and neither disabled nor suspended.
- The business connected with
cp_live_(livemode: true). - The business's own KYB is verified (
status: "active"). - You call with
sk_live_.
livemode_enabled on every account says whether that's true right now. A business that connects while its KYB is still in review starts as pending_kyb and becomes active on its own — you receive account.updated when it does.
A business connected in sandbox that approves your live client ID later keeps the same account_id; the connection is upgraded to live.
What stops your app
| Situation | Effect | How it ends |
|---|---|---|
| You disable the app in the dashboard | Every call on behalf fails with product_disabled. Connections are kept. | Enable it again. |
| ePay suspends the app | Every call on behalf fails with product_not_available; new businesses can't connect. | ePay reactivates it. |
| ePay suspends one connection | Calls for that account fail with connection_suspended. You get account.updated. | ePay reactivates it. |
| The INSA certificate expires | Live calls stop for every connection; sandbox keeps working. You're warned 30 and 7 days before. | Upload a renewed certificate with Request a change; live resumes when ePay approves it. |
| The business disconnects | Calls fail with account_not_connected. You get account.product.deauthorized. | The business connects again (same account_id). |
Back to: Connect overview