#benjamineugenewhite

1 messages · Page 1 of 1 (latest)

sick aspenBOT
cunning basin
#

hello! Can you provide an example SetupIntent id?

rich grail
#

Yes. One second.

#

seti_1M6lD7PbhdfvD1kVKlmOsjcg

cunning basin
#

for context, a SetupIntent is used to collect a PaymentMethod for future use. It doesn't actually charge the PaymentMethod.

If the SetupIntent is processing/successful, you can't cancel the SetupIntent. If you really want to, you can detach the PaymentMethod from the Customer (once the SetupIntent is successful) : https://stripe.com/docs/api/payment_methods/detach to ensure that it can't be used

Or alternatively, ensure that you don't charge that PaymentMethod for whatever downstream processes you have.