#mallain-subscription-nextaction

1 messages · Page 1 of 1 (latest)

glass pondBOT
main current
#

mallain-subscription-nextaction

#

Hey @lean compass ! Your code explicitly forces payment_behavior: "error_if_incomplete",. What this means is that if a next action (such as having to do 3DS) is needed, instead of asking you to do it you want our API to explicitly fully error. So that's what we did here

lean compass
#

Well my question is

#

why was 3ds required

#

The documentation says this would be triggered by RADAR rules but

#

I don

#

I don'

#

I don't see it triggered by a RADAR rule in the logs

main current
#

Not sure where you see this. 3DS Can be requested for other reasons such as the bank just requiring it. Ultimately your integration path is not great since you have no way to recover from those errors and you should use that error_if_incomplete approach if you want to do 3DS

lean compass
#

Well we don't want to create a subscription if the payment fails

main current
#

You 100% should though so that you can properly handle next action like doing 3DS for card payments

lean compass
#

We would like to confirm the card is good before we attempt to make the subscription

#

We normally attach the card to the customer and create a setup intent first

main current
#

That isn't the right approach and you really shouldn't do that

lean compass
#

Why