Funky Bees Posted October 13, 2011 Share Posted October 13, 2011 Hi I'am facing the paypal problem on the prestashop1.4. When I try to make the payment by paypal, after click on "confirm my order" it's pop out such msg AUTHORISATION TO PAYPAL FAILED Please refer to logs: PayPal response: TIMESTAMP -> 2011-10-13T17:39:53Z L_ERRORCODE0 -> 10002 L_SHORTMESSAGE0 -> Security error L_LONGMESSAGE0 -> Security header is not valid L_SEVERITYCODE0 -> Error PayPal returned error Please someone could solve me out !! Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 13, 2011 Share Posted October 13, 2011 Hi Jane, What version of the PayPal module are you using? -Mike Link to comment Share on other sites More sharing options...
Funky Bees Posted October 14, 2011 Author Share Posted October 14, 2011 Hello Mike, I have solve the problem myself, it's my fault. I try to inactive the sandbox of paypal then its work well. Thanks Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 14, 2011 Share Posted October 14, 2011 Great! I'm glad you were able to resolve this! I'll go ahead and mark this topic as solved for you. -Mike Link to comment Share on other sites More sharing options...
leboutlet Posted March 10, 2012 Share Posted March 10, 2012 I used to have this error on my website. I re-entered the API credentials in case it was wrong and set the sandbox to inactive. Now it works. However it does not work when I enable the SSL. I'll find out why and will post back Link to comment Share on other sites More sharing options...
Petrovic Posted March 12, 2012 Share Posted March 12, 2012 I have this problem: AUTHORISATION TO PAYPAL FAILED Please refer to logs: PayPal response: TIMESTAMP -> 2012-03-12T23:00:59Z L_ERRORCODE0 -> 10002 L_SHORTMESSAGE0 -> Security error L_LONGMESSAGE0 -> Security header is not valid L_SEVERITYCODE0 -> Error PayPal returned error And this message in header: Notice: Undefined variable: params in /var/www/vhosts/mobtel.co.uk/httpdocs/modules/paypal/payment/paypalpayment.php on line 75 Notice: Trying to get property of non-object in /var/www/vhosts/mobtel.co.uk/httpdocs/modules/paypal/payment/paypalpayment.php on line 75 PayPal v2.8.2 PrestaShop 1.4.5.1 Link to comment Share on other sites More sharing options...
Petrovic Posted March 13, 2012 Share Posted March 13, 2012 Solved. Close. Link to comment Share on other sites More sharing options...
PerloveMedical Posted March 13, 2012 Share Posted March 13, 2012 I have meet with the same problem. Link to comment Share on other sites More sharing options...
xchriz Posted April 11, 2012 Share Posted April 11, 2012 Hi Petrovic, me too have the same error in apache log, what have you done to solve it? Thanks I have this problem: And this message in header: Notice: Undefined variable: params in /var/www/vhosts/mobtel.co.uk/httpdocs/modules/paypal/payment/paypalpayment.php on line 75 Notice: Trying to get property of non-object in /var/www/vhosts/mobtel.co.uk/httpdocs/modules/paypal/payment/paypalpayment.php on line 75 PayPal v2.8.2 PrestaShop 1.4.5.1 Link to comment Share on other sites More sharing options...
Petrovic Posted April 12, 2012 Share Posted April 12, 2012 Hi xchriz, Uninstall and install the PayPal modul then fill the PayPal information but... be careful when you copy the parameters form PayPal account. Errors can occur because you do not copy well. Visually check codes. In my case: I (cap. i ) instead l (small L). Link to comment Share on other sites More sharing options...
xchriz Posted April 13, 2012 Share Posted April 13, 2012 Thank you for your response! At the end, i've resolved my problem in another way : About this alert: Notice: Undefined variable: params in /modules/paypal/payment/paypalpayment.php on line 75 Notice: Trying to get property of non-object in /modules/paypal/payment/paypalpayment.php on line 75 in paypal module version: 2.8.2 In the file /modules/paypal/payment/paypalpayment.php within the function getAuthorisation() I've added a new line, in this way i'm not receiving anymore php notice in apache logs if ($discounts == 0) { if (!isset($params)) $params['cart'] = $cart; <-- Newline if ($params['cart']->id_customer) { Link to comment Share on other sites More sharing options...
bellini13 Posted August 9, 2012 Share Posted August 9, 2012 the following errors are fixed in the latest version of prestashop [i]Notice: Undefined variable: params in /modules/paypal/payment/paypalpayment.php on line 75[/i] [i]Notice: Trying to get property of non-object in /modules/paypal/payment/paypalpayment.php on line 75[/i] Change lines 75-79 in the file /modules/paypal/payment/paypalpayment.php to the following if ($cart->id_customer) { $customer = new Customer((int)$cart->id_customer); $taxCalculationMethod = Group::getPriceDisplayMethod((int)$customer->id_default_group); } Link to comment Share on other sites More sharing options...
jsonPTS Posted September 12, 2012 Share Posted September 12, 2012 Este mismo error 10002 se me presento, pero no encontre una posible solucion, incluso baje la ultima version del repositorio de versiones de PrestaShop y sigue dando problemas, tocara esperar a que hagan una solucionarapida para la nueva version de Paypal 3 Saludos. Link to comment Share on other sites More sharing options...
tolurion Posted January 18, 2013 Share Posted January 18, 2013 I am running into this issue with Prestashop version 1.5 .3.1 with paypal version 3.4.1. i have double and triple checked the api information from paypal and stil, receive the following errors 10002 Please try to contact the merchant: PayPal response: TIMESTAMP -> 2013-01-18T09:54:14Z L_ERRORCODE0 -> 10002 L_SHORTMESSAGE0 -> Security error L_LONGMESSAGE0 -> Security header is not valid L_SEVERITYCODE0 -> Error I am not in sandbox mode it is set for live. But I cannot seem to figure out why this is an issue. any help would be greatly appreciated Link to comment Share on other sites More sharing options...
tolurion Posted January 18, 2013 Share Posted January 18, 2013 Ok i finally figured it out. after all that. i had to delete my api from paypal and actually request new credentials before it would start working. apparently my original api settings that paypal gave me were not working. 1 Link to comment Share on other sites More sharing options...
torquay12 Posted May 27, 2013 Share Posted May 27, 2013 I had the same problem. I completely deleted the paypal mod and reinstalled it, redid the credentials and all works fine now. Link to comment Share on other sites More sharing options...
sadawa Posted September 4, 2013 Share Posted September 4, 2013 Hi bellini13, Thank you for your post. It helped me a lot. brand-shop.co.il 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