cancel
Showing results for 
Search instead for 
Did you mean: 

XML for authenticationIndicator and cardholderAuthenticationValue

Hi,

 

I am trying to add authenticationIndicator and cardholderAuthenticationValue to my XML for a single order but can't find any proper examples. Can anyone point me at a full example of XML markup?

 

Thanks.

epikmedia
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

something like

<transactionRequest>

...

...

<billTo>

....

</billTo>

...

<cardholderAuthentication>

  <authenticationIndicator>?</authenticationIndicator>

  <cardholderAuthenticationValue>?</cardholderAuthenticationValue>

</cardholderAuthentication>

...

</transactionRequest>

View solution in original post

5 REPLIES 5

It that something new? I don't remember reading that on authorize.net

RaynorC1emen7
Expert

It is used for validating CAVV, it is covered briefly in - http://www.authorize.net/support/AIM_guide_XML.pdf - for example.

Is in the schema https://api.authorize.net/xml/v1/schema/AnetApiSchema.xsd

<xs:element name="cardholderAuthentication" type="anet:ccAuthenticationType" minOccurs="0"/>

So if i am reading that right, the 2 values are contained in ccAuthenticationType?

 

When I add those i am getting some errors.

 

"the element createTransactionRequest" ...has invalid child element "ccAuthenticationType"

 

When I move it outside of ccAuthenticationType I get a "double root" error.

 

Anyone have a working XML example of this for a simple transaction?

 

Thanks!

something like

<transactionRequest>

...

...

<billTo>

....

</billTo>

...

<cardholderAuthentication>

  <authenticationIndicator>?</authenticationIndicator>

  <cardholderAuthenticationValue>?</cardholderAuthenticationValue>

</cardholderAuthentication>

...

</transactionRequest>