This guide walks you through installing and configuring the Haveno Payment Gateway Plugin for WooCommerce. By the end of this guide, your WooCommerce store will be able to accept anonymous cryptocurrency payments or fiat settlements through the Haveno decentralized payment network.
π§ Plugin: HavenoPay for WooCommerce (Wordpress)
Status: In development
Version: 0.1.0 (Mocked Interface)
π οΈ Prerequisites
Before you begin:
- A working WordPress + WooCommerce installation
- Administrator access to your WordPress site
- Provision a yourself VPS (optional but recommended) to run your Haveno Relay Node
- A Tor binary installed, running and accessible if you want to route traffic over Tor
π Step-by-Step Setup
1. Install the Haveno WooCommerce Plugin
Option A: From WordPress Plugin Directory (Coming Soon)
- Once published, search for "Haveno Payment Gateway" inside
Plugins β Add New
- Click Install
- Then click Activate.
- You'll be redirected to the configuration screen immediately.
Option B: Manual Install
- Download the
.zip
release from https://haveno.com/downloads - In your WordPress admin, go to
Plugins β Add New β Upload Plugin
- Select the
.zip
file and click Install Now - Click Activate Plugin after installation
2. Configure the Plugin
After activation:
-
Go to
WooCommerce β Settings β Payments β Haveno
-
Click Manage
-
Set the following:
- Relay Node URL: Your relayβs onion address (or localhost if local)
- Store Identity Key: A persistent private key used to sign webhook receipts
- Supported Currencies: e.g., XMR, BTC, USD (via fiat settlement)
- Webhook Secret (optional): HMAC secret for validating callbacks
-
Save changes
-
You can set to automatically sync products from your store to be viewed on the Haveno Marketplace too, subject to approval from moderation.
Shortly after you'll see your site appear as a merchant using Haveno DPG on the Haveno Merchants page where people can find your service website.
π Setting up Your Haveno Relay Node
The Haveno Relay is a lightweight service that:
- Connects to the Haveno P2P network
- Relays signed payment offers and receipts
- Subscribes to service-based liquidity events
You can run your relay locally or remotely:
Option A: Using Docker
git clone https://foss.haveno.com/haveno.git
cd haveno/relay
docker compose up -d
Configure your
.env
to define:
SERVICE_PUBLIC_KEY
WEBHOOK_URL
CURRENCIES_SUPPORTED
(List found on Supported Currencies page)
Option B: Native Binary
cargo install haveno-relay
haveno-relay --config config.toml
Ensure your relay node is reachable by your WordPress instance. You may need to whitelist cloudflare, or configure WordFence or any other popular security plugins.
π Security Tips
- Always run your relay behind a reverse proxy or firewall
- Use HTTPS or an Onion URL for the relay address
- Regularly rotate webhook HMAC secrets
- Use IP filtering if you want to limit relay access
π How It Works
- Customer selects "Pay by Crypto or Bank Acount via Haveno" on checkout
- Haveno plugin fetches real-time payment routes and estimate completion time.
- A temporary smart offer is created in the P2P network
- The customer is shown instructions to complete payment
- Once confirmed, the relay notifies WooCommerce via webhook IPN.
- Order is marked Complete automatically
π§ͺ Testing
- Enable Test Mode in Haveno plugin settings
- Use a Haveno testnet wallet or faucet to simulate payments
- Review WooCommerce orders as normal
π Get Involved
Interested in helping build the plugin? Join our dev channel:
- Matrix: #haveno:xmr.social
- GitHub repo coming soon under Haveno's WHMCS Plugin on Git
Ready to accept borderless, anonymous, decentralized payments? Haveno makes it possible, no banks (nessesarily), no accounts (at least not the once you're used to), no middlemen (unless you need help from a dispute).