- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i'm using the payouts service with nodejs.
transaction is affecting on business and personal account on payment but getting transaction_status pending always
when i hit the api with postman transaction_status is "success" but using same api with 'rest-sdk' transaction_status is 'pending' .
how can i verify that payment is successfully done.
postman response for same payout_batch_id
{ "batch_header": { "payout_batch_id": "K7MZFWBGE37WA", "batch_status": "PROCESSING", "time_created": "2018-09-10T09:25:28Z", "sender_batch_header": { "sender_batch_id": "z0u", "email_subject": "You have a payment" }, "amount": { "currency": "USD", "value": "0.99" }, "fees": { "currency": "USD", "value": "0.02" } }, "items": [ { "payout_item_id": "7836J9VZ4NN94", "transaction_id": "5M998498F9692745W", "transaction_status": "SUCCESS", "payout_item_fee": { "currency": "USD", "value": "0.02" }, "payout_batch_id": "K7MZFWBGE37WA", "payout_item": { "recipient_type": "EMAIL", "amount": { "currency": "USD", "value": "0.99" }, "note": "Thank you.", "receiver": "***@**.**", "sender_item_id": "item_1" }, "time_processed": "2018-09-10T09:25:46Z", "links": [ { "href": "https://api.sandbox.paypal.com/v1/payments/payouts-item/7836J9VZ4NN94", "rel": "item", "method": "GET", "encType": "application/json" } ] } ], "links": [ { "href": "https://api.sandbox.paypal.com/v1/payments/payouts/K7MZFWBGE37WA?page_size=1000&page=1", "rel": "self", "method": "GET", "encType": "application/json" } ] }
response using 'rest-sdk'
{ "batch_header": { "payout_batch_id": "K7MZFWBGE37WA", "batch_status": "PROCESSING", "time_created": "2018-09-10T09:25:28Z", "sender_batch_header": { "sender_batch_id": "z0u", "email_subject": "You have a payment" }, "amount": { "currency": "USD", "value": "0.99" }, "fees": { "currency": "USD", "value": "0.02" } }, "items": [ { "payout_item_id": "7836J9VZ4NN94", "transaction_status": "PENDING", "payout_item_fee": { "currency": "USD", "value": "0.02" }, "payout_batch_id": "K7MZFWBGE37WA", "payout_item": { "recipient_type": "EMAIL", "amount": { "currency": "USD", "value": "0.99" }, "note": "Thank you.", "receiver": "***@**.**", "sender_item_id": "item_1" }, "links": [ { "href": "https://api.sandbox.paypal.com/v1/payments/payouts-item/7836J9VZ4NN94", "rel": "item", "method": "GET", "encType": "application/json" } ] } ], "links": [ { "href": "https://api.sandbox.paypal.com/v1/payments/payouts/K7MZFWBGE37WA?page_size=1000&page=1", "rel": "self", "method": "GET", "encType": "application/json" } ], "httpStatusCode": 200 }
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you looked into using Webhooks for updates on Payout transactions?
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hey,
thanks for response!
and how can i check the mail regarding payout in sandbox email account where the emails in sandbox are not actual email address or how receiver (sandbox fake email address ) can get email regarding the payment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Webhook deregistration issue and event validation issue in REST APIs
- Profile issue - Profile keep hanging, unable to access Developer side, unable to update/change API in REST APIs
- Paypal fails to give "Order paid" information to Woocommerce in Sandbox Environment
- PayPal Native checkout card errors in Sandbox Environment
- Ipn PayPal server giving 301 or 302 errors in PayPal Payments Standard