Jump to content

Paypal 3.11.1 Not working on Prestashop 1.4.7


matthewboehm

Recommended Posts

Hi,

 

 

Paypal (3.8) Express Checkout was working fine on my online store (Prestashop 1.4.7) up until today.

 

Today customers started getting an error when they tried to confirm their payment on the paypal page.

 

Instead of going back to their cart to get the order successfully message, then would simply gets a white page saying.

 

"Fatal Error"

 

I couldn't find any error logs or anything to try to fix this, so i upgraded to paypal 3.11.1

 

Now when I try to confirm paypal 3.11.1, the country is set to United Kingdom (I am in Australia)

 

And there is no where to ended my Paypal API Details.

 

 

Please Help

 

 

Link to comment
Share on other sites

Ok so,

 

I went back to paypal 3.8.2, and turned on debugging.

 

I found that the Fatal Error was something to do with Country.php getByIso()

As best as I can gather, PrestaShop was trying to update the buyers account with the address stored in the Paypal Response Array, but there was no address in that array.

 

So at the moment, I've gone into the payment.php file in paypal\express_checkout and commented out the code that 

"//If address exists, we update it with new informations"

 

Right now, when someone pays with paypal, they confirm their payment, then get taken to a blank white page.

however, the payment goes through, and the order goes into backoffice

 

so right now, people can still make orders, they just dont know if it works unless they check for the confirmation email.

 

 

Hopefully somone on here has some ideas to fix this.

Link to comment
Share on other sites

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...