簡體   English   中英

貝寶(PayPal)自適應付款(Paymental Payments)鏈式付款不允許付款,盡管主要付款人已正確設置了全部金額

[英]PayPal adaptive Payments chained payments does not allow a payment despite primary having the full amount set correctly

我正在使用php生成以下鏈接的付款電話。 主要的是我的公司,我公司收到全額款項,次要的是另一位收件人。 電話是:

currencyCode=USD
actionType=PAY
returnUrl=http%3A%2F%2Felb-dev-xx.com%2FpaymentSuccess.php
cancelUrl=http%3A%2F%2Felb-dev-xx.com%2FpaymentCancel.php
receiverList.receiver(0).amount=12.00
receiverList.receiver(0).email=xx%40gmail.com
receiverList.receiver(0).primary=1
receiverList.receiver(0).invoiceId=MC2015022346_125
receiverList.receiver(1).amount=13.50
receiverList.receiver(1).email=xx2%40gmail.com
receiverList.receiver(1).invoiceId=MC2015022346_125
feesPayer=EACHRECEIVER
ipnNotificationUrl=http%3A%2F%2Felb-dev-xx.com%2Fpaypal%2Fipn_handler.php
memo=my+memo+and+stuff

我看到的錯誤是:

23/Feb/2015:21:32:47] (chained_payment) [436-dl4i3jsu2gbblo1fvk5evpvjl6] : array (
'responseEnvelope.timestamp' => '2015-02-23T02:32:47.511-08:00',
'responseEnvelope.ack' => 'Failure',
  'responseEnvelope.correlationId' => 'b4d7182a1a689',
  'responseEnvelope.build' => '15089777',
  'error(0).errorId' => '579017',
  'error(0).domain' => 'PLATFORM',
  'error(0).subdomain' => 'Application',
  'error(0).severity' => 'Error',
  'error(0).category' => 'Application',
  'error(0).message' => 'The amount for the primary receiver must be greater than or equal to the total of other chained receiver amounts',
)
    [23/Feb/2015:21:32:47] (chained_payment) [436-dl4i3jsu2gbblo1fvk5evpvjl6] : array (
  0 =>
  array (
'ErrorCode' => '579017',
'ErrorMsg' => 'The amount for the primary receiver must be greater than or equal to the total of other chained receiver amounts',
'ErrorDomain' => 'PLATFORM',
'ErrorSeverity' => 'Error',
'ErrorCategory' => 'Application',
  ),
)
    [23/Feb/2015:21:32:47] (chained_payment) [436-dl4i3jsu2gbblo1fvk5evpvjl6] : Calling PayPal pay() failed
    [23/Feb/2015:21:32:47] (chained_payment) [436-dl4i3jsu2gbblo1fvk5evpvjl6] : Exception::__set_state(array(
   'message' => 'The amount for the primary receiver must be greater than or equal to the total of other chained receiver amounts',
   'string' => '',
   'code' => 0,
   'file' => '/var/app/current/chained_payment.php',
       'line' => 643,
   'trace' =>
  array (
  ),
     'previous' => NULL,
  ))
  [23/Feb/2015:21:32:47] (chained_payment) [436-dl4i3jsu2gbblo1fvk5evpvjl6] : Chained Payment failed The amount for the primary receiver must be greater than or equal to the total of other chained receiver amounts

正如我已經知道的那樣,這似乎是在告訴我,主要數據庫必須獲得全部成功,然后將其余部分發送給輔助數據庫。 但是它仍然不喜歡它。

目前,這種情況正在沙盒和生產中發生。

有任何想法嗎?

根據您的請求,您嘗試將$ 12.00發送給主要接收者,然后將$ 13.50發送給輔助接收者。 你不能那樣做。

聽起來您要執行的操作是向主要接收者發送$ 25.50,然后向輔助接收者發送$ 13.50,這將使主要接收器剩下$ 12.00。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM