Reputation: 71
How i can create Customer payment profile using CIM in Authrize,Net in Asp.net C# mvc? i am using AuthorizeNet api from NugetPackage in visual studio 2012.
Upvotes: 1
Views: 517
Reputation: 26
I'm a little late on this, but I was having the same issue today.
It looks like the methods in the NuGet package on the object CustomerGateway you can use to create a customer payment profile are AddCreditCard or AddECheckBankAccount depending on your situation.
Example:
CustomerGateway customerGateway = new CustomerGateway(apiLogin, transactionKey);
customerGateway.AddCreditCard(customerProfileId, cardNumber, month, year, cardCode, billingAddress);
Upvotes: 1