damsoi01 Posted April 16, 2014 Share Posted April 16, 2014 Hello, I tried to use paypal checkout with my business account under PS 1.6, but it seems like there is an issue with the following address modules/paypal/express_checkout/payment.php since it returns a 500 internal server error. Any idea? Link to comment Share on other sites More sharing options...
Dh42 Posted April 16, 2014 Share Posted April 16, 2014 Can you check your servers error logs and see what the cause of the error is. Link to comment Share on other sites More sharing options...
damsoi01 Posted April 16, 2014 Author Share Posted April 16, 2014 Hello, thanks for the reply, I checked the error log (I'm with hostgator), and nothing appeared, however I did see some posts on forums saying to change permissions to paypal files to 755, which I did, and instead of the error I get a white page and nothing else.. I am not sure where it could come from. Link to comment Share on other sites More sharing options...
damsoi01 Posted April 16, 2014 Author Share Posted April 16, 2014 Hello, thanks for your reply, in the error log I get "File does not exist: /public_html/index.php" but I hardly see the connection.. However I follow some forum's advice on changing paypal module's files permission from 777 to 755 and now get a white page with nothing on it instead... Link to comment Share on other sites More sharing options...
Dh42 Posted April 16, 2014 Share Posted April 16, 2014 Turn on error reporting in Prestashop and see what that gives you. Link to comment Share on other sites More sharing options...
damsoi01 Posted April 16, 2014 Author Share Posted April 16, 2014 Here it is, at least we have a visual! Fatal error: Class 'PaypalLib' not found in /public_html/modules/paypal/express_checkout/process.php on line 213 Link to comment Share on other sites More sharing options...
Dh42 Posted April 16, 2014 Share Posted April 16, 2014 Are you running the latest version of the paypal module? Link to comment Share on other sites More sharing options...
damsoi01 Posted April 17, 2014 Author Share Posted April 17, 2014 Well, yes, PS 1.6.0.6 and PayPal has no pending update in the modules list. Link to comment Share on other sites More sharing options...
damsoi01 Posted April 17, 2014 Author Share Posted April 17, 2014 no news about this? I really need it to work Link to comment Share on other sites More sharing options...
mdirix Posted April 18, 2014 Share Posted April 18, 2014 After the update to the latest version of prestashop. I'm encountering the same problem. Anyone got a solution? Tried to reinstall the paypal module but to no avail thnx for tips to solve this Link to comment Share on other sites More sharing options...
mdirix Posted April 19, 2014 Share Posted April 19, 2014 Ok I solved the problem on my site. The filpermissions on the directory modules/paypal was changed. Just switch it back to 755 and everything should work again. At least it did on my site. Link to comment Share on other sites More sharing options...
damsoi01 Posted April 19, 2014 Author Share Posted April 19, 2014 hi, thanks for the reply. My folder and all files/subfolders are already in 755 permission. I keep getting the problem :/ Link to comment Share on other sites More sharing options...
papagino Posted April 21, 2014 Share Posted April 21, 2014 (edited) I changed all Prestashop’s folders permission to 755 and all files permission to 644 using Filezilla’s “Recurse into subdirectories with the option “Apply to directories only” for the folders and “Apply to files only” for the files permission. It took a while to complete but now all my folders are permission 755 and all files are permission 644. Paypal will "URL return" to a 500 error page if it detect that the permission are not safe… Hope that helps Dan Edited April 21, 2014 by papagino (see edit history) Link to comment Share on other sites More sharing options...
damsoi01 Posted April 21, 2014 Author Share Posted April 21, 2014 My folder and file's permissions are set, yet I keep getting a white screen. Link to comment Share on other sites More sharing options...
papagino Posted April 21, 2014 Share Posted April 21, 2014 (edited) Hi damsoi01, are your files set to permission 644 and folders set to 755? or your files and folders are set to 755? (This seems to be what you mentioned above...) Also, are you in America? if so you should be using PayPalUSA module that comes preinstalled in Prestashop 1.6x Edited April 21, 2014 by papagino (see edit history) Link to comment Share on other sites More sharing options...
damsoi01 Posted April 21, 2014 Author Share Posted April 21, 2014 Hello, my folders are 755 and my files 644. A detail I had not taken in consideration until now: I have no SSL certifiacte yet, so I thought maybe it is mandatory for the module to work to have a SSL certificate? The error below directs me to a line of code where it looks for the SSL, maybe is it the reason why? Fatal error: Class 'PaypalLib' not found in /public_html/modules/paypal/express_checkout/process.php on line 213 Link to comment Share on other sites More sharing options...
papagino Posted April 21, 2014 Share Posted April 21, 2014 No SSL certificate required to use PayPal module, which PayPal module are you using? What version and is it the one listed under Modules List in your backoffice? Link to comment Share on other sites More sharing options...
papagino Posted April 21, 2014 Share Posted April 21, 2014 Also, try disabling the "express checkout" feature in your Paypal module setup window... Link to comment Share on other sites More sharing options...
damsoi01 Posted April 21, 2014 Author Share Posted April 21, 2014 I use PayPal v3.6.8 - by PrestaShop - Officiel My settings are simple: - No Paypal express checkout - Paypal integral - Sandbox no - Type of payment = direct sales Link to comment Share on other sites More sharing options...
papagino Posted April 21, 2014 Share Posted April 21, 2014 (edited) Are you in USA or Canada? Just asking because if it is the case, PaypalUSA v1.3.3 should be the one listed under the Modules List. Also, is this a new shop? or was it working before you did an upgrade or something? Do you get the blank page after you make a payment with paypal? (URL return page that is blank...) Did you filled in the required fields in the module setup page for the PayPal API Settings for PayPal Business Account, PayPal API Username, PayPal API Password and PayPal API Signature? Edited April 21, 2014 by papagino (see edit history) Link to comment Share on other sites More sharing options...
damsoi01 Posted April 21, 2014 Author Share Posted April 21, 2014 thanks for replying! it is a new shop in france, the blank page appears when the user clicks on paypal to proceed with the payment. As for the paypal API yes I used the ones of the company, thats why I find it weird not to work.. Link to comment Share on other sites More sharing options...
papagino Posted April 21, 2014 Share Posted April 21, 2014 (edited) Ok, I suggest you disable the module, then uninstall, then delete. After that, re-download and reinstall from here: http://addons.prestashop.com/en/payments-gateways-prestashop-modules/1748-paypal.html?utm_source=adforum and reconfigure to see if this could fix your problem. What is your shop url? Sorry that you haven't fix this problem yet (been a week now) Edited April 21, 2014 by papagino (see edit history) Link to comment Share on other sites More sharing options...
damsoi01 Posted April 21, 2014 Author Share Posted April 21, 2014 I will try and let you know! thanks for helping me out! Link to comment Share on other sites More sharing options...
damsoi01 Posted April 21, 2014 Author Share Posted April 21, 2014 Dear Papagino, thanks for the help, turns out uninstalling completely and reinstalling from the zip you gave me worked perfectly! thanks a lot! Link to comment Share on other sites More sharing options...
damsoi01 Posted April 21, 2014 Author Share Posted April 21, 2014 Dear Papagino, thanks for the help, turns out uninstalling completely and reinstalling from the zip you gave me worked perfectly! thanks a lot! Link to comment Share on other sites More sharing options...
papagino Posted April 21, 2014 Share Posted April 21, 2014 (edited) Great, sometime the easiest ways to solve problems are not always the ones we try... Cheers ;o) Dan Edited April 21, 2014 by papagino (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts