2016-03-17 115 views
1

我使用大腦樹在我的網站上支付網關,最初我授權支付幾分鐘後,我會交給結算,但它給我們以下錯誤:腦樹支付網關:金額結算

結算金額: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 

那麼,有沒有提交任何數額的時間限制?

回答

0

最後,我得到了我的問題的答案

您遇到(91551結算量不能小於業務費用金額)事務的驗證錯誤92vsvs是因爲你試圖解決該交易爲$ 7.00這低於32.61美元的服務費金額。

創建市場交易並傳遞服務費時,您可以選擇初始授權總交易金額並稍後提交較小金額。問題是指定的服務費用無法更改或降低,因此您需要提交至少能夠支付此服務費用的金額。

例如,交易92vsvs授權爲187.50美元,服務費爲32.61美元。至少,您可以提交32.61美元的結算費用。您可以提交高於32.61美元的任何金額進行結算,但不會更低。如果您僅提交32.61美元的結算,則不會有資金髮送給子商戶,因爲在收取服務費後沒有剩餘資金。