Skip to content

Instantly share code, notes, and snippets.

@jantzenw

jantzenw/.xml Secret

Created March 29, 2018 15:49
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/cf672ec18b36ac069109dcb452a2d525 to your computer and use it in GitHub Desktop.
Save jantzenw/cf672ec18b36ac069109dcb452a2d525 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>testers@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>
Ok
</resultCode>
<message>
<code>
I00001
</code>
<text>
Successful.
</text>
</message>
</messages>
<customerProfileId>
1913038047
</customerProfileId>
<customerPaymentProfileIdList>
<numericString>
1826955645
</numericString>
</customerPaymentProfileIdList>
<customerShippingAddressIdList />
<validationDirectResponseList>
<string>
1,1,1,(TESTMODE) This transaction has been approved.,000000,P,0,none,Test transaction for ValidateCustomerPaymentProfile.,1.00,CC,auth_only,49624,,,,,,,,,,,testers@gmail.com,,,,,,,,,0.00,0.00,0.00,FALSE,none,BBBAF6F867D3A9893531B638D40FD523,,,,,,,,,,,,,XXXX1111,Visa,,,,,,,,,,,,,,,,,
</string>
</validationDirectResponseList>
</createCustomerProfileResponse>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment