Reply
Highlighted
Member
Posts: 1
Registered: ‎08-21-2014

cardCode issues with validation

[ Edited ]

hello, i have my account in sandbox mode, i am running validationMode = liveMode.

 

i run 

authorizeCIM->createCustomerPaymentProfile

then

authorizeCIM->validateCustomerPaymentProfile

 

but i keep getting this response

 

<?xml version="1.0" encoding="utf-8"?>
<ErrorResponse 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>E00003</code>
      <text>The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:cardCode' element is invalid - The value '1' is invalid according to its datatype 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:cardCode' - The actual length is less than the MinLength value.</text>
    </message>
  </messages>
</ErrorResponse>

 

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: cardCode issues with validation

Can you post the request xml?