=== UTOPAY Payments for WooCommerce ===
Contributors: utopay
Tags: payments, crypto, usdt, credit card, paypal
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.0
WC requires at least: 3.9
WC tested up to: 10.2
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept cards, Apple Pay, Google Pay, PayPal, Revolut and crypto (USDT, USDC, ETH…) through UTOPAY.

== Description ==

Two payment methods:

* **UTOPAY — cards & PayPal** — 4.5% all-in. The buyer pays on the UTOPAY page; the payout arrives in USDC on Polygon to your wallet (or to the UTOPAY balance in your currency).
* **UTOPAY — crypto** — 1.5%. The buyer picks a coin at checkout and sends it to a unique address; the coin goes straight to your wallet.

Orders are completed automatically: UTOPAY sends a signed notification to your shop, and the plugin re-checks the payment through the API before marking the order paid (amount and currency must match). Underpaid crypto orders are put on hold.

Works with the classic checkout and the Cart & Checkout blocks, and supports High-Performance Order Storage (HPOS).

Refunds and subscriptions are not supported.

== Installation ==

1. Plugins → Add New → Upload Plugin → choose the ZIP → Install → Activate.
2. In the UTOPAY dashboard (https://utopay.app/login) create a secret key: Integration → API keys. Use a `utopay_sk_test_…` key first.
3. WooCommerce → Settings → Payments → “UTOPAY — cards & PayPal”: paste the key, enable, save.
4. For crypto: add wallets for the networks you need in the dashboard (Funds & payouts → Crypto wallets), then enable “UTOPAY — crypto” and pick the coins.
5. Place a test order and simulate a payment on the sandbox page. The order becomes Processing. Switch to the `utopay_sk_live_…` key.

Nothing has to be configured for notifications: every payment carries its own callback URL.

== Frequently Asked Questions ==

= Which store currencies work? =

USD EUR GBP CAD AUD NZD CHF SEK NOK DKK PLN CZK HUF TRY UAH INR JPY SGD HKD AED MYR THB PHP IDR BRL MXN COP ZAR NGN. With another store currency the methods are hidden.

= The order stays “Pending payment” =

The shop must be reachable from the internet for notifications (not localhost, not behind HTTP auth). The order is also confirmed when the buyer returns to the “Thank you” page. Enable “Debug log” and check WooCommerce → Status → Logs → utopay.

== Changelog ==

= 1.0.2 =
* Shared UTOPAY core updated (no behaviour change).

= 1.0.1 =
* UTOPAY_API_BASE constant for white-label API domains; default coins are EVM networks.

= 1.0.0 =
* First release: cards & PayPal, crypto, blocks checkout, HPOS.
