Skip to main content
Most payment problems come down to the wrong keys, the wrong mode, or a step after payment that never runs. This page covers Stripe and PayPal.

Check the connector first

Open Connectors in your project and check the payment connector. AIWA checks your keys with the provider when you save them, so an error here points straight at the problem.

Stripe

PayPal

Never paste a secret key into a prompt or into your app’s frontend code. Add it on the connector page only.

Test mode vs live mode

The most common problem is mixing the two.
  • With test keys or sandbox mode, no real money moves. Use Stripe’s test cards, or a PayPal sandbox buyer account, to pay.
  • With live keys or live mode, real cards are charged.
If test payments work and live ones don’t, check that the live keys are saved on the connector and that the live site has been published since you changed them.

Payment succeeds, but nothing happens

If the customer pays but doesn’t get access, the payment worked and the step after it didn’t. Describe exactly that in Debug Mode:
Stripe checkout completes successfully and the payment appears in my Stripe dashboard, but the customer’s account isn’t upgraded to Pro afterward. Fix the post-payment step without changing the checkout.
If your app relies on Stripe webhooks, mention it, and check the webhook’s delivery log in your Stripe dashboard for failed attempts.

Checkout uses the wrong provider

If your project has PayPal connected and not Stripe, asking AIWA to “add a checkout” uses PayPal. To use a particular provider, name it in your request:
Add a Stripe checkout for the Pro plan at $49 a month.

Still not working?

See the Stripe and PayPal guides, or contact support.

Next: My database is not working

My database is not working

Fix data that won’t save, load, or appear.