Sito Lab Posted September 8, 2013 Share Posted September 8, 2013 I then installed on the module paypal prestashop 1.5.4.1 version 3.5.9 European version, enter all the credentials rischieste to activate the payment through paypal Enabling Business account ok I have selected in step 1 "want paypal as a payment method add-on? I activated the payment Express to step 3 I have activated all the credentials and bees are ok Choose the Express Checkout button Your customers pay in just 2 clicks Yes (recommended) activated Choose Sand box You will have a test environment to your PayPal account. Learn more Live mode (recommended) activated Type of payment Choose your method to process payments: (automatic vs. manual authorization). Authorization / Manual capture (payment shipping) Using Google chrome I did a test with another account to pay with paypal express payment arrival to the page of paypal and when I confirm the payment locks without bringing me no error code could someone please help me? to make a purchase if you want to in case of problems will refund immediately thanks Link to comment Share on other sites More sharing options...
Sito Lab Posted September 8, 2013 Author Share Posted September 8, 2013 (edited) add photo this error only happens with the button fast cash paypal please help me I do not understand what to do Edited September 8, 2013 by lui1969 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted September 9, 2013 Share Posted September 9, 2013 Hi there, Can you try turning on errors and see what it says? Link to comment Share on other sites More sharing options...
Sito Lab Posted September 10, 2013 Author Share Posted September 10, 2013 sorry for the delay. thanks for the reply seems to be Nemo1 Error 500 I say this because I do not know how to see the name of the problem. I also contact my provider because I read that could be a problem url, he replied that it is not a permission problem, and to contact paypal, which I did, but I still have not received a reply, I did a lot of tests, doing some research, but nothing. If the payment is done normally, that is, placing products in the cart works. Link to comment Share on other sites More sharing options...
vekia Posted September 10, 2013 Share Posted September 10, 2013 so if you've got internal server error 500, you should turn on error reporting exactly as Nemo suggested here it is little information about turning error reporting on: open: config/defines.inc.php find this line define('_PS_MODE_DEV_', false); change to look like this: define('_PS_MODE_DEV_', true); Link to comment Share on other sites More sharing options...
Sito Lab Posted September 10, 2013 Author Share Posted September 10, 2013 so if you've got internal server error 500, you should turn on error reporting exactly as Nemo suggested here it is little information about turning error reporting on: open: config/defines.inc.php find this line define('_PS_MODE_DEV_', false); change to look like this: define('_PS_MODE_DEV_', true); vekia thanks for the reply, I have made this change, but I get this error Fatal error: Uncaught exception 'PrestaShopException' with message 'Property Address->phone is empty' in /srv/disk9/1497831/www/iotoscana.com/classes/ObjectModel.php:837 Stack trace: #0 /srv/disk9/1497831/www/iotoscana.com/classes/ObjectModel.php(265): ObjectModelCore->validateFields() #1 /srv/disk9/1497831/www/iotoscana.com/classes/ObjectModel.php(465): ObjectModelCore->getFields() #2 /srv/disk9/1497831/www/iotoscana.com/classes/Address.php(170): ObjectModelCore->add(true, false) #3 /srv/disk9/1497831/www/iotoscana.com/modules/paypal/express_checkout/payment.php(193): AddressCore->add() #4 {main} thrown in /srv/disk9/1497831/www/iotoscana.com/classes/ObjectModel.php on line 837 Link to comment Share on other sites More sharing options...
NemoPS Posted September 10, 2013 Share Posted September 10, 2013 Hi, It means a phone number is not being passed to the form, are you using a custom template? Link to comment Share on other sites More sharing options...
Sito Lab Posted September 10, 2013 Author Share Posted September 10, 2013 (edited) use the form by default and the default theme version 3.5.9 Edited September 10, 2013 by lui1969 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted September 10, 2013 Share Posted September 10, 2013 I see, did you fill in the phone number while checking out? Link to comment Share on other sites More sharing options...
Sito Lab Posted September 10, 2013 Author Share Posted September 10, 2013 Nemo Thanks for your answer, unfortunately a good Italian :-) I do not know speak English, use a translator to understand and write. if asked if I used a phone number for completing the checkout the answer is no I hope it is that your question Link to comment Share on other sites More sharing options...
NemoPS Posted September 10, 2013 Share Posted September 10, 2013 Can you try with the phone number added to the client's details? (puoi provare a vedere se funziona aggiungendo il numero di telefono del cliente con cui provi il checkout?) Link to comment Share on other sites More sharing options...
Sito Lab Posted September 10, 2013 Author Share Posted September 10, 2013 I try just to see, I've never seen this feature Link to comment Share on other sites More sharing options...
Sito Lab Posted September 10, 2013 Author Share Posted September 10, 2013 So here is the procedure done 1-click checkout 2 Insert email and password paypal 3 on phone number to share 4 click on continue error Fatal error: Uncaught exception 'PrestaShopException' with message 'Property Address->phone is empty' in /srv/disk9/1497831/www/iotoscana.com/classes/ObjectModel.php:837 Stack trace: #0 /srv/disk9/1497831/www/iotoscana.com/classes/ObjectModel.php(265): ObjectModelCore->validateFields() #1 /srv/disk9/1497831/www/iotoscana.com/classes/ObjectModel.php(465): ObjectModelCore->getFields() #2 /srv/disk9/1497831/www/iotoscana.com/classes/Address.php(170): ObjectModelCore->add(true, false) #3 /srv/disk9/1497831/www/iotoscana.com/modules/paypal/express_checkout/payment.php(193): AddressCore->add() #4 {main} thrown in /srv/disk9/1497831/www/iotoscana.com/classes/ObjectModel.php on line 837 Link to comment Share on other sites More sharing options...
Sito Lab Posted September 10, 2013 Author Share Posted September 10, 2013 I do not know what to do I have also followed your guides on the site tio Nemo but nothing, I think I have to turn off Link to comment Share on other sites More sharing options...
Sito Lab Posted September 11, 2013 Author Share Posted September 11, 2013 I just received a response from the service center paypal on this issue. Thank you for contacting technical support PayPal. We apologize for the delay in the first response. This error 'generated in the server of his cart Prestashop, which uses PayPal modules but with custom code that PayPal does not control (' cause precisely on Prestashop) and therefore does not support. I have to ask you kindly to contact technical support for Prestashop for a code control button and the resolution of the problem. Sincerely, Renato PayPal MTS Link to comment Share on other sites More sharing options...
Diseño Posted August 18, 2015 Share Posted August 18, 2015 Hi, I know this topic is from two years ago but I'm facing this issue with a store I have, is PS 1.5.4.1, and as our italian friend said Paypal throws an error about phone validation: *********************************************************************************** [PrestaShopException]Property Address->phone is emptyat line 837 in file classes/ObjectModel.php ObjectModelCore->validateFields - [line 265 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->getFields - [line 465 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->add - [line 170 - classes/Address.php] - [2 Arguments] AddressCore->add - [line 427 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 190 - modules/paypalmx/controllers/front/expresscheckout.php] - [0 Argument] PayPalmxExpressCheckoutModuleFrontController->_expressCheckout - [line 49 - modules/paypalmx/controllers/front/expresscheckout.php] - [0 Argument] PayPalmxExpressCheckoutModuleFrontController->initContent - [line 167 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 349 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 28 - index.php] - [0 Argument] *************************************************************************************************** I read this ticket (http://forge.prestashop.com/browse/PNM-2050) but I'm not able to make it work, I'm using Paypal v.1.3.11 Do you guys have any solution for this issue? Thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted August 19, 2015 Share Posted August 19, 2015 I would open up that line 190 of front/expresscheckout.phpSee what' passing in. It should be an object. Right before, you can fake the missing phone number like$object->phone = $object->phone ?: '0000000000'; 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