=== GaisPay for WooCommerce ===
Contributors: gaispay
Tags: crypto, usdt, usdc, ethereum, payments
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: MIT
License URI: https://opensource.org/licenses/MIT

Accept USDT, USDC, ETH and TRX in your WooCommerce store through the GaisPay hosted checkout.

== Description ==

GaisPay for WooCommerce adds a "Pay with crypto" payment method to your store.

* Customers are redirected to the GaisPay hosted checkout, pick an asset and pay.
* Supported assets: USDT and TRX on TRON; USDT, USDC and ETH on Ethereum (Ethereum assets for orders of 50 USD or more).
* The exchange rate is locked for 30 minutes.
* Orders are marked as paid automatically through signed webhooks (HMAC-SHA256).
* Works with the classic checkout and the block-based Cart & Checkout.
* Compatible with High-Performance Order Storage (HPOS).
* Store currency must be USD, EUR, GBP or TRY.

A GaisPay merchant account is required. Apply at https://gaispay.com/apply/

== Installation ==

1. Upload the plugin zip under Plugins → Add New → Upload Plugin and activate it.
2. Go to WooCommerce → Settings → Payments → GaisPay.
3. Paste your API key and webhook secret from the GaisPay dashboard (Developers).
4. Copy the webhook URL shown under the webhook secret field into the GaisPay dashboard.
5. Enable the payment method and save.

== Order statuses ==

* paid → Processing (or Completed for virtual/downloadable products)
* confirming → On hold, waiting for network confirmations
* underpaid → On hold, with the received and remaining amounts in the order notes
* expired without payment → Cancelled

Refunds are issued from the GaisPay dashboard. When a refund is sent, the plugin adds an order note with the amount and the blockchain transaction link.

== Changelog ==

= 1.0.0 =
* First release.
