Auth.net Hosted Accept:由于身份验证值无效,用户身份验证失败

时间:2017-10-23 14:46:43

标签: authorize.net

我创建了一个Accept托管整合。此集成在沙盒模式下工作正常,但在LIVE模式下失败,并出现以下错误:

  

由于身份验证值无效,用户身份验证失败。

我验证了我的transactionKey和api_login_id是正确的,并且我使用了正确的URL。 auth.net帐户上的设置设置为LIVE。

还有什么问题?我也看到要求签名密钥的戏弄,但文档中没有任何内容。

以下是请求的代码:

<getHostedPaymentPageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
        <name>{hidden api_login_id}</name>
        <transactionKey>{hidden transaction key}</transactionKey>
</merchantAuthentication>
<transactionRequest>
        <transactionType>authCaptureTransaction</transactionType>
        <amount>7.94</amount>
<order>
<invoiceNumber>138437174</invoiceNumber>
</order>
        <billTo>
         <firstName>First</firstName>
         <lastName>Last</lastName>
         <company>Company</company>
         <address>Address</address>
         <city>City</city>
         <state>ST</state>
         <zip>11111</zip>
         <country>US</country>
      </billTo>
      <shipTo>
         <firstName>First</firstName>
         <lastName>Last</lastName>
         <company>Company</company>
         <address>Address</address>
         <city>City</city>
         <state>ST</state>
         <zip>11111</zip>
         <country>US</country>
      </shipTo>

</transactionRequest>
<hostedPaymentSettings>
        <setting>
                <settingName>hostedPaymentBillingAddressOptions</settingName>
                <settingValue>{"show": true, "required":true}</settingValue>
        </setting>
        <setting>
                <settingName>hostedPaymentButtonOptions</settingName>
                <settingValue>{"text": "Pay"}</settingValue>
        </setting>
        <setting>
                <settingName>hostedPaymentReturnOptions</settingName>
                <settingValue>{"showReceipt" : false, "url":"https://www.hiddendomain.com/plugins/authnet_iframe_communicator.html","urlText":"Continue","cancelUrl":"https://www.hiddendomain.com/plugins/authnet_response.php?action=cancel","cancelUrlText":"Cancel"}</settingValue>
        </setting>
        <setting>
         <settingName>hostedPaymentShippingAddressOptions</settingName>
         <settingValue>{"show": false, "required":false}</settingValue>
</setting>
        <setting>
                <settingName>hostedPaymentStyleOptions</settingName>
                <settingValue>{"bgColor":"#B00"}</settingValue>
        </setting>
        <setting>
                <settingName>hostedPaymentIFrameCommunicatorUrl</settingName>
                <settingValue>{"url": "https://www.hiddendomain.com/plugins/authnet_iframe_communicator.html"}</settingValue>
        </setting>
</hostedPaymentSettings>
</getHostedPaymentPageRequest>

0 个答案:

没有答案