Paypal 自适应贝宝支付错误代码:579017

Paypal 自适应贝宝支付错误代码:579017,paypal,paypal-sandbox,paypal-adaptive-payments,Paypal,Paypal Sandbox,Paypal Adaptive Payments,我使用延迟链贝宝支付系统。我犯了一个错误,比如 详细错误消息:主接收器的金额必须大于或等于其他链接接收器的总数 AmountError代码:579017错误严重性:ErrorError域: 平台错误类别:应用程序 如何发送主接收器获得的金额小于辅助接收器的金额 我的场景是,主接收方从发送方获取一笔金额,并获取一些服务金额,然后将该金额发送给辅助接收方 例如,用户预订票据意味着站点所有者从接收者处获得全部金额,并按一定百分比收取服务费,然后将剩余金额发送给我使用延迟链接付款的财产所有者 我的代码是

我使用延迟链贝宝支付系统。我犯了一个错误,比如

详细错误消息:主接收器的金额必须大于或等于其他链接接收器的总数 AmountError代码:579017错误严重性:ErrorError域: 平台错误类别:应用程序

如何发送主接收器获得的金额小于辅助接收器的金额

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

例如,用户预订票据意味着站点所有者从接收者处获得全部金额,并按一定百分比收取服务费,然后将剩余金额发送给我使用延迟链接付款的财产所有者

我的代码是

$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。

主系统必须收到全部金额,次系统只能收到他们应该得到的金额。 因此,如果总金额为100.00美元,并且主帐户保持10% 主节点得到100.00,次节点得到90.00