I am trying to incoporate the cardholderAuthenication which we are going to implement.
Trying to test with sandbox and it is coming back with the following error.
Not sure what I am doing wrong.
TIA
Mon, 14 May 2018 16:46:36 -0700 INFO : [_sendRequest] (/var/dev/admin/Authorized.net/lib/net/authorize/util/HttpClient.php : 77) - Request to AnetApi:
<?xml version="1.0" encoding="UTF-8"?>
<createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name><![CDATA[497eMuLaLGAv]]></name>
<transactionKey>xxxx</transactionKey>
</merchantAuthentication>
<clientId><![CDATA[sdk-php-1.9.1]]></clientId>
<transactionRequest>
<transactionType><![CDATA[authCaptureTransaction]]></transactionType>
<amount>577.50</amount>
<payment>
<creditCard>
<cardNumber>xxxx-0027</cardNumber>
<expirationDate>xxxx</expirationDate>
</creditCard>
</payment>
<order>
<invoiceNumber><![CDATA[15136]]></invoiceNumber>
</order>
<cardholderAuthentication>
<authenticationIndicator><![CDATA[05]]></authenticationIndicator>
<cardholderAuthenticationValue><![CDATA[AAABAWFlmQAAAABjRWWZEEFgFz+=]]></cardholderAuthenticationValue>
</cardholderAuthentication>
</transactionRequest>
</createTransactionRequest>
Mon, 14 May 2018 16:46:36 -0700 INFO : [_sendRequest] (/var/dev/admin/Authorized.net/lib/net/authorize/util/HttpClient.php : 89) - Sending 'XML' Request type
Mon, 14 May 2018 16:46:36 -0700 INFO : [_sendRequest] (/var/dev/admin/Authorized.net/lib/net/authorize/util/HttpClient.php : 94) - Sending http request via Curl
Mon, 14 May 2018 16:46:37 -0700 INFO : [_sendRequest] (/var/dev/admin/Authorized.net/lib/net/authorize/util/HttpClient.php : 96) - Response from AnetApi: <?xml version="1.0" encoding="utf-8"?><createTransactionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Error</resultCode><message><code>E00027</code><text>The transaction was unsuccessful.</text></message></messages><transactionResponse><responseCode>3</responseCode><authCode /><avsResultCode>P</avsResultCode><cvvResultCode /><cavvResultCode /><transId>0</transId><refTransID /><transHash>608CB672A9724FD8BCBAD9007FBC9A03</transHash><testRequest>0</testRequest><accountNumber>XXXX0027</accountNumber><accountType>Visa</accountType><errors><error><errorCode>288</errorCode><errorText>This transaction cannot be accepted.</errorText></error></errors><transHashSha2 /></transactionResponse></createTransactionResponse>
05-14-2018 05:01 PM
@darry Could you log into the Sandbox Merchant Interface at https://sandbox.authorize.net, click Account > Settings > Cardholder Authentication, and see if you checked the boxes confirming your enrollment in Verified By Visa and/or Mastercard SecureCode?
05-16-2018 09:34 AM - edited 05-16-2018 12:19 PM