=== Uruz Pay – USDC & Stablecoin Payments for WooCommerce ===
Contributors: uruzglobal
Tags: payments, usdc, eurc, stablecoin, crypto
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.5.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept USDC and EURC at checkout. The money goes straight to your own wallet.

== Description ==

Uruz adds a "Pay in USDC" option to your WooCommerce checkout, or "Pay in EURC" in a store that sells in euros. Your customer pays from any wallet and needs no other coin for network fees. Each payment goes directly to your wallet; Uruz never holds your money.

The store currency must be US dollars (USD) or euros (EUR). 1 USDC is 1 dollar and 1 EURC is 1 euro, so the order total is charged as it is, in the coin of the store's currency. Nothing is converted: an order in euros is paid in EURC and you receive EURC.

= Features =

* Works with the classic checkout and the block checkout.
* Orders move to Processing only after Uruz confirms the payment on the network.
* The amount and coin paid are checked against the order total.
* Refunds sent from the Uruz dashboard are recorded in the order.
* Compatible with High-Performance Order Storage (HPOS).

= How an order is paid =


1. The customer chooses "Pay in USDC" (or "Pay in EURC") and places the order.
2. The Uruz checkout opens over your store. The customer connects a wallet and confirms.
3. Uruz tells your store the payment is confirmed (webhook) and the order moves to Processing. If the webhook is late, the store asks Uruz directly.

An order is never marked as paid on the browser's word, and the amount and the coin paid are checked against the order total.

= Refunds =


Refund from your Uruz dashboard: Charges > Refund. The money goes from your wallet back to the wallet that paid, in the coin it was paid in, and the order here gets the refund by itself (a full refund moves it to Refunded). The Refund button inside WooCommerce does not send money: Uruz never holds your funds, so only your own wallet can.

== Installation ==


1. Create an account at https://app.uruzglobal.com.
2. In WordPress, go to Plugins > Add New, search for "Uruz Pay", install and activate it.
3. Go to WooCommerce > Settings > Payments > Uruz.
4. Paste your API key (Uruz dashboard > Settings).
5. Tick "Enable" and save. Saving also connects payment notifications (the webhook) to your store; there is nothing to copy.

== Frequently Asked Questions ==

= Does Uruz hold my money? =

No. Each payment goes directly from the customer's wallet to yours.

= What does it cost? =

The plugin is free. Uruz charges a fee per payment received; see https://uruzglobal.com for current pricing.

= Does my customer need ETH or another coin for network fees? =

No. The customer only needs the USDC or EURC for the order.

= Which store currencies work? =

US dollars (USD) and euros (EUR). In other currencies the option is not shown at checkout.

= What about chargebacks? =

Payments on the blockchain cannot be reversed by the payer. Refunds are made by you, from the Uruz dashboard.

== External services ==

This plugin connects to Uruz (https://uruzglobal.com), the payment service it adds to your store. It cannot work without it.

* **Uruz API (api.uruzglobal.com).** When an order is placed with Uruz, the plugin sends the order number, the total and the coin (USDC or EURC) to create the charge, and later asks for that charge's status. When the settings are saved, it sends the store's webhook address so Uruz can notify the store of payments. Requests are authenticated with the API key you enter.
* **Uruz checkout (pay.uruzglobal.com).** On the order's pay page, the plugin loads the Uruz checkout script, which opens the payment window where the customer connects a wallet and pays.

No data is sent until you enter an API key and enable the payment method.

Terms of Service: https://www.uruzglobal.com/terms
Privacy Policy: https://www.uruzglobal.com/privacy

== Screenshots ==

1. The "Pay in USDC" option at checkout.
2. The Uruz payment window over the store.
3. The settings page in WooCommerce > Settings > Payments > Uruz.

== Changelog ==

= 0.5.0 =
* Renamed to Uruz Pay. A store that installed an earlier version from the zip file deactivates and deletes it before installing this one.
* Readme prepared for the WordPress.org plugin directory.


= 0.4.0 =
* Stores that sell in euros: orders are charged in EURC.

= 0.3.0 =
* A refund sent from the Uruz dashboard is recorded in the order.

= 0.2.1 =
* Orders under 1.00: the option is not offered, and the reason is shown if one is placed.

= 0.2.0 =
* Payment notifications are connected automatically when the settings are saved.

= 0.1.0 =
* First version: classic and block checkout, webhook confirmation.
