Laravel- Authorize.net无法在生产模式下工作

时间:2016-09-20 06:57:00

标签: php laravel-5.2 authorize.net

我正在使用签证信用卡进行交易,它在Authorize.net的虚拟终端和沙盒模式下工作正常但是当我根据生产更改密钥和模式时,我得到以下回复

CreateTransactionResponse {#495 ▼
  -transactionResponse: TransactionResponseType {#545 ▼
    -responseCode: "2"
    -rawResponseCode: null
    -authCode: ""
    -avsResultCode: "P"
    -cvvResultCode: ""
    -cavvResultCode: ""
    -transId: "20188585160"
    -refTransID: ""
    -transHash: "E695B1BC8D328144E3C47D17A53B94E8"
    -testRequest: "0"
    -accountNumber: "XXXXXXXXX"
    -accountType: "Visa"
    -splitTenderId: null
    -prePaidCard: null
    -messages: null
    -errors: array:1 [▼
      0 => ErrorAType {#516 ▼
        -errorCode: "2"
        -errorText: "This transaction has been declined."
      }
    ]
    -splitTenderPayments: null
    -userFields: null
    -shipTo: null
    -secureAcceptance: null
  }
  -profileResponse: null
  -refId: "ref1474354204"
  -messages: MessagesType {#512 ▼
    -resultCode: "Ok"
    -message: array:1 [▼
      0 => MessageAType {#527 ▼
        -code: "I00001"
        -text: "Successful."
      }
    ]
  }
  -sessionToken: null
}

我不理解这个问题,因为它给了我一个错误Transaction has been declined,但在messages中,结果还可以,并且

0 个答案:

没有答案