Stripe Issues in my app

Good morning to you all. I am having issues with my application workflows related to the stripe plugin.


The button “Invest” goes to stripe. I attached the workflow of it below as well. It’s supposed to retract the Customer ID’s balance onto the app into the InvestAmount button. But it comes with those errors below.

This is the workflow behind the button and my customer id is the same in each segment. That customer id has a balance already also.

Is your question why you have the error you posted?

I

If so, the error message already provides you the answer. It says there is no customer with the ID you used in the action, but a similar customer ID is in the live mode, so that means, you have a user in your Live Stripe data with that customer ID, but not in the Development data, and when you are running your bubble app and you get this message, you are likely testing in development version and not live app, or potential you used you test api keys from stripe for both your live and development bubble versions.

1 Like

[Fede’s note: image deleted for safety]
Thanks for your response first and foremost. Here are the keys I put in the right boxes. So, in order for me to get that customer’s balance onto the app I need to use a different id in test mode? Don’t mean to frustrate just trying to learn.

  1. I would recommended deleting that first image of the keys…and in future try to block out large portions so it is not easy to be seen.
  2. You’ve got the right keys in the right places.
  3. Stripe is setup so you have a test/live version and bubble has the development/live, so anything you do in your bubble development will be done in stripe test.
  4. Like Stripe, Bubble keeps everything separate between test/live or development/live, so all things created in the database, or changed or deleted from the development bubble version will be done only in the stripe test version, and when the products, prices or customers are created in your bubble live app, they are created in stripe live data and are not accessible from development bubble versions.



You’re right. I need to add the customer in the test mode as well. It is only in live.


The “InvestAmount” button is supposed to retrieve the Customer ID’s balance. These are all in Live mode and when I did the action the first post’ errors were what occurred.

I get what you are saying 100% but I am still lost to what pat I missed to put in or edit. That’s why I’m stuck, but I am enjoying learning and am close to finishing the app if I can just test it properly before deployment.

Hey @troyoglesby2 :wave:


This might be one of your issues. You need to dynamically put in their Stripe Customer ID instead of manually have it here.

That is the first thing that I saw, unless you have already fixed it. :man_shrugging:

1 Like

No I didn’t yet I still have it like that in the picture. Could you write out the steps for doing that for me? I see the operators like is, is not, empty, formatted as, etc., but not what you are saying. Might be lost with that.

Where it says ‘customer_id’ you would need to put dynamic data.

The more I look at it, I am not sure you are even putting in the right data there to begin with. It says charge_id but you are putting a customer_id instead. I think there is more that you will have to fix.

Do you have the test environment working properly yet? It doesn’t look like that is even correct yet.

In one of the other images you are an also trying to put the Customer ID for the ‘card id to charge’. You probably need to change that too.



I made those changes you suggested. Does this look more accurate? And no testing is halfway through which is why I’m on here trying to get through this hump.

I am not sure if they are correct unless you do a step-by-step and make sure the values are being passed correctly. You would have to check the workflow to verify. :blush:

Can I have your email to share further information?

You can direct message me here on the forum. :blush:

Okay great! Thank you.

This topic was automatically closed after 70 days. New replies are no longer allowed.