=== MiniPay Gateway for WooCommerce ===
Contributors: gtbrain
Tags: woocommerce, payments, minipay, hosted checkout
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds MiniPay SaaS hosted checkout as a WooCommerce payment method.

== Description ==

MiniPay Gateway for WooCommerce creates provider-neutral MiniPay payments from WooCommerce orders and redirects customers to MiniPay hosted checkout.

The plugin does not implement PayPal, Telegram Stars, BTC, ETH, USDT TRC20, exchange-rate, wallet, or provider-specific logic. All provider routing remains inside MiniPay.

== Requirements ==

* WordPress 6.0+
* WooCommerce 7.0+
* PHP 7.4+
* WooCommerce store currency: USD
* MiniPay SaaS project API key and webhook secret

== Setup ==

1. Upload and activate the plugin.
2. Go to WooCommerce > Settings > Payments > MiniPay.
3. Enable MiniPay.
4. Set MiniPay URL, API key, and webhook secret.
5. Copy the displayed webhook URL into MiniPay Project settings if MiniPay does not use the callback_url sent per payment.
6. Test with a psk_test_* key before switching to live.

== Webhook URL ==

The plugin endpoint is:

    https://your-store.example/?wc-api=minipay_gateway

== Update server ==

The plugin supports private updates from a JSON manifest endpoint configured in gateway settings.

== Changelog ==

= 1.0.2 =
* Built-in default update manifest URL: https://minipay.gtbrain.com/downloads/minipay-gateway-for-woocommerce.json.
* Kept the admin endpoint setting as an optional override.

= 1.0.1 =
* Default MiniPay update manifest URL added.

= 1.0.0 =
* Initial WooCommerce MiniPay gateway.
* Hosted checkout redirect.
* Signed webhook verification.
* USD validation.
* Basic private update server support.
