lowriderchris Posted August 25, 2010 Share Posted August 25, 2010 when you choose paypal as the payment option and it tries to redirect you you get the security warning regarding comprimising the security of the site as its going to a non secure page, how cam I stop this error?ive attached a picture and the website is josbabygifts.co.uk Link to comment Share on other sites More sharing options...
Prestafan1234 Posted August 25, 2010 Share Posted August 25, 2010 It's probably because the images on your website are being considered unsafe by the integrated Paypal. One option could be to open the payment window in a new window, however that is not as professional as an integrated solution. I don't use Paypal but had the same problem with Epay. Find out what php file paypal uses. In you BO, find and edit each module you have on your site and fill in the name for the paypal payment.php file (alternatively, you could just edit the modules that have images in them). See attachment.EDIT: Uploading a new screen dump as the first one would not enlarge Link to comment Share on other sites More sharing options...
rocky Posted August 26, 2010 Share Posted August 26, 2010 This bug has been reported and fixed in PrestaShop v1.3.2. Until the fix is released, you could modify modules/paypal/redirect.tpl and change all the hardcoded http:// links to https:// which should work as long as you have "Enabled SSL" set to "Yes". Link to comment Share on other sites More sharing options...
lowriderchris Posted September 8, 2010 Author Share Posted September 8, 2010 sorry for the delay this issue is still here, so I go into the redirect.tpl file and change ALL the links to https or just certain links? thanks Chris Link to comment Share on other sites More sharing options...
rocky Posted September 8, 2010 Share Posted September 8, 2010 I've had another look and it appears all of them should be changed to https:// except this one: <input type="hidden" name="cancel_return" value="http://{$url}index.php" /> Link to comment Share on other sites More sharing options...
lowriderchris Posted September 9, 2010 Author Share Posted September 9, 2010 Just the job Rocky many thanks Link to comment Share on other sites More sharing options...
rocky Posted September 10, 2010 Share Posted September 10, 2010 I've just had a look at modules/paypal/redirect.tpl from PrestaShop v1.3.2 and it appears the PrestaShop team fixed it by removing the http:// part altogether from all the URLs. Link to comment Share on other sites More sharing options...
noesac Posted September 20, 2010 Share Posted September 20, 2010 Amazing, another very helpful fix from Rocky. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now