- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CIM Error Code Help
I've been developing our website to use CIM. I have thoroughly tested it with my Authorize.net test account and everything works as expected. Today, I switched to the live account. The only change I made was to substitute the live Login ID and Transaction key into the script. Now it fails every time.
I need to determin the error code to better understand what is going on. I need help with the proper code to use to get the error code. My current code is:
$response = $request->createCustomerProfile($customerProfile);
if ($response->isOk()) {
// do stuff
}
else {
// Need help here
}
I need the correct php code to replace the Need help here comment.
Thanks.
04-19-2012 04:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And you change the URL to the production server?
04-19-2012 04:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Of course that is what was causing the failure. However, I'd still like to see the code to get the actual error message.
04-19-2012 05:19 PM
