cancel
Showing results for 
Search instead for 
Did you mean: 

createCustomerPaymentProfileRequest gives error in liveMode but not in testMode

I am getting error in the below code in liveMode but not in the testMode. The error it gives is - E00027There is one or more missing or invalid required fields.3,1,290. What could be the issue? Please help in resolving this issue.

 

"<?xml version=\"1.0\" encoding=\"utf-8\"?>" .
	"<createCustomerPaymentProfileRequest xmlns=\"AnetApi/xml/v1/schema/AnetApiSchema.xsd\">" .
	MerchantAuthenticationBlock().
	"<customerProfileId>23837559</customerProfileId>".
	"<paymentProfile>".
	"<billTo>".
		"<firstName>A</firstName>".
		"<lastName>K</lastName>".
	"</billTo>".
	"<payment>".
	 "<creditCard>".
	  "<cardNumber>4111111111111111</cardNumber>".
	  "<expirationDate>2020-11</expirationDate>". // required format for API is YYYY-MM
	  "<cardCode>1234</cardCode>".
	 "</creditCard>".
	"</payment>".
	"</paymentProfile>".
	"<validationMode>liveMode</validationMode>". // or testMode
	"</createCustomerPaymentProfileRequest>";

 Thanks,

Php Dev

phpdev
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

The response is the same for all API, http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=4_TransResponse.htm...

3
290
One or more required AVS values for zero dollar authorization were not submitted.
When submitting authorization requests for Visa, you must enter the address and zip code fields.

 

View solution in original post

RaynorC1emen7
Expert
2 REPLIES 2

The response is the same for all API, http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=4_TransResponse.htm...

3
290
One or more required AVS values for zero dollar authorization were not submitted.
When submitting authorization requests for Visa, you must enter the address and zip code fields.

 

RaynorC1emen7
Expert

Thanks.