Rolo Tomasi Posted March 15, 2015 Share Posted March 15, 2015 I have encountered a problem with the Paypal module (ver 3.8.2) since upgrading to Prestashop Ver 1.6.0.14. When a customer pays by Paypal everything seems to go OK until they are sent back to our site from the Paypal payment screen. At this point there is just a white screen. I have checked in the back office and the order appears there and the funds are also transferred into my Paypal account - it is just the final confirmation which does not show. I have enabled error reporting and receive the following error: Notice: Undefined index: PAYMENTREQUEST_0_SHIPPINGAMT in /home/vintage1/public_html/modules/paypal/paypal_orders.php on line 70Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/vintage1/public_html/themes/default-bootstrap/mails/en/order_conf_product_list.txt" on line 2 "{$product[\'reference\']}" - Unexpected "\" <-- thrown in /home/vintage1/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 2 Does anyone know how to fix this? Link to comment Share on other sites More sharing options...
Rolo Tomasi Posted March 18, 2015 Author Share Posted March 18, 2015 Does anyone have any ideas? Link to comment Share on other sites More sharing options...
Chris2013 Posted March 19, 2015 Share Posted March 19, 2015 HI Have you be able to resolve this issue? Chris Link to comment Share on other sites More sharing options...
Rolo Tomasi Posted March 19, 2015 Author Share Posted March 19, 2015 Unfortunately not however I have realised that it is effecting all payment methods - not just Paypal. I think it has something to do with the validation of the order as no order confirmation emails are being sent out either. Link to comment Share on other sites More sharing options...
Chris2013 Posted March 19, 2015 Share Posted March 19, 2015 I'd hazard a guess remove the \ from order_conf_product_list.txt maybe worth a try /home/vintage1/public_html/themes/default-bootstrap/mails/en/order_conf_product_list.txt" on line 2 "{$product[\'reference\]}" Link to comment Share on other sites More sharing options...
bellini13 Posted March 19, 2015 Share Posted March 19, 2015 this is a known issue with using the email template editing from the back office. it adds these extra backslashes to the email templates Link to comment Share on other sites More sharing options...
Rolo Tomasi Posted March 19, 2015 Author Share Posted March 19, 2015 Thank-you. I couldn't remove the backslashes so I deleted the mails folder out of the theme and this seemed to do the trick. I see that the backslashes are also appearing in the mail alerts module. How do you get rid of them? Link to comment Share on other sites More sharing options...
pandorrah Posted July 24, 2015 Share Posted July 24, 2015 (edited) I just got this error after a module update from paypal:Fatal error: Uncaught exception 'PrestaShopException' with message 'Property Cart->id_currency is empty' in /home/xxxx/public_html/shopnw/classes/ObjectModel.php:846 Stack trace: #0 /home/xxxx/public_html/shopnw/classes/ObjectModel.php(260): ObjectModelCore->validateFields() #1 /home/xxxx/public_html/shopnw/classes/ObjectModel.php(605): ObjectModelCore->getFields() #2 /home/xxxx/public_html/shopnw/classes/Cart.php(199): ObjectModelCore->update() #3 /home/xxxx/public_html/shopnw/modules/paypal/express_checkout/process.php(126): CartCore->update() #4 /home/xxxx/public_html/shopnw/modules/paypal/express_checkout/process.php(141): PaypalExpressCheckout->initParameters(true) #5 /home/xxxx/public_html/shopnw/modules/paypal/express_checkout/payment.php(149): PaypalExpressCheckout->setExpressCheckout(false) #6 {main} thrown in /home/xxxx/public_html/shopnw/classes/ObjectModel.php on line 846 Edited August 8, 2015 by pandorrah (see edit history) Link to comment Share on other sites More sharing options...
pandorrah Posted October 5, 2016 Share Posted October 5, 2016 (edited) consider it solved: with a fresh install of the module. Edited October 5, 2016 by pandorrah (see edit history) 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