mouni Posted May 9, 2015 Share Posted May 9, 2015 (edited) Hi My webshop paypal payment and order creation system worked perfectly until 2 days ago. I run prestashop 1.6.11 and the latest update of paypal The problem goes like this: Customers place an order and after succesful payment (paypal) they are redirected to a blank page (http://myshop.dk /home/modules/paypal/express_checkout/payment.php?token=EC-86P182......845B&PayerID=9..........T2Q3G) Payment confirmation email is send to the customer and to me. When customer returns to my shop, the ordered products are still in the cart. The order is not created backend, but shows up in "abandoned carts". Customer credentials are created, but not the order and payment is NOT registered backend either. I have searched the forums non stop for 2 days and this seems to be a common paypal/prestashop issue whenever changes are made in paypal module, still I have found no applicable solution. Did anyone experience the same problem lately and does anyone have a solution to this serious problem? Thanks Moni Edited May 9, 2015 by mouni (see edit history) 1 Link to comment Share on other sites More sharing options...
bellini13 Posted May 9, 2015 Share Posted May 9, 2015 enable debug mode (search for that on the forums), and instead of a blank white page, you will see an error message that is causing the issue Link to comment Share on other sites More sharing options...
mouni Posted May 9, 2015 Author Share Posted May 9, 2015 Thanks this is the error message: Fatal error: Uncaught exception 'PrestaShopException' with message 'Property Order->payment is empty' in /data/home............classes/ObjectModel.php:866 Stack trace: #0 /data/............./classes/ObjectModel.php(272): ObjectModelCore->validateFields() #1 /data............classes/order/Order.php(299): ObjectModelCore->getFields() #2 /data/home/e............home/classes/ObjectModel.php(480): OrderCore->getFields() #3 /da.................../classes/order/Order.php(304): ObjectModelCore->add(true, true) #4 /data/home/e.....................classes/PaymentModule.php(335): OrderCore->add() #5 /data/............modules/paypal/paypal.php(1418): PaymentModuleCore->validateOrder(329, 2, 9, '', 'Payment accepte...', Array, 2, false, '47b550233e6bd0b...', Object(Shop)) #6 /data/.........modules/paypal/express_checkout/payment.php(290): PayPal->validateOrder(329, 2, 9, '', 'Payment accepte...', Array, 2, false, '47b in /data.................classes/ObjectModel.php on line 866 (the shop url info I dotted it out) Moni Link to comment Share on other sites More sharing options...
mouni Posted May 9, 2015 Author Share Posted May 9, 2015 Wiiiiiiii Finally found the fix! https://github.com/PrestaShop/PrestaShop/commit/9e27137fc1f1d57d4da9fc3fc1a63bba23c9a422 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now