#Prince Sandhu - Setup Intents

1 messages · Page 1 of 1 (latest)

late plover
#

Hello! Can you tell me more about your use case? Why would you create a second Setup Intent if you already successfully confirmed one?

knotty thistle
#

Let's say the client decides to update the payment method that they would like to use

late plover
#

Ah, meaning they're providing a new method of payment entirely?

knotty thistle
#

yes

late plover
#

Setup Intents apply to individual Payment Methods, so you would use a new Setup Intent for the new Payment Method. The previous Setup Intent for the other Payment Method that was already successfully confirmed is not involved at all.

knotty thistle
#

Okay so we can just let the previous setup intent exist in stripe's db

#

and just not use it

late plover
#

Yep, once a Setup Intent is successfully confirmed you can't do much of anything with it after that.

knotty thistle
#

okay thanks

late plover
#

They continue to exist as a record of that set up, and their state doesn't change after successful confirmation.