Book a 30-min callBook a call

Before you switch to live payments: a checklist for launch

What to check before turning on real payments in a web or mobile app: keys, webhooks, server-side checks, card rules by region, app store rules and alerts.

A bank card, a switch moved from TEST to LIVE, and a checklist with four ticked items.
Written by
BYD Tech
Updated
Topic
Web apps
Reading time
9 min read

Questions people ask

What should I test before switching to live keys?

A successful purchase, a declined card, a failed authentication, a refund, a cancellation, and the same webhook delivered twice. Then run one real low-value purchase in live mode, check that access was granted by the server, and refund it.

Can the app unlock access before the webhook arrives?

Yes, if your server confirms the payment with the provider first. When the customer reaches the success page, the server can look up the checkout status and grant access straight away. The webhook still has to grant it too, because some customers never reach that page.

Do I need PCI compliance if I use a hosted checkout?

Yes, but far less work. Anyone accepting cards has to confirm PCI compliance, and a hosted checkout or the provider’s embedded fields keep card numbers off your servers, which shrinks what you have to prove.

Where should the secret API key go in a mobile app?

Nowhere in the app. Apps can be unpacked and searched, so the app holds only the publishable key and calls your server, which holds the secret key.

Can an iOS or Android app sell digital subscriptions through Stripe?

In most places, digital goods and features used in the app must be sold through Apple’s in-app purchase or Google Play billing. There are regional exceptions, such as links to outside purchase options on Apple’s United States storefront and Google’s programs in eligible countries, and these rules are changing, so check the current guidelines for each market.

Building something like this?