NetVicious Posted April 1, 2018 Share Posted April 1, 2018 Hi! I have a strange problem with Paypal link on the one page checkout of my Prestashop. Prestashop it's 1.6.1.18 and the Paypal module it's v3.11.6 From a computer the link for paying with Paypal works perfectly and it has text: Buy from a Mobile device/cell phone I got a different icon and a empty text. I cannot click on that option so there it's no way to pay with paypal on cell phones. Any tip to fix this problem? Regards, Link to comment Share on other sites More sharing options...
NetVicious Posted April 3, 2018 Author Share Posted April 3, 2018 (edited) It was a problem related to my custom CSS, trying to make all the images for the payment systems with the same appearance. The paypal module when it's a cell phone which it's browsing shows only a big button for paying with paypal. I fixed the problem disablind this special behauvior editing the file: /modules/paypal/paypal.php On the function hookPayment I added the $use_mobile = false to not use the mobile version of the Paypal Checkout. public function hookPayment($params) { if (!$this->canBeUsed()) { return; } $use_mobile = $this->useMobile(); $use_mobile = false; ..... Edited April 3, 2018 by NetVicious (see edit history) 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