https://cypress.io logo
Native purchase for stripe when button is in ifram...
# i-need-help
h
When clicking the button "Pay with link" on checkout which is coming dynamically through stripe which is in iframe, it opens the link in a new window which makes it’s harder to test it out. If I try to stub the link and open it in our window, it just throws ‘something went wrong’ on the page. The button is for native purchase and it is coming from stripe itself having a different url each time and if I get the url and try to do cy.visit() on that url as well, it just throws ‘something went wrong’ error. Any workarounds or a hacky solution for it?
m
I am having a similar issue. @happy-queen-3022 have you been able to find a workaround?
h
Hey @most-secretary-62975, I talked with the stripe support and since it’s a third party integration, it’s not possible to test the Pay with link button. Hope that helps!