khairulaizat92 Posted August 11, 2013 Share Posted August 11, 2013 (edited) 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 so when im check using ctrl + shift + J 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 August 13, 2013 by khairulaizat92 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 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 More sharing options...
khairulaizat92 Posted August 11, 2013 Author Share Posted August 11, 2013 (edited) I think its the normal one, because i disable the express checkout on each item page..here is where the problem occured: These is where the paypal logo are not using ssl..huhu.. Edited August 11, 2013 by khairulaizat92 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 so you're talking about back office, not about front office, right? Link to comment Share on other sites More sharing options...
khairulaizat92 Posted August 11, 2013 Author Share Posted August 11, 2013 Yep Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 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. 1 Link to comment Share on other sites More sharing options...
khairulaizat92 Posted August 11, 2013 Author Share Posted August 11, 2013 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 More sharing options...
vekia Posted August 12, 2013 Share Posted August 12, 2013 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 More sharing options...
khairulaizat92 Posted August 13, 2013 Author Share Posted August 13, 2013 Owh, ok then Thanks Link to comment Share on other sites More sharing options...
BoKr Posted November 23, 2015 Share Posted November 23, 2015 Hello in 1.6.14 I noticed this problem again and I want to refer to another exelent answer from Mr. Vekia: https://www.prestashop.com/forums/topic/298551-loading-image-via-rootmodulespaypalimg-breaks-ssl/?do=findComment&comment=1517293 It is about that it is best to use "{$content_dir}". Link to comment Share on other sites More sharing options...
Recommended Posts