=== bestuPay for WooCommerce ===
Contributors: bestupay
Tags: woocommerce, usdt, trc20, bep20, cryptocurrency
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later

Accept USDT into your own wallet with the bestuPay checkout.

== Description ==

The plugin creates a signed bestuPay payment for each WooCommerce order, redirects the customer to the hosted checkout, verifies signed webhooks, and performs scheduled status checks until the payment reaches a terminal state.

Funds are sent directly to the wallet configured for your bestuPay merchant site. The plugin does not store API credentials in browser-side code.

== Installation ==

1. Upload and activate the plugin ZIP in WordPress.
2. Open WooCommerce > Settings > Payments > bestuPay USDT.
3. Enter the API Base, API Key, API Secret, and Webhook Secret from your bestuPay merchant site.
4. Copy the Webhook URL shown by the plugin into the merchant site's callback URL.
5. Select a payment network and verify the conversion rate.
6. Enable the payment method and place a test order.

== Frequently Asked Questions ==

= Does the plugin fetch exchange rates? =

No. The configured rate is deterministic and must be maintained by the merchant. A rate of 1 means one store currency unit is charged as one USDT.

= Can the browser return page mark an order paid? =

No. Payment completion requires a valid signed webhook or a successful server-to-server status query.

= What happens to underpaid or overpaid orders? =

They remain on hold for manual review and are not automatically fulfilled.

== Changelog ==

= 1.0.0 =

* Initial release with HMAC API signing, webhook verification, HPOS support, and scheduled status checks.

