<?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: Values in transactionResponse are nil even on success callback in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Values-in-transactionResponse-are-nil-even-on-success-callback/m-p/35353#M19748</link>
    <description>&lt;P&gt;This is the response I get from CreateTransactionRequest in TEST environment. I get a session token in the mobileDeviceLoginRequest. Is there a bug in the SDK then?&lt;/P&gt;</description>
    <pubDate>Wed, 28 Aug 2013 00:33:03 GMT</pubDate>
    <dc:creator>ankurmytime</dc:creator>
    <dc:date>2013-08-28T00:33:03Z</dc:date>
    <item>
      <title>Values in transactionResponse are nil even on success callback</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Values-in-transactionResponse-are-nil-even-on-success-callback/m-p/35351#M19746</link>
      <description>&lt;P&gt;I make a request using&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;[an &lt;/SPAN&gt;purchaseWithRequest&lt;SPAN&gt;:request];&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN&gt;following the code in the SDK example. When it returns it gives me a success message but goes in the&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;- (&lt;SPAN&gt;void&lt;/SPAN&gt;) requestFailed:(&lt;SPAN&gt;AuthNetResponse&lt;/SPAN&gt; *)response&lt;/P&gt;
&lt;P class="p1"&gt;delegate callback method. I went up the stack trace and saw that in AuthNet.m file in&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;- (&lt;SPAN&gt;void&lt;/SPAN&gt;) processResponseData&amp;amp;colon;(&lt;SPAN&gt;NSData&lt;/SPAN&gt; *)theResponse method transactionResponse has nil values including nil for responseCode and hence it calls the requestFailed callback.&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;This is the XML data it gets back in response:&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;GDataXMLElement 0xa66d5a0: {type:1 name:mobileDeviceLoginResponse xml:"
&amp;lt;mobileDeviceLoginResponse xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance&amp;quot;" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance"&lt;/A&gt; xmlns:xsd="&lt;A href="http://www.w3.org/2001/XMLSchema&amp;quot;" target="_blank"&gt;http://www.w3.org/2001/XMLSchema"&lt;/A&gt; xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
  &amp;lt;messages&amp;gt;
    &amp;lt;resultCode&amp;gt;Ok&amp;lt;/resultCode&amp;gt;
    &amp;lt;message&amp;gt;&amp;lt;code&amp;gt;I00001&amp;lt;/code&amp;gt;
      &amp;lt;text&amp;gt;Successful.&amp;lt;/text&amp;gt;
    &amp;lt;/message&amp;gt;
  &amp;lt;/messages&amp;gt;
  &amp;lt;sessionToken&amp;gt;Gdy$M1476PS09dch_Jz7v9eIdC8kqZIbbsijaIJVbHWFLYeiDFpTfrHR_oI41rD3dJvnigH7EQduleRviTg_2w8TJrhlalK0ykv4MJyBlfTidLEEJplSPs1SuX$mh2Ns1UbinP6A3sqHiY5dg9oTqgAA&amp;lt;/sessionToken&amp;gt;
  &amp;lt;merchantContact&amp;gt;
    &amp;lt;merchantName&amp;gt;Rahul Thathoo&amp;lt;/merchantName&amp;gt;
    &amp;lt;merchantAddress&amp;gt;1 Main Street&amp;lt;/merchantAddress&amp;gt;
    &amp;lt;merchantCity&amp;gt;Bellevue&amp;lt;/merchantCity&amp;gt;
    &amp;lt;merchantState&amp;gt;WA&amp;lt;/merchantState&amp;gt;
    &amp;lt;merchantZip&amp;gt;98004&amp;lt;/merchantZip&amp;gt;
    &amp;lt;merchantPhone&amp;gt;425-555-1212&amp;lt;/merchantPhone&amp;gt;
  &amp;lt;/merchantContact&amp;gt;
  &amp;lt;userPermissions&amp;gt;
    &amp;lt;permission&amp;gt;
      &amp;lt;permissionName&amp;gt;Submit_Charge&amp;lt;/permissionName&amp;gt;
    &amp;lt;/permission&amp;gt;
    &amp;lt;permission&amp;gt;
      &amp;lt;permissionName&amp;gt;Submit_Refund&amp;lt;/permissionName&amp;gt;
    &amp;lt;/permission&amp;gt;
    &amp;lt;permission&amp;gt;
      &amp;lt;permissionName&amp;gt;Submit_Update&amp;lt;/permissionName&amp;gt;
    &amp;lt;/permission&amp;gt;
    &amp;lt;permission&amp;gt;
      &amp;lt;permissionName&amp;gt;Mobile_Admin&amp;lt;/permissionName&amp;gt;
    &amp;lt;/permission&amp;gt;
  &amp;lt;/userPermissions&amp;gt;
  &amp;lt;merchantAccount&amp;gt;
    &amp;lt;marketType&amp;gt;0&amp;lt;/marketType&amp;gt;
    &amp;lt;deviceType&amp;gt;7&amp;lt;/deviceType&amp;gt;
  &amp;lt;/merchantAccount&amp;gt;
&amp;lt;/mobileDeviceLoginResponse&amp;gt;
"}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN style="line-height: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Is there an issue in the backend of Authorize.Net cause I downloaded the SDK yesterday. It is version 1.1.1&lt;/P&gt;
&lt;P class="p1"&gt;Any help is welcome as I have a strict deadline to get this working. Below is the request I am making. Could it be because of AUTH_ONLY?&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;CreateTransactionRequest&lt;SPAN&gt; *request = [&lt;/SPAN&gt;CreateTransactionRequest&lt;SPAN&gt;createTransactionRequest&lt;/SPAN&gt;&lt;SPAN&gt;];&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp; &amp;nbsp; request.&lt;SPAN&gt;transactionRequest&lt;/SPAN&gt; = requestType;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp; &amp;nbsp; request.&lt;SPAN&gt;transactionType&lt;/SPAN&gt; = &lt;SPAN&gt;AUTH_ONLY&lt;/SPAN&gt;;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; request.&lt;/SPAN&gt;anetApiRequest&lt;SPAN&gt;.&lt;/SPAN&gt;merchantAuthentication&lt;SPAN&gt;.&lt;/SPAN&gt;mobileDeviceId&lt;SPAN&gt; = [[&lt;/SPAN&gt;&lt;SPAN&gt;UIDevice&lt;/SPAN&gt;&lt;SPAN&gt;currentDevice&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN&gt;identifierForVendor&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;&lt;SPAN&gt;UUIDString&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; request.&lt;/SPAN&gt;anetApiRequest&lt;SPAN&gt;.&lt;/SPAN&gt;merchantAuthentication&lt;SPAN&gt;.&lt;/SPAN&gt;sessionToken&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;self&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;sessionToken&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p3"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; [an &lt;/SPAN&gt;purchaseWithRequest&lt;SPAN&gt;:request];&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 02:01:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Values-in-transactionResponse-are-nil-even-on-success-callback/m-p/35351#M19746</guid>
      <dc:creator>ankurmytime</dc:creator>
      <dc:date>2013-08-28T02:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Values in transactionResponse are nil even on success callback</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Values-in-transactionResponse-are-nil-even-on-success-callback/m-p/35352#M19747</link>
      <description>&lt;P&gt;First of all I am NOT a iOS developer,&lt;/P&gt;&lt;P&gt;but the response you post is from the &lt;SPAN&gt;&lt;SPAN&gt;mobileDeviceLoginRequest&lt;/SPAN&gt;&lt;/SPAN&gt; and not from the &lt;SPAN&gt;&lt;SPAN&gt;CreateTransactionRequest&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2013 23:23:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Values-in-transactionResponse-are-nil-even-on-success-callback/m-p/35352#M19747</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-08-27T23:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Values in transactionResponse are nil even on success callback</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Values-in-transactionResponse-are-nil-even-on-success-callback/m-p/35353#M19748</link>
      <description>&lt;P&gt;This is the response I get from CreateTransactionRequest in TEST environment. I get a session token in the mobileDeviceLoginRequest. Is there a bug in the SDK then?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 00:33:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Values-in-transactionResponse-are-nil-even-on-success-callback/m-p/35353#M19748</guid>
      <dc:creator>ankurmytime</dc:creator>
      <dc:date>2013-08-28T00:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Values in transactionResponse are nil even on success callback</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Values-in-transactionResponse-are-nil-even-on-success-callback/m-p/35356#M19751</link>
      <description>&lt;P&gt;Issue is that sessionToken was returned after I made the request for transaction. So it is synchornous and we have to wait until we have the session set and then make the purchase transaction.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 03:52:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Values-in-transactionResponse-are-nil-even-on-success-callback/m-p/35356#M19751</guid>
      <dc:creator>ankurmytime</dc:creator>
      <dc:date>2013-08-28T03:52:58Z</dc:date>
    </item>
  </channel>
</rss>

