Blocked a frame from accessing. Protocols, domains, and ports must match. What does this mean?

Rossco99
Contributor
Contributor

I have a website that I am using the PayPal smart buttons in. When testing it in the Sandbox environment it worked perfectly but when I changed the Client ID from the Sandbox one to the Live Client ID, the Payments will not go through. The PayPal buttons still render and it still takes you to the checkout window and still allows you to Pay, but when you click the payment button, the window closes and the buyer gets an email saying that PayPal found some risks associated with the payment? Click the PayPal buttons, in the JavaScript console log I get this error 3 times:

 

Blocked a frame with origin "https://www.mobilemastersshop.com" from accessing a frame with origin "https://www.paypal.com". Protocols, domains, and ports must match.

 

Is this why it won't work and if so how do I fix it? I am using an SSL certificate from Let's Encrypt so the URL is secure but do I need to change anything in the .htaccess file for PayPal to work? Any help is perfect!

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.