Issue:
After installing the module Auto Invoice extension on M2.2.3 getting the error "[ReflectionException] Class Magento\Paypal\Model\Adminhtml\Express does not exist" while commands run.
How to fix this issue?
Solution:
Since the Paypal Express is not used on M2.2.x so the module is not compatible with M2.2.x at this time.
To solve the issue, we have removed the Paypal Express class.
Please follow our guide as below:
+ Delete .gitignore file
+ Add files:
Helper/AutoInvoice.php
Helper/Data.php
Helper/Payment/Data.php
Model/Config/Source/Allmethods.php
Model/Config/Source/Capture.php
Model/Observer/AutoInvoice.php
Model/Observer/PaypalExpressPlaceSuccessObserver.php.bk
composer.json
etc/acl.xml
etc/adminhtml/system.xml
etc/events.xml
etc/module.xml
registration.php
Please apply the hot-fix package on the site to solve the problem.
Get to know us
BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.
Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.
Discover our extensions: https://bsscommerce.com/magento-2-extensions.html
Our Magento B2B Extension by BSS Commerce is a flagship, widely used global solution, providing an all-in-one system for pricing, account management, and efficient B2B workflows.
If you need any further support, please feel free to contact us.
We'd like to help.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article