Trigger a workflow event from a Purchase in Stripe

I would like to trigger an event after someone successfully purchases an item using Stripe.

Real scenario:

After a BUYER purchases a shoe from a SELLER (via Connect) using Stripe I would like to Create A New Shoe Purchase in Bubble but I need the invoice or purchase ID in Stripe which will trigger the next event.

Any thoughts around this. Happy to send a screen shot or provide the development link to anyone that can help.

Is the goal to make sure that the purchase was successful before creating the New Shoe Purchase?

If so, then you can put those actions in the same workflow as the Charge Action, just be sure to put them AFTER the Charge Action, so they will only run if the charge is successful.
If the user cancels payment or the payment fails, the workflows to Create a Shoe Purchase will not run

You can then reference ‘Result of Step 1’ to save the Charge ID from Stripe in the Shoe Purchase data (recommended if you ever want to allow Refund actions through your system)


Geoff | Wolfer Tech
Creator of The Best Selling Bubble Template
Creator of The Most Used Bubble Template (FREE)

Thanks for the reply! I’m away from my laptop, if you don’t will send you a screen shot of the workflow I have. I think I’m on the same page with what you mentioned but missing the Charge ID piece.

You’re correct, I do.want to confirm that the purchase was successful.

I think I have a full understanding but still not completely clear on capturing the Charge ID from Stripe. Which action should I start with to get the right data?

Based on your other post, I am guessing this is because your Data’s Charge id field is set to a type other than text?
Saving the Charge Id should look like the following.


Geoff | Wolfer Tech
Creator of The Best Selling Bubble Template
Creator of The Most Used Bubble Template (FREE)

Awesome, worked perfectly! Thanks