mma87 Posted July 11, 2018 Share Posted July 11, 2018 Hello, I'm using prestashop 1.7.3.3 and PayPal v4.4.1 I have a multilingual website and I found a bug (I think) in the cart using the paypal module. in the browser console there is an error 404, missing file, mydomain/en/modules/paypal/views/js/ec_in_context.js because the file is in mydomain/modules/paypal/views/js/ec_in_context.js (without the language iso) so I made a quick fix in modules/paypal/paypal.php around row 745 I changed $this->context->controller->registerJavascript($this->name . '-paypal-checkout-in-context', 'modules/' . $this->name . '/views/js/ec_in_context.js', array('server' => 'remote')); to $this->context->controller->registerJavascript($this->name . '-paypal-checkout-in-context', 'https://www.kuboweb.it/modules/' . $this->name . '/views/js/ec_in_context.js', array('server' => 'remote')); (I added the domain address) Best Regards, Matteo Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now