Hi to all.
After order confirmation with Paypal, the payment is correctly made but the browser shows blank screen, no order is in the BO and no emails is sent to the customer.
Turning on the debug mode this is what is shown:
Notice: Undefined index: PAYMENTREQUEST_0_SHIPPINGAMT in /var/www/maniacaffe.com/public_html/modules/paypal/paypal_orders.php on line 70
Notice: Undefined variable: payment_type in /var/www/maniacaffe.com/public_html/modules/paypal/express_checkout/payment.php on line 289
Notice: Undefined variable: message in /var/www/maniacaffe.com/public_html/modules/paypal/express_checkout/payment.php on line 289
Fatal error: Uncaught exception 'PrestaShopException' with message 'Can't load Order status' in /var/www/maniacaffe.com/public_html/classes/PaymentModule.php:174 Stack trace: #0 /var/www/maniacaffe.com/public_html/modules/paypal/paypal.php(1366): PaymentModuleCore->validateOrder(8, 0, 7, 'PayPal', NULL, Array, 1, false, 'b9b73383618d750...', Object(Shop)) #1 /var/www/maniacaffe.com/public_html/modules/paypal/express_checkout/payment.php(290): PayPal->validateOrder(8, NULL, 7, 'PayPal', NULL, Array, 1, false, 'b9b73383618d750...', Object(Shop)) #2 /var/www/maniacaffe.com/public_html/modules/paypal/express_checkout/payment.php(306): validateOrder(Object(Customer), Object(Cart), Object(PaypalExpressCheckout)) #3 {main} thrown in /var/www/maniacaffe.com/public_html/classes/PaymentModule.php on line174
I've searched for days a solution to my problem but anything didn't work. I tried:
- changing folder permissions to 775 (but also to 777)
- changing file permissions to 664 (but also to 666)
- put the url www.maniacaffe.com/modules/paypal/validation.php as IPN in the Paypal option
- uninstalled and deleted the Paypal module
- checked the website is not in Maintenance Mode
- cleaned cache
Version Prestashop 1.6.0.9 and Paypal 3.8.1
Thanks for your help, this problem drives me crazy.....