=== Payvizio for WooCommerce ===
Contributors: payvizio
Tags: payments, woocommerce, payment gateway, upi, cards, payvizio
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.1
Stable tag: 0.1.0
License: Apache-2.0

Accept payments on your WooCommerce store via Payvizio (cards, UPI, wallets) using a hosted checkout.

== Description ==

Payvizio for WooCommerce adds Payvizio as a payment method. Customers are redirected to a secure hosted checkout, then back to your store. Order status is reconciled via signed webhooks. Supports refunds from the WooCommerce admin.

== Installation ==

= From the ZIP (recommended) =

1. Download the plugin ZIP: https://payviziodownloads.blob.core.windows.net/plugin-downloads/woocommerce-payvizio-0.1.0.zip
2. In the WordPress admin, go to **Plugins → Add New → Upload Plugin**.
3. Select `woocommerce-payvizio-0.1.0.zip`, click **Install Now**, then **Activate**.
4. Go to **WooCommerce → Settings → Payments → Payvizio**.
5. Enter your API key and Webhook secret from the Payvizio dashboard.
6. Copy the displayed Webhook URL into the Payvizio dashboard.

= Manual (FTP) =

1. Upload the `woocommerce-payvizio` folder to `/wp-content/plugins/`.
2. Activate the plugin, then configure it as described above.

== Changelog ==

= 0.1.0 =
* Initial release: hosted checkout, webhooks, refunds.
* Block checkout support: the gateway now renders on the WooCommerce Cart & Checkout blocks, not only the classic shortcode checkout.
* Sign API requests (X-PayVizio-Timestamp / X-PayVizio-Signature) using the API key's signing secret; add a "Request signing secret" setting. Required when the platform enforces request signing.
* Fresh idempotency key per payment attempt and correct flat customer fields on the create-session call.
