Integrate CCAvenue Payment Gateway in PHP

CCAvenue payment gateway is a most popular payment gateway which provides the best way of ecommerce solutions. It is only and complete payment gateway in India which allows e-merchants to process their transactions from Credit card,Netbbanking,Debit card and Online Bank Account etc.

CCavenue is authorized by Indian financial institutions and one of the most secure payment gateway to transact money for an online shopping. It accepts and validates most of the online payments modes via Credit and Debit Card, Net banking,Debit Card and Mobile Payment from the end customers in a real-time.  It is simple to integrate in php.

Procedures to Integrate Cc Avenue Payment Gateway

  1. First need to create an account https://www.ccavenue.com/
  2. After registration CCAvenue team verify your account mobile and email.
  3. Your account will be activated within one to two hours.
  4. After that CCAvenue team verify your website and provide all required details like Marchant ID, Working Key etc.

Now need to create four files for CCAvenue Payment gateway integration first create form for that create a file index.php and copy below code and paste in it.


Then create a new file ccavRequestHandler.php and copy below code and paste it in just created file.

Please make sure don’t forget to change the working key and access code in above code.

Now create ccavResponseHandler.php and copy below code and paste it in your file

Please make sure don’t forget to change the working key in above code. then create crypto.php and copy below code and paste in crypto.php

 

All Done!!

7 Comments

Add a Comment

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