I am trying to create a customer profile on the live gateway for CIM, however I get rejected with Error: *"E00027 There is one or more missing or invalid required fields"*. This is my request:
<?xml version="1.0" encoding="UTF-8"?> <createCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication> <name>-removed-</name> <transactionKey>-removed-</transactionKey> </merchantAuthentication> <profile> <description>Anush (4f293e17536e86bc66000000)</description> <email>anush@foobar.com</email> <paymentProfiles> <billTo> <firstName /> <lastName /> <company /> <address /> <city /> <state /> <zip>94111</zip> <country /> </billTo> <payment> <creditCard> <cardNumber>-removed-</cardNumber> <expirationDate>2016-12</expirationDate> <cardCode>-removed-</cardCode> </creditCard> </payment> </paymentProfiles> </profile> <validationMode>liveMode</validationMode> </createCustomerProfileRequest>
and this is the response which says "There is one or more missing or invalid required fields"
<?xml version="1.0" encoding="UTF-8"?> <createCustomerProfileResponse xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <messages> <resultCode>Error</resultCode> <message> <code>E00027</code> <text>There is one or more missing or invalid required fields.</text> </message> </messages> <customerPaymentProfileIdList /> <customerShippingAddressIdList /> <validationDirectResponseList> <string>3,1,290,There is one or more missing or invalid required fields.,,P,0,none,Test transaction for ValidateCustomerPaymentProfile.,0.00,CC,auth_only,,,,,,,,94111,,,,anush@foobar.com,,,,,,,,,0.00,0.00,0.00,FALSE,none,F68A9C87C1E1472521704EF38C21F647,,,,,,,,,,,,,XXXX1234,Visa,,,,,,,,,,,,,,,,</string> </validationDirectResponseList> </createCustomerProfileResponse>
Error code 290 in the response indicates I'm missing AVS (address) information (from the documentation). I've got the zip code, but I don't have the billing address. How do I create a customer profile without specifying a billing address?
All this has worked while in developer mode on the sandbox, but it seems to fail on the live gateway. Any help here would be appreciated.
Thanks
Rushi
01-19-2015 08:03 PM
It could also be a fields that was set as a required field in the merchant account
Login to the account
Account Settings
Payment Form
Form Fields
Check to see if anything you are not passing is check as required.
01-20-2015 04:13 AM
I checked on the Payment Forms page. None of the fields are marked as required, I also made sure that payments that fail AVS are not rejected. Despite all of these changes my API calls still get rejected.
01-20-2015 05:53 PM - edited 01-20-2015 05:54 PM
Just reread the VISA requirement. the billto address is required, can't be blank.
You can't valid(livemode) if you don't have the billto address
01-21-2015 05:06 AM - edited 01-21-2015 05:07 AM
RaynorC1emen7,
Where are these "visa requirements"? Also, when I use the AIM gateway, I have no such problems. The payment always goes through without a billing address.
Thanks
Rushi
01-22-2015 05:26 PM
http://developer.authorize.net/api/cim/
xml doc, page 14
when you did the AIM, was it for auth_only $0.00?
01-23-2015 04:22 AM - edited 01-23-2015 04:23 AM
Had the same error - I changed the validation mode to "none" which fixed it.
01-25-2018 01:01 PM