PayPal module returning Server ERROR 500
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]
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