1. Build Integration

Steps to integrate your CS-Cart website with Razorpay Payment Gateway.

Follow the steps given below to integrate Razorpay Payment Gateway with your CS-Cart website.


  1. Ensure you have the latest version of CS-Cart installed.
  2. Download the latest Source code zip file from the releases section. Unzip the repository.
  3. Run the install.razorpay.sql file, that can be found inside the unzipped package, against your CS-Cart database. To do this you can either:
    • Use phpMyAdmin to import the file into your CS-Cart database.
    • Copy and paste the content and run it directly in your MySQL shell.
  4. Upload the rest of the contents of the plugin to your CS-Cart Installation directory.
    1. Content of app folder goes in app folder in your CS-Cart Installation directory.
    2. Content of design folder goes in the design folder in your CS-Cart Installation directory.


  1. Log into CS-Cart as administrator.
  2. Navigate to AdministrationPayment Methods.
  3. Add a new payment method.
  4. Select Razorpay from the list and then click Save. Select cc_outside.tpl for the template.
  5. Navigate to the Configure tab.
  6. Add in your [KEY_ID] and [KEY_SECRET] generated from the Razorpay Dashboard.

Handy Tips
Webhook is auto-configured when you enter and save the API key ID and secret on the plugin settings page. You need to verify if webhooks are enabled on your Razorpay Dashboard. However, for versions lower than 1.4.0, you need to configure webhooks manually.