=== ZM Portal Gateway ===
Contributors: ZM Portal
Tags: payment, gateway, WooCommerce, ZM Portal
Tested up to: 6.7
WC requires at least: 3.0
WC tested up to: 8.0
Stable tag: 1.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 ZM Portal.

== Description ==

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

- Integration with the ZM Portal API
- Customizable payment settings
- Configurable checkout logo (new in 1.2.4)
- Secure webhook handling
- Order payment verification
- Compatibility with WooCommerce High-Performance Order Storage (HPOS)
- Compatibility with WooCommerce block-based checkout (new in 1.2.5)

== Installation ==

1. Upload the `ZM Portal` directory to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to **WooCommerce > Settings > Payments** and enable "ZM Portal Gateway".
4. Configure your API key, logo settings, and other options.

== Frequently Asked Questions ==

= What is ZM Portal? =
ZM Portal is a secure payment gateway that supports multiple currencies and payment methods.

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

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

= Is my data secure? =
Yes, all payment data is processed securely through the ZM Portal API.

= 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, as of version 1.2.5, the plugin supports WooCommerce block-based checkout, ensuring a seamless experience in the modern checkout flow.

== External Services ==

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

- Customer name, email, and phone number
- Order amount and currency
- API key for authentication

This data is sent only during the payment process and is necessary to complete the transaction.

For more information, please review the ZM Portal:
- [Terms of Service](https://zmportal.xyz/terms)
- [Privacy Policy](https://zmportal.xyz/policy)

== Changelog ==

= 1.2.5 =
* Added support for WooCommerce block-based checkout, resolving compatibility issues with the modern checkout flow.

= 1.2.4 =
* Added configurable checkout logo feature. Administrators can now set a custom logo URL or upload an image via the media library.

= 1.2.3 =
* Security Improvements

= 1.2.2 =
* Added support for WooCommerce High-Performance Order Storage (HPOS).

= 1.2.1 =
* Fixed text domain and internationalization issues.
* Added external service documentation.
* Removed redundant parameters from `readme.txt`.

= 1.2.0 =
* Added payment verification via API.
* Improved error handling for failed payments.
* Updated for WooCommerce 8.0 compatibility.

== Upgrade Notice ==

= 1.2.5 =
This update adds support for WooCommerce block-based checkout, ensuring compatibility with the modern checkout experience.

= 1.2.4 =
This update adds a configurable checkout logo feature, allowing administrators to set a custom logo for the payment gateway at checkout.

= 1.2.3 =
Security Improvements

= 1.2.2 =
This update adds support for WooCommerce High-Performance Order Storage (HPOS).

= 1.2.1 =
This update fixes text domain and internationalization issues and adds external service documentation.

= 1.2.0 =
This update includes important fixes for WooCommerce compatibility. Please update.