#julio - react native, cb, future payment

1 messages ยท Page 1 of 1 (latest)

elder fulcrum
#

hey there, taking a look at this

oblique ocean
#

take ur time ๐Ÿ˜‰

elder fulcrum
#

are you referring to one off invoices in this case?

oblique ocean
#

yeah, but its the same result if i have a subcription

elder fulcrum
#

and you're paying these programmatically (the invoices)

#

note that the bank might still decline the request and ask you for authentication

#

the same is true for the first subscription payment, by default this should be done on-session, but if you have a saved payment method already it can be done off session too

#

future recurring invoices for subscriptions set to charge automatically are by default off session

oblique ocean
#

yeah i'll give this. try and let you know if i'm stucked.

elder fulcrum
#

sounds good ๐Ÿ™‚

oblique ocean
#

Hum, i'm still getting the This payment requires additional user action before it can be completed successfully error

#

i tested on off invoice

#

does that mean i have to disabled the rules in Radar rules ?

elder fulcrum
#

Not necessarily, but its possible if you have rules to trigger that

oblique ocean
wind girder
#

I'm catching up here give me a min

oblique ocean
#

im in no rush ๐Ÿ˜‰

wind girder
#

@oblique ocean hello! ok so which part were you blocked on?

From what I caught up, you're creating and confirming PaymentIntents with PaymentSheet but still getting an error that they require further customer action??

#

a request ID would be great if you have one for a PaymentIntent that you confirmed

oblique ocean
#

no i only use setupIntent

#

but this works the same way right ?

#

i dunno if you can access them

wind girder
#

I can looking

#

that SetupIntent succeeded immediately no?

#

you created it and confirmed it and passed "MOTO" on it

#

which would be expected, MOTO is a special payment flow

#

ah wayit

#

wait

#

you didn't make this request manually, you used the Dashboard

#

so what part are you blocked on re: PaymentSheet on RN ?

oblique ocean
#

wait a minute, what is MOTO ?
Yeah, i guess , to test it, i created it directly on the dashboard

I'm not blocked with paymentSheet on RN

wind girder
#

ignore the MOTO part, that was just a Dashboard thing, sorry!

#

and i don't understand what i'm supposed to do now

oblique ocean
#

ok lemme reformulate

#

Step 1 )
I have a page on mobile

  • there is a api call that creates a setup intent
  • a payment sheet is displayed so a user can set up a card for future payment
  • i tested with 4000000000003220 which is a 3ds card test. I have the screen with 3ds authentication working
  • (Note that for the test, i don't use mobile app, only API Calls : so i create a setup intent, add a card , and confirm the setup intent , i guess this is what the payment sheet does) **How can i test 3ds authen with api calls ? **

In other part of the app, he can subscribe to a membership that will only start the first of next month.

  • we create a stripe subscription and attach the card that he previously used
  • when i use test_clock and advance the next month, invoice is in error saying : 3ds authentication needed
wind girder
#

so answering your second question first

#
  • when i use test_clock and advance the next month, invoice is in error saying : 3ds authentication needed
    this is expected cause you're using the 3220 card. That always requires authentication

you need to use the 3155 card instead

#

How can i test 3ds authen with api calls ?
you cannot, you need manual human intervention to bypass the 3DS authentication page/modal

oblique ocean
#

ok thx

#

and last question

wind girder
#

sure

oblique ocean
#

there is so much rules about 3ds, how am i supposed to know which card my user will use , knowing that i'm france ?

wind girder
#

you don't know and you don't need to know. You use PaymentSheet and that handles 3DS for you

you assume every payment will result in 3DS and maybe only 60% result in it. Stripe only knows if 3DS is required once we talk to the issuing bank, we can't fully know before hand

oblique ocean
#

ok so even for recurring invoice using billing subscription, i have to anticipate and provide a notif push so user can authen 3ds ?

wind girder
#

yep! you have to bring your customer back "on session" in case 3DS is required, Stripe will try to claim "off session exemptions" to reduce the "chance of 3DS" but ultimately, any payment can require 3SD

oblique ocean
#

ok thx

#

also , in the dashboard , how can you know if a setupIntent has been confirmed using 3ds ?

cerulean patio
#

Hello! I'm taking over, give me a moment to get caught up...

#

In the Dashboard the timeline for the Setup Intent should indicate if 3D Secure happened or not.