=== ZayanPay Gateway ===
Contributors: zayanpay
Tags: payment, gateway, WooCommerce, zayanpay, bkash, nagad, rocket
Tested up to: 6.8
WC requires at least: 3.0
WC tested up to: 8.5
Stable tag: 2.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A seamless and secure payment gateway integration for WooCommerce using ZayanPay.

== Description ==

ZayanPay Gateway provides an easy, secure, and reliable way to accept payments on your WooCommerce store. Features include:

- Integration with the ZayanPay API
- Customizable payment settings
- Configurable checkout logo
- Instant webhook & IPN handling
- High-Performance Order Storage (HPOS) compatibility
- WooCommerce block-based checkout compatibility
- Multi-channel support (bKash, Nagad, Rocket, Upay, Cellfin, Cards & Crypto)

Supported Gateways:

- bKash (Personal, Merchant, Agent, Tokenized)
- Nagad (Personal, Merchant, Agent)
- Rocket (Personal, Merchant)
- Upay
- Cellfin
- Tap / OK Wallet
- Visa / Mastercard / Amex
- Binance / Crypto
- Pathao Pay

== Installation ==

1. Upload the `zayanpay-gateway` directory to the `/wp-content/plugins/` directory (or upload the zip file directly in WordPress Admin > Plugins > Add New).
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to **WooCommerce > Settings > Payments** and enable "ZayanPay Gateway".
4. Configure your API key, Base URL (e.g. `https://zayanpay.com/api`), and preferences.

== Frequently Asked Questions ==

= What is ZayanPay? =
ZayanPay is an enterprise multi-channel payment gateway and aggregation platform for Bangladesh and global merchants.

= How do I configure the plugin? =
Go to **WooCommerce > Settings > Payments** and click on "Manage" under ZayanPay Gateway.

= Can I customize the checkout logo? =
Yes, store administrators can set a custom logo URL or upload an image via the WordPress media library.

= Is this plugin compatible with WooCommerce HPOS? =
Yes, this plugin is fully compatible with WooCommerce High-Performance Order Storage (HPOS).

= Does this plugin support WooCommerce block-based checkout? =
Yes, the plugin supports modern WooCommerce block-based checkout out of the box.

== External Services ==

This plugin connects to the ZayanPay API to process payments securely. The following data is sent to ZayanPay:

- Customer name, email, and mobile number
- Order amount and currency
- API key for authentication
- Order ID and return URLs

This data is sent only during checkout to complete transactions securely.

For more information, please visit:
- [Terms of Service](https://zayanpay.com/terms)
- [Privacy Policy](https://zayanpay.com/privacy)

== Changelog ==

= 1.0.4 =
* Rebranded to ZayanPay Gateway with updated logos and API headers
* Added dynamic order currency support
* Enhanced webhook & IPN instant verification
* Added compatibility with WooCommerce HPOS and Block Checkout

= 1.0.0 =
* Initial release