Jump to content

Missing PayPal button in mobile version


debraspie

Recommended Posts

Can anyone help me please?

 

In my mobile version (at the checkout - the last step) is missing the "PayPal - Pay Now" button. See the attachment. post-1051660-0-08102900-1436442645_thumb.jpg

 

The version of my prestashop is 1.6

 

Everything else is working fine.

 

I can upload the picture, but I don't know where??? 

 

Please help.

Link to comment
Share on other sites

I had the same problem!

 

If you open up modules/paypal/views/templates/hook/express_checkout_payment.tpl

 

Around line 32 you should see an if statement about using mobile.

 

                {if isset($use_mobile) && $use_mobile}
                    <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" />
                {else}

 

Just remove or comment out this bit from the opening if to the else and then the closing if tag around line 42.

  • Like 1
Link to comment
Share on other sites

I had the same problem!

 

If you open up modules/paypal/views/templates/hook/express_checkout_payment.tpl

 

Around line 32 you should see an if statement about using mobile.

 

                {if isset($use_mobile) && $use_mobile}

                    <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" />

                {else}

 

Just remove or comment out this bit from the opening if to the else and then the closing if tag around line 42.

 

Thank you for this post. This helped me resolve this issue!

 

Thank you again. I really appreciate it!

Link to comment
Share on other sites

  • 2 weeks later...

Hello, im having the same problem, i uploaded a png file(paypal button image) using this name : CO_en_US_orange_295x43.png.

 

But i still get the '' ? ''.

 

 

So i did this :

 

 

If you open up modules/paypal/views/templates/hook/express_checkout_payment.tpl

 

Around line 32 you should see an if statement about using mobile.

 

                {if isset($use_mobile) && $use_mobile}
                    <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" />
                {else}

 

Just remove or comment out this bit from the opening if to the else and then the closing if tag around line 42.

 

But now the paypal button part is just not showing up anymore... so i replaced it with a backup copy of express_checkout_payment.tpl..

 

Can anybody help me to fix this problem ?

 

Thanks

 

Jon

Link to comment
Share on other sites

  • 1 year later...

I had the same problem!

 

If you open up modules/paypal/views/templates/hook/express_checkout_payment.tpl

 

Around line 32 you should see an if statement about using mobile.

 

                {if isset($use_mobile) && $use_mobile}

                    <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" />

                {else}

 

Just remove or comment out this bit from the opening if to the else and then the closing if tag around line 42.

 

I had the same problem!

 

If you open up modules/paypal/views/templates/hook/express_checkout_payment.tpl

 

Around line 32 you should see an if statement about using mobile.

 

                {if isset($use_mobile) && $use_mobile}

                    <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" />

                {else}

 

Just remove or comment out this bit from the opening if to the else and then the closing if tag around line 42.

 

Hi All,

 

I did exactly as mentioned in the quoted advice. However it didn't work. 

 

Could there be a missing image? I just transferred my website from Prestashop cloud to a host. 

 

It just gave me an error that the page is unable to load. Can anyone give a step by step guide for a fix, it will be helpful to newbies like myself. 

 

Thank you. 

Link to comment
Share on other sites

Hi Guys, 

 

I found this other fix and it worked for me. 

 

I just copied and pasted the code as per the instructions of the post in the link below over the top of my existing "express_checkout_payment.tpl" and it worked! 

 

The instructions in the below link are in Spanish just use google translate. 

 

https://www.prestashop.com/forums/topic/4536[spam-filter]texto-de-paypal-en-blanco-en-pantalla-de-pago/page-2 

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