=== TRCGATEWAY for WooCommerce ===
Contributors: trcgateway
Tags: usdt, usdc, crypto payments, stablecoin, woocommerce
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept USDT and USDC in WooCommerce. Customers pay straight into your own wallet.

== Description ==

Adds "Pay with USDT / USDC" to the WooCommerce checkout — the classic checkout and the block checkout.

* Networks: TRON (TRC20), BNB Chain (BEP20), Polygon, Arbitrum and Base. Which ones a customer is offered is set in your TRCGATEWAY.COM dashboard.
* The money goes from the customer's wallet or exchange straight into YOUR wallet. TRCGATEWAY.COM never holds it.
* The order is marked paid by itself once the payment is confirmed on the blockchain.
* Store currency: USDT, USDC, USD, EUR, GBP, RUB, TRY, BRL, INR, IDR, PHP, NGN. A price in another currency is converted at the rate of the moment and the rate is kept on the invoice.
* Paste one secret key — the plugin connects the payment notifications by itself.

== Installation ==

1. Plugins → Add New → Upload Plugin → choose trcgateway-for-woocommerce.zip → Install → Activate.
2. WooCommerce → Settings → Payments → TRCGATEWAY.COM — USDT / USDC.
3. Paste your secret key from the dashboard (https://trcgateway.com/dashboard → Developers), tick "Take USDT / USDC payments", Save.

Your wallets and the networks you take are set in the dashboard, not in WordPress.

== Frequently Asked Questions ==

= The payment method does not appear at checkout =
It shows only when it is switched on, a valid secret key is saved, and the store currency is one the gateway takes (listed above).

= Two stores, one account =
Give each store its own "Order prefix" in the payment settings. Payment notifications go to one address per account; the other store checks its orders every five minutes.

== External services ==

This plugin needs the TRCGATEWAY payment service (https://trcgateway.com) to take payments. It talks to it in these cases:

* When a customer places an order with this payment method: the order total and currency, the order number with your prefix, a short description ("Order 1234 at <store name>"), the order ID and order key, your site address and your store's return links. The gateway answers with the payment page the customer is sent to. The customer's name, email and address are not sent.
* To confirm a payment before an order is marked paid, the plugin reads the invoice back from the gateway: when a notification arrives, on the order-received page, and every five minutes for unpaid orders of the last day.
* When you save the settings: the plugin checks your secret key, reads your account's notification address and signing secret, and points the notifications at this store (only if the account has none, or when you tick the box).
* The customer pays on the gateway's hosted payment page (https://trcgateway.com/pay/...), which shows the amount, the address of YOUR wallet and a QR code.

Terms of service: https://trcgateway.com/terms
Privacy policy: https://trcgateway.com/privacy

== Changelog ==

= 1.0.0 =
* First release.
