Jump to content

PayPal module issues (missing logo, missing express checkout button)


preak

Recommended Posts

Hello there, 

 

PS 1.6.1.2 + newest PP module here. 

 

I've got some strange issues with PayPal module. 

 

First of all, Checkout button is wrongly located when I'm on product page. (post-1245553-0-17706600-1462889842_thumb.jpg)

 

Second problem would be lack of pp checkout button in Cart Summary (step 1) [post-1245553-0-43900500-1462890041_thumb.jpg]

 

Last problem is missing PayPal logo in last step of order summary, however it shows up when the site is set to my native language (same as Back Office) 

 

Please note that the logo paths differs between ENG and PL language. 

 

ENG - post-1245553-0-68295000-1462890039_thumb.jpg

PL - post-1245553-0-54387500-1462890040_thumb.jpg

 

I could change it manually but I'm not exactly sure where to look.

 

PS. I've got custom Theme uploaded. 

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

I also have a PayPal image problem. I'm getting a '?' symbol instead of the PayPal logo. This is the same on all pages including the cart.

I've checked on the server and the default logo image is there and in the correct place.

Any help with this would be very much appreciated.

 

It's at www.uptomen.co.uk

 

The link for the logo is:

http://www.uptomen.co.uk/modules/paypal/views/img/default_logos/default_logo.gif

 

This works so there must be an error somewhere else in the code

 

UPDATE

I have had to create a temporary folder to put the logos where prestashop is looking in error. So you can currently see logos on the site but this isn't the correct location for them. Can someone give me and idea which bit of code is pointing in the wrong direction so I can fix this please?

Edited by Uptomen (see edit history)
Link to comment
Share on other sites

just stumbled across the same problem, in logo.xml it looks like the paths to "broken" images are starting with /views/img/...

 

and i also noticed the 404 for the image, the requested url looks like domain.com/views/img....

 

so you could be able to workaround the problem if you create a symbolic link like:

cd to/your/shops/documentroot
ln -s modules/paypal/views .

well this is just a hack, i would like to know how a proper solution would look like

Edited by brrt (see edit history)
Link to comment
Share on other sites

Ok, here' s quick fix I found. Not the best way (since a core hack is involved), but you can take it from here and create an override.

 

Open the file "your_root/modules/paypal/views/templates/hook/express_checkout_payment.tpl"

 

Find the condition "{if isset($use_mobile) && $use_mobile}" (twice in the file)

and change the image source from the dynamic link to

<img src="http://www.yoursite.gr/modules/paypal/views/img/logos/express_checkout_mobile/CO_en_EN_orange_295x43.png" /> 

 

You should change 6 <img src> tags to make it work.

 

Save, upload, refresh the page and check if it works. It worked for me. You can take it from there and recreate the "proper" dynamic link (prestashop newbie here, so... :) )

 

Hope this helps.

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

Hi,

It does not fix to all languages. For instance of PL its still corrupted and displays question mark.

 

Any ideas how to fix it easily?

 

BTW its really frustrating that within a short time we got 3 updates from PayPal and all with annoying bugs.

Link to comment
Share on other sites

Guest locen

Hello.

i upgraded paypal to 3.10.8 then to 3.10.9 and logo still not available on pc (not only in mobile) see this. 

post-1119372-0-85293600-1464691077_thumb.png

 

please help 

Edited by locen (see edit history)
Link to comment
Share on other sites

Hi Nikos,

I did but it didn't help.

There must be other issue as for EN version problem was solved after update.

Piece of code referring to PL version must be corrupted.

 

Thanks for hint anyway,

K

Try settings your BO language to Polish.

 

BTW, still cannot see Express checkout button, logo is being displayed correctly atm.

Link to comment
Share on other sites

  • 6 months later...
  • 3 weeks later...
  • 3 weeks later...

Ok, here' s quick fix I found. Not the best way (since a core hack is involved), but you can take it from here and create an override.

 

Open the file "your_root/modules/paypal/views/templates/hook/express_checkout_payment.tpl"

 

Find the condition "{if isset($use_mobile) && $use_mobile}" (twice in the file)

and change the image source from the dynamic link to

<img src="http://www.yoursite.gr/modules/paypal/views/img/logos/express_checkout_mobile/CO_en_EN_orange_295x43.png" /> 

 

You should change 6 <img src> tags to make it work.

 

Save, upload, refresh the page and check if it works. It worked for me. You can take it from there and recreate the "proper" dynamic link (prestashop newbie here, so... :) )

 

Hope this helps.

Thanks this worked for me

 

just to clarify what the above meant was that you need to put that full image url into all 6 instances of the tag <img src>

 

Thanks alot

Link to comment
Share on other sites

  • 3 months later...

To solve the missing Paypal logo. in checkout, quick order etc   

Prestahop 1.6 xx   PayPal v3.11.4 

1. Go to CPanel > File Manager > public_html > modules > paypal > logos.xml

 

2. Right click on logos.xml >edit >  Every occassion of  

 

<LocalPayPalHorizontalSolutionPP>/views/img/default_logos/default_horizontal.png

<LocalPayPalVerticalSolutionPP>/views/img/default_logos/default_logo.gif

 

insert >    /modules/paypal     before the word views

 

example of correct code 

 

 <LocalPayPalHorizontalSolutionPP> /modules/paypal/views/img/default_logos/default_horizontal.png

 

<LocalPayPalVerticalSolutionPP>/modules/paypal/views/img/default_logos/default_logo.gif

 

There are 13  lines that need fixing.

 

A quick hint is to search for the word views e.g. Ctrl F > insert the word views then insert  /modules/paypal  before the word views.

 

This is the quickest way I have found to solve this problem

Edited by Ace mcputer (see edit history)
  • Like 3
Link to comment
Share on other sites

  • 1 month later...

Hi all,

 

Not sure if this is a PayPal issue or a checkout issue. Everything seems to be working but at checkout (stage 5) it looks like this:

 

paypal-checkout-logo-and-text.png

 

Questions:

1) Shouldn't there be a PayPal logo here?

2) Can anyone tell me why the text is coming double with the bracket }  ?

 

Many thanks for any assistance.

Hopefully I've posted in the right place.

 

Thanks

CP.

Link to comment
Share on other sites

I'm not sure which is the correct thread for my query since I'm not certain of which module controls this, but hopefully someone here knows.

I need to edit one of the files to make sure the text sits above the paypal logo. At present it looks like this:

paypal-checkout-logo-and-text2.png

If anyone know which file to edit I'd be very grateful if they could point me in the right direction.

 

Many thanks

CP

Link to comment
Share on other sites

  • 4 weeks later...

Hi all,

 

Not sure if this is a PayPal issue or a checkout issue. Everything seems to be working but at checkout (stage 5) it looks like this:

 

paypal-checkout-logo-and-text.png

 

Questions:

1) Shouldn't there be a PayPal logo here?

2) Can anyone tell me why the text is coming double with the bracket }  ?

 

Many thanks for any assistance.

Hopefully I've posted in the right place.

 

Thanks

CP.

I have same problem here.

How you solved this...?

Link to comment
Share on other sites

  • 7 months later...
On 31/05/2017 at 12:30 AM, Ace mcputer said:

To solve the missing Paypal logo. in checkout, quick order etc   

Prestahop 1.6 xx   PayPal v3.11.4 

1. Go to CPanel > File Manager > public_html > modules > paypal > logos.xml

 

2. Right click on logos.xml >edit >  Every occassion of  

 

<LocalPayPalHorizontalSolutionPP>/views/img/default_logos/default_horizontal.png

<LocalPayPalVerticalSolutionPP>/views/img/default_logos/default_logo.gif

 

insert >    /modules/paypal     before the word views

 

example of correct code 

 

 <LocalPayPalHorizontalSolutionPP> /modules/paypal/views/img/default_logos/default_horizontal.png

 

<LocalPayPalVerticalSolutionPP>/modules/paypal/views/img/default_logos/default_logo.gif

 

There are 13  lines that need fixing.

 

A quick hint is to search for the word views e.g. Ctrl F > insert the word views then insert  /modules/paypal  before the word views.

 

This is the quickest way I have found to solve this problem

 

This worked for me thanks. Shame this needed code editing but thanks for great clear instructions.

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