<?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: C# CaptureRequest invoice number not getting set. in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-CaptureRequest-invoice-number-not-getting-set/m-p/56800#M31578</link>
    <description>&lt;P&gt;Hello &lt;BR /&gt;&lt;BR /&gt;It's been a while since this was first posted. I would recommend subscribing to this topic so that you'll be alerted via email if anyone from the community is able to respond with any comments. To subscribe, click Topic Options at the top of this thread and then select Subscribe. You'll then receive an email once anyone replies.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2017 04:09:00 GMT</pubDate>
    <dc:creator>RichardH</dc:creator>
    <dc:date>2017-01-26T04:09:00Z</dc:date>
    <item>
      <title>C# CaptureRequest invoice number not getting set.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-CaptureRequest-invoice-number-not-getting-set/m-p/56709#M31486</link>
      <description>&lt;P&gt;I'm working on a C# integration&amp;nbsp;using both CIM and AuthorizeCapture methods, and currently the CIM populates an invoice number properly&amp;nbsp;where as the AuthorizeCapture is not. Here is the way I have been attempting to use AuthorizeCapture, that works, but does not show the Invoice Number in transaction history.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;      IGatewayRequest request = new CaptureRequest( authCode, cardNumber, monthFormatted + cardYearFormatted, amount );
      request.InvoiceNum = createTransaction.Id.ToString(); 
      if( cardCode != null &amp;amp;&amp;amp; cardCode != "" ) {
        request.AddCardCode( cardCode );
      }
      IGatewayResponse actual = target.Send( request );&lt;/PRE&gt;&lt;P&gt;I was thinking of trying instead:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; request.AddInvoice( createTransaction.Id.ToString() );&lt;/PRE&gt;&lt;P&gt;I figured I would post the issue here in case some users have experience in this area.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 01:23:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-CaptureRequest-invoice-number-not-getting-set/m-p/56709#M31486</guid>
      <dc:creator>bobbydoogle</dc:creator>
      <dc:date>2017-01-19T01:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: C# CaptureRequest invoice number not getting set.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-CaptureRequest-invoice-number-not-getting-set/m-p/56800#M31578</link>
      <description>&lt;P&gt;Hello &lt;BR /&gt;&lt;BR /&gt;It's been a while since this was first posted. I would recommend subscribing to this topic so that you'll be alerted via email if anyone from the community is able to respond with any comments. To subscribe, click Topic Options at the top of this thread and then select Subscribe. You'll then receive an email once anyone replies.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 04:09:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-CaptureRequest-invoice-number-not-getting-set/m-p/56800#M31578</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2017-01-26T04:09:00Z</dc:date>
    </item>
  </channel>
</rss>

