Jump to content

Redirection fails after payment


hallen77

Recommended Posts

Hello,

 

My prestashop is version 1.6.0.9, and paypal module version 3.8.1 (but with the last version I have the same problem).

 

When a customer pays with Paypal, Paypal page redirect to my shop but instead to see the order confirmation page, a blank page appears with this error message :

 

Fatal error: Uncaught exception 'PrestaShopException' with message 'Property OrderDetail->total_price_tax_incl is not valid' in /home/0/d/www.dietetiquetuina.fr/www/boutique/classes/ObjectModel.php:846 Stack trace: #0 /home/0/d/www.dietetiquetuina.fr/www/boutique/classes/ObjectModel.php(260): ObjectModelCore->validateFields() #1 /home/0/d/www.dietetiquetuina.fr/www/boutique/classes/ObjectModel.php(464): ObjectModelCore->getFields() #2 /home/0/d/www.dietetiquetuina.fr/www/boutique/classes/ObjectModel.php(425): ObjectModelCore->add(true, false) #3 /home/0/d/www.dietetiquetuina.fr/www/boutique/classes/order/OrderDetail.php(589): ObjectModelCore->save() #4 /home/0/d/www.dietetiquetuina.fr/www/boutique/classes/order/OrderDetail.php(613): OrderDetailCore->create(Object(Order), Object(Cart), Array, 2, 0, true, 0) #5 /home/0/d/www.dietetiquetuina.fr/www/boutique/classes/PaymentModule.php(292): OrderDetailCore->createList(Object(Order), Object(Cart), 2, Array, 0, true, 0) #6 /home/0/d/www.dietetiquetuina.fr/www/boutique/modules/paypal/paypal.php(1366): PaymentModuleCore->validateOrder(1048, 2, 92.14, 'PayPal', 'Payment accepte...', Array, 1, false, '8a62d7af68ce938...', Object(Shop)) #7 /home/0/d/www.dietetiquetuina.fr/www/boutique/modules/paypal/express_checkout/payment.php(290): PayPal->validateOrder(1048, 2, 92.14, 'PayPal', 'Payment accepte...', Array, 1, false, '8a62d7af68ce938...', Object(Shop)) #8 /home/0/d/www.dietetiquetuina.fr/www/boutique/modules/paypal/express_checkout/payment.php(306): validateOrder(Object(Customer), Object(Cart), Object(PaypalExpressCheckout)) #9 {main} thrown in /home/0/d/www.dietetiquetuina.fr/www/boutique/classes/ObjectModel.php on line 846

 

 

Paypal says that the payment is ok. In my Prestashop back office only the customer's name, address and total amount is displayed, a lot of data are missing and Prestashop doesn't know if the customer has paid.

 

Only some orders get this problem, it seems that it depends on the order total amount. How to fix it please ?

 

 

Link to comment
Share on other sites

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...