<?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: Adding the shipping, billing address to a transaction using ActiveMerchant in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adding-the-shipping-billing-address-to-a-transaction-using/m-p/34993#M19401</link>
    <description>&lt;P&gt;There should be something like&lt;/P&gt;&lt;P&gt;request.City = "your city";&lt;/P&gt;</description>
    <pubDate>Sat, 13 Jul 2013 14:47:29 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2013-07-13T14:47:29Z</dc:date>
    <item>
      <title>Adding the shipping, billing address to a transaction using ActiveMerchant</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adding-the-shipping-billing-address-to-a-transaction-using/m-p/34991#M19400</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the AIM SDK for C# to test some transactions. Here is what I have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;           //step 1 - create the request
            var request = new AuthorizationRequest("370000000000002", "1216", 230.01M, "Test Transaction");

            //These are optional calls to the API
            request.AddCardCode("321");

            //Customer info - this is used for Fraud Detection
            request.AddCustomer("101", "John", "Doe", "1 Main Street", "IL", "60601");

            //order number
            request.AddInvoice("4054");

            //Custom values that will be returned with the response
            request.AddMerchantValue("param1", "value1");

            //Shipping Address
            request.AddShipping("101", "John", "Doe", "2 Main Street", "IL", "60602");

            //step 2 - create the gateway, sending in your credentials
            var gate = new Gateway(lsAPILoginID, lsTransactionKey);

            //step 3 - make some money
            var response = gate.Send(request);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Everything works fine, except that there is no City specified! In looking at the request method "AddCustomer", I see that &amp;nbsp;It is basically expecting "id", "first", "last", "address", "state", "zip".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I add City for both Billing and Shipping Addresses?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2013 01:24:07 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adding-the-shipping-billing-address-to-a-transaction-using/m-p/34991#M19400</guid>
      <dc:creator>digioz22</dc:creator>
      <dc:date>2013-07-13T01:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding the shipping, billing address to a transaction using ActiveMerchant</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adding-the-shipping-billing-address-to-a-transaction-using/m-p/34993#M19401</link>
      <description>&lt;P&gt;There should be something like&lt;/P&gt;&lt;P&gt;request.City = "your city";&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2013 14:47:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adding-the-shipping-billing-address-to-a-transaction-using/m-p/34993#M19401</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-07-13T14:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Adding the shipping, billing address to a transaction using ActiveMerchant</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adding-the-shipping-billing-address-to-a-transaction-using/m-p/34994#M19402</link>
      <description>&lt;P&gt;Thank you Ray, I found the two Properties called "request.City" and "request.ShipToCity", and tested them out and confirmed that it is now getting passed in.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder why the creators of the library didn't make City a part of the Constructors (request.AddCustomer and request.AddShipping). It would have made more sense in my opinion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2013 21:08:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adding-the-shipping-billing-address-to-a-transaction-using/m-p/34994#M19402</guid>
      <dc:creator>digioz22</dc:creator>
      <dc:date>2013-07-13T21:08:57Z</dc:date>
    </item>
  </channel>
</rss>

