0
我收到錯誤。 當過程的形式支付,我送沙箱模式下的流程付款錯誤
PayPal\Api\Amount::__set_state(array(
'_propMap' =>
array (
'currency' => 'USD',
'total' => '0.63',
'details' =>
PayPal\Api\Details::__set_state(array(
'_propMap' =>
array (
'shipping' => '0.20',
'tax' => '0.40',
'subtotal' => '0.03',
),
)),
),
))
,我也得到「交易金額的細節(小計,稅金,運費)加起來必須指定金額合計」
響應數據:
"transactions": [
{
"amount": {
"currency": "USD",
"total": "3.60",
"details": {
"subtotal": "0.03",
"tax": "0.40",
"shipping": "0.20"
}
}
}
]