【发布时间】:2021-10-06 01:01:03
【问题描述】:
我正在尝试通过 PayPal rest-api 向某人的 PayPal 帐户汇款。 支付api处理没有任何错误,但是在我收到的webhook中显示支付失败,收款人没有收到钱。
我认为问题出在收款人帐户上,并尝试通过 PayPal 简单地汇款(而不是支付 rest-api)。收款人能够收到钱。
我正在附加失败时收到的 webhook 响应
{
"batch_header": {
"payout_batch_id": "5CUYYX9GRXXXX",
"batch_status": "DENIED",
"time_created": "2021-07-30T09:03:36Z",
"time_completed": "2021-07-30T09:03:39Z",
"time_closed": "2021-07-30T09:03:39Z",
"sender_batch_header": {
"sender_batch_id": "6318914d-8506-4182-be21-xxxxxxx",
"email_subject": "You have money!",
"email_message": "You received a payment. Thanks for using our service!"
},
"funding_source": "BALANCE",
"amount": {
"currency": "USD",
"value": "1.00"
},
"fees": {
"currency": "USD",
"value": "0.00"
}
},
"items": [
{
"payout_item_id": "APW3A3DKHDXXX",
"transaction_status": "FAILED",
"payout_item_fee": {
"currency": "USD",
"value": "0.00"
},
"payout_batch_id": "5CUYYX9GXXXXX",
"payout_item": {
"recipient_type": "EMAIL",
"amount": {
"currency": "USD",
"value": "1.00"
},
"receiver": "rmxxxxx@gmail.com",
"sender_item_id": "2014031400XXX",
"recipient_wallet": "PAYPAL"
},
"time_processed": "2021-07-30T09:03:39Z",
"errors": {
"name": "UNDEFINED",
"message": "Sorry, an error has occurred. For help, please contact your account manager or our Customer Service team. You can also try sending the Payout after sometime.",
"information_link": "https://developer.paypal.com/docs/api/payments.payouts-batch/#errors",
"details": [],
"links": []
},
"links": [
{
"href": "https://api.paypal.com/v1/payments/payouts-item/APW3A3DKHXXXX",
"rel": "item",
"method": "GET",
"encType": "application/json"
}
]
}
],
"links": [
{
"href": "https://api.paypal.com/v1/payments/payouts/5CUYYX9GRGX2L?page_size=1000&page=1",
"rel": "self",
"method": "GET",
"encType": "application/json"
}
]}
我在此回复中没有收到任何错误消息。 我可以通过 rest-apis 向其他 PayPal 账户汇款,所以问题不在发件人一方。
为什么我无法通过 PayPal rest-api 向某些收款人付款?有没有其他人从 webhook 响应中得到这个错误,上面写着 undefined 而没有任何其他细节?
【问题讨论】:
标签: paypal paypal-rest-sdk paypal-adaptive-payments