=== BuxAPI for WooCommerce ===
Contributors: buxapi
Tags: woocommerce, cryptocurrency, payment gateway, usdc, stablecoin
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept USDC, USDT, DAI and native coins on Base, Ethereum, Polygon, BNB Chain and Solana. Nothing to sign up for, 0.5% per payment.

== Description ==

Adds BuxAPI as a payment method. The customer is sent to a hosted checkout page, pays in the token and chain they prefer, and the order is completed from a signed webhook.

**What makes BuxAPI different from other crypto gateways**

* No account and no email. A wallet is created with one API call, and its keypair is the only identity.
* No KYC and no approval to wait for.
* 0.5% of a confirmed payment, with no monthly fee and nothing to commit to.
* Five chains behind one integration, and one EVM deposit address serves Base, Ethereum, Polygon and BNB Chain at once.

**Requirements**

* Your store currency must be USD. BuxAPI prices in USD and does no currency conversion, so the gateway hides itself at checkout on any other currency rather than charging the wrong amount.
* Your site must be reachable from the public internet so BuxAPI can deliver webhooks.

**What it cannot do**

* Refunds. There is no refund endpoint. A refund is a transfer from your BuxAPI wallet to an address the customer gives you, and the plugin says so instead of pretending otherwise.
* Bitcoin, Litecoin or Dogecoin. BuxAPI settles stablecoins on EVM chains and Solana only.

== Installation ==

1. Upload the plugin and activate it.
2. Create a wallet at https://buxapi.com/create and keep the private key, the webhook secret and the recovery phrase. They are shown once.
3. Go to WooCommerce, Settings, Payments, BuxAPI.
4. Paste the private key and the webhook secret, then enable the method and save. The plugin verifies the key against the API as you save and tells you which wallet it connected to.

The webhook URL is shown on the settings screen and is sent automatically with every invoice. There is nothing to paste anywhere.

== Frequently Asked Questions ==

= Does my store need to be in USD? =

Yes. BuxAPI has no currency conversion, so a EUR total sent to it would be charged as dollars. The gateway hides itself at checkout on any currency other than USD.

= What happens if the webhook does not arrive? =

The order-received page asks the API directly when a returning customer lands on an unpaid BuxAPI order. That covers the site being down during the retry window, or a security plugin blocking the POST. It is a read, so it can only confirm what BuxAPI already considers paid.

= What if the customer underpays? =

The order goes on hold with a note recording exactly what arrived, and you decide.

= Can I restrict which chains customers can pay on? =

Yes, in the settings, as a comma-separated list such as `base:usdc, solana:usdc`. Leave it empty to accept everything activated on your wallet.

= Is High-Performance Order Storage supported? =

Yes. The plugin only touches orders through WooCommerce's CRUD API.

== Changelog ==

= 1.0.0 =
* First release.
