CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • 10002:Security error Security header is not valid
Pages: [1]

Author Topic: 10002:Security error Security header is not valid  (Read 4884 times)

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
10002:Security error Security header is not valid
December 14, 2009, 06:01:35 am
I know this error is found in other threads but I did not see a solutions with
1. making sure the API is typed in correctly.
2. paypal account not setup yet properly
3. ssl cert error. But this is both for www.example.com

But the account works fine with paypal standalone settings and civicrm but when the gateway is set to Paypal Pro.
Looking via google this page comes up
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_errorcodes

But the numeric id is 10008 and not 10002 for this error Security error Security header is not valid.
And 10002 is related to every other error they could have ( -:

Who is putting out this error civicrm or paypal to the screen?

The version of the site is 3.0.3 (tried in 3.0.2 first then updated and cleared the cache).

Any help would be appreciated.

Al

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: 10002:Security error Security header is not valid
December 14, 2009, 06:46:32 am

that error message is returned by paypal. we just display it on the screen

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: 10002:Security error Security header is not valid
December 14, 2009, 06:57:10 am
Okay I will dig around their area for help.
Seems this really is all an issue with them and / or our settings and nothing to do with CiviCRM paypal pro.
Thanks for your time

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: 10002:Security error Security header is not valid
December 14, 2009, 07:00:45 am
Hmmm so far the forums talk a bit about soap but if their server does not have soap setup for php is that an issue?
Thanks

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: 10002:Security error Security header is not valid
December 16, 2009, 03:11:21 am
Posted at the paypal forum area and one things they asked is if I could get
"you can also try capturing the raw request you are sending out to make sure it is not getting formatted in a way that is causing it to fail with this error."
Any tips on how would I go about doing this?
Thanks

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: 10002:Security error Security header is not valid
December 16, 2009, 07:07:57 am

Add some debug statements to:

CRM/Core/Payment/PayPalImpl.php, line 461 or so (before curl_exec).

print_r( $ch );

should give u the contents of the curl object

u can also check the php/curl manual to see what debug options curl has

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: 10002:Security error Security header is not valid
December 17, 2009, 05:06:03 pm
final solution we called Paypal and they reset the API.
Wow.
Well now we all know in the future.
Thanks for you help!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • 10002:Security error Security header is not valid

This forum was archived on 2017-11-26.