Hi
I am using Authroize.Net as a Payment Gateway and integrating with ECommerce storefront (salesforce).
Issue: when I call Create Customer Profile API , with Validation Mode: = "liveMode", I get below response.
API Documentation does not describes what is missing. Whereas the same payload works with "testMode"
Error:
{
"code": "E00027",
"text": "There is one or more missing or invalid required fields."
}
Request Payload:
{
"createCustomerProfileRequest": {
"merchantAuthentication" : {
"name" : "***",
"transactionKey" : "****"
},
"refId" : "SIMON",
"profile": {
"merchantCustomerId": "Test1234CustomerID",
"description": "Customer Profile description here",
"email": "customer@test.com",
"paymentProfiles": {
"customerType": "individual",
"payment": {
"creditCard": {
"cardNumber": "4111111111111111",
"expirationDate": "2029-12"
}
}
}
},
"validationMode": "liveMode"
}
}
Response Payload:
{
"customerPaymentProfileIdList": [],
"customerShippingAddressIdList": [],
"validationDirectResponseList": [
"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,Test1234CustomerID,,,,,,,,,,,customer@test.com,,,,,,,,,0.00,0.00,0.00,FALSE,none,,,,,,,,,,,,,,XXXX1111,Visa,,,,,,,,,,,,,,,,,"
],
"refId": "SIMON",
"messages": {
"resultCode": "Error",
"message": [
{
"code": "E00027",
"text": "There is one or more missing or invalid required fields."
}
]
}
}