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"
}
}
}
]