Skip to content

Instantly share code, notes, and snippets.

@jantzenw

jantzenw/.xml Secret

Created March 29, 2018 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jantzenw/a65636cd78f9757b5eb1222dd63766d5 to your computer and use it in GitHub Desktop.
Save jantzenw/a65636cd78f9757b5eb1222dd63766d5 to your computer and use it in GitHub Desktop.
<createCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>[redacted]</name>
<transactionKey>[redacted]</transactionKey>
</merchantAuthentication>
<profile>
<merchantCustomerId>[redacted]</merchantCustomerId>
<description></description>
<email>tester+test@gmail.com</email>
<paymentProfiles>
<customerType>individual</customerType>
<payment>
<creditCard>
<cardNumber>4111111111111111</cardNumber>
<expirationDate>2020-12</expirationDate>
</creditCard>
</payment>
</paymentProfiles>
</profile>
<validationMode>testMode</validationMode>
</createCustomerProfileRequest>
<?xml version="1.0" encoding="utf-8"?>
<createCustomerProfileResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<messages>
<resultCode>
Error
</resultCode>
<message>
<code>
E00013
</code>
<text>
email is invalid.
</text>
</message>
</messages>
</createCustomerProfileResponse>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment