=== Flexrix Pay for WooCommerce ===
Contributors: flexrix
Tags: crypto, usdt, bitcoin, payment gateway, stablecoin
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept USDT, USDC, Bitcoin, Ethereum and more on 12 networks in WooCommerce. Hosted payment page, automatic order updates.

== Description ==

Flexrix Pay for WooCommerce adds a "Pay with crypto" option to your checkout. Prices stay in your store currency; the customer chooses a coin and network on the Flexrix Pay hosted payment page and pays from any wallet or exchange. When the payment is confirmed on the blockchain, the order is marked paid automatically.

* **27 assets on 12 networks** — USDT and USDC on TRON, Ethereum, BNB Smart Chain, Solana, TON, Base, Arbitrum, Optimism and Polygon, plus BTC, ETH, BNB, SOL, TRX, TON, XRP, LTC and POL.
* **Priced in your currency** — the invoice uses your WooCommerce currency (145 currencies supported); the rate is locked when the customer picks a coin.
* **Hosted, mobile-first payment page** in 20 languages, with QR codes and one-tap payment from MetaMask, Trust Wallet, Phantom and WalletConnect wallets.
* **Automatic order updates** by signed webhook (registered for you), with a 15-minute safety sync and a refresh when the customer returns.
* **Underpayments and late payments** are credited to your balance and noted on the order; underpaid orders can go on hold for review.
* **Classic and block checkout**, High-Performance Order Storage compatible.
* **No chargebacks.** Funds are credited to your Flexrix Pay balance; convert or pay out from the dashboard.

= Requirements =

* A Flexrix Pay account (free to open at https://app.flexrixpay.com/signup) and an API key with the "payments" and "read" scopes.
* An HTTPS store URL so payment notifications can reach your site.

= External service =

This plugin connects to the Flexrix Pay API (https://api.flexrixpay.com) to create invoices and read their status, and sends your customers to the Flexrix Pay payment page (https://pay.flexrixpay.com). Data sent: order total, currency, order id and the return URL — no customer name, email or address. Terms: https://flexrixpay.com/legal/terms · Privacy: https://flexrixpay.com/legal/privacy

== Installation ==

1. Upload the plugin and activate it (WooCommerce must be active).
2. Go to WooCommerce → Settings → Payments → Flexrix Pay (crypto).
3. Paste your API key ID and secret and save. The plugin verifies the key and registers the webhook automatically.
4. Optionally limit the coins offered and set the payment window (5–60 minutes).

== Frequently Asked Questions ==

= Which currencies can my store use? =

Flexrix Pay supports 145 fiat currencies for pricing, including USD, EUR, GBP, TRY, INR, AED, NGN, IDR and BRL. If your store currency is not supported, checkout shows an error and the order is not created on Flexrix Pay.

= What happens if a customer pays too little or too late? =

Every on-chain payment is credited to your Flexrix Pay balance. Underpaid orders are put on hold (configurable) with the received amount in the order notes; late payments are noted on the order.

= Do I need to configure webhooks? =

No. When you save a valid API key, the plugin registers this store's webhook endpoint for you. Each store has its own endpoint, so one Flexrix Pay account can serve several stores.

= Are card payments supported? =

No. This plugin accepts crypto only.

== Changelog ==

= 1.0.0 =
* First release.
