如何在Authrize中使用CIM创建客户支付配置文件,在C#中使用Net?

时间:2014-11-19 05:43:37

标签: asp.net asp.net-mvc authorize.net authorize.net-cim

如何在Ash.net C#mvc中使用Authrize,Net中的CIM创建客户付款资料? 我在Visual Studio 2012中使用NugetPackage的AuthorizeNet api。

1 个答案:

答案 0 :(得分:1)

我对此有点迟,但今天我遇到了同样的问题。

您可以用来创建客户付款资料的对象 CustomerGateway 上的NuGet包中的方法 AddCreditCard AddECheckBankAccount 视你的情况而定。

示例:

CustomerGateway customerGateway = new CustomerGateway(apiLogin, transactionKey); customerGateway.AddCreditCard(customerProfileId, cardNumber, month, year, cardCode, billingAddress);