This guide installs SutraPay for Razorpay on your WooCommerce store and connects it to your Razorpay account. Use test (sandbox) mode first, then switch to live.
Before you start #
- WordPress 6.4 or later and PHP 7.4 or later.
- WooCommerce installed and active.
- A Razorpay account with API access.
Install and connect #
- Install and activate the plugin (WooCommerce must be active).
- Go to WooCommerce > SutraPay for Razorpay and open Settings. Enter your Razorpay Test and Live API keys (Razorpay Dashboard > Account & Settings > API Keys), save, and use Test connection.
- In the Razorpay Dashboard, add a webhook with the URL shown under Webhooks, set a secret, select the listed events, and paste the same secret into Webhook Secret in Settings.
- For subscriptions: Razorpay Subscriptions must be enabled on your Razorpay account.
Next steps #
See what SutraPay for Razorpay can do, or read the questions and answers. Download the plugin from its page.

