Reply
Member
Posts: 2
Registered: ‎08-02-2011

Can't find Response Reason Code

I am using AIM and I downloaded the C# SDK.  I can get the Response Reason by way of the Message property, but not the Response Reason Code.  I know it's basically the same info, but can I get the actual code in some way?

Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: Can't find Response Reason Code

I'm using the PHP API, so this won't convert directly to C#, but the message text and result code are referenced as follows:

 

$result->xml->messages->message->text
$result->xml->messages->resultCode

 Hopefully this will give you enough context to solve your problem.

Member
Posts: 2
Registered: ‎08-02-2011

Re: Can't find Response Reason Code

Thanks for the reply, I found the answer here:

 

http://community.developer.authorize.net/t5/Integration-and-Testing/NET-GatewayResponse-object/td-p/...

 

I guess I already knew that answer, but thought there would be a better way.