This extension utilizes Razorpay API and provides seamless integration with OpenCart, allowing payments for Indian merchants via Credit Cards, Debit Cards, Net Banking, Wallets, etc. without redirecting away from the OpenCart site.
Copy all files/folders recursively to opencart installation directory.
Go to Admin Panel, Extensions->Payments and install the Razorpay gateway extension.
Click on Edit next to Razorpay and do the following:
- Add your Razorpay Key Id
- Add your Razorpay Key Secret
- Change plugin status to Enabled
Save the plugin settings
- Download Razorpay Payment gateway extension from Opencart
- Login to the OpenCart Admin Panel
- Navigate to Extensions -> Installer and click on button Upload and choose the zip file razorpay.ocmod.zip
- Click install on same page
- Navigate to Extensions -> Payments and click install on Razorpay
- After installing, click on Edit
- Enable the extension and set the Razorpay Key Id and Secret.
- Please make sure that you have Webhooks setup on the Razorpay Dashboard to ensure that recurring payments are marked as paid on Opencart.
- This extension supports the following webhook events:
- payment.authorized
- payment.failed
- order.paid
While installing the Razorpay plugin to Opencart 4 make sure to only have these folders/files and no hidden files in your zip folder:
admin/
catalog/
system/
install.json
- The
master
branch holds the plugin for OpenCart 4 - The
master-opencart3
branch holds the plugin for OpenCart 3 - The
opencart-2.x
branch holds the plugin for Opencart 2 - The
opencart1.5
branch holds the plugin for Opencart 1.5 - Tags are in either of these three series:
opencart3-x.y.z
oropencart2-x.y.z
oropencart1.5-1.x.y
- Subscription is available with Opencart 3 and Opencart 4
- Opencart 3 and Opencart 4 latest versions support PHP 8
Visit https://razorpay.com for support requests or email contact@razorpay.com.