#treciokas

1 messages · Page 1 of 1 (latest)

sly horizonBOT
distant grove
#

hi! seems expected — you update the subscription, it requires immediate payment because you set the billing cycle to now, we try to charge the card, which needs 3D Secure, so that happens. What did you expect instead?

haughty epoch
#

when i try to make a payment 3d secure popup is opening. I'm authorizing it but then when subscription with this payment method is made i got an error

#

Payment method with this card is successfully added for the customer

distant grove
#

to be clear, that card, the 3155 card, only gives simulates exemptions from 3D Secure for off-session payments, like the recurring payments on a subscription

#

if you do an on-session payment, which is what we consider a payment triggered by updating the subscription that way, then it always requires 3D Secure.

haughty epoch
#

same is happening with all 3D cards. Basically our payment flow is:

  • from UI we are getting payment token (old or new one added with Spripe js snippet)
  • updating or creating new customer with this default payment token
  • geting default customer payment method from Stripe
  • try up create or update customer subscription
#

Creating works as expected with of without 3D secure card

#

but update with same flow doesn't work. even if i'm adding new card for update payment

scarlet yew
#

Hi! I'm taking over this thread.

#

To answer your question: like my colleague said, the test card you are using (3155) only give exemptions for off session payments. So when you update the subscription, you could add off_session: true and it will work in test mode. But note that in live mode the bank may still request 3DS and make the update fail.

haughty epoch
#

Ok thanks for the info. I'll take a look into it

#

but is there any way to update subscription (try to make payment) off-session if bank requires 3DS ?

scarlet yew
#

If the bank requires 3DS, your call to update the subscription will fail. So you will have to ask your customer to come back to your website/app to go though the 3DS flow.

haughty epoch
#

Ok. I have added off_session parameter to our request and in testing env payment was successful with 3155 card. Will test this on production. Thanks again.