How to fix "PAYEE_NOT_CONSENTED" error when integrating with REST API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I created developer account and some sandbox test accounts.
I create order using client_id and client_secret of REST API app.
Then, when I create order, I set payee email address, so that customers can pay another account, not API owner account.
But, when I capture the order, "PAYEE_NOT_CONSENTED" error shows me.
How can I fix it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @multi422,
Thank you for posting to the PayPal community.
https://developer.paypal.com/api/rest/reference/orders/v2/errors/#patch-order
NOT_AUTHORIZED | Authorization failed due to insufficient permissions. |
|
Please use the same sandbox REST API credentials (Client ID and Secret, which you have used while performing the Create Order API call) in the Capture API call.
If your trying to Capture funds on behalf of other sandbox account, please make sure to on-board that sandbox particular seller/merchant account and
the seller can then grant you API permission to process payments on their behalf.
https://developer.paypal.com/docs/multiparty/
https://developer.paypal.com/docs/multiparty/seller-onboarding/
If your still facing the issue, please create a MTS ticket via - https://www.paypal-support.com/s/?language=en_US with detailed error information.
Sincerely,
Chiranjeevi
PayPal/Braintree MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Using Paypal Smart Buttons for checkout sometimes fails with Debit/ Credit Cards Form in Braintree Client-side Integration (JS, iOS, Android SDKs)
- paypal buttons can't show in PayPal Payments Standard
- Sandbox testing has beaten me !! in Sandbox Environment
- Disputes Webhook does not works on Sandbox (23/04/24) in Sandbox Environment
- SetExpressCheckout 10003 error with ITEMCATEGORY=Digital in NVP/SOAP APIs