=== UPI Gateways - Direct UPI Payments (0% Fee) ===
Contributors: matrixsols2024, upigateways
Donate link: https://www.upigateways.in/
Tags: upi, payment gateway, payments, india, ecommerce
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 2.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept direct-to-bank UPI payments with Zero Transaction Fees (0% MDR) and instant real-time webhook order fulfillment.

== Description ==

**UPI Gateways** enables Indian online merchants, D2C brands, and digital creators to accept direct UPI payments with **0% Transaction Fees (0% MDR)**.

Unlike traditional payment aggregators that charge 2% + 18% GST and hold your revenue in nodal accounts for T+2 business days, UPI Gateways settles customer payments directly into your verified bank account in real-time (T+0).

### Key Features
* **0% Transaction Fees:** Eliminate 2% MDR deductions on every UPI transaction.
* **Instant T+0 Bank Settlement:** Funds land directly in your bank account via UPI rails.
* **Dynamic QR & Intent Checkout:** Automatically shows a dynamic QR code for desktop and launches installed UPI apps (Google Pay, PhonePe, Paytm, BHIM) on mobile.
* **Multi-Account Smart Routing:** Connect multiple business UPI handles (Paytm Business, PhonePe, BharatPe, HDFC SmartHub Vyapar) to bypass single-account daily limits.
* **Real-Time Webhook Reconciliation:** Automatic order status updates from 'Pending payment' to 'Processing' upon UTR confirmation.
* **HPOS Compatible:** Officially tested and certified for High-Performance Order Storage (Custom Order Tables) in WooCommerce stores.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or upload the `.zip` file under **Plugins > Add New > Upload Plugin** in your WordPress admin.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Go to **WooCommerce > Settings > Payments > UPI Gateways**.
4. Check **Enable UPI Gateways**.
5. Enter your **API Key** and **API Secret** from your [UPI Gateways Dashboard](https://www.upigateways.in).
6. Copy the displayed Webhook URL and paste it into your UPI Gateways merchant dashboard webhook settings.

== Frequently Asked Questions ==

= Does this plugin charge any hidden transaction fees or MDR? =
No. The plugin and payment infrastructure operate with 0% transaction fees (0% MDR) on UPI transactions.

= Does it support WooCommerce High-Performance Order Storage (HPOS)? =
Yes. The plugin is 100% compatible with WooCommerce HPOS (custom order tables) and legacy post tables.

= What UPI apps are supported? =
All major Indian UPI apps including Google Pay, PhonePe, Paytm, BHIM, Cred, Amazon Pay UPI, and all BHIM-UPI enabled banking apps.

= How does real-time reconciliation work? =
When a customer completes payment, our smart routing infrastructure transmits an encrypted webhook notification with the 12-digit UTR number to your store, instantly updating the order status.

== Screenshots ==

1. screenshot-1.png: UPI Gateways admin settings configuration page in WooCommerce.
2. screenshot-2.png: Dynamic QR code and 1-click mobile UPI intent checkout.

== Changelog ==

= 2.1.0 =
* Official WordPress.org release.
* Added native WooCommerce High-Performance Order Storage (HPOS) compatibility.
* Enhanced automated webhook UTR logging and order note updates.
* Optimized dynamic QR code responsive rendering for mobile and tablet devices.
