=== Soheil Pay for WooCommerce ===
Contributors: soheilfi
Tags: crypto, usdt, usdc, payment gateway, non-custodial
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later

Accept USDT and USDC straight to your own wallet. Buyers pay from any wallet or exchange.

== Description ==

Soheil Pay is a non-custodial payment gateway: a buyer's payment goes from their wallet or exchange to your own wallet in one step. This plugin adds it to your WooCommerce checkout.

* The buyer chooses "Crypto" at checkout and is sent to a payment page in their language.
* When the payment arrives, the order is marked paid by a signed message from Soheil Pay.
* Works with the classic and the block checkout, and with High-Performance Order Storage.
* Your shop must sell in US dollars (USD): invoices are in dollars.

This plugin talks to the Soheil Pay API (https://soheil.fi) to create invoices and read their status. It sends the order's total, its number and your shop's name. See https://soheil.fi/pay/ and https://soheil.fi/pay/docs/.

== Installation ==

1. Sign in at https://soheil.fi/pay/dashboard/ and add the wallet address you want to be paid at.
2. Under Developers, create an API key.
3. In WooCommerce > Settings > Payments > Soheil Pay, paste the API key. Copy the webhook address shown there.
4. Back in the dashboard, under Developers, set that webhook address and copy the webhook secret into the plugin's settings.
5. Enable the payment method.

To try it without money, use a test key (sp_test_…): place an order, then mark its invoice paid in the dashboard.

== Frequently Asked Questions ==

= Do you hold my money? =
No. Every address a buyer sees is your own.

= What if a buyer pays too little or too late? =
Too little: the order goes on hold and the buyer is asked for the rest. After the invoice ran out: the order fails and the buyer can pay again from the order; a payment that still arrives within a day completes it.

= How do refunds work? =
You send a refund from your own wallet. You can write it down in the Soheil Pay dashboard; the order gets a note.

== Changelog ==

= 1.0.0 =
* First release.
