#mikewilliams-cypress

1 messages · Page 1 of 1 (latest)

pseudo sphinx
#

Hi 👋 I don't much about Cypress, do you mind clarifying what your Stripe question is?

gilded comet
#

We are trying to test Stripe checkout using an automated library, which sounds like it loads it via iframe, which stripe doesn't like?

dawn shard
#

@gilded comet in cypress.json try setting chromeWebSecurity: false

gilded comet
#

Apparently that's already set to false, the error is coming directly from stripe

#

(I'm asking this on behalf of a client)

pseudo sphinx
#

Yes, we prevent Checkout pages from being rendered in iframes.

gilded comet
#

So there's no way to test checkout via cypress?

pseudo sphinx
#

If Cypress can only render pages via an iframe then it would appear so, but I'm not familiar with Cypress's capabilities to know if there is another viable approach.