Jump to content

Problems with mixed content (http & https)


kudetek

Recommended Posts

Hi, I'm having an issue with the PayPal module. As soon as the payment page loads this error appears in the console:

IC_SETUP_CONTAINER_ERROR: Can't find element payment_paypal_express_checkout pedido-rapido:1
And when I click on the payment button I get an alert saying:
Error in ajax posterror

and the following error in the console:

Mixed Content: The page at 'https://eboliapparel.com/pedido-rapido' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://eboliapparel.com/modules/paypal/express_checkout/payment.php?&ajax=1…current_shop_url=https://eboliapparel.com/pedido-rapido?&bn=PRESTASHOP_ECM'. This request has been blocked; the content must be served over HTTPS.

From the last message I understand that the module should be requesting payment.php with the https protocol instead of http. But I can't find any option to force it to use https and modifying the module code was unsuccessful. I think this error is happening since installing a TLS certificate and forcing all urls to be secure server-side.

Any help would be greatly appreciated.

 

Link to comment
Share on other sites

  • 3 months later...
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...