I'm having the same issue on 1.3.8a. I'm in sandbox mode w/debug log + email. I have set the API user/pwd/signature three times, and I always get the same "Security Header is not valid" return. This is my development site, which doesn't have an SSL certificate, could that be complicating matters?
Code:
from a "[METHOD] => SetExpressCheckout", the response:
Array
(
[TIMESTAMP] => 2009-12-23T16:58:29Z
[CORRELATIONID] => dfa1d7b7ec5d3
[ACK] => Failure
[VERSION] => 3.2
[BUILD] => 1105502
[L_ERRORCODE0] => 10002
[L_SHORTMESSAGE0] => Security error
[L_LONGMESSAGE0] => Security header is not valid
[L_SEVERITYCODE0] => Error
[CURL_ERRORS] =>
)
I only have one business PayPal account (because its not live yet) and so that's my 'sandbox' account, it has my only credentials. I'm not sure I understand if having multiple accounts/credentials is required, I must be missing something there.