11 replies [Last post]
acts_of_good's picture
Offline
Uber Donor
Joined: 06/11/2008
Juice: 5
Was this information Helpful?

Thanks in advance for any help.

Our store is working great. I love Ubercart. So far, website payment standard is working fine on the live store, and WPP was working in our sandbox environment.

As soon as I changed WPP to be live, any credit card order serves up this warning:

"We were unable to process your credit card payment. Please verify your card details and try again. If the problem persists, contact us to complete your order."

In my admin area of Drupal, under recent log entries it lists all the failed attempts. Warnings for uc_payment:

Message
Payment failed: Payment failed.
Error: Security header is not valid
Address: An unknown error occurred.

Severity warning

A quick search on paypals developer site for "Security header is not valid" was no help at all.

Security header makes me think this is a problem with SSL. Please help! and Thanks!

JT

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Paypal Pro Error

Yeah, I'm pretty sure that you're required to protect your checkout pages w/ SSL to use WPP in a live setting, but I'd doublecheck with PayPal.

acts_of_good's picture
Offline
Uber Donor
Joined: 06/11/2008
Juice: 5
Re: Paypal Pro Error

Sorry I was unclear. All the cart pages ARE secure (https).

these are the settings I have in securepages. the following pages are secure:

node/add*
node/*/edit
user/*
admin*
cart
cart/*
*/cgi-bin/webscr <-- This could be a problem???

The sandbox account was taking credit card orders just fine. And WPS is working correctly.

Thanks!

slake's picture
Offline
Joined: 10/09/2008
Juice: 19
Re: Re: Paypal Pro Error

I'm having the same issue.

From Watchdog:

Payment failed: Authorize and capture immediately failed.
Error: 10002. Security header is not valid
Address: An unknown error occurred.
CVV2: Not checked

While I also have the same secured pages as acts_of_good, even when I remove /cgi-bin/webscr and don't switch back to http - hopefully ensuring a secure page for whatever the security header referenced - it still doesn't work.

Has there been any headway in pinning this problem down? I'd be happy to relay any other settings that might help clarify this situation ASAP.

thanks

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Paypal Pro Error

You might double check your API credentials.

slake's picture
Offline
Joined: 10/09/2008
Juice: 19
Re: Paypal Pro Error

I rechecked the credentials, and you were right. Thanks Smiling

wildmtsky's picture
Offline
Joined: 08/19/2009
Juice: 14
Similar issues api correct

I am attempting to use drupal/ubercart/paypal wpp configuration for my cart. I just received the error "Security header is not valid" but my credentials are correct. Copied and pasted from sandbox to settings in drupal... So that's an issue that I am hoping someone can help with. Also, once I go live, do I have to have a ssl? I thought that the bonus of having paypal wpp was that you didn't have to get a ssl? Am I confused here?

Thanks for any help!

wildmtsky's picture
Offline
Joined: 08/19/2009
Juice: 14
Re: Similar issues api correct

okay got rid of that error (had two paypal options and picked the wrong one).. But now I have this error on the paypal sandbox "We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. Please contact the seller to resolve the problem. If this payment is for an eBay listing, you can contact the seller via the "Ask Seller a Question" link on the listing page. When you have the correct email address, payment can be made at www.paypal.com."

help?

Antiqel's picture
Offline
Joined: 12/16/2009
Juice: 2
PayPal Website Payments Pro requires Paypal Express to work

After way too many hours of frustration and headache I noticed this little line on the Paypal Website Payments Pro Overview page:

Quote:

Note:

If you use Website Payments Pro, you must implement both Direct Payment and Express Checkout.

I was getting the "Security header is not valid" error again and again until I enabled Express Checkout.

Solved the problem.

Kelly Phong
Phase2 Technology

jrchew's picture
Offline
Joined: 07/27/2009
Juice: 14
Re: PayPal Website Payments Pro requires Paypal Express to work

I've had this problem on several occasions. It's always been my API credentials. I seem to always paste an extra space at the end of my API username. Dev note: The trim() function might come in handy when processing those fields Smiling

Thanks for such a great eCommerce solution.

frankstallone's picture
Offline
Uber DonorEarly adopter... addicted to alphas.Not Kulvik
Joined: 08/08/2007
Juice: 211
Kill it

You guys can kill this thread but I want it to be known that this was the reason why I was getting the same error outlined in this thread -- thank you jrchew -- you can let this thread sink back down the threads again!

Cheers!

tsliker's picture
Offline
Joined: 07/27/2010
Juice: 4
Re: Paypal Pro Error

Thanks, JRChew! I was sure I had my credentials right, but after looking closely, It was the extra space that got me! Thanks again...