cancel
Showing results for 
Search instead for 
Did you mean: 

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

Contributor

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

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!