[英]why am I getting transaction_status = "Failed" on paypal Mass Payment using SOAP?
在 Sandbox Mass paypal 付款中,我收到 Transaction_status = Failed
var payout = new Payout
{
sender_batch_header = new PayoutSenderBatchHeader
{
sender_batch_id = "batch_" + System.Guid.NewGuid().ToString().Substring(0, 8),
email_subject = "You have a payment"
},
items = new List<PayoutItem>
{
new PayoutItem
{
recipient_type = PayoutRecipientType.EMAIL,
amount = new Currency
{
value = dblAmount.ToString(),
currency = paypalSettings.currency_code
},
receiver = paypalSettings.strReceiverEmail,
note = "Thank you.",
sender_item_id = paypalSettings.strReservationID
}
}
};
var apiContext = GetAPIContext(paypalSettings);
var createdPayout = payout.Create(apiContext, true);
return createdPayout.items[0].transaction_status.ToString();
作為回報,我得到了“失敗”。 提前致謝。
要使用批量付款或付款,您需要確保發件人有足夠的 PayPal 余額。 它不會從信用卡/借記卡或銀行賬戶中取錢。 您必須有足夠的 PayPal 余額。
如果不是這種情況,您可以分享從 PayPal 獲得的完整回復。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.