CopperPouch Developer docs
Merchant console

Sandbox

Use the local sandbox to test payments, receipts and buyer access. Test orders and customers are kept separate from live records.

Try a decline

Start a test checkout and choose Decline test payment. The order stays unpaid. Retry with the same email to create a new payment attempt, then simulate success.

If you’re using the API, send { "outcome": "failed" } to the checkout’s /sandbox route. Use a new idempotency key for the next attempt and reuse a key only when retrying the same request.

Verify the order

Check the receipt in your email. Sign in to the buyer portal with the checkout email. A digital download needs an eligible release with a scanned file. A software purchase can issue a licence when an active licence policy was attached at checkout.

Refund a test order

Open a paid test order in the console. Choose Refund test order, enter a reason, and review the amount before confirming. A full simulator refund revokes the order’s downloads and online licence access. Existing offline leases can remain valid until they expire.

Stripe test mode

The local simulator needs no Stripe account. To enable hosted Stripe onboarding, configure a Stripe Sandbox, a matching Connect webhook signing secret, and the store-country allowlist. Open Payments in the merchant console to continue on Stripe and check the connected account’s status.

Once Stripe verifies the account, test eligible one-time prices and fixed monthly or yearly subscriptions. Buyers can schedule cancellation and open the Stripe Billing Portal to update their payment method when the connected account has a Portal configuration.

Check the API reference to see whether Stripe test routes are registered on your local server.