Response Status : 400,BATCH_NOT_COMPLETED

deepak_singh
Contributor
Contributor

i'm doing payout transaction and i want to return the money when transaction status in unclaimed. but sometimes i got following status

{ Error: Response Status : 400
    at IncomingMessage.<anonymous> (/Users/user/projects-node/node_modules/paypal-rest-sdk/lib/client.js:130:23)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
  response: 
   { name: 'BATCH_NOT_COMPLETED',
     message: 'Only item belonging to a batch in Processed status can be cancelled.',
     debug_id: '6a9f27d97b17',
     information_link: 'https://developer.paypal.com/docs/api/payments.payouts-batch/#errors',
     httpStatusCode: 400 },
  httpStatusCode: 400 }

i'm not understanding this reponse how can i handle this?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.