- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The PHP CIM sample code provided by Authorize.net (here) does not work.
- Download and expand zip file
- Modify 'vars.php' with login id and trans key.
- Point browser to index.php from CIM zip file.
- Choose 'Create Customer Profile'. On return, customerProfileId is populated with returned id.
- Choose 'Create Customer Payment Profile'.
- Error returned: [E00027] There is one or more missing or invalid required fields.
Solved! Go to Solution.
07-15-2011 09:16 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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