After customer paid the payment, will show the internal error 500, I turned on the debug mode will show below error log.
1. Palpal accepted the payment and send the payment received notification email to us.
2. No new order created in our eshop
We are using PayPal v3.10.2 - by PrestaShop and PrestaShop1.6.0.11 on Windows Server, Could anyone can help me to fix this issue. We had using Paypal on last two years without any problem, But suddenly got this error on around March 2016.
Thanks!
Notice: Undefined index: RedirectRequired in C:\xampp\htdocs\onlineshop\modules\paypal\express_checkout\payment.php on line 312 Notice: Undefined index: PAYMENTREQUEST_0_SHIPPINGAMT in C:\xampp\htdocs\onlineshop\modules\paypal\paypal_orders.php on line 70 Fatal error: Uncaught exception 'PrestaShopException' with message 'Property Order->payment is empty' in C:\xampp\htdocs\onlineshop\classes\ObjectModel.php:866 Stack trace: #0 C:\xampp\htdocs\onlineshop\classes\ObjectModel.php(272): ObjectModelCore->validateFields() #1 C:\xampp\htdocs\onlineshop\classes\order\Order.php(299): ObjectModelCore->getFields() #2 C:\xampp\htdocs\onlineshop\classes\ObjectModel.php(480): OrderCore->getFields() #3 C:\xampp\htdocs\onlineshop\classes\order\Order.php(304): ObjectModelCore->add(true, true) #4 C:\xampp\htdocs\onlineshop\classes\PaymentModule.php(335): OrderCore->add() #5 C:\xampp\htdocs\onlineshop\modules\paypal\paypal.php(1510): PaymentModuleCore->validateOrder(1341, 2, 1, '', 'Payment accepte...', Array, 1, false, '12fbbf9cbad9636...', Object(Shop)) #6 C:\xampp\htdocs\onlineshop\modules\paypal\express_checkout\payment.php(295): PayPal->validateOrder(1341, 2, 1, '', 'Payment accepte...', Array, 1, false, '12fbbf9cbad9636...', Object(Shop)) #7 C:\xampp\htdocs\onlineshop\modules\paypal\e in C:\xampp\htdocs\onlineshop\classes\ObjectModel.php on line 866