#magicspon - Stripe + Cypress
1 messages · Page 1 of 1 (latest)
this is currently a blocker: https://github.com/cypress-io/cypress/issues/9447
Quoting to keep all context together
Hmmm....unfortunately this doesn't seem to be something we can exactly help with here.
no worries...
i was going to refactor and use Stripe Elements... but i don't think my use case will work so well... i need to be able to mix digital subscription products, with physical ones in the same checkout
works perfectly well with stripe checkout
So is your flow focused on Payment Intents presently?
i'm using stripe.checkout.sessions.create api, then redirecting to the stripe checkout
And, Cypress testing aside, that is working out for you?
Well....I know it's bad form to not include tests...but... if it isn't broken.... 🤷
ahah.. aye aye
it's mostly the stuff around checkout i need to test... including after checkout
Yeah, that makes sense. I know it's non-standard but I'd just try spoofing the return request for when Checkout redirects to your app
i might have a look at playwright https://playwright.dev/
Cross-browser end-to-end testing for modern web apps