#alex-googlepay-testing

1 messages ยท Page 1 of 1 (latest)

tawdry tokenBOT
uneven silo
#

@tulip radish mostly you can't. Google Pay in Test mode will always use the 4242 card and nothing else. So you'd skip Google Pay to test other flows

#

alex-googlepay-testing

tulip radish
#

I see. What about Apple Pay, is there a recommended way to test edge cases?

uneven silo
#

Same way for Apple Pay

#

Like if you want to simulate a failure on a future payment, the fact that it's Apple Pay or Google Pay doesn't matter, it's the same as a normal card: it fails, you get them them back on session to pay

tulip radish
#

got it. Is there any workaround to test 3DS during the GP/AP setup?

uneven silo
#

Apple Pay would never trigger 3DS so no. Google Pay could but we don't have a test card for it

tulip radish
#

Thanks. Last question, we're passing the SetupIntent id to stripe.confirmCardSetup(...) along with the payment method. It also accepts handleActions: true/false. Which one would you recommend, how do we know the difference?

If the payment method is not from a Google/Apple Pay but from an Element card form, for example, would that be a proper way to test the handling of next actions? (since we can't force GP/AP to trigger next actions in test mode)

uneven silo
#

if it were me I would just never pass handleActions and let the Element do the right thing

tulip radish
#

thanks for your help ๐Ÿ™‡โ€โ™‚๏ธ