Forums

An error occured : Security header is not valid

amasiar 04 Feb, 2010
Hi! I followed the tutorial located http://www.chronoengine.com/tutorials/chronoforms-plugins/437-paid-registration-using-paypal-plugin.html

but I'm still getting this error below

&PAYMENTACTION=Sale&EXPDATE=012011&AMT=80&CREDITCARDTYPE=Visa&ACCT=5111111111111&CVV2=233&FIRSTNAME=Bob&LASTNAME=Marley&STREET=23+Jamaica&CITY=Jamaica&STATE=CT&ZIP=06511&COUNTRYCODE=US&CURRENCYCODE=USD
The PayPal API has returned an error!
Ack: Failure
Correlation ID: c751af74dbe9c
Version: 56.0
Error Number: 10002
Short Message: Security error
Long Message: Security header is not valid

1. An error occured : Security header is not valid


Any ideas? Thanks!
GreyHead 04 Feb, 2010
Hi amasiar,

Yes, the API is *not available* with a basic account. (I forget just which account you need now.)

You can happily use the ReDirect Plugin with a basic account. That will redirect the user to PayPal to pay, you can then bring them back with a return_url.

Bob
amasiar 04 Feb, 2010
Can someone please chime in which Paypal account do I need to get API to work? I got the API credentials and a confirmation email from Paypal saying that the API is available, shouldnt that be enough?

I don't think that the redirection will work for me because I need to "pay for registration" functionality.

Either way, I think API is the way to go, except I'm getting that Paypal error. Please help🙂 I'll verify my site and give you guys money if I get it to work🙂

Thanks.
GreyHead 04 Feb, 2010
Hi amasiar,

I've never used the Plugin so can't help much. Digging in the code the URLs are
		if((int)$params->get('testing')){
			$API_Endpoint = 'https://api-3t.sandbox.paypal.com/nvp'; 
		}else{
			$API_Endpoint = 'https://api-3t.paypal.com/nvp'; 
		}

Bob
amasiar 09 Feb, 2010
I'm still experiencing the problem, do you have any ideas on how to further diagnose the issue?

My paypal account is not verified yet, would that cause the issue? Also, I'm using SSL, but get the same error even when I don't. Perhaps there's some issue with php and shared hosting? Please help!
GreyHead 09 Feb, 2010
Hi amasiar,

Next thing to do is to check the PayPal documents and see what they say about this error. It sounds as though the security hand-shake isn't set up correctly somehwere. I don't know exactly what is required.

Bob
amasiar 25 Feb, 2010
I can't figure this out.

Seems like problem inside ChronoForms - and it's deep.

I'm really disappointed - there's nothing in PayPal docs ... I'm considering switching to another package ...
GreyHead 28 Feb, 2010
Hi amasiar,

The PayPal docs for this error are here

Bob
This topic is locked and no more replies can be posted.