#justwolilkittens

1 messages · Page 1 of 1 (latest)

north schoonerBOT
hasty plaza
#

The answere here depend on whether you're setting off_session: true or not

slow ether
#

We will be setting off_session: true

hasty plaza
#

If you set off_session: true then the Intent will go back to requires_payment_method

slow ether
#

When the status is requires_payment_method, is there a way to charge the user, or prompt them for 3DS? Our current flow assumes requires_action for 3DS, but I don't know if that's proper

#
  • Using the same PaymentIntent
hasty plaza
#

The only way to prompt them for 3ds would be to re-provide the PAymentMethod and confirm the PI again while they're on-session

slow ether
#

To do that do we have to patch the PaymentIntent as off_session: False and then patch the payment method again when they are on session? (Or are there docs covering this, I wasn't able to find any easily)

hasty plaza
slow ether
#

Ah, so for an off_session: true payment that requires 3DS, the status will be requires_payment_method and the error code will be requires_action and we will be able to perform 3DS using the client secret as normal

hasty plaza
#

almost! The error code (found at last_payment_error.decline_code) will be authentication_required not requires_action.