#magicspon - Stripe + Cypress

1 messages · Page 1 of 1 (latest)

dusty roost
#

Hmmm....unfortunately this doesn't seem to be something we can exactly help with here.

hearty olive
#

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

dusty roost
#

So is your flow focused on Payment Intents presently?

hearty olive
#

i'm using stripe.checkout.sessions.create api, then redirecting to the stripe checkout

dusty roost
#

And, Cypress testing aside, that is working out for you?

hearty olive
#

yup

#

works like a charm

dusty roost
#

Well....I know it's bad form to not include tests...but... if it isn't broken.... 🤷

hearty olive
#

ahah.. aye aye

#

it's mostly the stuff around checkout i need to test... including after checkout

dusty roost
#

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

hearty olive