<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Add Bank Account Payment Profile Using C# SDK in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Add-Bank-Account-Payment-Profile-Using-C-SDK/m-p/28830#M15166</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/11202"&gt;@patricker1&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;I wrote up a little walk through on adding bank account support, it involves downloading the source code and modifying a number of files.&amp;nbsp; If you are interested check out &lt;A target="_blank" href="http://stackoverflow.com/a/11475815/328968"&gt;http://stackoverflow.com/a/11475815/328968&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks for the walkthrough on this. &amp;nbsp;Is there going to be a new version of the SDK released to reflect this change? &amp;nbsp;I have linked several SDK classes in my project and I try to avoid modifying these types of libraries as best practice. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the version from Anet's download section. &amp;nbsp;anet_dotnet_sdk-1.7.1.zip - C#&lt;/P&gt;</description>
    <pubDate>Wed, 15 Aug 2012 18:10:50 GMT</pubDate>
    <dc:creator>crmGuy</dc:creator>
    <dc:date>2012-08-15T18:10:50Z</dc:date>
    <item>
      <title>Add Bank Account Payment Profile Using C# SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Add-Bank-Account-Payment-Profile-Using-C-SDK/m-p/27060#M14331</link>
      <description>&lt;P&gt;After playing around with the &lt;A target="_self" href="http://developer.authorize.net/downloads/samplecode/"&gt;Authorize.Net CIM XML API C# sample code&lt;/A&gt;, I started using the &lt;A target="_self" href="http://developer.authorize.net/downloads/"&gt;Authorize.Net C# SDK&lt;/A&gt;. I am able to add credit cards and bank accounts to customer profiles using the CIM XML API sample code. I don't see how to add bank accounts using the SDK though.&lt;/P&gt;&lt;P&gt;Adding bank account with CIM XML API:&lt;/P&gt;&lt;P&gt;...&lt;BR /&gt;customerPaymentProfileType new_payment_profile = new customerPaymentProfileType();&lt;BR /&gt;paymentType new_payment = new paymentType();&lt;/P&gt;&lt;P&gt;bankAccountType new_bank = new bankAccountType();&lt;BR /&gt;new_bank.nameOnAccount = "xyz";&lt;BR /&gt;new_bank.accountNumber = "4111111";&lt;BR /&gt;new_bank.routingNumber = "325070760";&lt;BR /&gt;new_payment.Item = new_bank;&lt;/P&gt;&lt;P&gt;new_payment_profile.payment = new_payment;&lt;/P&gt;&lt;P&gt;createCustomerPaymentProfileRequest request = new createCustomerPaymentProfileRequest();&lt;BR /&gt;XmlAPIUtilities.PopulateMerchantAuthentication((ANetApiRequest)request);&lt;/P&gt;&lt;P&gt;request.customerProfileId = profile_id.ToString();&lt;BR /&gt;request.paymentProfile = new_payment_profile;&lt;BR /&gt;request.validationMode = validationModeEnum.testMode;&lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;Using the SDK I only see a `.AddCreditCard()` method, but no way to add a bank account. When I loop through all my `PaymentProfiles` It throws an exception when it comes across a bank account too:&lt;/P&gt;&lt;P&gt;CustomerGateway cg = new CustomerGateway("xxx", "yyy");&lt;/P&gt;&lt;P&gt;foreach (string cid in cg.GetCustomerIDs())&lt;BR /&gt;{&lt;BR /&gt;Customer c = cg.GetCustomer(cid);&lt;BR /&gt;foreach (PaymentProfile pp in c.PaymentProfiles)&lt;BR /&gt;{&lt;BR /&gt;Console.WriteLine(pp.ToString());&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Exception:&lt;/P&gt;&lt;P&gt;Unable to cast object of type 'AuthorizeNet.APICore.bankAccountMaskedType' to type 'AuthorizeNet.APICore.creditCardMaskedType'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" src="https://ip1.i.lithium.com/46b6d3dcb912ba43b756777fe9509cea9b72bce4/687474703a2f2f646c2e64726f70626f782e636f6d2f752f333131353337392f73637265656e677261625f32303132303631313039353732372e706e67" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I add a bank account to a CIM profile using the Authorize.Net C# SDK?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2012 14:02:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Add-Bank-Account-Payment-Profile-Using-C-SDK/m-p/27060#M14331</guid>
      <dc:creator>ghartsho</dc:creator>
      <dc:date>2012-06-11T14:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Add Bank Account Payment Profile Using C# SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Add-Bank-Account-Payment-Profile-Using-C-SDK/m-p/27228#M14411</link>
      <description>&lt;P&gt;Hi ghartsho,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for bringing this up. It looks like there may be an issue with the SDK. I'm forwarding this on to our development teams.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michelle&lt;/P&gt;
&lt;P&gt;Developer Community Manager&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2012 18:13:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Add-Bank-Account-Payment-Profile-Using-C-SDK/m-p/27228#M14411</guid>
      <dc:creator>Michelle</dc:creator>
      <dc:date>2012-06-15T18:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Add Bank Account Payment Profile Using C# SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Add-Bank-Account-Payment-Profile-Using-C-SDK/m-p/27928#M14741</link>
      <description>&lt;P&gt;I wrote up a little walk through on adding bank account support, it involves downloading the source code and modifying a number of files.&amp;nbsp; If you are interested check out &lt;A target="_blank" href="http://stackoverflow.com/a/11475815/328968"&gt;http://stackoverflow.com/a/11475815/328968&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2012 18:10:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Add-Bank-Account-Payment-Profile-Using-C-SDK/m-p/27928#M14741</guid>
      <dc:creator>patricker1</dc:creator>
      <dc:date>2012-07-13T18:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Add Bank Account Payment Profile Using C# SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Add-Bank-Account-Payment-Profile-Using-C-SDK/m-p/28830#M15166</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/11202"&gt;@patricker1&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;I wrote up a little walk through on adding bank account support, it involves downloading the source code and modifying a number of files.&amp;nbsp; If you are interested check out &lt;A target="_blank" href="http://stackoverflow.com/a/11475815/328968"&gt;http://stackoverflow.com/a/11475815/328968&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks for the walkthrough on this. &amp;nbsp;Is there going to be a new version of the SDK released to reflect this change? &amp;nbsp;I have linked several SDK classes in my project and I try to avoid modifying these types of libraries as best practice. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the version from Anet's download section. &amp;nbsp;anet_dotnet_sdk-1.7.1.zip - C#&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2012 18:10:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Add-Bank-Account-Payment-Profile-Using-C-SDK/m-p/28830#M15166</guid>
      <dc:creator>crmGuy</dc:creator>
      <dc:date>2012-08-15T18:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Add Bank Account Payment Profile Using C# SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Add-Bank-Account-Payment-Profile-Using-C-SDK/m-p/49243#M24842</link>
      <description>&lt;P&gt;Is this issue fixed? Im facing a similar problem while fetching the customer details using CIM api.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2015 13:08:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Add-Bank-Account-Payment-Profile-Using-C-SDK/m-p/49243#M24842</guid>
      <dc:creator>nik_0811</dc:creator>
      <dc:date>2015-01-05T13:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Add Bank Account Payment Profile Using C# SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Add-Bank-Account-Payment-Profile-Using-C-SDK/m-p/49244#M24843</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/14585"&gt;@nik_0811&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you using the latest SDK from GitHub?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/AuthorizeNet/sdk-dotnet" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-dotnet&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2015 16:43:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Add-Bank-Account-Payment-Profile-Using-C-SDK/m-p/49244#M24843</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2015-01-05T16:43:01Z</dc:date>
    </item>
  </channel>
</rss>

