1. Build Integration

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


Follow the steps 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 from the releases section. Unzip the repository.
  3. Run the install.razorpay.sql file, which 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 plugin's contents to your CS-Cart Installation directory.
    1. The app folder's content goes into your CS-Cart Installation directory.
    2. The content of the design folder goes into the design folder in your CS-Cart Installation directory.

  1. Log in to 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 your [KEY_ID] and [KEY_SECRET] generated from the .

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

. However, for versions lower than 1.4.0, you need to .


Is this integration guide useful?