The PHP CIM sample code provided by Authorize.net (here) does not work.
Solved! Go to Solution.
07-15-2011 09:16 AM
After comparing the CIM docs for createCustomerPaymentProfileRequest to the sample code, I found no missing *required* fields, so that meant one of the fields was invalid. It was the credit card number - the credit card number used by the sample code is invalid. I replaced the one in the sample code with one of the test card numbers and it works now.
While poking around looking for CIM examples/docs/etc I found a CIM class in the lib directory of the SDK - AuthorizeNetCIM. Are there any docs or examples on the usage of this class?
thanks,
Chris
07-15-2011 04:02 PM
After comparing the CIM docs for createCustomerPaymentProfileRequest to the sample code, I found no missing *required* fields, so that meant one of the fields was invalid. It was the credit card number - the credit card number used by the sample code is invalid. I replaced the one in the sample code with one of the test card numbers and it works now.
While poking around looking for CIM examples/docs/etc I found a CIM class in the lib directory of the SDK - AuthorizeNetCIM. Are there any docs or examples on the usage of this class?
thanks,
Chris
07-15-2011 04:02 PM