Question

I have installed the CoinGage_Merchant module in Magento 2.3 setup but when I fire di:compile command it is showing below error. I set the generated folder permission 777 before compile command but still, it is giving an error.

Class CoinGate\Merchant does not exist
Class CoinGate\Merchant\Model\Payment\Interceptor generation error: The requested class did not generate properly, because the 'generated'
directory permission is read-only. If --- after running the 'bin/magento setup:di:compile' CLI command when the 'generated' directory permission is set to write --- the requested class did not generate properly, then you must add the generated class object to the signature of the related construct method, only.

Does anyone has any idea, please share.

How to solve this issue?

Was it helpful?

Solution

Please run below commands to fix this issue

composer require coingate/coingate-php
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:clean
php bin/magento cache:flush

Hope this will help you!

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top