<?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: Response object missing TransactionID in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-object-missing-TransactionID/m-p/49521#M25089</link>
    <description>&lt;P&gt;It wasn't the response object that was wrong, it was my Gateway object - I was creating a Gateway object, not a CardPresentGateway object.&lt;/P&gt;&lt;P&gt;Both "Approved" and "TransactionID" are populating correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much RaynorC1emen7!&lt;/P&gt;</description>
    <pubDate>Tue, 03 Feb 2015 21:01:30 GMT</pubDate>
    <dc:creator>randystone</dc:creator>
    <dc:date>2015-02-03T21:01:30Z</dc:date>
    <item>
      <title>Response object missing TransactionID</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-object-missing-TransactionID/m-p/49518#M25086</link>
      <description>&lt;P&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;I'm adding Authorize.NET to an existing point-of-sale system of cash registers on WIndows platform. Transactions will be card present entered with usb card swipe by cashiers. I built the Authorize.NET C# library project and have sucessfully captured a transaction on a live account. The problem is the response object does not appear to be getting the "TransactionID" property populated. That and the "Approved" property is so far always false, but I can go by "ResponseCode" instead.&lt;BR /&gt;&lt;BR /&gt;Here is the raw POST that gets sent (from CardPresentAuthorizeAndCaptureRequest.ToPostString(), tracks removed):&lt;BR /&gt;&lt;BR /&gt;x_delim_data=TRUE&amp;amp;x_delim_char=%7c&amp;amp;x_relay_response=FALSE&amp;amp;x_method=CC&amp;amp;x_version=3.1&amp;amp;x_track1=XXXXX&amp;amp;x_track2=XXXXX&amp;amp;x_amount=0.25&amp;amp;x_type=AUTH_CAPTURE&amp;amp;x_market_type=2&amp;amp;x_device_type=4&lt;BR /&gt;&lt;BR /&gt;And here is a text save of the IGatewayResponse properties:&lt;BR /&gt;Approved: False&lt;BR /&gt;AuthorizationCode: [hidden]&lt;BR /&gt;Message: This transaction has been approved.&lt;BR /&gt;ResponseCode: 1.0&lt;BR /&gt;TransactionID:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: The transaction does show in the merchant account with a transaction ID.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Am I missing anything?&lt;BR /&gt;&lt;BR /&gt;Thank you much for your help!&lt;BR /&gt;Randy Stone&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 20:17:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-object-missing-TransactionID/m-p/49518#M25086</guid>
      <dc:creator>randystone</dc:creator>
      <dc:date>2015-02-03T20:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Response object missing TransactionID</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-object-missing-TransactionID/m-p/49519#M25087</link>
      <description>&lt;P&gt;There are 2 response object, one for CP transaction (&lt;SPAN class="pl-en"&gt;CardPresentResponse&lt;/SPAN&gt;) and the other for CNP transaction (&lt;SPAN class="pl-en"&gt;GatewayResponse)&lt;/SPAN&gt;. look to me it is using the CNP response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From &lt;A target="_blank" href="https://github.com/AuthorizeNet/sdk-dotnet/blob/master/AuthorizeNETtest/CardPresentGatewayTest.cs"&gt;https://github.com/AuthorizeNet/sdk-dotnet/blob/master/AuthorizeNETtest/CardPresentGatewayTest.cs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;here a sample response from CP transaction. Note the 1.0 extra field at the beginning.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN class="pl-st"&gt;string&lt;/SPAN&gt; responseString = &lt;SPAN class="pl-s1"&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;1.0|1|1|This transaction has been approved.||P||2207702802|9FE994E47A8F0F44552C5CA59D09BE79||||||||||||XXXX1111|Visa&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 03 Feb 2015 20:35:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-object-missing-TransactionID/m-p/49519#M25087</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2015-02-03T20:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Response object missing TransactionID</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-object-missing-TransactionID/m-p/49520#M25088</link>
      <description>&lt;P&gt;Thanks for the fast response RaynorC1emen7.&lt;BR /&gt;&lt;BR /&gt;I found something else strange that made me think there is a parsing issue. I found the Transaction ID. It is getting populated to the InvoiceNumber property of IGatewayResponse. Could this parsing to the wrong property happen from using the wrong response object?&lt;BR /&gt;&lt;BR /&gt;I'll look up the other object and give your solution a try.&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 20:38:13 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-object-missing-TransactionID/m-p/49520#M25088</guid>
      <dc:creator>randystone</dc:creator>
      <dc:date>2015-02-03T20:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Response object missing TransactionID</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-object-missing-TransactionID/m-p/49521#M25089</link>
      <description>&lt;P&gt;It wasn't the response object that was wrong, it was my Gateway object - I was creating a Gateway object, not a CardPresentGateway object.&lt;/P&gt;&lt;P&gt;Both "Approved" and "TransactionID" are populating correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much RaynorC1emen7!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 21:01:30 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-object-missing-TransactionID/m-p/49521#M25089</guid>
      <dc:creator>randystone</dc:creator>
      <dc:date>2015-02-03T21:01:30Z</dc:date>
    </item>
  </channel>
</rss>

