Set up and test payments in Atoms
Set up a test checkout, check payments and subscriptions, and prepare your app to accept live payments.
You can configure and test payments in Atoms before connecting a live Stripe account. Test purchases do not charge real money. When the payment flow works as expected, connect a verified Stripe account, finish the live checkout setup, and publish your app to accept real payments.
Start with your payment setup
You can tell the Agent what you want to charge for in your project, such as a one-time purchase or a subscription. You can also open Atoms Cloud → Payments and start from there.
- Confirm the country or region where your business is registered. Atoms checks whether Stripe supports that business location. If it is not supported, you can continue building your app and return to payment setup later with eligible business details.
- If your project has not enabled Atoms Cloud, confirm that it can be enabled for payment and subscription state. Skipping this step leaves Payments off.
- Select Get started to set up the payment test environment. This prepares Test; it does not connect a live Stripe account.
- Describe what customers should buy, the price, and whether payment is one-time or recurring. Review the product and price details shown before you select Allow.
If you manage a changing product catalog inside your app, describe that flow to the Agent. For this separate Test flow, both Free and paid plans can use one-time checkout based on each order’s amount, without selecting preset products or creating every item in Payments. Confirm how your app calculates the order amount and updates the order after payment.
After upgrading, confirm the app’s payment currency and finish setting up its independent Test environment before creating custom products or prices. New Test and Live payments for the same app use its confirmed currency. The shared Test presets use USD. If you choose a different currency during upgrade, existing transactions and subscriptions keep their original currency; their amounts are not converted.
Test a purchase in Preview
After the Test checkout and purchase entry are configured:
- Open Preview and use your app as a customer would. Sign in if the app requires it, then select a product or paid plan to start checkout.
- For a successful card payment, use 4242 4242 4242 4242, a future expiry date, a three-digit CVC, and a postal code in the requested format. To check a declined payment, use 4000 0000 0000 0002.
- Open Payments → Test → Transactions. Check the payment status, amount, and customer. For a subscription, also check Test → Subscriptions.
- Return to your app and verify the order or access actually changed as intended. A checkout return page or a transaction row alone does not prove the whole flow works.
If you are testing a plan downgrade that takes effect at the end of a billing period, confirm the scheduled plan and effective date in the app, then verify the change when it takes effect. Saving a downgrade does not create an immediate card payment.
Check your payment data
Open the Payments panel in the project and choose Test or Live to view that environment’s overview, transactions, subscriptions, products, and coupons. Switching the panel view changes what data you see; it does not switch your app’s checkout mode or publish the app.
Use Transactions to verify a payment or refund status. A subscription marked Active means the subscription remains active; check its payment record separately before treating a renewal as paid. Refund results made in Stripe can appear in the transaction record, but the Payments panel does not initiate a refund.
Prepare to accept real payments
To set up Live payments, you need an eligible paid plan, the necessary workspace permission, a verified Stripe account, a live checkout configuration, and a published app.
- In Payments, select Go live. Choose a verified Stripe account and select Bind for the current project. If you do not have an account ready, continue through the Stripe setup from Connectors → Stripe and return when Stripe has confirmed it can accept payments.
- For fixed products and subscription plans that you created in Test, open Payments → Test → Products → Sync to Live. Select the products you want to add to the bound Live account and confirm. Coupons are selected separately. Products managed dynamically inside your app do not need this catalog sync.
- When the sync finishes, switch the panel to Live and check the resulting products or coupons. A Test product can be added to the same Live account once for this project. Later Test edits do not update that Live copy; maintain each environment separately.
- Finish the Live checkout and app entry setup. Publish or update the app, then check the published customer journey. Live checkout charges real money: use the test cards only in Preview/Test, and complete a Live purchase only when you intend to make a real payment. If you complete a Live purchase, verify the resulting Live record and the app’s order or access update.
If something does not work
- The test purchase did not grant access: check both the Test transaction and the app’s order or entitlement. Ask the Agent to review the payment-success logic for that purchase.
- A Live account cannot be selected: open Connectors → Stripe, review its status, and complete any required Stripe details. Only an account confirmed as available for payments can be bound.
- A product is already marked Added to Live: it has already been added to that target account for this project. Make subsequent changes in Live rather than submitting the same Test product again.
- The live app still cannot charge: check the bound account, live checkout, required permissions, and the currently published app version. The Payments panel’s Live tab alone does not activate checkout.