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.


If you need any further support, please feel free to contact us.

We'd like to help.