First, login as admin, and go in Setting. Go in the Finances tab, and make sure Tool used for subscriptions is RazorPay.

Create your account on https://razorpay.com/

Then get your API Key, API Secret and WebHook secret.

Enter them in Settings → Apps & Plugins → Razorpay subscription configuration

Create your plans

And enter the RazorPay Plan id for the appropriate plan.

Once this is done, you need to setup web hook in RazorPay

Your web hook is

<aside> 🌐 https://yourwebsite.com/razorpaysubscribe/webhook

</aside>