Folks, I’m trying to embed a Stripe form to Router View. The Stripe script creates a an IFRAME, and a part of that iframe is making calls to Stripe API. I see in JS console that that the requests fail with “net::ERR_BLOCKED_BY_CLIENT”. One of the header in the rendered response when loading the view is X-Frame-Options: DENY which means that framing is not allowed. Is this the cause? If so, what options do I have? What else do I need to so to enable Stipe JS talk to the Stripe API? TIA, Slava
Maybe you could invoke Stripe from Java instead, they have docs: Stripe API Reference
I’d to avoid dealing with PCI compliance. Integrating a JS-generated form into the page that talks to the Stripe back end from the browsers solves this requirement.
Would recommend using their API. Got a almost same issue with PayPal. So i used their API and create an own “Checkout” solved it