cancel
Showing results for 
Search instead for 
Did you mean: 

901 CVV sandbox to test fail when creating CustomerProfile

Hello,

We tried to check the failure case for CVV 901 which results in failure to create the customer profile and payment profile.  Please let me know if there is a problem with the request

 

Request

 

<createCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> 
   <merchantAuthentication>
     <name>4V7X9naK</name>
     <transactionKey>5eM4v8eGA7zg7452</transactionKey>
    </merchantAuthentication>
   <profile>
     <merchantCustomerId>Merchant_Customer_ID</merchantCustomerId>
     <description>Profile description here</description>
     <email>customer-profile-email@here.com</email>
     <paymentProfiles>
       <customerType>individual</customerType>
        <payment>
          <creditCard>
            <cardNumber>4111111111111111</cardNumber>
            <expirationDate>2021-12</expirationDate>
            <cardCode>901</cardCode>
          </creditCard>
         </payment>
      </paymentProfiles>
    </profile>
	<validationMode>testMode</validationMode>
  </createCustomerProfileRequest>

Response

 

<?xml version="1.0" encoding="utf-8"?>
<createCustomerProfileResponse 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>Ok</resultCode>
    <message>
      <code>I00001</code>
      <text>Successful.</text>
    </message>
  </messages>
  <customerProfileId>1517579763</customerProfileId>
  <customerPaymentProfileIdList>
    <numericString>1516422735</numericString>
  </customerPaymentProfileIdList>
  <customerShippingAddressIdList />
  <validationDirectResponseList>
    <string>1,1,1,(TESTMODE) This transaction has been approved.,000000,P,0,none,Test transaction for ValidateCustomerPaymentProfile.,1.00,CC,auth_only,Merchant_Customer_ID,,,,,,,,,,,customer-profile-email@here.com,,,,,,,,,0.00,0.00,0.00,FALSE,none,,,,,,,,,,,,,,XXXX1111,Visa,,,,,,,,,,,,,,,,,</string>
  </validationDirectResponseList>
</createCustomerProfileResponse>
atchuthan
Member
0 REPLIES 0