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.
- Ensure you have the latest version of CS-Cart installed.
- Download the latest from the releases section. Unzip the repository.
- 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.
- Upload the rest of the plugin's contents to your CS-Cart Installation directory.
- The app folder's content goes into your CS-Cart Installation directory.
- The content of the design folder goes into the design folder in your CS-Cart Installation directory.
- Log in to CS-Cart as administrator.
- Navigate to Administration → Payment Methods.
- Add a new payment method.
- Select Razorpay from the list and then click Save. Select
cc_outside.tpl
for the template. - Navigate to the Configure tab.
- 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 that webhooks are enabled on your
. However, for versions lower than 1.4.0, you need to .You can track the payment status from the Razorpay Dashboard or poll our APIs.
- Log in to the and navigate to Transactions → Payments.
- Check if a
payment_ID
has been generated and note the status. In case of a successful payment, the status is marked ascaptured
.
to check the payment status.
Step 2:
Is this integration guide useful?
build integration
cs cart
installation
payment gateway