Requirements
- WordPress 6.0 or later, PHP 7.4 or later, and the Xenarch plugin 1.16 or later
- WooCommerce, with the store currency set to USD (USDC and USDT are dollar tokens, so the option only shows in a USD store)
- A Xenarch account: sign in at dash.xenarch.dev with your wallet
- A site reachable over HTTPS, so Xenarch can send payment notifications to it
- For USDT on Tron: a Tron receiving address (it starts with
T)
1. Install the plugin
Downloadxenarch-<version>.zip from the latest GitHub release. In WordPress, go to Plugins > Add New > Upload Plugin, upload the ZIP and activate it.
On a new install the plugin asks which features you want. Choose Crypto checkout (WooCommerce). You can change it later under Settings > /xenarch > Features; turning checkout off removes the option from checkout but keeps your connection.
2. Create a pay link and a merchant key
In the Xenarch dashboard:- Create a checkout pay link with an open amount. Leave it reusable, and leave the return URL empty: the plugin sends each buyer back to their own order page. The link’s receiving wallet is where your sales are paid on Base, Ethereum, BNB Chain and Monad.
- On your Profile, create a merchant key (
xm_live_…). Copy it now: it is shown once.
3. Connect
- In WordPress, go to Settings > /xenarch > Checkout. (WooCommerce > Settings > Payments > Xenarch links there too.)
- Paste the merchant key and the pay link URL, then click Connect. The plugin checks the link, points its payment notifications at your site and stores the signing secret. The key and the secret stay on your server.
- Turn on Offer USDC at checkout. You can change the Label buyers see. It reads “Crypto: USDC”, or “Crypto: USDC or USDT” once USDT is on, unless you set your own.
4. Choose networks
Under Checkout > Networks, USDC on Base is always on. Turn on each other coin and network you want to take. The plugin saves the choice to your pay link.- On Ethereum, BNB Chain and Monad, payments go to the link’s own wallet. Xenarch checks that it is a regular wallet on that network: a smart-contract wallet usually doesn’t exist at the same address on another chain, so it is refused.
- For USDT on Tron, enter your Tron address. Xenarch checks it before saving.
What the buyer sees
- At checkout the buyer picks the crypto option and places the order.
- They land on the Xenarch pay page for the order total, locked to that amount. It has two tabs:
- Connect wallet: the page finds the buyer’s USDC and USDT that cover the order across your networks, shows each network’s fee, and picks the cheapest. Their wallet sends an ordinary transfer, and they pay that network’s fee in its own coin.
- Send to address: for an exchange or any wallet app that can’t connect. The buyer picks a coin and network and gets an exact amount (for example 101.8537), your address and a QR code. The amount is held for 60 minutes.
- The page counts the network’s confirmations (Base 1, Ethereum 12, BNB Chain 15, Monad 2, Tron 19), then returns the buyer to the WooCommerce order-received page, which shows the payment: amount, network, transaction and time.
How orders are marked paid
The plugin never trusts the redirect back from the pay page. Xenarch detects the transfer on its network and sends a signed notification to your site. The plugin then checks that:- the notification is signed with your link’s secret and is recent;
- it is for your connected link, and the money went to your wallet on that network (your Tron address on Tron);
- it names a real order on your store;
- the amount received on-chain covers the order total.