【发布时间】:2019-05-30 01:11:18
【问题描述】:
我正在尝试测试 Paypal 延迟链式支付 API。
有两个收款人“A”和“B”,A 是主要收款人(美国),B 是第二个收款人(MX),当我使用 Execute API 释放付款时,第二个收款人没有收到付款,但付款将从买方和主要帐户中扣除。
我在下面添加请求数组。
[
'actionType' => 'PAY_PRIMARY',
'clientDetails' => [
'applicationId' => 'APP-80W284485P519543T',
'ipAddress' => '127.0.0.1'
],
'currencyCode' => 'USD',
'feesPayer' => 'EACHRECEIVER',
'memo' => 'Example',
'receiverList' => [
'receiver' => [
[
'email' => 'A-Primary@appinventiv.com',
'primary' => true,
'amount' => 25,
],
[
'email' => 'B-Second@appinventiv.com',
'primary' => false,
'amount' => 20,
]
]
],
'requestEnvelope' => [
'errorLanguage' => 'en_US'
],
'returnUrl' => 'http://localhost/hairInferno/success.php',
'cancelUrl' => 'http://localhost/hairInferno/success.php'
];
【问题讨论】:
标签: paypal payment-gateway paypal-adaptive-payments