Flow: PayPal Payout Transactions to NetSuite Deposit flow
Error Message: {"localizedMessage":"No permission for the requested operation. ","suppressed":[],"name":"PERMISSION_DENIED","message":"No permission for the requested operation. ","details":[{"field":null,"value":null,"location":null,"issue":"No permission for the requested operation."}],"information_link":"https://developer.paypal.com/docs/classic/products/permissions/","debug_id":"xxx123456789"}
Reason: Paypal requires permission to get the data using Transaction Search. This checkbox must be enabled for the integration app to get the history of transactions for a PayPal account.
Resolution: Check the 'Transaction Search' checkbox under the Paypal API Settings and once enabled, you must update the Paypal connection and create a new token since there was a change made for permissions. You may follow the steps below:
Enable the transaction search in Paypal Developer Dashboard
- Log into Paypal Developer Dashboard.
- Go to the My Apps & Credentials page.
- Click the link for your REST app in the REST API apps section.
- Select the Transaction Search option in the app settings section.
- Click Save.
Refresh access token
You need to wait for at least 9 hours before generating a new API token after enabling the transaction search in the PayPal Developer dashboard, since PayPal caches access tokens for 9 hours.
Once the existing access tokens are terminated, you can generate a new API token with the new scope added to the REST app.
Refresh access token immediately
You can terminate the existing cached tokens and immediately provide a new API token using a tool like Postman, instead of having to wait until the previous ones expire in the following manner:
- Authorize your connection to the API with the existing token details in the Authorization tab:
- Enter the existing cached API token information in the Value field of the Body tab:
-
Click Send to terminate the existing cached tokens.
You can now generate a new API token with the new scope added to the REST app.
To know how you can perform this action using curl, see the Refreshing an access token response given by Preston PHX in the PayPal Transaction Search API: PERMISSION_DENIED post on the stackoverflow website.
Update Paypal connection
- Log in to your integrator.io account.
- Click on the Connections tab.
- Next to the PayPal connection, click the three-dot icon to edit the connection.
- Re-enter your client ID and client secret. (How to retrieve connection keys from PayPal)
- Click Generate Token.
- Click Test connection.
- If it says your connection is working fine, then you can click Save and Close.
Comments
0 comments
Please sign in to leave a comment.