gpt4 book ai didi

paypal - 自适应 Paypal 支付错误代码: 579017

转载 作者:太空宇宙 更新时间:2023-11-03 16:03:36 30 4
gpt4 key购买 nike

我正在使用延迟链式 Paypal 支付系统。我收到类似

的错误

Detailed Error Message: The amount for the primary receiver must be greater than or equal to the total of other chained receiver amountsError Code: 579017Error Severity: ErrorError Domain: PLATFORMError Category: Application

如何发送主接收方收到的金额小于次要接收方的金额

我的场景是主要接收方从发送方处获取金额并获得一些服务金额,然后将金额发送给辅助接收方。

例如,用户订票意味着网站所有者从接收者那里获得全部金额,并按一定百分比收取服务费,并将剩余金额发送给业主我使用延迟链式付款

我的代码是

$receiverEmailArray = array(
'johnwewe9340_biz@gmail.com',
'jameswewe9546_per@gmail.com',
'',
'',
''
);

// TODO - specify the receiver amounts as the amount of money, for example, '5' or '5.55'
// remove or set to an empty string the array entries for receivers that you do not have
$receiverAmountArray = array(
'10',
'100',
'',
'',
''
);

// TODO - Set ONLY 1 receiver in the array to 'true' as the primary receiver, and set the
// other receivers corresponding to those indicated in receiverEmailArray to 'false'
// make sure that you do NOT specify more values in this array than in the receiverEmailArray
$receiverPrimaryArray = array(
'true',
'false'
);

// TODO - Set invoiceId to uniquely identify the transaction associated with each receiver
// set the array entries with value for receivers that you have
// each of the array values must be unique across all Pay calls made by the caller's API credentials
$receiverInvoiceIdArray = array(
'',
'',
'',
'',
'',
''
);

最佳答案

主要的必须收到全部金额,而次要的只能收到他们应该收到的金额。因此,如果总金额为 100.00 美元并且主要保留 10%主要获得 100.00,次要获得 90.00。

关于paypal - 自适应 Paypal 支付错误代码: 579017,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13136639/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com