Reading list Switch to dark mode

    CCAvenue Payment Gateway for Magento 2

    Updated 2 November 2022

    CCAvenue Payment Gateway is now available for Magento2. With the use of this module, admin can allow customers to pay through CCAvenue payment gateway.

    With the use of this payment gateway, customers can pay with different types of payment methods like Net Banking, Credit Card, Debit Card, IMPS transfer, etc.


    • The Customer can make payment with the use of credit cards.
    • Customers can make payment with the use of debit cards.
    • The Customer can make payment with the use of net banking.
    • Customers can make IMPS transfers.

    Installation of CCAvenue Payment Gateway for Magento2

    The installation of the module is easy. Under the module zip file, you will receive the src folder. Under the src folder, you can find the app folder. You just need to upload the app folder in the root directory of your Magento2.

    Move app folder

    Note: Before installing the module, the PHP Mcrypt Library must be installed and enabled.

    Searching for an experienced
    Magento 2 Company ?
    Find out More

    After the successful installation, you have to run these commands in the Magento2 root directory.

    First command- php bin/magento setup:upgrade

    CCAvenue Payment Gateway for Magento 2

    Second Command – php bin/magento setup:di:compile
    CCAvenue Payment Gateway for Magento 2

    Third Command – php bin/magento setup:static-content:deploy
    CCAvenue Payment Gateway for Magento 2

    After running the commands, you have to flush the cache from Magento admin panel by navigating through->System->Cache management as shown below.

    Installation Of Marketplace Aramex Shipping For Magento2

    Configuration of Multi-Lingual Support

    For the multilingual support, the admin will navigate through Store->Configuration->General ->Locale Options and select the locale as German (the language into which admin want to translate his store content).

    Language Translation

    If a user wants to translate their module from English to German then they need to follow the path app/code/Webkul/CCAvenue/i18n in their unzipped Magento Marketplace folder and

    Thereafter the user will get a CSV file with name “en_US.csv”. Now they will rename that CSV as “de_DE.csv” and translate all right side content after the comma in the German language.

    After editing the CSV, save it and then upload it to the path app/code/Webkul/CCAvenue/i18n where they have installed Magento2 on their server.

    The module will get translated in the German Language. It supports both the LTR and RTL languages.CCAvenue Payment Gateway for Magento 2

    Module Configuration

    After installation of the module login to the admin section and navigate to Store->Configuration.

    From here admin can select Sales-> Payment Methods to configure the CCAvenue payment method as per the below image.CCAvenue Payment Gateway for Magento 2

    Here, the admin will-

    • Enabled: enable/disable the payment method.
    • Title: enter the payment title which will be visible at the front-end.
    • Environment: set the payment mode as either sandbox or production.
    • Merchant ID: enter the merchant id of the CC Avenue.
    • Access Code: Here, enter the access code of CC Avenue.
    • Encryption Key: enter the encryption key of the CC Avenue.
    • Payment for Applicable Countries: select the countries for which this payment method will be applicable.
    • Minimum Order Total: enter the minimum transaction amount above which this payment method will get enabled.
    • Maximum Order Total: enter the maximum transaction amount above which this payment method will get disabled.
    • Sort Order: set the sort order of the payment method.

    How can an admin receive the Merchant ID, Access code, and Encryption Key?

    An admin needs to signup for CCAvenue merchant account by visiting following link

    Once the admin has registered and approved as a merchant by CCAvenue they can fetch the merchant ID, access code and encryption key from their account.

    How Customers Can Use CCAvenue Payment Gateway

    A customer can log in to their account and add products to their cart. After that, they can process checkout and select the CCAvenue payment method as a payment method.


    After clicking on the place order button the customer will be redirected to the CCAvenue page. From here customers can enter the billing information and make the payment.

    If the Sandbox mode is active then customers can only see the “Net Banking” payment method.


    If the live mode is active then customers can see all the available payment method and can make the payment from any of the payment methods they want.


    After that customers can check the payment method in their invoice.

    NOTE: Whenever a customer will go back from the Payment Gateway Page without making a payment, the cart will be empty as a pending payment order status and the order will get created in Magento 2 website.


    That’s all for the CCAvenue Payment Gateway for Magento2 module still have any issue feel free to add a ticket and let us know your views to make the module better at

    Current Product Version - 4.0.1

    Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


  • Raj Mehta
    I got an error in the Magento2 module

    File Path: app/code/Infibeam/Ccavenue/Controller/Standard/Redirect.php

    Line number: 53 & 54

    Please check.

    • Neelesh Singh (Moderator)
      Hello There,
      If you are facing any issue with the module, please email us at [email protected] and we will assist you accordingly.
      Thank You
      Webkul Team
  • Kinjalkumar
    Whenever a customer will go back from the Payment Gateway Page without making a payment, the order status remain pending instead of pending payment. Can you fix it?
    • Subhangi (Moderator)


      This can be done via customization (a paid service). For that, you can mail us at [email protected].


      Webkul Team.

  • Akhil
    Does it works with M 2.3.6? Because mcrypt is deprecated from 2.3.5.


    • Subhangi (Moderator)

      Hello Akhil,

      mcrypt can be installed manually.


      Webkul Team.

  • Akshay
    Do you have a CCAvenue iFrame checkout module for Magento 2.3.3
    • Subhangi (Moderator)
      Hello Akshay,

      With the help of this module, we are redirecting the customers to the CCAvenue website for making the payment.
      For more queries, you can mail us at [email protected].

      Webkul Team.

      • Akshay
        Hi Subhangi,
        We did reach out to the Webkul support team and we where told that this is not a iFrame checkout. Can you please help us by telling the difference between Webkul CCAvenue extension and CCAvenue own extension(Offered by CCAvenue for free).?
        • Subhangi (Moderator)

          Hello Akshay,

          We provide the web checkout method in this module as of now as informed earlier as well. If you want to have iFrame checkout then we can do it under customization service. You can contact our sales team in detail at [email protected].

          We can not confirm with you about the CCAvenue own extension as we are not aware of the same whether it’s provided by CCAvenue or not. 


          Webkul Team.

  • Ranjith K S
    we have purchases this module – ccavenue integration extension of webkul. But after integrating the same we couldn’t process manual orders. Pls suggest a solution. This feature is essential for our business
    • Goldy Bhargava (Moderator)
      Dear Customer,

      Kindly email us at [email protected] with all the issues you are facing so we can assist you out faster and better.


      Team Webkul

  • Anas KP
    This payment method can use for create a backend order(I mean order from admin panel)?
    • Subhangi (Moderator)
      Hello Anas,

      This feature is not available in the module. But it can be done via customization. For that, please email us at [email protected].

      Thank You.

  • Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content