How to grant 3rd party permission

keonteapi1
Contributor
Contributor

Haii,

     After integrating pay pal payment gateway, API response : "Payment Error : (10002) - Security error -security header is not valid" with my account credentials but working fine with other credentials. Is there any configuration (like permission) i have to do in my business account.

    I tried to grant 3rd party permission to the user, Getting error like "Please enter valid API username" with my API Username.Do i have to create any user?.

Please suggest a solution for the same,

 

Thanks in advance

Husni

 

Login to Me Too
1 REPLY 1

SpotOnCreative
New Community Member

Have you tried to mock out the request using some REST API tool? When I was doing my developing I used Advanced Rest Client.

 

As PayPal is using OAuth 2.0 for authentication make sure you send a request out to the token api (basic auth using your API client and secret) this then returns an access token, for future requests set your authentication as Bearer with the token.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.