【问题标题】:Brain-tree payment gateway: amount settlement脑树支付网关:金额结算
【发布时间】:2016-03-17 14:29:26
【问题描述】:

我在我的网站上使用脑树作为支付网关,最初我正在授权支付,几分钟后我将提交它以进行结算,但它给我们以下错误:

结算金额为: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

那么提交金额有时间限制吗?

【问题讨论】:

    标签: php payment-gateway braintree


    【解决方案1】:

    我的问题终于得到了答案

    您遇到的交易 92vsvs 的验证错误(91551 结算金额不能低于服务费金额)是由于您尝试以 7.00 美元结算交易,低于 32.61 美元的服务费金额。

    在创建 Marketplace 交易并传递服务费时,您可以选择先授权总交易金额,然后再提交较小的金额。问题是指定的服务费无法更改或降低,因此您需要提交至少可以支付此服务费的金额。

    例如,交易 92vsvs 的授权价格为 187.50 美元,服务费为 32.61 美元。您至少可以提交 32.61 美元进行结算。您可以提交任何高于 32.61 美元的金额进行结算,但不得低于此金额。如果您仅提交 32.61 美元进行结算,则不会有资金发送给子商户,因为在收取服务费后没有剩余资金。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-12-06
      • 2013-11-12
      • 2014-05-02
      • 2016-10-22
      • 2018-06-17
      相关资源
      最近更新 更多