Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal Express problem 'Security Header not Valid' plus DEF errors


Recommended Posts

Posted

I am using RC2a and have just pulled off the API info for Paypal Express from PayPal

 

I am getting a 'Security header is not valid' error - I've checked all the params and case is correct and they match exactly. It's conceivable I wrote them down incorrectly of course but I can't find a way of getting Paypal to show them again?

 

Turning on error reporting though shows me these:

 

Notice: Use of undefined constant MODULE_PAYMENT_PAYPAL_EXPRESS_TEXT_TITLE - assumed 'MODULE_PAYMENT_PAYPAL_EXPRESS_TEXT_TITLE' in ...includes/modules/payment/paypal_express.php on line 23

 

Notice: Use of undefined constant MODULE_PAYMENT_PAYPAL_EXPRESS_TEXT_PUBLIC_TITLE - assumed 'MODULE_PAYMENT_PAYPAL_EXPRESS_TEXT_PUBLIC_TITLE' in ...includes/modules/payment/paypal_express.php on line 24

 

Notice: Use of undefined constant MODULE_PAYMENT_PAYPAL_EXPRESS_TEXT_DESCRIPTION - assumed 'MODULE_PAYMENT_PAYPAL_EXPRESS_TEXT_DESCRIPTION' in ...includes/modules/payment/paypal_express.php on line 25

 

Notice: Undefined index: osC_Action in ...ext/modules/payment/paypal/express.php on line 69

 

That is:

$Id: paypal_express.php 1803 2008-01-11 18:16:37Z hpdl $

 

Ah! Just noticed that there is a paypal_uk_express.php module and I am in the UK so did I ought to be using that?

$Id: paypal_uk_express.php 1803 2008-01-11 18:16:37Z hpdl $

 

However, it's not a selectable option on the admin modules page - I just see:

 

Payment Modules

 

PayPal Website Payments Pro (US) Direct Payments

PayPal Express Checkout

PayPal Website Payments Standard

PayPal Website Payments Pro (UK) Direct Payments

PayPal Website Payments Pro (UK) Express Checkout

 

If I do need it, how do I use it- can anyone tell me please - do i need to chnage the page being called to the UK one?

 

Unless it's the last one I should be using? If that is the case, that wants information that I wasn't supplied with when I requested the API credentials (a 'merchant login ID')

 

Unless the info they are asking for to set up that module is the normal PayPal login ID and password but there is also other info I do not have. Very confusing.

Posted (edited)

Just as an addenda, I have discovered from other posts here that the standard PayPal web payments works okay on my site but this only offers the cart total cost with no details of what was actually ordered. This would work for me but it would be nice to have the cart contents shown as well - is it possible to pass additional data somehow such as an order number please with this method?

 

Edit: Ah I see the PayPal mail has the Invoice ID

Edited by david206
  • 2 weeks later...
Posted

What was the resolution for this ? I too am getting the Security header is not valid message upon checkout when testing my client's site. I have Website Payments pro and express setup and enabled. However, the hangup I think is with Website payments - Standard. My client is trying to obtain the various security info so I can populate this in that module (i.e. - Private Key, Public Certificate, PayPal Public Certificate and PayPal Public Certificate ID). I assume all 4 of these pieces of information are necessary? Please advise as it's been a few years since my last osC/PayPal setup.

 

Best,

 

John Goluch

 

Just as an addenda, I have discovered from other posts here that the standard PayPal web payments works okay on my site but this only offers the cart total cost with no details of what was actually ordered. This would work for me but it would be nice to have the cart contents shown as well - is it possible to pass additional data somehow such as an order number please with this method?

 

Edit: Ah I see the PayPal mail has the Invoice ID

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...