#SeanH20-3DS

1 messages · Page 1 of 1 (latest)

magic vault
#

hi there

#

there's no recommended way, we don't explicitly support that kind of browser-based testing with Selenium and stuff

desert python
#

hello!

magic vault
#

so either you'd test it manually, or in tests you mock things out by passing test tokens like pm_card_visa (https://stripe.com/docs/testing#cards) directly on the backend instead of 3D Secure cards

desert python
#

ah okis, so there's no js command to send the browser to confirm the 3d-secure test window for testing the payments form and flow?

#

you recommend just using a card that does now have 3d-secure?

magic vault
#

or maybe you can find a way to make your testing tools like Selenium etc do the action, but we can't give you any pointers there and can't guarantee it would always work

desert python
#

yeah i've already hacked Selenium quite a bit to fill in the card form haha. and i can't figure out how to get to the confirm button, it looks like it's 2 or maybe 3 iframes deep.

magic vault
#

yep. I really can't help you with that, we could change the structure of that at any time with no notice

#

we simply don't support that style of testing, I'm sorry, I know it's a common question but it's not something we have invested in

desert python
#

no that's totally fair enough, if i was to suggest something, it would be a js trigger to send the headless browser to say the confirm button has been pressed, but that's just a suggestion. i'm going to go ahead and skip testing the confirm 3d secure window