Stripe token for a card - Event element missing

I have got it working after spending 2 days on it and 2,000 error messages lol. There arent any missing elements they were just changed from what i found. Here are some screen shots of my settings. You have to set your workflow up in a certain order because of how the tokens are made or you will get a ton of errors. This is how i have mine set up below.

Make sure you have a “Stripe token” on the page and it is set to be “visible on page load”… if it is not you will get errors. See the picture below.

Screen Shot 2021-02-07 at 9.48.59 PM|690x499

Work flow is as follows:

STEP 1 - When submit payment is pressed = sign the user up picture below.

STEP 2 - Create a Stripe Customer picture below!

Screen Shot 2021-02-07 at 9.57.46 PM|538x500

STEP 3 - Convert Card into Stripetoken

STEP 4 - Pay attention to this one Its important…You need to make 2 new data sets one for your customers ID and one for your customers Credit Card ID to be stored in bubble.

STEP 5 - Go back to your workflows and end it like this:
Make changes to a thing > User > Current User.

STEP 6 - - Add an event > A Stripe Source has been created.

STEP 7 - (Make changes to the user again to where the stripe token is now saved under the customers new credit ID card data field you created in your database): "

FINAL STEP: Create a stripe “Card”… using the customer ID and Card ID from the 2 fields you created in your database. Note: A token is a way of making data safe, but it cant be used unless its turned into a card which is the last step. Good luck i hope it helps.

1 Like