Need advice in deployment w.r.t to Stripe - test mode vs Live

Hi everyone, I need some guidance from anyone who has moved a Bubble app from Stripe test mode to live payments.

My app is nearly ready and currently working well in Bubble dev mode with Stripe test mode. Payments and subscription status updates are working correctly with test keys.

Now I’m trying to understand the correct sequence for going live.

Stripe is asking me to verify my business and provide a business website URL. Since my app is still in dev mode, I don’t want to provide the version-test URL.

My questions are:

  1. Should I first deploy the Bubble app to live, provide that live URL to Stripe for verification, and then add the Stripe live keys in Bubble?

  2. If the app is deployed live before live Stripe keys are added, what happens if a user tries to make a payment? Will checkout fail, or will it still use test mode?

  3. Should live keys only go into the Live Secret Key / Live Publishable Key fields in the Bubble Stripe plugin, while keeping test keys in the development fields?

  4. Is there any risk of putting live keys in dev mode? I want to avoid accidentally charging real cards from the development environment.

Could someone please confirm the safest step-by-step approach for moving from Bubble dev + Stripe test mode to Bubble live + Stripe live payments?

Thanks in advance

HI All, Any help in the above query is appreciated

To answer your questions:

  1. When you say “provide to stripe for verification” do you mean the initial business profile setup? In that case you would need anything that even somewhat shows your company’s name and it isn’t a big deal.

  2. If your app is live and dev keys are used, they won’t necessarily fail but they just won’t really go through if the testing card numbers aren’t used. For example: 42424242…

  3. Yes you would keep live keys in the live section and the dev keys in the dev. You can do some testing and if you encounter issues, you can just remove the dev key before deploying live then adding them back in your dev branch.

  4. There isn’t a risk as in dev mode, only the dev keys should be used. It’s just that wherever your app is live, it will use live keys. You can honestly follow the last question I answered if you are unsure and you should be fine.

Let me know if you need me to expand on or clarify anything :slight_smile:

Appreciate the response. Thank you very much for the details

It is my pleasure! Feel free to let me know if you have any other questions :slight_smile: