#ebellotpu6

1 messages ยท Page 1 of 1 (latest)

surreal gorgeBOT
warped flicker
#

๐Ÿ‘‹ happy to help

#

this is why we don't really recommend this workflow for creating subscriptions

#

this is the recommended integration

#

where you create the subscription, and using the latest_invoice.payment_intent you send the client_secret to your front-end and use it with Stripe Elements

#

and in all cases SCA is required upon the issuing bank's discretion and you should always be ready to ask your customer to come back to your app and authenticate the payment (3DS) if the PI is in requires_action status

grand crystal
#

So first I create the subscription and then i get the payment method?

warped flicker
#

yes this would prevent the "double" authentication

grand crystal
#

but with this I can first, provide the card details, then sign the contract and finally confirm the payment? Or should I sign first and then collect the card details to make the payment?

#

because I need 100% that the signed contract contains info about the payment method, so I need that the contract signs after get the paymentmethod but also I don't want that a customer complete a payment and doesn't sign the contract...

warped flicker
#

hmmm, that's a bit tricky

grand crystal
#

yes, i know it, but is what the Product Owner wants...

warped flicker
#

thinking about a solution here

warped flicker
#

honestly I couldn't find any other way than what you're currently doing. SI then PI

#

which would entail 2 authentications

grand crystal
#

๐Ÿ‘

#

I will try it

grand crystal
#

And what would happen if I set on_session to the payment and subscription?

lusty sleet
grand crystal
#

well, I am getting card info and after the customer signs a contract, I am creating the payment and subscriotion. This means offsession?

lusty sleet
#

The PaymentMethod need to be configured for off_session as it'll be used later for renewal