Jump to content

[Solved] Need Help On Paypal Module (image problem in ssl)


Recommended Posts

Hi there guys, these is just a minor issues exactly, but i want my work to be done perfectly,

 

so recently i just install an ssl from go daddy on my prestashop, and i have dd some editing on the module so that they matches and get the green https on chrome and other browser.

 

But whenever my customer pay through paypal, the back office https suddenly changes to dark https

 

 

https.JPG

 

so when im check using ctrl + shift + J

SSL.JPG

 

it seems tha paypal logo didnt use ssl, which on the above picture so in which file should i editted to get the ssl green again?

 

Thanks for your guys reply.

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

you've got right, it's because there is no https:// in the paypal logo url definition. What to do? change it manually! ;)

 

but the question is, what kind of paypal payment you use? express checkout (button on each product page) or maybe normal payment method? im asking because everything depends on it

Link to comment
Share on other sites

okay

 

in this case go to the file:

modules/paypal/views/templates/back/admin_order/refund.tpl

 

you've got there:

<legend><img src="{$base_url}modules/{$module_name}/logo.gif" alt="" />{l s='PayPal Refund' mod='paypal'}</legend>

 

two possible solutions:

 

1. instead the {$base_url} try to use:

{$base_dir_ssl}

 

1. instead {$base_url}modules/{$module_name}/logo.gif use exactl url to the logo with https:// in the url.

  • Like 1
Link to comment
Share on other sites

okay

 

in this case go to the file:

modules/paypal/views/templates/back/admin_order/refund.tpl

 

you've got there:

<legend><img src="{$base_url}modules/{$module_name}/logo.gif" alt="" />{l s='PayPal Refund' mod='paypal'}</legend>

 

two possible solutions:

 

1. instead the {$base_url} try to use:

{$base_dir_ssl}

 

1. instead {$base_url}modules/{$module_name}/logo.gif use exactl url to the logo with https:// in the url.

 

Thanks, Here are my report;

 

For the first suggestion which is changing to

 

{$base_dir_ssl}

 

didnt work very well, as the "not found" logo appeares replacing the paypal logo.

 

However the 2nd Suggestion,did work very well, which is just put a direct link to the logo with https on the front, now everything is ssl :)

 

Thank for your guys help :)

Link to comment
Share on other sites

hello

 

i'm glad that i could help you in this case

im going to mark this topic as [solved]

 

you know, that you also can mark own topics as [solved] ?

here is a simple instruction:

To mark a topic as [solved] :

- Edit the first post of your topic by clicking on the "Edit" button,

- Click on the "Use full editor" button,

- Add the "[solved]" string at the beginning of your topic title and click on the "Submit Modified Post" button.

 

best regards

Link to comment
Share on other sites

  • 2 years later...
×
×
  • Create New...