#Ji_net-setupintents
1 messages · Page 1 of 1 (latest)
Hi @merry rain! Unfortunately it's not possible to cancel a SetupIntent once it has a succeed status. You can learn more about that in the documentation here: https://stripe.com/docs/api/setup_intents/cancel
Ok, just if you can suggest a solution to my problem, so In my case I create setup intent for the customer with off_session, later when the customer provide the payment method I confirm the card setup and create subscription, this works just fine, but if the subscription creation failed at some stage, and the customer tried to enter new card details
this error occur: You cannot update this SetupIntent because it has already succeeded.
so should I confirm the card setup after the subscription creation process?
or can I detach that setup intent?
You should create a new setup intent instead of trying to update the old one.
the customer can have multiple setup intent with different status?
You can create as many setup intent as you want, and when they succeed, they will attach a payment method to the customer. And a customer can have multiple payment method.