I am getting a strange error where it doesn't seem to recognize "paymentProfile(though this is a valid input element as per the specification on the CIM XML API document) and only wants to see refId and customerProfileID for this particular call. The error is copied below
{'text_': u"The element 'createCustomerPaymentProfileRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'paymentProfile' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'refId, customerProfileId' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'."}
I am using a Sandbox Authorize.net login/transaction key. Any suggestions as to why this might be happening(I'm baffled as everything is going through and it should be accepted as a valid input element.
09-30-2012 02:24 PM
For XML, sequence matter. Just follow the order shown in the documentation and it will work.
09-30-2012 02:40 PM
I am following the order(no refId(it's optional), with customer_profile_id followed by payment information). It doesn't seem to work.
09-30-2012 03:21 PM
Can you post the xml?
09-30-2012 04:06 PM
i am also getting this error
02-23-2021 03:42 AM
how can we get all payment profiles of a specific customer profile?
02-23-2021 06:05 AM