Jump to content

[Solved] PayPal 3.2.4 not working in fresh Prestashop 1.5.1 install


Recommended Posts

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 by elameno (see edit history)
Link to comment
Share on other sites

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

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

×
×
  • Create New...