It is a great enhancement to be able to specify unmaskExpirationDate in getCustomerProfileRequest but I am not able to get it to work. I get this error:
[E00003] The element 'getCustomerProfileRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'unmaskExpirationDate' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'clientId, refId, customerProfileId' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.
11-08-2016 06:44 AM
Hi Christophe,
The unmaskExpirationDate will work for the getCustomerPaymentProfileRequest but it looks like you are running the getCustomerProfileRequest instead. You can also check our post about this here.
Thanks,
Joy
11-09-2016 02:09 PM
Yes, unmaskExpirationDate is supported in getCustomerPaymentProfileRequest, but it has also been added to getCustomerProfileRequest, per the enhancement acknowledged in (bottom of page):
Also, the documentation for getCustomerProfileRequest also was updated some time ago with the addition of unmaskExpirationDate:
http://developer.authorize.net/api/reference/index.html#customer-profiles-get-customer-profile
So it is my understanding that both getCustomerPaymentProfileRequest, and getCustomerProfileRequest, support the unmaskExpirationDate field.
11-10-2016 11:25 AM
Christophe, I apologize about that. Going back to the original error you are getting, the error indicates that the element order was incorrect. Most likely, the "unmaskExpirationDate" field was placed before the customerProfileId in the request. It has to be last.
Thanks,
Joy
11-10-2016 12:27 PM
Yes, problem resolved.
Thank you for your help!
Christophe
11-10-2016 02:39 PM
Hi,
I am still facing this issue. Somehow umaskExpirationDate parameter isn't working. Hope I have placed it correctly. Please help.
07-06-2022 09:50 AM