Services Plugins FAQs

Stripe- PaymentIntents

I have read this forum up and down but can’t seem to find out why my workflow is not working.

I have two questions:

  1. Why is my customer’s payment method not saving?

    I followed how the demo editor had this setup and I am still at a loss. Here are screenshots of my workflow:





The last screenshot above is what I can’t seem to have saved in my database.

  1. When I enter the payment method in manually as such:

and I attempt to clone the payment method in order to create a payment intent:

I get this error:

image

Why am I getting this error?

Thanks in advance

Hi @jas1674,

Thank you for reaching out!

Allow me to clarify the steps you should take and provide some points regarding payment methods and intents:

  1. Create a session and ensure that you indicate status=setup in the success URL field. Here’s a screenshot for reference: Screenshot by Lightshot
  2. Update the current user with the result of the session, where you save the intent ID and session ID. This appears to be set up correctly in your configuration.
  3. Proceed to checkout SCA using the session ID. This also appears to be correctly set up in your configuration.
  4. Save the payment method ID. Based on your screenshot, the action and value seem to be correct.

When we initiate a session with the “mode=setup” parameter, it allows customers to add a payment method. After adding the method, they are redirected back to the Bubble Page. This redirection is crucial for the plugin to determine which flow needs to be triggered based on the added method in the create session action. Therefore, please ensure that you have added the following event and actions to manage the session mode effectively since you actually attaching a payment method to a new customer when they are redirected to your page and when you get the status parameter.

Additionally, please ensure that you create a customer under this event. There’s no need to create a customer before you create the session. In this step, we add the customer ID and make changes to the current user if the user is editing the payment method. - Screenshot by Lightshot -

I suggest utilizing the step-by-step mode as it can be quite useful in resolving problems. - https://zeroqode-demo-19.bubbleapps.io/version-test/stripe_extendend_demo?debug_mode=true

Hope this helps! Please let me know if you need any clarification on this point or if you have more questions.:pray:

Best regards,
Gulce

Got it- thank you for the help!

1 Like

Hi @jas1674 ,

Glad to hear that!

If you find our service helpful, we’d be grateful if you could leave us a review. Your feedback not only helps us but also motivates our team to continue providing excellent service and support.:pray:

You can rate it by going to the Plugins tab in the Bubble editor and sharing your experience with the rest of the Bubble community. You can find the plugin by name and give it as many stars as it deserves.

In case you would like to share your experience with the rest of the world, here you can find our link for Trustpilot: Zeroqode Reviews | Read Customer Service Reviews of zeroqode.com

If you have any more questions or need further support, don’t hesitate to reach out. I am here to help!

Best regards,
Gulce