2012-10-30 75 views
1

我正在使用延迟链式Paypal支付系统。我得到一个错误等自适应贝宝付款错误代码:579017

详细的错误消息:用于主接收器的数量必须大于或等于总其他链式接收机 amountsError代码:579017Error严重性:ErrorError域: PLATFORMError类别:应用

如何发送主接收机变得比次级接收机更少的量的量

我的情况下是主要接收器从吨得到的量他发件人并获得一定金额的服务,并将金额发送给二手接收方。

例如用户书的票是指网站的所有者从接收器获得的全部金额,并采取了服务费一些百分比,并发送剩余量为业主我使用延迟链式支​​付

我的代码是

$receiverEmailArray = array(
     '[email protected]', 
     '[email protected]', 
     '', 
     '', 
     '' 
     ); 

// 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(
     '', 
     '', 
     '', 
     '', 
     '', 
     '' 
     ); 

回答

1

小学必须收到全额和次要只有他们应该得到的数额。 因此,如果总金额为$ 100.00,并且小企业持有10% ,则小企业获得100.00,次级获得90.00。