<?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: PHP 8 Support for AuthorizeNet/sdk-php in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-8-Support-for-AuthorizeNet-sdk-php/m-p/76676#M47920</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I am also encountering this issue. Dont know why its hapenning&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;regard &lt;A href="https://myinfo.pk/lesco-bill-online-duplicate/" target="_self"&gt;lesco bill&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 06 Jun 2021 19:41:53 GMT</pubDate>
    <dc:creator>michael525</dc:creator>
    <dc:date>2021-06-06T19:41:53Z</dc:date>
    <item>
      <title>PHP 8 Support for AuthorizeNet/sdk-php</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-8-Support-for-AuthorizeNet-sdk-php/m-p/75477#M47066</link>
      <description>&lt;P&gt;The official (version 2.0.1) Authorizenet/sdk-php on GitHub:&amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sdk-php" target="_blank" rel="noopener"&gt;https://github.com/AuthorizeNet/sdk-php&lt;/A&gt; is not compatible with PHP 8. The latest commit on February 4, 2020 does not address the error PHP Fatal Error. The issue report for PHP 8.0.x support can be found on &lt;A href="https://github.com/AuthorizeNet/sdk-php/issues/407" target="_self"&gt;https://github.com/AuthorizeNet/sdk-php/issues/407&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error Message using PHP 8:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;PHP Fatal error: Cannot use "parent" when current class scope has no parent in /home/****/project/vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/MerchantAuthenticationType.php on line 291&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;It looks like &lt;A href="https://github.com/markonikolicdir" target="_self"&gt;markonikolicdir&lt;/A&gt; has created a fork &lt;A href="https://github.com/AuthorizeNet/sdk-php/pull/408" target="_self"&gt;https://github.com/AuthorizeNet/sdk-php/pull/408&lt;/A&gt; to address the error caused by upgrading from 7.4.x to 8.x.x. It has yet to be merged to the master branch. I have not tested the fork.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also a script that can be run in the same folder as your composer.json file to address the error as proposed by &lt;A href="https://github.com/kkeith-adg" target="_self"&gt;kkeith-adg&lt;/A&gt;: &lt;A href="https://github.com/AuthorizeNet/sdk-php/issues/407#issuecomment-806344856" target="_self"&gt;https://github.com/AuthorizeNet/sdk-php/issues/407#issuecomment-806344856&lt;/A&gt;. I have not tested this script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like this has been an ongoing issue since PHP 8's release on November 26, 2020. Can someone from Authorize.net update the sdk package on &lt;A href="https://github.com/AuthorizeNet/sdk-php" target="_blank" rel="noopener"&gt;https://github.com/AuthorizeNet/sdk-php&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 15:22:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-8-Support-for-AuthorizeNet-sdk-php/m-p/75477#M47066</guid>
      <dc:creator>dblaze</dc:creator>
      <dc:date>2021-03-25T15:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: PHP 8 Support for AuthorizeNet/sdk-php</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-8-Support-for-AuthorizeNet-sdk-php/m-p/75569#M47132</link>
      <description>&lt;P&gt;These issues have been resolved as of March 2021 with the release of &lt;A title="March 2021 Release" href="https://github.com/AuthorizeNet/sdk-php/releases/tag/2.0.2" target="_blank" rel="noopener"&gt;2.0.2&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 20:48:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-8-Support-for-AuthorizeNet-sdk-php/m-p/75569#M47132</guid>
      <dc:creator>dblaze</dc:creator>
      <dc:date>2021-04-01T20:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: PHP 8 Support for AuthorizeNet/sdk-php</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-8-Support-for-AuthorizeNet-sdk-php/m-p/76676#M47920</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am also encountering this issue. Dont know why its hapenning&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;regard &lt;A href="https://myinfo.pk/lesco-bill-online-duplicate/" target="_self"&gt;lesco bill&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jun 2021 19:41:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-8-Support-for-AuthorizeNet-sdk-php/m-p/76676#M47920</guid>
      <dc:creator>michael525</dc:creator>
      <dc:date>2021-06-06T19:41:53Z</dc:date>
    </item>
  </channel>
</rss>

