=== Offline QR Payment Gateway (IRIS) ===
Contributors: octobyte
Tags: woocommerce, payment gateway, qr, iris, offline payments
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.2
Stable tag: 1.0.0
WC requires at least: 6.0
WC tested up to: 10.4.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Offline QR Payment Gateway (IRIS) and customer email instructions for WooCommerce.

== Description ==

Offline QR Payment Gateway (IRIS) adds a payment method for WooCommerce that shows a QR code and instructions. The order is placed on hold (or pending) until payment is confirmed.

Features:
* Offline QR method (e.g. IRIS)
* Admin media uploader for QR image
* Compatible with both Classic Checkout and WooCommerce Cart/Checkout Blocks
* “Unavailable state” toggle: method stays visible but cannot be selected
* Optional unavailable message shown under the method and as a tooltip
* Email injection for unpaid orders (CID inline QR + clickable link)
* My Account order view block for unpaid orders
* Optional uninstall cleanup

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`, or install via Plugins > Add New.
2. Activate the plugin.
3. Go to WooCommerce > Settings > Payments (or Checkout).
4. Find "IRIS (QR) – Offline" and configure:
   - Enable gateway
   - Upload/select QR image
   - Instructions text
   - Email behavior

== Frequently Asked Questions ==

= Is this plugin affiliated with DIAS S.A? =
No. This plugin is not affiliated with DIAS S.A. It is an offline method to accept IRIS Payments.

= Does this plugin process real payments? =
No. This is an offline method. The merchant confirms payment manually.

= Does the QR appear in emails? =
Yes, for unpaid orders that use this payment method. The plugin supports inline CID embedding with a clickable link fallback.

= Does it work with the WooCommerce Checkout Block? =
Yes. The gateway registers a Blocks integration so it can be used in block-based checkouts.

= Can I temporarily disable the method without hiding it? =
Yes, enable the “Unavailable state” toggle. The method will stay visible but cannot be selected. A custom field can also be filled to show why the option is unavailable at checkout.

= Does it work with the Checkout Block (block-based checkout)? =
Yes. The plugin registers a WooCommerce Blocks payment method integration, so it can be used in block-based checkouts.

== Screenshots ==

1. Plugin settings page
2. Checkout page with gateway enabled
3. Checkout page with gateway enabled but grayed out
4. Email instructions
5. Thank you page instructions

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
