Jump to content

[SOLVED] paypal error on my website


Funky Bees

Recommended Posts

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

  • 4 months later...

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

  • 5 weeks later...

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

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

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

  • 3 months later...

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

  • 1 month later...

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

  • 4 months later...

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:

  1. PayPal response:
  2. TIMESTAMP -> 2013-01-18T09:54:14Z
  3. L_ERRORCODE0 -> 10002
  4. L_SHORTMESSAGE0 -> Security error
  5. L_LONGMESSAGE0 -> Security header is not valid
  6. 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

  • 4 months later...
  • 3 months later...

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...