plugin-icon

Lewebexy Partial COD with Razorpay for WooCommerce

Par lewebexy·
Collect a partial advance payment via Razorpay before confirming a Cash on Delivery order — reduce fake/failed COD orders.
Évaluations
Version
1.0.2
Mis à jour récemment
Jul 18, 2026

Lewebexy Partial COD with Razorpay for WooCommerce adds a new payment method at checkout that replaces plain Cash on Delivery. The customer pays a small advance online via Razorpay (UPI, cards, netbanking), and the remaining balance is collected as COD on delivery.

This helps store owners filter out fake or low-intent COD orders, since the customer has already made a real payment before the order is confirmed.

Key features

  • Fixed amount (₹) or percentage-based advance — admin’s choice
  • Advance amount automatically capped so it never exceeds the order total
  • Works on both the classic (shortcode) checkout and the WooCommerce Cart & Checkout blocks
  • Razorpay payment signature verified server-side before any order is confirmed — never trusts the browser alone
  • Advance paid / COD balance due clearly shown on the admin order screen, customer order emails, and the order-received / My Account order view
  • HPOS (High-Performance Order Storage) compatible

Requirements

  • WooCommerce
  • A Razorpay account (test or live API keys)

Support

For support or custom requirements, contact Le Webexy Pvt. Ltd. at https://lewebexy.com/

External services

This plugin requires a Razorpay account and connects to Razorpay (« Razorpay Software Private Limited ») to process the online advance payment. This is core functionality — without it, the plugin cannot collect the advance payment that the plugin exists to collect.

What the service is and what it’s used for: Razorpay is a payment gateway used to securely collect the advance payment amount from the customer at checkout (via UPI, card, or netbanking), and to verify that the payment was genuinely completed before the order is confirmed.

What data is sent, and when:

  • When a customer selects this payment method and proceeds to pay the advance, the plugin loads Razorpay’s checkout script from https://checkout.razorpay.com/v1/checkout.js to display the secure payment popup.
  • The plugin sends the order amount (advance only, not the full order total) and a receipt reference to Razorpay’s Orders API (https://api.razorpay.com/v1/orders) to create a payment order, using the store admin’s own Razorpay API keys (entered in WooCommerce Settings Payments this gateway’s settings — never hardcoded in the plugin).
  • The customer’s name, email, and phone number (already provided at checkout) are passed to Razorpay’s checkout popup to pre-fill the payment form, as permitted by Razorpay’s standard Checkout integration.
  • After payment, Razorpay returns a payment ID and signature, which the plugin verifies server-side against the store’s own Razorpay secret key before marking the order’s advance as paid. No card or bank details are ever handled or stored by this plugin — that happens entirely within Razorpay’s own hosted checkout.

Razorpay’s terms of service: https://razorpay.com/terms/ Razorpay’s privacy policy: https://razorpay.com/privacy/

This plugin does not track users for analytics or advertising purposes, and does not send any data to any service other than Razorpay, and only for orders where this payment method is actually used.

Gratuitsur les plans payants
En procédant à l’installation, vous acceptez les Conditions d’utilisation de WordPress.com ainsi que les Conditions de l’extension tierce.
Testé jusqu’à version
WordPress 7.0.2
Cette extension est disponible en téléchargement pour votre site .