#sai_rez-setupintent-after-payment

1 messages · Page 1 of 1 (latest)

compact plover
#

Hello 👋
I'm not sure to be honest, do you have an example I can look at?

onyx sable
#

Sure, for some reason I only see this happening for customers from India

#

cus_M3u5DvIbz5hqFA

#

There are also other cases if you want me to send those over too?

compact plover
#

can you share the SetupIntent IDs as well?

onyx sable
#

Sure one moment

#

"seti_1LPURdLmu5QiBx4BqH3UuehJ"

frail zealot
#

It's because you update the default payment method and it requires action (3ds)

onyx sable
#

And this could still happen after a successful payment?

#

Also does changing the default payment method always create a new setup intent?

frail zealot
#

Yeah because with subscriptions there will be future recurring payments. Setupintents are used to set up the payment method and help ensure future charges will succeed. I'm not sure off the top of my head if it's done in every country though

onyx sable
#

Ok thanks for that information, currently in our flow when a user wants to restart their subscription we

  • remove existing payment methods
  • attach payment method to customer
  • update the customer with new invoice container new payment method
    -make payment method the default
#

Is there an improvement to this flow you would recommend?

frail zealot
#

What do you mean by restart here? This is after they've cancelled but want to rejoin?

onyx sable
#

Yes exactly, this is assuming they already have an existing account on stripe but have cancelled