PayPal Sandbox error SYNC_MODE_NOT_APPLICABLE when calling Api\Payout::createSynchronous

skuolanetdev
Contributor
Contributor

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?

Login to Me Too
2 REPLIES 2

MTS_Justin
Moderator
Moderator
Hello,

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!
Login to Me Too

vmisiko
New Community Member

i was using paypalrestsdk for python, i have not seen an example where i can put that: sync_mode = false. any help 

 

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.