<?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: Card Present PHP SDK BUG in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/40234#M21879</link>
    <description>&lt;P&gt;Hello &amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/15354"&gt;@tdietsche9&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for letting us know. &amp;nbsp;I've logged an issue in GitHub&amp;nbsp;to track your request:&amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sdk-php/issues/9&amp;nbsp;" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-php/issues/9&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are also welcome in the future to go ahead and log issues right there too.&amp;nbsp; You can even submit your fix for our review and inclusion:&amp;nbsp; &lt;A href="https://help.github.com/articles/using-pull-requests" target="_blank"&gt;https://help.github.com/articles/using-pull-requests&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
    <pubDate>Thu, 03 Apr 2014 15:28:46 GMT</pubDate>
    <dc:creator>RichardH</dc:creator>
    <dc:date>2014-04-03T15:28:46Z</dc:date>
    <item>
      <title>Card Present PHP SDK BUG</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/33649#M18156</link>
      <description>&lt;P&gt;Hi, i have downloaded the lastest version of php sdk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im running my transactions with this values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;gt;setField('device_type',4);&lt;/P&gt;&lt;P&gt;-&amp;gt;setField('duplicate_window',5);&lt;/P&gt;&lt;P&gt;-&amp;gt;setField('exp_date',$expire_date);&lt;/P&gt;&lt;P&gt;-&amp;gt;setField('amount',$amount);&lt;/P&gt;&lt;P&gt;-&amp;gt;setField('card_num',$cardName);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transaction type -&amp;gt;authorizeOnly();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with the default php sdk, im geting the following errors :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---------------------------------------&lt;/P&gt;&lt;P&gt;Undefined property: AuthorizeNetCP::$_custom_fields&lt;/P&gt;&lt;P&gt;------------------------------------------------&lt;/P&gt;&lt;P&gt;ON LINE 86&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #111111; font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 15.59375px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f0eb96; display: inline !important; float: none;"&gt;return new AuthorizeNetCP_Response($response, $this-&amp;gt;_x_post_fields['delim_char'], $this-&amp;gt;_x_post_fields['encap_char'], $this-&amp;gt;_custom_fields);&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;($_custom_fields is defined on partnet class , but its private so its not accecbile from AuthorizeNetCP class)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i added&lt;/P&gt;&lt;P&gt;private $_custom_fields = array();&lt;/P&gt;&lt;P&gt;to AuthorizeNetCP class&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then when im tring again , im getting&lt;/P&gt;&lt;P&gt;Undefined offset: 22&lt;/P&gt;&lt;P&gt;Undefined offset: 23&lt;/P&gt;&lt;P&gt;Undefined offset: 24&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(lines 178-181)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i have changed this lines to be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;$this-&amp;gt;split_tender_id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = isset($this-&amp;gt;_response_array[22]) ? $this-&amp;gt;_response_array[22] : NULL;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;requested_amount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = isset($this-&amp;gt;_response_array[23]) ? $this-&amp;gt;_response_array[23] : NULL;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;approved_amount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = isset($this-&amp;gt;_response_array[24]) ? $this-&amp;gt;_response_array[24] : NULL;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;card_balance&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = isset($this-&amp;gt;_response_array[25]) ? $this-&amp;gt;_response_array[25] : NULL;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;its seems like i never get this values .&lt;/P&gt;&lt;P&gt;all other values are ok.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after changed api works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it really the sdk problem ?&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2013 00:58:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/33649#M18156</guid>
      <dc:creator>rotem</dc:creator>
      <dc:date>2013-03-23T00:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Card Present PHP SDK BUG</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/33733#M18237</link>
      <description>&lt;DIV id="ColorBandedcontent" style="position: relative; padding-bottom: 0px; padding-left: 3px; padding-right: 3px; clear: both; padding-top: 0px;"&gt;
&lt;DIV id="imcontent" style="margin-left: 12px;"&gt;
&lt;DIV style="font-family: MS Shell Dlg 2; direction: ltr; color: #000000; font-size: 9pt;"&gt;Hi,&lt;/DIV&gt;
&lt;DIV style="font-family: MS Shell Dlg 2; direction: ltr; color: #000000; font-size: 9pt;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="font-family: MS Shell Dlg 2; direction: ltr; color: #000000; font-size: 9pt;"&gt;Thank you for bringing this to our attention, we tested this and have reproduced the error. We'll pass it to our developers for review.&lt;/DIV&gt;
&lt;DIV style="font-family: MS Shell Dlg 2; direction: ltr; color: #000000; font-size: 9pt;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="font-family: MS Shell Dlg 2; direction: ltr; color: #000000; font-size: 9pt;"&gt;Thanks,&lt;/DIV&gt;
&lt;DIV style="font-family: MS Shell Dlg 2; direction: ltr; color: #000000; font-size: 9pt;"&gt;Joy&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Mar 2013 22:07:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/33733#M18237</guid>
      <dc:creator>Joy</dc:creator>
      <dc:date>2013-03-27T22:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Card Present PHP SDK BUG</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/39632#M21588</link>
      <description>&lt;P&gt;I am getting these errors too. It's been a year, isn't this important?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Undefined property: AuthorizeNetCP::$_custom_fields in .\anet_php_sdk\lib\AuthorizeNetCP.php on line 86&lt;BR /&gt;Undefined offset: 22 in .\anet_php_sdk\lib\AuthorizeNetCP.php on line 177&lt;BR /&gt;Undefined offset: 23 in .\anet_php_sdk\lib\AuthorizeNetCP.php on line 178&lt;BR /&gt;Undefined offset: 24 in .\anet_php_sdk\lib\AuthorizeNetCP.php on line 179&lt;BR /&gt;Undefined offset: 25 in .\anet_php_sdk\lib\AuthorizeNetCP.php on line 180&lt;BR /&gt;Undefined property: AuthorizeNetCP_Response::$error_message in .\jsi_sync_mgdc.php on line 1641&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 11:17:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/39632#M21588</guid>
      <dc:creator>tdietsche9</dc:creator>
      <dc:date>2014-03-06T11:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Card Present PHP SDK BUG</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/39638#M21591</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/15354"&gt;@tdietsche9&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I've reported your issue to the product team for analysis.&lt;BR /&gt;&lt;BR /&gt;I'd recommend subscribing to this topic so that you'll be alerted via email if there are updates. To subscribe, click &lt;STRONG&gt;Topic Options&lt;/STRONG&gt; at the top of this thread and then select &lt;STRONG&gt;Subscribe&lt;/STRONG&gt;. You'll then receive an email once anyone replies to your post.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 14:06:07 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/39638#M21591</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2014-03-06T14:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Card Present PHP SDK BUG</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/40178#M21854</link>
      <description>&lt;P&gt;This issue is now resolved in version 1.8.0. &amp;nbsp;You may obtain the latest version of the sdk from Github: &amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sdk-php" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-php&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 13:37:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/40178#M21854</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2014-04-02T13:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Card Present PHP SDK BUG</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/40214#M21869</link>
      <description>&lt;P&gt;Thanks for the fast turnaround on fixing this. Appreciate it.&lt;/P&gt;&lt;P&gt;Tom Dietsche&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 22:05:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/40214#M21869</guid>
      <dc:creator>tdietsche9</dc:creator>
      <dc:date>2014-04-02T22:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Card Present PHP SDK BUG</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/40220#M21872</link>
      <description>&lt;P&gt;Comparing the new and old AuthorizeNetCP.php files shows that only the&lt;/P&gt;&lt;P&gt;"undefined offset" errors were fixed. The "undefined property" error was NOT fixed.&lt;/P&gt;&lt;P&gt;It doesn't define a class property for _custom_fields (like AuthorizeNetAIM.php does).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added this code after line 50 and it seems to prevent this php error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Only used if merchant wants to send custom fields.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private $_custom_fields = array();&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2014 06:38:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/40220#M21872</guid>
      <dc:creator>tdietsche9</dc:creator>
      <dc:date>2014-04-03T06:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Card Present PHP SDK BUG</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/40222#M21873</link>
      <description>&lt;P&gt;Also, the "error_message" property is only defined and returned if there IS an error.&lt;/P&gt;&lt;P&gt;It would be better if it always returned a value (empty string if trx is approved, otherwise an error message string). I fixed my script to only obtain the value of this response property if there was an error, not always.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2014 06:41:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/40222#M21873</guid>
      <dc:creator>tdietsche9</dc:creator>
      <dc:date>2014-04-03T06:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Card Present PHP SDK BUG</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/40234#M21879</link>
      <description>&lt;P&gt;Hello &amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/15354"&gt;@tdietsche9&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for letting us know. &amp;nbsp;I've logged an issue in GitHub&amp;nbsp;to track your request:&amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sdk-php/issues/9&amp;nbsp;" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-php/issues/9&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are also welcome in the future to go ahead and log issues right there too.&amp;nbsp; You can even submit your fix for our review and inclusion:&amp;nbsp; &lt;A href="https://help.github.com/articles/using-pull-requests" target="_blank"&gt;https://help.github.com/articles/using-pull-requests&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2014 15:28:46 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Card-Present-PHP-SDK-BUG/m-p/40234#M21879</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2014-04-03T15:28:46Z</dc:date>
    </item>
  </channel>
</rss>

