Using PHP8.3 with PHP-SDK from Authorize.net leads to several deprecation notices:
Calling get_class() without arguments is deprecated
There are several locations in the SDK that this declaration is made $classDetails = $mapper->getClass(get_class() , $key);
Simply updating the get_class()
to get_class($this)
will resolve the deprecation notice. These changes have been made to v2.0.5 and the SDK is now compatible with PHP8.3.
You can see the differences at 2df164fea58e91a956e744553e8e129d6be39f4c