<?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: Invoice Number from CIM and Order in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Invoice-Number-from-CIM-and-Order/m-p/12188#M7500</link>
    <description>&lt;P&gt;Hey there, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for the delay. This is definitely a bug and we've got in our list for the next release. In the meantime, you can try doing this though:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The fix for this is in CIM/CustomerGateway.cs - at line 326 add this:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //order information&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans.order = new orderExType();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans.order.description = order.Description;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans.order.invoiceNumber = order.InvoiceNumber;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans.order.purchaseOrderNumber = order.PONumber;&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>Thu, 21 Apr 2011 22:56:09 GMT</pubDate>
    <dc:creator>Michelle</dc:creator>
    <dc:date>2011-04-21T22:56:09Z</dc:date>
    <item>
      <title>Invoice Number from CIM and Order</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Invoice-Number-from-CIM-and-Order/m-p/11744#M7303</link>
      <description>&lt;P&gt;Hello...I've looked everywhere and can't seem to find an answer to this one...&lt;/P&gt;&lt;P&gt;I am using the API in C# for Authoize.net. We are storing cutomer information in the CIM.&lt;/P&gt;&lt;P&gt;When I create an authorization request and send it with the billing info, shippinginfo, card number, and set the invoice number on the AuthorizationRequest object everything works fine.&lt;/P&gt;&lt;P&gt;But I want to use the information stored in the CIM Payment Methods, not have the user input a card each time. So the process I am using is to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**Note CIMCustomer is my custom class to handle the CIM functions.&lt;BR /&gt;&lt;BR /&gt;//Retrieve the customer - I also use the customer object later in the code&lt;BR /&gt;var customer = CIMCustomer.getCustomer(user.CIMProfileID);&lt;BR /&gt;&lt;BR /&gt;//create a new order&lt;BR /&gt;Order = new Order(user.CIMProfileID, "2949777", "2964271");&lt;BR /&gt;order.Amount = new Decimal(99.99);&lt;BR /&gt;order.InvoiceNumber = "99999999"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//send the authorization through the CustomerGateway&lt;BR /&gt;var gate = CIMCustomer.getGateway();&lt;BR /&gt;var ccResponse = gate.Authorize(order);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This sends the authorization, but the invoice number and description are not stored. When I pull back the transaction they have been omitted. It does store billing and shipping info from the CIM, posts the authorization, and returns a transaction id as expected. How do I get it to store the Invoice number using this method? Or...how do I post an AuthorizationRequest and pass in the the CIM Payment and Billing ID's the way I do on the Order constructor?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2011 19:37:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Invoice-Number-from-CIM-and-Order/m-p/11744#M7303</guid>
      <dc:creator>pdm2050</dc:creator>
      <dc:date>2011-04-05T19:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Number from CIM and Order</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Invoice-Number-from-CIM-and-Order/m-p/12188#M7500</link>
      <description>&lt;P&gt;Hey there, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for the delay. This is definitely a bug and we've got in our list for the next release. In the meantime, you can try doing this though:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The fix for this is in CIM/CustomerGateway.cs - at line 326 add this:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //order information&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans.order = new orderExType();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans.order.description = order.Description;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans.order.invoiceNumber = order.InvoiceNumber;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans.order.purchaseOrderNumber = order.PONumber;&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>Thu, 21 Apr 2011 22:56:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Invoice-Number-from-CIM-and-Order/m-p/12188#M7500</guid>
      <dc:creator>Michelle</dc:creator>
      <dc:date>2011-04-21T22:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Number from CIM and Order</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Invoice-Number-from-CIM-and-Order/m-p/34976#M19387</link>
      <description>&lt;P&gt;This same bug exists in the AuthorizeAndCapture method. InvoiceNumber is never copied from the order to the profileTransAuthCaptureType object so it never makes it to the gateway...&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2013 19:26:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Invoice-Number-from-CIM-and-Order/m-p/34976#M19387</guid>
      <dc:creator>mroach</dc:creator>
      <dc:date>2013-07-11T19:26:16Z</dc:date>
    </item>
  </channel>
</rss>

