Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Contributor
Posts: 25
Registered: ‎11-24-2011

How to get the CardType from Authorize.net Service

Team,

 

We are using the Authorize.net service for our payment process. We have around 1200 members card details.

Now we have a requiremnet that need to show the member card with their respective card type (Master,visa,..like that).

 

For that we are trying with

SoapAPIUtilities.Service.GetCustomerPaymentProfile(SoapAPIUtilities.MerchantAuthentication, pPaymentProfileDTO.CustomerProfileID, pPaymentProfileDTO.PaymentProfileID);

 

But getting CardType as NULL.

 

Could you please help any way of getting the CardType from authorize.net by passing Customer Profile ID and Payment Profile ID.

 

 

Thanks,

Pradeep

 

 

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: How to get the CardType from Authorize.net Service

It null because Card Type is not one of field return from GetCustomerPaymentProfile. The only time it return Card Type is when you run a transaction.