#rubs - billing 3DS

1 messages · Page 1 of 1 (latest)

daring hawkBOT
misty pewter
#

Hi 👋

Okay what is the problem?

tawny comet
#

the subscription is automaticaly created without asking anything to the user, it is a call api made with php who create a new subscription and automaticaly charge the default payment method of the customer

#

but his payment method is a credit card who needs a 3D secure confirmation

#

he doesn't receive anything

#

how to handle that ?

#

it is a system of upgrade on our website where you can add new licenses

misty pewter
#

In that case your integration needs to catch that the payment intent associated with the invoice is in a state of requires_action and you bring the user back on-session to complete 3DS authentication.

tawny comet
#

but it is an asynchronus system

#

I guess I have to catch the webhook payment_intent.failed something like that

#

but in php I cannot redirect the user somewhere after receiving the webhook

#

Do I have the "require_action" info directly from response of create subscription call api ?

misty pewter
#

Your integration would need to be able to notify the user that they need to come back on session to fix their authentication. Sending an email for example

tawny comet
#

or use the radar feature ?

#

Ok no

#

hum so which event I have to listen to handle this case ?

#

I can't find if the subscription object response contains the require_action status

misty pewter
tawny comet
#

thanks

pliant perch
#

rubs - billing 3DS