I am trying to integrate Ccavenuepay on my store, but when I click place order its giving me errors like

a:4:{i:0;s:60:"Class Magekmf\CcavenuepayEmi\Model\Cbdom_main does not exist";i:1;s:7558:"#0 /home/dell/workspace/local.magento2/public/vendor/magento/framework/ObjectManager/Definition/Runtime.php(44): Magento\Framework\Code\Reader\ClassReader->getConstructor('Magekmf\\Ccavenu...')

enter image description here

I have created Cbdom_main.php class as well but error does not resolve. Please help

1 Answer 1


Change your class name Cbdom_main to CbdomMain. And modify where you use this inside your development.

  • It's not working for me!
    – AjayKr
    Apr 8, 2020 at 13:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.