Jump to content

Resolved: Paypal 3.8.10 with Prestashop 1.6.1 - Image not showing on Mobile checkout


Recommended Posts

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

  • 1 month later...

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

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

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

 

 

JFOBOzt.png

Link to comment
Share on other sites

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...