#Kromolabs Developer

1 messages ยท Page 1 of 1 (latest)

tardy waveBOT
cyan marlin
#

๐Ÿ‘‹ The issuers can ask for authentication on an off-session payment so not sure you can completely avoid it.

Is there a reason you're using SetupIntent prior to creating a subscription? rather than creating a subscription first and using that to collect the payment method?

woeful lake
#

Mmmh, you're saying that i should create the subscription first without method

#

And then attaching the method after confirmation?

cyan marlin
#

You can create a subscription,

  • If you offer a trial, the subscription will have a pending_setup_intent that you can use to render elements and collect payment method
  • If you don't offer a trial, the subscription will have latest_invoice.payment_intent that you can use to render elements and collect payment method
#

This would allow you to avoid going through 3DS auth twice

woeful lake
#

Ok, then i would have to do stripe.confirmCardPayment with the latest_invoice.payment_intent to "confirm" the method

#

But the future renewal will be automatically paid with the same payment method?

#

Without authenticating again?

cyan marlin
woeful lake
#

Ok thanks, i'll try

#

Thanks a lot

cyan marlin
#

NP! ๐Ÿ™‚ Happy to help