Razorpay Payment Links for WooCommerce source code

By KnitPay, on WordPress.org since 2020. 900+ active installs.

Browse code Download zip

Razorpay Payment Links for WooCommerce This is the Razorpay Payment Gateway plugin for WooCommerce based on Razorpay Payment Links. Below is its source code for every one of its 35 releases, what changed in the latest one, and how often it ships.

What changed in 2.4.0

Released Nov 2, 2026, 1 week after 2.3.1
  • Fix: Stale payment links are now invalidated when an unpaid order’s amount changes, and the payment link amount is verified when a payment is received – payments made through an outdated link are not processed automatically and are left for manual review.
  • Improvement: Increased the API request timeout and added automatic access-token refresh with retry on authentication failures, for better compatibility with slow servers.
  • Improvement: The Razorpay webhook is now also subscribed to the “payment_link.paid” event, to support payment verification improvements in upcoming releases.
  • Improvement: The webhook secret is generated automatically when the secret field is left empty.
  • Improvement: The Legacy API option is now shown only to existing installations that already use it; new installations use the Standard API.

10 files changed since 2.3.1: 10 modified, 0 added, 0 removed.

Compare 2.3.1 with 2.4.0

Release history

35 releases since January 2020
  1. 2.4.0 Nov 2, 2026 Fix: Stale payment links are now invalidated when an unpaid order’s amount changes, and the payment link amount is verified when a payment is received – payments made through an outdated link are not processed automatically and are left for manual review.
  2. 2.3.1 Oct 23, 2026 NEW: The Affordability Widget settings page and verification notice explain that the widget does not work with Test Mode; Razorpay provides no EMI/Pay Later/Offer data for test accounts.
  3. 2.3.0 Oct 22, 2026 NEW: Added Razorpay Affordability Widget feature on product pages with Offers, Card EMI, Cardless EMI and Pay Later options. The widget verifies feature availability on your Razorpay account and works with both OAuth and API key connections.
  4. 2.2.0 Sep 28, 2026 Security hardening in the OAuth connect flow.
  5. 2.1.5 Jun 18, 2026 Security: Hardened payment verification and order processing.
Full Razorpay Payment Links for WooCommerce changelog with diffs

Source of 2.4.0

17 files
Browse all Razorpay Payment Links for WooCommerce 2.4.0 files Browse trunk