Jump to content

PayPal problem


on6th

Recommended Posts

Hello Prestashoppers !

 

I am sure my problem is already solved but in pile of information is hard to find exactly what I need.

 

I requested PayPal API and installed module to PS. After selecting PayPal as payment and pressing submit my order here is what I am getting.

 

Please refer to logs:

Making new connection to 'api-3t.sandbox.paypal.com/nvp

'

Connect with CURL method successful

Sending this params:

METHOD=SetExpressCheckout&VERSION=60.0&PWD=*********&USER=repairon6_api1.gmail.com&SIGNATURE=*********&Amt=10&PAYMENTACTION=Sale&ReturnUrl=http%3A%2F%2Fwww.nyccase.com%2Fmodules%2Fpaypal%2Fpayment%2Fsubmit.php%3FfromPayPal%3D1&CANCELURL=http%3A%2F%2Fwww.nyccase.com%2Forder.php&CURRENCYCODE=USD&NOSHIPPING=1&SOLUTIONTYPE=Sole&LANDINGPAGE=Billing&LOCALECODE=EN&EMAIL=kris5800%40gmail.com&L_NAME0=NYCcase+0712p+red%2Fblack&L_AMT0=10&L_QTY0=1&ITEMAMT=10&SHIPPINGAMT=0&TAXAMT=0&SHIPTONAME=Kristina+Adamiya&SHIPTOSTREET=28+65TH+ST&SHIPTOSTREET2=&SHIPTOCITY=West+Newyork&SHIPTOSTATE=NJ&SHIPTOZIP=07093&SHIPTOCOUNTRY=US&SHIPTOPHONENUM=3475691641&ADDROVERRIDE=1

Send with CURL method successful

PayPal response:

TIMESTAMP -> 2012-02-20T17:02:40Z

CORRELATIONID -> 1bb4c289a6cbd

ACK -> Failure

VERSION -> 60.0

BUILD -> 2571254

L_ERRORCODE0 -> 10002

L_SHORTMESSAGE0 -> Security error

L_LONGMESSAGE0 -> Security header is not valid

L_SEVERITYCODE0 -> Error

PayPal returned error

 

 

I have 0 understanding of any of this and I hope this is not serious problem.

 

Thank you !

Link to comment
Share on other sites

  • 2 months later...

Additionally, you can see more about this error here.

 

I hope this helps.

 

-Mike

Hi on6th,

Can you please confirm that you are using the live credentials with the live version of the PayPal module? The production and sandbox credentials are separate, and if you're still running in Sandbox mode it will not work with the Production credentials.

 

-Mike

 

It is true this problem occurs when there is a problem with credential and associated configuration (production/sandbox) but...

I face this problem since a while and I searched for information here in the forum and in other places, because I changed and re-generated many time my sandox and production credentials and I had the same problem, Error 10002, Malformed Header...

 

As I install my PrestaShop on a polish provider (home.pl) I found an interesting information in their forum :

an information was forwarded to change a line in the file : modules/paypal/api/paypalconnect.php

and change the line :

@curl_setopt($ch, CURLOPT_VERBOSE, true);

with the line

@curl_setopt($ch, CURLOPT_VERBOSE, false);

 

And it appears that the problem gone.

 

I do not perform at the moment all the test but I can access to both Production and Sandbox Paypal systems.

I think that PayPal Error 10002 must not be considered ONLY as a credentials error.

I don't know what is the impact of this modification but I think this is also a way to check. Maybe it depend on configuration, provider, I don't know.

Link to comment
Share on other sites

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