Stripe PaymentIntent issue

By: Ben Jeffery | Asked: 11/28/2023
ForumsCategory: General questionsStripe PaymentIntent issue
Ben Jeffery asked 8 months ago
Hi,   We have a membership application form with a payment through Stripe, and a number of customers are unable to complete because the form seems to be trying to use a paymentintent that has already been used.   Stripe starts to add the customer but doesn't record any transaction. It looks like a paymentintent is created and used for a previous customer's successful payment, and then when a new customer tries the form, Formidable uses the same paymentintent again.
This returns an error in Sage:   payment_intent_unexpected_state You cannot modify customer on a PaymentIntent once it already has been set. To fulfill a payment with a different Customer, cancel this PaymentIntent and create a new one. Has anyone else had this problem and found a fix? Thanks. Ben
1 Answers
Victor Font answered 8 months ago
From the Formidable KNowledgeBase documentation: "The provided PaymentMethod was previously used# If you are seeing an error message that looks similar to this: "The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment", first make sure that you are running the most current version of the Stripe add-on. If you are and continue to see this message, it's possible that the Payment Method field has become unlinked from the Stripe form action. Try deleting the Payment Method field from your form, along with the Stripe form action(s), and recreate the Stripe form action(s)."

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right