cancel
Showing results for 
Search instead for 
Did you mean: 

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.

apadley
Member
2 REPLIES 2

And you change the URL to the production server?

RaynorC1emen7
Expert

Of course that is what was causing the failure. However, I'd still like to see the code to get the actual error message.