Updating recurring profiles via NVP #10002: Authentication/Authorization Failed

markoambrozic
Contributor
Contributor

Hi,

 

I'm trying to implement a referral program on a clients website. This would allow customers to gain discount on existing recurring profiles when they invite friends.

 

I am having problems with the PayPal NVP API. When I try to update the billing and tax amount I get: PayPal gateway has rejected request. You do not have permissions to make this API call (#10002: Authentication/Authorization Failed).

 

Here is the request I am making:

https://api-3t.paypal.com/nvp
{
    "PROFILEID":"<specific profile id>",
    "AMT":"24.00",
    "TAXAMT":"2.28",
    "CURRENCYCODE":"EUR",
    "METHOD":"UpdateRecurringPaymentsProfile",
    "VERSION":"72.0",
    "BUTTONSOURCE":"Magento_Cart_Community"
}

 

Does anyone have any idea what could be wrong?

Login to Me Too
1 REPLY 1

markoambrozic
Contributor
Contributor

I would also like to add that all other Paypal functionality works fine (including creation, cancelation of recurring payments).

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.