#jannik-cypress

1 messages · Page 1 of 1 (latest)

pale violet
#

heya @pure orbit! unfortunately i don't have any experience with Cypress, but you may want to do a search and see how others using Cypress with Stripe implement it. Doing a quick scan, there do seem to a number of step by step guides out there

pure orbit
#

Thanks @pale violet I have seen them but most just Testing stripe alone or are outdated. But maybe I can search again.

pale violet
pure orbit
#

Okay but I guess this is the way to go with a stripe Implementation in the Frontend code but in our case I just get a redirect to the stripe Checkout page by our Backend. So I cannot mock it f.e. The exact issue seems to be that the r.stripe.com requests return 404 Errors instead of 200? Can you explain me what they are doing? Is this some kind of Security validation?

pale violet
#

r.stripe.com is where analytics get sent. It shouldn't impact the behavior of the element.

#

and it isn't something you would want to test for

north vale
#

Hey @pure orbit! Taking over from @pale violet – let me know if you have any follow-up Qs!