Jump to content

Blank page instead of order confirmation: PayPal Europe - Official v. 3.7.1 on Prestashop 1.6.05


armenak

Recommended Posts

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

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

  • 5 months later...

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

Link to comment
Share on other sites

  • 8 months later...

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

  On 8/8/2015 at 1:58 PM, pandorrah said:

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

  • 2 months later...
  On 11/30/2014 at 5:10 PM, Roders said:

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

  On 11/6/2015 at 1:14 AM, bellini13 said:

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

  On 11/6/2015 at 12:10 PM, bellini13 said:

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

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

  • 1 month later...
  On 11/6/2015 at 11:54 PM, bellini13 said:

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...