我在我的网站上使用脑树作为支付网关,最初我正在授权付款,几分钟后我会将其提交以进行结算,但它给我们以下错误:
结算金额为: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
那么提交金额是否有时间限制?
最后我得到了我的问题的答案
交易92vsvs遇到的验证错误(91551结算金额不能低于服务费金额)是由于您试图以7.00美元结算交易,这低于服务费金额32.61美元。
在创建市场交易并传递服务费时,您可以选择最初授权总交易金额,稍后再提交较小金额。问题是指定的服务费不能更改或降低,因此您需要提交至少可以支付此服务费的金额。
例如,交易92vsvs的授权价格为187.50美元,服务费为32.61美元。至少,您可以提交$ 32.61美元作为结算。您可以提交高于$ 32.61美元的任何金额用于结算,但没有更低的价格。如果您提交的结算价仅为32.61美元,则不会向该子商户发送任何资金,因为在收取服务费后没有剩余资金。