Magento CCAvenue Payment Integration


How might I integrate CCavenue in Magento?

Best Solution

Hi hiren...

CCAVENUE team in india provides a magento module. Call them up and they email it to you for free. It works with Magento CE 1.6.2.

I have recently implemented it on my website.

It has a small bug with variable not defined which is easily sorted..

The process of integration is as follows:

Step1: Get module from CCAVENUE

Step2: Get your working key from CCAVENUE site. Keep your merchant id handy.

Step3: Open the module folder. Copy the folder Avenues to magento\app\code\core\Mage

Step4: From Module folder Copy the file Mage_Avenues .xml to magento\app\etc\modules

Step5: From module folder Copy the folder avenues to magento app\design\adminhtml\default\default\template

Step6: Open ..\app\code\core\Mage\avenues\controllers\StandardController.php and mention your working key in it.

Step7: Open ..\app\code\core\Mage\avenues\controllers\libfuncs.php goto line 56. function cdec, and add $dec = 0; within it before the loop. (this solves the variable not defined bug)

Step8: In Magento backend Refresh all cache and reindex all

Step9: In CCAVENUE backend setup redirect page.

Step10: SETTING IT UP IN MAGENTO: • Click on configuration, Click on payment methods, Select Cavenuepayment, Enter the merchant_Id, Enter the workingkey Save configuration

Now, this should successfully redirect you to success page wherein you can show order number etc. Login into the Magento backend and it will show the order details.

V IMP: In magento backend it will show REDIRECTED TO CCAVENUE and payment as pending/due. This will automatically change to payment received when you raise the invoice through Magento. This is how it works in MAgento. What is important is to log into your CCAVENUe account and check whether payment has been received there or not. Payment should show there. (orders usually take around 30 minutes to show up in CCAVENUE)

Hope this helps...

It helps to set permissions favourably. Allow read/write access to folders. Ive seen it also helps to HIDE php warnings for this module to work effectively.

Related Question