I Am Ernie Posted July 15, 2015 Share Posted July 15, 2015 Hi, I had an issues with the paypal module. When a user would check-out using a mobile phone they would see the infamous question mark for paypal with no text. Desktop and tablet worked fine. This caused users to abandoned their carts when they didn't see the paypal payment method. I only noticed it on the 1.6.1 upgrade but it's possible it's been an issue for a while. To resolve it I commented out lines 35 & 36 which have the module use a different image for mobile devices. Hopefully this helps someone else who might be affected. Ernie Link to comment Share on other sites More sharing options...
juanmariego Posted August 20, 2015 Share Posted August 20, 2015 In which file do you remove those lines? I've the same problem but I can't find them... Thanks Link to comment Share on other sites More sharing options...
riggerz29 Posted August 21, 2015 Share Posted August 21, 2015 I have the same issue using the paypal module and i cant seem to find where im commenting those lines out Link to comment Share on other sites More sharing options...
riggerz29 Posted August 21, 2015 Share Posted August 21, 2015 In which file do you remove those lines? I've the same problem but I can't find them... Thanks Hi Juanmariego I have managed to fix mine now so try this Locate modules>paypal>views>templates>express_checkout_payment.tpl Within that file change and edit the following line should be line 37 <img src="{$base_dir_ssl|escape:'htmlall':'UTF-8'}modules/paypal/views/img/logos/express_checkout_mobile/CO_{$PayPal_lang_code|escape:'htmlall':'UTF-8'}_orange_295x43.png" /> to this <img src="{$logos.LocalPayPalVerticalSolutionPP|escape:'htmlall':'UTF-8'}" alt="{$PayPal_content.payment_choice|escape:'htmlall':'UTF-8'}" /> now mine is working on mobile phones etc Link to comment Share on other sites More sharing options...
juanmariego Posted August 21, 2015 Share Posted August 21, 2015 Thanks a lot. Finally I find the solution this morning, there was another problem becase there was no text in paypal, checkout button was only in english and the kind of button was a bit different from bank transfer and others. I did some small modifications in the module. I'm going to attach it if someone need it. It's from the last version (V3.10) I've modified a COD module to have a payment in advance but I need to change somethings before put it here. v3.10_paypal.zip Link to comment Share on other sites More sharing options...
riggerz29 Posted August 21, 2015 Share Posted August 21, 2015 Excellent stuff glad you've sorted yours now. Mine is also using version 3.10 so hopefully after you have posted yours other users will have a two fixes to try 1 Link to comment Share on other sites More sharing options...
frient Posted August 22, 2015 Share Posted August 22, 2015 In my case I resolve it as follows: In modules/paypal/views/templates/hook/express_checkout_payment.tpl Lines 36,37,38 are commented out + Line 45 Excellent results; PayPal logo and text. Link to comment Share on other sites More sharing options...
p.guerin Posted August 29, 2015 Share Posted August 29, 2015 Please could you paste me the code or screenshot of the modification ? dont really know how to comment out Link to comment Share on other sites More sharing options...
frient Posted August 29, 2015 Share Posted August 29, 2015 Please could you paste me the code or screenshot of the modification ? dont really know how to comment out These instructions 100% work for PrestaShop v1.6.1.0 & PayPal module v3.10.0 dated 29/08/2015, with respect to Prestashop's PayPal module developers: After all type of caches, everywhere, are disbled: 1- Go to: modules/paypal/views/templates/hook/express_checkout_payment.tpl 2- Back up: express_checkout_payment.tpl file 3- a. Find: Line 36 >> put this at the beginning of the line: {* b. Find: Line 39 >> put this at the beginning of the line: *} c. Find: Line 45 >> put this at the beginning of the line: {* d. Find: Line 46 >> put this at the beginning of the line: *} 4- Save 5- Clear all caches, even you disabled them at the beginning just in case.. 6- Enjoy! ** This fix screenshot: http://i.imgur.com/JFOBOzt.png Link to comment Share on other sites More sharing options...
p.guerin Posted August 29, 2015 Share Posted August 29, 2015 Thanks a lot ! But not having the same prestashop version makes appear only a blank on the paypal zone... Thanks anyway for your time 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