Razorpay for WooCommerce


Allows you to accept credit cards, debit cards, netbanking, wallet, and UPI payments in India and FPX, eWallets, Duitnow in Malaysia.

This is the official Razorpay payment gateway plugin for WooCommerce. A system designed to handle end-to-end payments. Accept payments via 100+ payment modes – domestic & international credit & debit cards, EMIs, paylater, net banking, UPI & mobile wallets including JioMoney, Mobikwik, Airtel Money, FreeCharge, Ola Money and PayZapp in India, and FPX, Duitnow and eWallets including GrabPay, Touch N Go, Boost in Malaysia, with the WooCommerce plugin.
Get a feature-filled and easy to integrate checkout with cards (Visa, MasterCard, American Express, UnionPay etc) saved across businesses so that customers can pay seamlessly everywhere, both domestic and international. This plugin allows for refunds, works across all browsers, and is compatible with the latest WooCommerce. Boost conversions with international customers paying in their local currency. Keep your data safe with robust security that comes with PCI DSS Level 1 compliance.

This is compatible with WooCommerce>=4.0, including the new 8.0 release. It has been tested up to the 8.0.3 WooCommerce release.


  • Get started in minutes with seamless onboarding – Razorpay registration link via 100% digital KYC for Indian businesses and easy onboarding for Malaysia businesses

  • Boost customer conversions with superior checkout experience on fast-growing UPI in India and Duitnow in Malaysia

  • Enjoy industry leading success rate & avoid drop offs with seamless payment flow

  • Razorpay has no setup fees, no monthly fees, no hidden costs: you only get charged when you earn money! Earnings are transferred to your bank account as per settlement cycle.

  • Razorpay supports the WooCommerce Subscriptions extension via Razorpay Subscriptions Plugin for WooCommerce and When a customer pays for a subscription item, you can accept recurring payments for the same on your WooCommerce-enabled WordPress site.

  • Razorpay has Affordability Widget to spread awareness about the affordability-based payment options before they reach checkout. You can integrate Razorpay Affordability Widget with your WooCommerce website to influence your customer’s purchase decisions before they reach checkout by displaying various affordable payment options and offers.

Razorpay is available for Store Owners and Merchants in
– India
– Malaysia


  1. WordPress v3.9.2 and later
  2. Woocommerce v4.0 and later
  3. PHP v5.6.0 and later
  4. php-curl extension


  1. Visit the WooCommerce settings page, and click on the Checkout/Payment Gateways tab.
  2. Click on Razorpay to edit the settings. If you do not see Razorpay in the list at the top of the screen make sure you have activated the plugin in the WordPress Plugin Manager.
  3. Enable the Payment Method, name it Credit Card / Debit Card / Internet Banking (this will show up on the payment page your customer sees), add in your Key id and Key Secret.
  4. The Payment Action should be set to „Authorize and Capture“. If you want to capture payments manually from the Dashboard after manual verification, set it to „Authorize“.


Visit razorpay.com for support requests.


The Razorpay WooCommerce plugin is released under the GPLv2 license, same as that
of WordPress. See the LICENSE file for the complete LICENSE text.


  • Razorpay Payment Gateway for WooCommerce API keys.
  • Razorpay Payment Gateway for WooCommerce Plugin settings.
  • Razorpay Payment Gateway for WooCommerce Plugin Payments checkout.


  1. Install the plugin from the WordPress Plugin Directory.
  2. To use this plugin correctly, you need to be able to make network requests. Please make sure that you have the php-curl extension installed.


Where can I find Razorpay documentation for Razorpay WooCommerce plugin?

For help setting up and configuring, please refer to our documentation.

Does Razorpay for WooCommerce support webhooks?

Yes, please see https://github.com/razorpay/razorpay-woocommerce/wiki/Webhooks for more details

Does Razorpay for WooCommerce support both production mode and test / sandbox mode for testing?

Yes, it does – production and Test (sandbox) mode is driven by the API keys you use with a checkbox in the admin settings to toggle between both.

How do I enable Multi-currency support or Accept payments in international currencies

You can accept International payments from your customers in more than 100 foreign currencies using our Payment Gateway. Please get multi-currency enabled for your account. Once you have it enabled, you can install any plugin
version higher than 2.0.0, which comes with native multi-currency support.

How can I exclude Draft orders from WooCommerce analytics reports?

Please follow the below steps:
1. Click on the ‘Analytics’ settings in the WooCommerce dashboard menu.
2. Go to the ‘Excluded statuses’ section and select the checkbox for ‘Draft’ orders under the ‘Unregistered statuses’ section.

Does this support recurring payments / subscriptions?

Yes. WooCommerce Subscriptions extension and Razorpay Subscriptions Plugin for WooCommerce installed along with Razorpay WooCommerce plugin will support subscription on your WooCommerce supported WordPress website


24. awgusta 2023
Dear Razorpay Payments Gateway Plugin Team, I hope this message finds you well. I am reaching out to you as a dedicated WordPress developer who has been utilizing the Razorpay Payments Gateway Plugin for my clients‘ websites. I am incredibly satisfied with the functionality and ease of use provided by your plugin. However, I have recently come across a need for an essential update to enhance the user experience and improve the overall compatibility of the plugin with the latest WordPress features. I am writing this support request to kindly ask if you could consider updating the Razorpay Payments Gateway Plugin to support the Block Cart and Checkout modules. These modules have become integral components of modern WordPress websites, offering enhanced visual editing and user-friendly customization options. By incorporating support for these modules into your plugin, you would greatly contribute to streamlining the payment process and making it more efficient for both website owners and their customers. The Block Cart module allows website owners to create visually appealing and dynamic shopping carts using the WordPress block editor. It offers greater flexibility in terms of design and customization, allowing for a seamless integration of the payment gateway within the cart itself. By enabling compatibility with the Block Cart module, your plugin would empower users to create stunning and user-friendly shopping experiences that drive conversions. Similarly, the Checkout module enhances the checkout process by providing a visually appealing and intuitive interface. With this module, website owners can customize the checkout page, improving the overall user experience and reducing cart abandonment rates. By updating the Razorpay Payments Gateway Plugin to support the Checkout module, you would enable website owners to offer a consistent and visually engaging payment experience throughout the entire transaction process. I believe that incorporating support for the Block Cart and Checkout modules in the Razorpay Payments Gateway Plugin would greatly benefit your users and contribute to the success of their online businesses. As a WordPress developer, I have seen the increasing adoption of these modules across various industries, and it would be wonderful to have them seamlessly integrated with your plugin. Thank you for considering my request. I genuinely appreciate the effort and dedication your team puts into maintaining and improving the Razorpay Payments Gateway Plugin. I look forward to the possibility of an update that includes support for the Block Cart and Checkout modules, allowing for a more streamlined and visually engaging payment experience. Should you require any further information or assistance, please feel free to reach out to me. I would be more than happy to provide any additional insights or collaborate with your team to ensure a successful integration. Thank you once again for your attention to this matter. I eagerly anticipate your positive response and the potential for an updated version of the Razorpay Payments Gateway Plugin that supports the Block Cart and Checkout modules.
4. awgusta 2023
Really pathetic. Updating plugin to 4.5.4 crashed the website. We’ve been facing a lot of issues with the Razorpay Woocommerce Subscriptions plugin already because of sloppy and not well-thought after development. Faced bad support experience when trying to resolve that for over 1 month. And now this. Note to Razorpay management: Guys hire at least 1 full-time experienced WordPress developer. One person should be enough to maintain your WordPress plugins.
26. julija 2023
Out of different payment gateway on our site we receive very-very small payment through this Gateway.. Anyways with recent interaction they started demanding absurd details to be posted on all our website. Their responses are arrogant. We are disabling this payment gateway, since we don’t want our clients money to get stuck. If these guys suddenly stop releasing the payment and implement some absurd rule as they are doing it right now…
25. junija 2022
Last few months there has been a barrage of updates but tested on the old versions of WordPress and Woocommerce. Since both WP & Woo has received massive changes, releasing updates tested on an older version is not ethically suitable for a Payment Gateway Service.
1. apryla 2022
im waiting from last 3 months to activate my account … but my account still under review. i losed lots of customers bcz of this poor plugin and support team … when i try to contact them i got an email for some Clarifications and when i reply i got this email – Thank you for your email. This is a non-monitored email id. every payment fail don’t use this ….
Read all 20 reviews

Sobustatkujuce a wuwijarje

„Razorpay for WooCommerce“ jo software wótwórjonego žrědła. Slědujuce luźe su pśinosowali k toś tomu tykacoju.




  • Fixed, Reduced 1cc preferences API features check.


  • Added, UT fixes.
  • Fixed, Reduced 1cc preferences API calls.
  • ( Bug present, for 1cc settings, please use 4.6.7)


  • Added, UT to SVN ignore list.


  • Reverted, Magic checkout banner on woocommerce dashboard.


  • Added, Magic checkout banner on woocommerce dashboard.
  • Reverted, Instand Refund.


  • Fixed, Subscription events webhook bug.
  • Fixed, console errors due to instrumentation.
  • Added Shipping Method Name for Shipping Engine support.


  • Added support for Checkout Blocks on Woocommerce.
  • Added instant refund with fallback.
  • Removed RTB widget ineligibility message.
  • Fixed RTB widget eligibility check.


  • Support for Tera Wallet.
  • Added RTB widget.


  • Plugin name and description updated.


  • Bug fix, plugin not activating in php 7.0.
  • Add option fix for 1cc address pull cron job script.
  • Webhook conflict error message as info


  • Added nonce and user capability check for route
  • Blocked currencies KWD, OMR, BHD.


  • Added productId for advance cod support
  • Updated Razorpay SDK to 2.8.7


  • wordpress security issue fix
  • Bug fix, order status issue


  • Add compatibility with WooCommerce 7.9 HPOS
  • Bug fix, city restriction for smart cod
    Note: Razorpay woocommerce plugin v4.5.4 only supports Razorpay Subcriptions for woocommerce >= 2.3.6


  • New feature to send payment-links for COD orders with added discounts
  • Added Razorpay prepaid offers
  • Razorpay payment icon change


  • Bug fix, One cc cron db update fix for php v8.2
  • Bug fix, remove duplicate order creation
  • Updated Razorpay SDK to 2.8.5


  • Bug fix, typed params, 1cc_enabled flag check


  • Bug fix, missing condition for data of array type.
  • Bug fix, for optional params.


  • Bug fix, missing price level in lineitems.
  • Bug fix, same orderid for different customer.
  • Bug fix, new version of smart coupon plugin.
  • Fixed magic latency issue.


  • Bug fix, parameter missing in shipping call.


  • Bug fix, razorpay cart response function.


  • Bug fix, razorpay routes calling private function.
  • Changed, default mode set to live for affordability widget.
  • Disable coupon feature for dynamic price plugin.
  • Fixed product category smart cod issue.
  • Conditional and shipping plugin coupon restriction.
  • Support for yith abandoned recovery plugin.
  • Support gift card for pw and yith gift card.
  • Support for Caddy and Xootix sidecarts.


  • Fixed, multiple webhook API calls.
  • Added, subscription.charged webhook event.
  • Updated, plugin activation and deactivation hooks.
  • Electro mobile button support added.
  • Minicart and spinner issue fix.
  • Abandoned cart hooks support
  • GSTIN and Order Instructions support
  • Build support for yith abandoned recovery plugin
  • Tested up to WordPress 6.1.1


  • Fixed, Api calls for affordability widget being made from product page.
  • Removed, checkbox to enable affordability widget.


  • Added, checkbox to enable affordability widget.
  • Fixed, Api call being made from all pages for features.


  • Added, support for variable products.
  • Removed, checkbox to enable affordability widget.
  • Added, Divi theme support.
  • Added, WATI plugin support.
  • Added, Flycart changes.


  • Fixed, automatic injection of affordability widget code.
  • Added, checkbox to enable affordability widget.


  • Added affordability widget.
  • Bug fix, Order properties cannot be accessed directly.
  • Added datalake changes.
  • Fixed recursive redirect issue.
  • Flycart plugin support
  • Mandatory fields check bug fix.
  • Auto cart-abandonment with timeout feature.
  • Multi-retargeting parallel support.


  • Bug fix for cart bounty plugin support issue in magic checkout.
  • Added mandatory store account creation feature for magic checkout.
  • Bug fix for sticky add to cart plugin support.
  • Magic checkout new script endpoint.
  • Added instrumentation
  • Added auto webhook log
  • Added validation for key and secret


  • Bug fix for jquery undefined issue.
  • Bug fix for duplicate wooc orderId and Razorpay ID form same carthash.
  • Bug fix for nonce issue


  • Bug fix for uft8 characters.


  • Added support for CartBounty plugin in magic checkout.
  • Added debug log config on native checkout flow.


  • Added delay of 5 minutes to webhook process.


  • Bug fix multiple shipping charges issue for magic checkout.


  • Bug fix cart line item char limit issue for magic checkout.
  • Bug fix callback issue in order placed through admin panel.


  • Bug fix cart line item int issue for magic checkout.


  • Added Cart line item for magic checkout.
  • Bug fix in COD min/max amount restriction for magic checkout.
  • Reduced the auto enable webhook verification time to 12 hours.


  • Bug fix for UTM data for pixel your site plugin for magic checkout.


  • Bug fix for blog name in magic checkout.


  • Bug fix webhook
  • Added meta info to magic checkout.


  • Added support for Pixel your site pro plugin in magic checkout.
  • Bug fix to handle the transient data.


  • Bug fix for webhook.


  • Bug fix for auto webhook.
  • Added supported subscription webhook events


  • Magic Checkout support for Klaviyo plugin.
  • Bug fix for warning message on place order and callback script.
  • Bug fix in smart cod support in magic checkout.


  • New webhook event i.e payment.pending has been added to handle the magic checkout COD orders


  • Bug fix for magic checkout blank order issue.


  • Feature Auto Enable webhook.
  • Bug fix for magic checkout mini cart refresh.
  • Bug fix for smart coupon auto apply coupon in magic checkout.
  • Tested up to Woocommerce 6.4.1


  • Bug fix in webhook.
  • Updated Razorpay SDK.
  • Tested up to Woocommerce 6.4.1


  • Bug fix for magic checkout blank orders.


  • Magic checkout COD intelligence config moved from wooc dashboard to razorpay dashboard.


  • Bug fix in admin config page for magic checkout


  • Fix the latency issue.
  • Bug fix in coupon fetch API.


  • Version bump to 3.2.0
  • Tested up to Woocommerce 6.2.2


  • Updated the preferences API call to 1cc_preferences call.


  • Support for Smart COD plugin in magic checkout.
  • Payment title update for magic checkout COD orders.
  • Bug fix for theme specific qty issue on magic checkout buy now checkout option.


  • Bug fix for Stock Management issue on magic checkout buy now option.
  • Bug fix for Cart page checkout style issue on magic checkout.
  • Optimize latency issue.
  • Bug fix for PG title missing on invoice for magic checkout.


  • Added Magic Checkout feature.


  • Bug fix for not reflecting an updated order success message.
  • Tested upto WordPress 5.9


  • Bug fix for session storage.


  • Bug fix for guest checkout thank you message in order summary page.


  • Updated Route module settings and added a note for creating reverse transfer.
  • Tested up to Woocommerce 5.9.0


  • Updated Razorpay SDK.
  • Added subscription webhook events.
  • Tested up to Woocommerce 5.9.0


  • Bug fix in custom woocommerce order number issue.
  • Tested up to Woocommerce 5.9.0


  • Added Route module to split payments and transfer funds to Linked accounts.
  • Tested up to Woocommerce 5.8.0


  • Bug fix in callback handler.
  • Tested up to Woocommerce 5.8.0


  • Bug fix in webhook.
  • Tested up to Woocommerce 5.5.1


  • Updated the Razorpay Order notes key from woocommerce_order_id to woocommerce_order_number.


  • Added auto-webhook setup feature.
  • Updates Razorpay SDK.
  • Tested upto WordPress 5.7.2 and WooCommerce 5.3.0


  • Updated wc order syntax.
  • Tested upto WordPress 5.7.1 and WooCommerce 5.2.2


  • Added RAZORPAY ORDER ID in checkout argument.
  • Tested upto WordPress 5.6.2 and WooCommerce 5.0.0


  • Added webhook for virtual account credited event.
  • Tested upto WordPress 5.6 and WooCommerce 4.6.1


  • Added support for „Pay by Cred“.
  • Tested upto WordPress 5.4.2 and WooCommerce 4.3.0


  • Updated logo from CDN.
  • Tested upto WordPress 5.4.2 and WooCommerce 4.3.0


  • Bug fix for partial refund shown twice.
  • Bug fix for wc-api redirection after payment completed
  • Tested upto WordPress 5.4.1 and WooCommerce 4.1.1


  • Updated WordPress support version info


  • Added webhook for handling refund create and change order status
  • Bug fix for cart is reset if payment fails or is cancelled
  • Tested upto WordPress 5.2.4 and WooCommerce 3.7.1


  • Added RAZORPAY ORDER ID in order notes.
  • Tested upto WordPress 5.2.4 and WooCommerce 3.7.1


  • Bug fix for hosted checkout.
  • Tested upto WordPress 5.2.4 and WooCommerce 3.7.1


  • Support for hosted checkout.
  • Tested upto WordPress 5.2.4 and WooCommerce 3.7.1


  • Adds webhook for handling subscription cancellation.
  • Tested upto WordPress 5.2.2 and WooCommerce 3.7.0


  • Fixed bug for razorpay orderID validation.
  • Adds support for razorpay Analytics
  • Tested upto WordPress 5.2.2 and WooCommerce 3.6.5


  • Removes support for WooCommerce Currency Convertor
  • Switches to Razorpay’s Native Multi-Currency support
  • Adds support for Price Based on Country Plugin
  • Tested upto WordPress 5.2-RC1 and WooCommerce 3.6.2
  • Release uploaded as 2.0.1 on the WordPress Plugin Directory.


  • Allows for null values in displayAmount
  • Better support for international currency conversion
  • Support for custom order success message


  • Fixes webhook capture flow by re-fetching payment and checking for status


  • Fixes payment title/description in WC Checkout page.
  • Adds WooCommerce version tested in the plugin metadata


  • Adds Razorpay Subscriptions plugin support.
  • Code cleanup.


  • Webhooks are now disabled by default (#52)


  • Fixed an issue with some websites „Pay now“ button click not working. (#50)


  • Fixes backward compatibilty with older WooCommerce releases. (#49)



  • Webhooks signature verification fix


  • Added webhooks to the plugin (includes/razorpay-webhook.php) (#18)


  • Added missing classes in the WordPress release (Utility.php was missing)


  • Added Support for WooCommerce 3.x (#35)
  • Fixes around discount coupon handling (Order Amount mismatch)
  • Updates Razorpay SDK
  • Improves Javascript Caching (#39)
  • Adds support for mobile browsers (#37🙂
    • Chrome on iOS
    • Facebook Browser
    • Internet Explorer Mobile
    • AOSP Browser
    • Opera Mini
    • Google Search App
    • Any other apps using webviews
  • Adds support for refunding payments from within WooCommerce


  • Fixes a Notice about WC_Shortcode_Checkout->output being deprecated
  • PR: #28


  • Improves Session management
  • Diff: https://git.io/vHVBM


  • Shifts to the official Razorpay SDK
  • Shifts to the Razorpay Orders API. Allows for auto-capturing and improves success rates
  • WordPress Versions >=3.9.2 only are supported


  • Fixes issues with Safari and Internet Explorer


  • Improves error handling in case customer clicks on cancel.
  • Orders are now marked as failed if customer clicks cancel
  • Note is added to the order mentioning that the customer cancelled the order.


  • Fixed error handling and capture call


  • Disables buttons while payment is in progress
  • Refactors error message display


  • Redirects customer to order details page, as per WooCommerce guidelines.


  • Adds manual capture option