Prerequisite: In case you have not connected your Woo-Commerce store with Recurpay. Please follow this guide: https://help.recurpay.com/en/articles/5656929-how-to-connect-woocommerce-store-to-recurpay
Here is a step-by-step process to set up your WooCommerce plugin:
Step 1: Please download the latest version of the Recurpay plugin from here: https://wordpress.org/plugins/recurpay
Step 2: Log in on WooCommerce admin and go to: WooCommerce > Plugins > Add New > Upload Plugin
Step 3: Once the plugin is uploaded successfully fill up the input fields and click on Save.
Enable Recurpay Frontend - Mark it as checked to show the subscription button on your product pages.
Recurpay Direct Checkout - It is an optional field if you want your customers to redirect directly on recurpay checkout with the click of subscribe now button.
Recurpay Endpoint - Enter the recurpay admin panel URL. eg:
Checkout button class and Debug mode are the optional fields which you can keep it as it is.
Debug Mode - Debug mode should only be enabled for troubleshooting if the subscription button is not visible on your product pages and is only advisable if you are well versed with coding.