我正在使用大脑树作为支付网关在我的网站上,最初我是授权付款,几分钟后,我会提交它的结算,但它给我们以下错误:
结算金额为: 7 总授权金额为:=> 187.50
我正在犯以下错误:
**[_attribute:private] => amount
[_code:private] => 91551
[_message:private] => Settlement amount cannot be less than the service fee amount.**关于更多细节,您可以看到我正在收到的回复:
Braintree_Result_Error Object
(
[success] =>
[_attributes] => Array
(
[errors] => Braintree_Error_ErrorCollection Object
(
[_errors:private] => Braintree_Error_ValidationErrorCollection Object
(
[_errors:private] => Array
(
)
[_nested:private] => Array
(
[transaction] => Braintree_Error_ValidationErrorCollection Object
(
[_errors:private] => Array
(
[0] => Braintree_Error_Validation Object
(
[_attribute:private] => amount
[_code:private] => 91551
[_message:private] => Settlement amount cannot be less than the service fee amount.
)
)
[_nested:private] => Array
(
)
[_collection:protected] => Array
(
)
)
)
[_collection:protected] => Array
(
)
)
)
[params] => Array
(
[transaction] => Array
(
[amount] => 7
)
[controller] => transactions
[action] => submit_for_settlement
[merchantId] => 6tfkyqyqnqh6ydwk
[id] => 92vsvs
)
[message] => Settlement amount cannot be less than the service fee amount.
[transaction] => Braintree_Transaction Object因此,提交数量是否有任何时限?
发布于 2016-03-20 03:05:46
最后,我得到了问题的答案。
对于交易92 92vsvs,您遇到的验证错误(91551结算金额不能少于服务费用金额)是由于您试图以7.00美元结算交易,低于服务费用32.61美元。
在创建Marketplace事务并传递服务费用时,您可以选择最初授权总交易额,然后提交较小的金额。问题是指定的服务费用不能更改或降低,因此您需要提交至少能够支付此服务费的金额。
例如,交易92 USD的授权金额为187.50美元,服务费为32.61美元。最低限度,你可以提交32.61美元的结算。您可以提交任何金额高于32.61美元的结算,但没有更低的。如果您只提交了32.61美元的结算,将不会有资金发送给分销商,因为没有剩余的资金后,服务费被收取。
https://stackoverflow.com/questions/36063483
复制相似问题