- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I've enabled cardholder authentication (verified by visa and mastercard securecode) in the sandbox account. But whenever I send a auth_charge transaction it gave me error:
<?xml version="1.0" encoding="utf-8"?> <createCustomerProfileTransactionResponse 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>E00013</code> <text>Extra Options is invalid.</text> </message> </messages> </createCustomerProfileTransactionResponse>
Below is the request I sent with
<?xml version="1.0" encoding="utf-8"?> <createCustomerProfileTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication> <name>xxxxxxxx</name> <transactionKey>xxxxxxxxx</transactionKey> </merchantAuthentication> <transaction> <profileTransAuthCapture> <amount>103.5</amount> <customerProfileId>1811759686</customerProfileId> <customerPaymentProfileId>1806278386</customerPaymentProfileId> <order> <invoiceNumber>117</invoiceNumber> <description>T117</description> </order> </profileTransAuthCapture> </transaction> <extraOptions>x_authentication_indicator=05&x_cardholder_authentication_value=AAABAWFlmQAAAABjRWWZEEFgFz+=</extraOptions> </createCustomerProfileTransactionRequest>
Can anyone please help?
Thanks,
Tim
Solved! Go to Solution.
โ05-03-2017
06:58 PM
- last edited on
โ05-03-2017
07:18 PM
by
RichardH
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The CAVV is invalid or contains an invalid character.
Also, this error can occur if a non-alphanumeric character is included in the cardholder authentication value. To resolve this issue, the special character must be percent-encoded. More on percent-encoding may be found at http://en.wikipedia.org/wiki/Percent-encoding.
Certified Authorize.net developers

โ05-08-2017 01:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try wrapping the extraOption element data value in a CDATA (character data) section : <![CDATA[ ]]> , like:
<extraOptions><!CDATA[x_authentication_indicator=05&x_cardholder_authentication_value=AAABAWFlmQAAAABjRWWZEEFgFz+=1]]> </extraOptions>
Certified Authorize.net developers

โ05-03-2017 07:51 PM - edited โ05-03-2017 07:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've tried adding that but still got the same error:
<extraOptions> <![CDATA[x_authentication_indicator=05&x_cardholder_authentication_value=AAABAWFlmQAAAABjRWWZEEFgFz+=]]> </extraOptions>
โ05-03-2017 08:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're missing the final 1 before the closing ]]>.
Certified Authorize.net developers

โ05-04-2017 12:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also try x_authentication_indicator=5 instead of 05
Certified Authorize.net developers

โ05-04-2017 04:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Disregard that ... I added the extra 1 by mistake.
Certified Authorize.net developers

โ05-04-2017 04:14 AM - edited โ05-04-2017 04:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By the way, the trailing
=
at the end of the x_cardholder_authentication_value will throw an "Extra Options is invalid." error every time.
Certified Authorize.net developers

โ05-04-2017 06:12 AM - edited โ05-04-2017 06:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The "=" in the end is part of the cavv I received from the 3rd party consumer authentication service provider.
I've also tried with "5" instead of "05" but still got same error.
I wonder has anyone actually got this working with Auth.NET sandbox?
<?xml version="1.0" encoding="utf-8"?> <createCustomerProfileTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication> <name>7xxxx</name> <transactionKey>xxxxxx</transactionKey> </merchantAuthentication> <transaction> <profileTransAuthCapture> <amount>103.5</amount> <customerProfileId>1811794425</customerProfileId> <customerPaymentProfileId>1806314300</customerPaymentProfileId> <order> <invoiceNumber>122</invoiceNumber> <description>T122</description> </order> </profileTransAuthCapture> </transaction> <extraOptions><![CDATA[x_authentication_indicator=5&x_cardholder_authentication_value=AAABAWFlmQAAAABjRWWZEEFgFz+=]]></extraOptions> </createCustomerProfileTransactionRequest>
Can anyone from Auth.NET also shed some lights here?
Thanks
โ05-07-2017 05:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The CAVV is invalid or contains an invalid character.
Also, this error can occur if a non-alphanumeric character is included in the cardholder authentication value. To resolve this issue, the special character must be percent-encoded. More on percent-encoding may be found at http://en.wikipedia.org/wiki/Percent-encoding.
Certified Authorize.net developers

โ05-08-2017 01:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks. I URL encoded the CAVV value and it is now working! In the sandbox. Great.
Cheers
โ05-09-2017 10:28 PM

