=== PayQube for WooCommerce ===
Tags: upi, payments, india, payment gateway
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later

Accept UPI, cards and net banking through PayQube hosted checkout.

== Installation ==
1. WordPress → Plugins → Add New → Upload Plugin → choose payqube-woocommerce.zip → Activate.
2. WooCommerce → Settings → Payments → PayQube → Manage.
3. Paste your PayQube URL, Key ID and Key secret (Dashboard → API keys).
4. In the PayQube dashboard → Webhooks, set the URL to https://YOUR-STORE/?wc-api=payqube_webhook and copy the signing secret into the plugin.
5. Place a test order in Test mode. Switch the PayQube dashboard to Live mode after KYC approval.

== How orders are confirmed ==
* The customer is redirected to PayQube checkout.
* On return, the plugin fetches the payment status server-side (it never trusts URL parameters).
* The signed webhook (X-PayQube-Signature, HMAC-SHA256) confirms the order even if the customer closes the tab.
* Amount mismatches put the order on hold.

== Refunds ==
Use the normal WooCommerce "Refund" button; the plugin calls the PayQube refunds API.
