Follow these steps to complete the integration:
To install Razorpay Subscriptions for OpenCart plugin:
Log into OpenCart.
Go to the Admin Panel → Extensions → Payments to install the Razorpay Payment Gateway extension.
Click the edit icon and fill in the following field details.
Enter the Key ID generated from the Razorpay Dashboard.
Enter the API Key Secret generated from the Razorpay Dashboard.
To automatically capture successful payments, select
Authorize and Captureoption in the dropdown menu. Select
Authorizeif you want to capture payments manually from the Razorpay Dashboard or using API.
Ensure the Subscription Status is enabled.
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.
Click Save to save the extension settings.
Go to Admin Panel → Extensions → Modifications and click the refresh button to rebuild your modification cache.
You can enable or disable plans only after creating them.
To create a Plan for Subscriptions product:
Go to the Admin Panel → Razorpay Subscription → Plans to add a new Plan.
Click Add new to create a new Plan.
Enter the required details and click Save to save the Plan.