elameno Posted October 11, 2012 Share Posted October 11, 2012 (edited) I'm working on a clean install of Prestashop 1.5.1 and the PayPal 3.2.4 module is giving me a lot of problems. When I attempt to checkout, whether in live or test mode, I receive an "Error occurred:" page but no error detail. An email is sent to the admin with the same info, that an error occurred, but no information regarding the error. Also, when I click on the PayPal logo on the sidebar I receive a 500 error (internal server error). Is there anything obvious I might be missing? I have reinstalled the PayPal module from the admin interface and reentered my API credentials to no avail. Edited October 12, 2012 by elameno (see edit history) Link to comment Share on other sites More sharing options...
elameno Posted October 11, 2012 Author Share Posted October 11, 2012 I found the error_log file in the paypal module directory. It gives some indication of the PayPal about page error: "PHP Fatal error: Class 'BWDisplay' not found in .../modules/paypal/about.php on line 37" Link to comment Share on other sites More sharing options...
elameno Posted October 12, 2012 Author Share Posted October 12, 2012 In the greater context of the Prestashop architecture, I don't know if this is the proper way to solve the missing class BWDisplay issue, however, adding the following line to the about.php page in the paypal module will cause the about page to load correctly: include_once(dirname(__FILE__).'/backward_compatibility/Display.php'); Add the line immediately after the paypal.php include. I still have no answers as to why I cannot checkout with PayPal. Has anyone had any success with Prestashop 1.5.1 and the PayPal 3.2.4 module? Link to comment Share on other sites More sharing options...
elameno Posted October 12, 2012 Author Share Posted October 12, 2012 I just figured out why the PayPal 3.2.4 module wasn't working with my Prestashop 1.5.1 install. I use a different subdomain for SSL than the main store. My main store subdomain is "www" and my SSL subdomain is "secure". This caused my shopping cart contents to disappear when attempting to checkout, which is over SSL. Apparently the PayPal module flakes out and doesn't give any indication of what went wrong when it attempts to pay for an empty cart. Back in the Prestashop 1.4 days there was an option under tools to add a subdomain. I can't find that in Prestashop 1.5 and I think it may have disappeared under the "Multistore" options which isn't quite what I'm looking for. So I updated the code as I mentioned in this post -> http://www.prestashop.com/forums/topic/194004-cart-contents-disappear-when-switching-to-ssl-subdomain-prestashop-15/ After adding that code, my shopping cart contents are available across both the main shop url and the ssl url, and the PayPal 3.2.4 module works great on checkout. Link to comment Share on other sites More sharing options...
Recommended Posts