InMotion Hosting Support Center

PayPal module returning Server ERROR 500

Category: Prestashop 15

InMotionFans
n/a Points
Asked:
2014-12-21 12:17 pm EST

Hits: 1,353
Once I or my customers have added something to their shopping cart and then select the PayPal payment process, logging into PayPal and then click on the Continue link the Server ERROR 500 is returned. I turned on PS_MODE_DEV setting it to true within the config/defines.inc.php file and see the following error details on the page...
Notice: Undefined index: PAYMENTREQUEST_0_SHIPTOSTREET2 in /home/ehyeh35/public_html/modules/paypalusa/controllers/front/expresscheckout.php on line 184
[PrestaShopException]

Property Address->firstname is not valid
at line 846 in file classes/ObjectModel.php

840.
841. $message = $this->validateField($field, $this->$field);
842. if ($message !== true)
843. {
844. if ($die)
845. throw new PrestaShopException($message);
846. return $error_return ? $message : false;
847. }
848. }
849.
850. return true;

ObjectModelCore->validateFields - [line 260 - classes/ObjectModel.php]
ObjectModelCore->getFields - [line 464 - classes/ObjectModel.php]
ObjectModelCore->add - [line 170 - classes/Address.php] - [2 Arguments]
AddressCore->add - [line 425 - classes/ObjectModel.php] - [2 Arguments]
ObjectModelCore->save - [line 188 - modules/paypalusa/controllers/front/expresscheckout.php]
PayPalusaExpressCheckoutModuleFrontController->_expressCheckout - [line 48 - modules/paypalusa/controllers/front/expresscheckout.php]
PayPalusaExpressCheckoutModuleFrontController->initContent - [line 180 - classes/controller/Controller.php]
ControllerCore->run - [line 373 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 28 - index.php]

You must login before you can ask a follow up question.

You must login before you can submit an answer.

The response to the question I asked below is not one that I am satisfied with. Since I do not have any punctuation in the name of our business this is not a suitable resolution.

After researching, it appears that the PayPal module has a bug in it in which if there are any symbols within the name on a PayPal business account, it will return this error. Unfortunately, the bug does not appear to be fixed yet. Further information on this issue may be found within this PrestaShop bug report.

My recommendation would be to simply avoid this issue for now by either ensuring that an account with symbols is not used, or using another payment gateway module in the meantime. I also recommend updating the ticket referenced above with your experiences as this may help them resolve the issue faster.

Best regards,
JeffMa
acnsgroup
6 Points
2014-12-26 02:41 pm EST

OTHER ANSWERS

0

JeffMa
Staff
11,186 Points
2014-12-22 9:16 am EST
After researching, it appears that the PayPal module has a bug in it in which if there are any symbols within the name on a PayPal business account, it will return this error. Unfortunately, the bug does not appear to be fixed yet. Further information on this issue may be found within this PrestaShop bug report.

My recommendation would be to simply avoid this issue for now by either ensuring that an account with symbols is not used, or using another payment gateway module in the meantime. I also recommend updating the ticket referenced above with your experiences as this may help them resolve the issue faster.

Best regards,
JeffMa

You must login before you can post a comment about this answer.

0

John-Paul
Staff
31,633 Points
2014-12-26 4:15 pm EST
Hello acnsgroup,

Thank you for contacting. There seems to be several ongoing issues with PrestaShop, and the Paypal Express module. I found another older Unresolved ticket, where they are discussing the error you are experiencing. Monitoring that post for updates, will keep you informed when the issue is corrected.

I followed the steps ("added something to their shopping cart and then select the PayPal payment process, logging into PayPal and then click on the Continue link") exactly, and do not see the error.

Here is a screenshot:


We are happy to help troubleshoot further, but will need some additional information.

Are you still experiencing this error?

Have you tested with a different Paypal account?

If you have any further questions, feel free to post them below.

Best Regards,
John-Paul

You must login before you can post a comment about this answer.

Hy John-Paul The error actually presents itself when you click on the Continue button above the words "Shipping address" on the right. I can pretty much guarantee it. That's where I get it and others have received it when they have attempted to make a purchase...
I'm trying to send a screenshot but cannot attach one here.
acnsgroup
6 Points
2014-12-26 7:01 pm EST
0

TJEdens
Staff
10,077 Points
2014-12-26 7:10 pm EST
Hello acnsgroup,

When I went through the order process, I clicked continue which brought me back to your website with my shipping and billing address added to your website. I was not able to replicate any 500 error.

Please let us know if you have any other questions.

Best Regards,
TJ Edens

You must login before you can post a comment about this answer.

ok. I do see your account now created but and the associated purchased product. This is odd. I'll get one of my customers to try again with their account and see if they can complete a purchase. Thanks for your assistance and I will let you know the results of our further testing. Thank you again!
acnsgroup
6 Points
2014-12-26 7:34 pm EST
0

TJEdens
Staff
10,077 Points
2014-12-26 7:40 pm EST
Hello Acnsgroup,

I apologize that we were not able to replicate the issue but I hope it is now resolved.

Please let us know if you have any other questions.

Best Regards,
TJ Edens

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!