Purchase Credit API Paypal doesn't run

Hi, I have a problem when user try to Purchase Credit ...
At the checkout when I try to connect with PayPal ... it give me error:

SetExpressCheckout API call failed.
Detailed Error Message: Security header is not valid
Short Error Message: Security error
Error Code: 10002
Error Severity Code: Error

What I have to do ??
I have Insert my API user and Password

  • aecnu
    • WP Unicorn

    Greetings fashionbleeker,

    Thank you for bring this significant issue you are having to our attention.

    The only time I have seen any errors like this have been when the API was not copied completely ~or~ there were blanks spaces added to the end of the credentials when they were copied and pasted in.

    Please check if this is indeed the case with your installation.

    Please advise.

    Cheers, Joe

  • fashionbleeker
    • The Incredible Code Injector

    The API SIGNATURE IS SOMETHING LIKE THIS:

    -----BEGIN RSA PRIVATE KEY-----
    (CONTENT)
    -----END RSA PRIVATE KEY-----
    -----BEGIN CERTIFICATE-----
    (CONTENT)
    -----END CERTIFICATE-----

    I have copy all ...and there are no space added to the end ...

  • aecnu
    • WP Unicorn

    Greetings fashionbleeker,

    This is unlike any API signature I have ever seen, what you have submitted in your last post is an SSL certificate of some sort.

    The PayPal API Signature that should be in this place and every where else requiring an API signature is the one located in PayPal by logging into PayPal and going to --> Profile --> My Selling Tools --> Selling Online section --> API access Manage API credentials to integrate my PayPal account with my online store or shopping cart. --> Update

    Please advise.

    Cheers, Joe

  • aecnu
    • WP Unicorn

    Greetings fashionbleeker,

    Thank you for the screen shot it explains a whole lot.

    In this case the mistake was made that you applied for an API Certificate instead of an API Signature which with a certificate the integration thereof is much more complex and to date I have personally never seen it used, though I am sure it is somewhere.

    In what other applications if any are you successfully using an API certificate.

    If none then you would want to cancel the certificate and indeed apply for the signature which should fix this issue right up.

    Please advise.

    Cheers, Joe

  • fashionbleeker
    • The Incredible Code Injector

    I have call Paypal and they told me than the API signature is this :

    -----BEGIN RSA PRIVATE KEY-----
    (CONTENT)
    -----END RSA PRIVATE KEY-----
    -----BEGIN CERTIFICATE-----
    (CONTENT)
    -----END CERTIFICATE-----

    Maybe the account of Paypal and all of this API key as to be associated to a specific website ???? Because we have another website and maybe is associated with this one and not in the website where we have install classifieds ,,,What do you think ??

  • aecnu
    • WP Unicorn

    Greetings fashionbleeker,

    Thank you so much for your additional input, it is greatly appreciated.

    Yes it appears that you finally have the correct API and it can be used across many web sites without an issue.

    I suspect that it is not working because either there is a space added when you copied and pasted the credentials, check the end of each credential item, or you had not completely copied and pasted in a credential. i.e. missing a character or more from the signature for example.

    Please check these possibilities and advise.

    Cheers, Joe

  • fashionbleeker
    • The Incredible Code Injector

    Dear @aecnu ....I try another time, I control all ...there is no space at the end for all the fields and the code is right.... I have control it I think 10 times...
    I'm so frustrated...
    Please help because I need that this plugin work properly...
    I need that we have to find another solution as soon as possible...
    Thank you

    I hope in a fast reply

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.