Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrading from 1.9.9 to ^2.x having "className" not found during the class mapping #432

Open
localpath opened this issue Jun 3, 2022 · 0 comments

Comments

@localpath
Copy link

ErrorException: Attempt to read property "className" on null

/var/www/giving/vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/ARBSubscriptionType.php:295
/var/www/giving/vendor/authorizenet/authorizenet/lib/net/authorize/api/controller/base/ApiOperationBase.php:138
/var/www/giving/vendor/authorizenet/authorizenet/lib/net/authorize/api/controller/base/ApiOperationBase.php:104
/var/www/giving/app/Subscription.php:393

The only thing I see different in our code for setting up ARB is we're passing the OrderType class with

$orderInfo = new AnetAPI\OrderType();
$orderInfo->setInvoiceNumber($details['id']);

Thanks for any insight. The rest of the SDK seems to work with how we we're using it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant