cancel
Showing results for 
Search instead for 
Did you mean: 

Help retrieving Card Type from DPM response

I am trying to determine the credit card type in the response coming back from Authorize.NET when I use the DPM method. The examples I saw had you cast the Request.Form object to a SIMResponse object. This object doesn't appear to have card type as a valid property.

 

Any help is greatly appreciated.

 

Thanks,

 

Brian

btram12
Member
2 REPLIES 2

Since you mentiones SIMResponse, I'm going to assume that you are using the .Net SDK.  I just reviewed the SDK and confirmed that it unfortunately does not have x_card_type defined in the response fields.  I can put this in as a bug/feature request to be updated with the next version of the SDK, but the only immediate fix would be to update ApiFields.cs and SIMResponse.cs to incorporate this field.

Trevor
Administrator Administrator
Administrator

Thanks for the reply. I am using the ReportingGateway class to make an API call to getTransactionDetails now and trying to retrieve info after the fact. Can you obtain it from there? I am passing a transaction id and getting data back, but the card number and card type come back blank.