PayPal Sandbox error SYNC_MODE_NOT_APPLICABLE when calling Api\Payout::createSynchronous
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, we're getting this error while trying Payouts with createSynchronous method
-url: "https://api.sandbox.paypal.com/v1/payments/payouts?sync_mode=true"
-data: "{"name":"SYNC_MODE_NOT_APPLICABLE","message":"Synchronous mode will soon be deprecated and is no longer available for new integrations. You can use the asynchronous mode by specifying sync_mode= false in the request.","debug_id":"92c748f1d7b86","information_link":"https://developer.paypal.com/docs/api/payments.payouts-batch/#errors"} ◀"
#message: "Got Http response code 403 when accessing https://api.sandbox.paypal.com/v1/payments/payouts?sync_mode=true."
#code: 403
Everything runs fine on production with the same code. Can we mitigate this problem without affecting the current production environment?
- Labels:
-
REST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As per the error response, sync mode is not available for new integrations. Existing integrations will continue to function if your passing "sync_mode= true".
To mitigate the issue within our sandbox environment, you need to pass "sync_mode= false"
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i was using paypalrestsdk for python, i have not seen an example where i can put that: sync_mode = false. any help
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- PAYER_ACTION_REQUIRED returned for Capture intent when calling v2 checkout orders in Sandbox Environment
- Paypal payment error analysis and root cause in NVP/SOAP APIs
- How to retrieve merchant integration status through the API? in REST APIs
- REST API CALL in nodeJS sometimes not working in safari but always in chrome in REST APIs
- Load paypal approval_url in popup window using sdk in SDKs