razorpay / razorpay-opencart

Razorpay Payment Extension for Opencart
17 stars 17 forks source link

Razorpay Payment Extension for Opencart

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.

Installation

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:

Save the plugin settings

Installation via Extension Installer

  1. Download Razorpay Payment gateway extension from Opencart
  2. Login to the OpenCart Admin Panel
  3. Navigate to Extensions -> Installer and click on button Upload and choose the zip file razorpay.ocmod.zip
  4. Click install on same page
  5. Navigate to Extensions -> Payments and click install on Razorpay
  6. After installing, click on Edit
  7. Enable the extension and set the Razorpay Key Id and Secret.
  8. Please make sure that you have Webhooks setup on the Razorpay Dashboard to ensure that recurring payments are marked as paid on Opencart.
  9. This extension supports the following webhook events:
    • payment.authorized
    • payment.failed
    • order.paid

Note:

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

Development

Support

Visit https://razorpay.com for support requests or email contact@razorpay.com.