armenak Posted June 29, 2014 Share Posted June 29, 2014 Good Afternoon, This is the fourth day I'm trying to understand what is the issue and how to solve it. I read a lot of articles about this issue on prestashop forums but didn't manage to get the answer. I hope you can help. The problem is that anytime clients pass to PayPal checkout page and then filling their paypal login credentials to pay for the order, they returns to a blank/white page. The url of the blank page is like this: www.sitename.com/modules/paypal/express_checkout/payment.php?token=EC-2KK20372K5596102Y&PayerID=X85N8PCQ7CH58 The order is shown in the prestashop backoffice and the client gets email confirmation from paypal. But as I said after paying for the order on paypal checkout page, client doesn't return to order confirmation page but see blank/white page instead. Could you please help me with this issue ? Link to comment Share on other sites More sharing options...
bellini13 Posted June 29, 2014 Share Posted June 29, 2014 edit the file /config/defines.inc.php to enable debug mode, this way instead of a blank page, you will get an error message. from define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true); then place another test order and report back with the error you receive Link to comment Share on other sites More sharing options...
Roders Posted November 30, 2014 Share Posted November 30, 2014 I am having this problem too, here is what I got... Notice: Undefined variable: payment_type in /home/XXXXpublic_html/modules/paypal/express_checkout/payment.php on line 289Notice: Undefined variable: message in /home/XXXX/public_html/modules/paypal/express_checkout/payment.php on line 289Fatal error: Uncaught exception 'PrestaShopException' with message 'Can't load Order status' in /home/kay/public_html/classes/PaymentModule.php:174 Stack trace: #0 /home/kay/public_html/modules/paypal/paypal.php(1366): PaymentModuleCore->validateOrder(45, 0, 1.5, 'PayPal', NULL, Array, 2, false, '27a92ef75a2a756...', Object(Shop)) #1 /home/kay/public_html/modules/paypal/express_checkout/payment.php(290): PayPal->validateOrder(45, NULL, 1.5, 'PayPal', NULL, Array, 2, false, '27a92ef75a2a756...', Object(Shop)) #2 /home/kay/public_html/modules/paypal/express_checkout/payment.php(306): validateOrder(Object(Customer), Object(Cart), Object(PaypalExpressCheckout)) #3 {main} thrown in /home/kay/public_html/classes/PaymentModule.php on line 174 Link to comment Share on other sites More sharing options...
bellini13 Posted November 30, 2014 Share Posted November 30, 2014 report your issue to the module author, you can do so from the addons store page Link to comment Share on other sites More sharing options...
Roders Posted November 30, 2014 Share Posted November 30, 2014 report your issue to the module author, you can do so from the addons store page Thanks! 1 Link to comment Share on other sites More sharing options...
El Patron Posted December 2, 2014 Share Posted December 2, 2014 Thanks! Rodney, just to let you know, this is only post where order state is 0. At least it's novel. fingers crossed. 1 Link to comment Share on other sites More sharing options...
pandorrah Posted August 8, 2015 Share Posted August 8, 2015 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 Link to comment Share on other sites More sharing options...
bellini13 Posted August 9, 2015 Share Posted August 9, 2015 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 And you are using Paypal Europe v3.7.1 on PS v1.6.0.5? If not, create a new topic with your specific issue and how to re-create the issue. I would also suggest you reach out to the module developer directly via the addons store... Link to comment Share on other sites More sharing options...
anconstantinescu Posted November 5, 2015 Share Posted November 5, 2015 I am having this problem too, here is what I got... Notice: Undefined variable: payment_type in /home/XXXXpublic_html/modules/paypal/express_checkout/payment.php on line 289 Notice: Undefined variable: message in /home/XXXX/public_html/modules/paypal/express_checkout/payment.php on line 289 Fatal error: Uncaught exception 'PrestaShopException' with message 'Can't load Order status' in /home/kay/public_html/classes/PaymentModule.php:174 Stack trace: #0 /home/kay/public_html/modules/paypal/paypal.php(1366): PaymentModuleCore->validateOrder(45, 0, 1.5, 'PayPal', NULL, Array, 2, false, '27a92ef75a2a756...', Object(Shop)) #1 /home/kay/public_html/modules/paypal/express_checkout/payment.php(290): PayPal->validateOrder(45, NULL, 1.5, 'PayPal', NULL, Array, 2, false, '27a92ef75a2a756...', Object(Shop)) #2 /home/kay/public_html/modules/paypal/express_checkout/payment.php(306): validateOrder(Object(Customer), Object(Cart), Object(PaypalExpressCheckout)) #3 {main} thrown in /home/kay/public_html/classes/PaymentModule.php on line 174 Same problem here, also with the latest 3.10.2 Paypal module release. I have contacted the developer, please post if the solution is disclosed to you. Link to comment Share on other sites More sharing options...
tuk66 Posted November 5, 2015 Share Posted November 5, 2015 Does this error occur within each payment? Link to comment Share on other sites More sharing options...
anconstantinescu Posted November 5, 2015 Share Posted November 5, 2015 Does this error occur within each payment? I tried ~20 transactions with small amounts. The problem occured on all of them. Link to comment Share on other sites More sharing options...
bellini13 Posted November 6, 2015 Share Posted November 6, 2015 The order status that the module is trying to use apparently does not exist. Did you delete or edit the order statuses in the back office? Link to comment Share on other sites More sharing options...
anconstantinescu Posted November 6, 2015 Share Posted November 6, 2015 The order status that the module is trying to use apparently does not exist. Did you delete or edit the order statuses in the back office? From what I understand the paypal module is sending a request to validate the order with order_state 0 validateOrder(45, 0, 1.5, 'PayPal', NULL, Array, 2, false, '27a92ef75a2a756...', Object(Shop)) I don't have an order status 0 and I don't think there should be. Link to comment Share on other sites More sharing options...
bellini13 Posted November 6, 2015 Share Posted November 6, 2015 it is sending 0 because the one it is trying to use does not exist. did you want to answer my original question? Link to comment Share on other sites More sharing options...
anconstantinescu Posted November 6, 2015 Share Posted November 6, 2015 it is sending 0 because the one it is trying to use does not exist. did you want to answer my original question? I have looked in previous backups of the database and could not find an additional entry to the ones that are present in the BO right now. Can I determine what order state it's looking for? Link to comment Share on other sites More sharing options...
bellini13 Posted November 6, 2015 Share Posted November 6, 2015 You don't say which Paypal module or version you use, so I can't really tell you. Paypal Europe will try to use one of the following PS_OS_PAYPAL = ID 11 PS_OS_PAYMENT = ID 2 PS_OS_ERROR = ID 8 So first you should confirm that you have Order Status with those IDs (2, 8, 11), and then you should confirm that you have configuration values in the ps_configuration database table matching those IDs. And still... you have failed to answer my original question... Link to comment Share on other sites More sharing options...
paot Posted January 6, 2016 Share Posted January 6, 2016 You don't say which Paypal module or version you use, so I can't really tell you. Paypal Europe will try to use one of the following PS_OS_PAYPAL = ID 11 PS_OS_PAYMENT = ID 2 PS_OS_ERROR = ID 8 So first you should confirm that you have Order Status with those IDs (2, 8, 11), and then you should confirm that you have configuration values in the ps_configuration database table matching those IDs. And still... you have failed to answer my original question... Same error in my store and i have order statuses 2,8 and 11 Link to comment Share on other sites More sharing options...
bellini13 Posted January 6, 2016 Share Posted January 6, 2016 and then you should confirm that you have configuration values in the ps_configuration database table matching those IDs. 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