I use Wordpress and Woocommerce for most of my stores because you can't beat the simplicity of the combination. One thing that I really wanted was the ability to accept HIVE and HBD through Woocommerce and couldn't see any payment integration plugins that added support for HBD and HIVE, so I built one.
The Hive payments plugin for Woocommerce is available on GitHub here: https://github.com/Vheissu/hive-payments-woo
Features
- HIVE and HBD support
- Strict memo matching (unique long token per order)
- Live pricing via CoinGecko (default), with optional API key
- Manual rate fallback
- Action Scheduler polling with WP-Cron fallback
- WooCommerce Blocks checkout support
- Admin-configurable confirmations, polling interval, and logging
It supports backend actions based schedule polling as well as order complete screen polling. It has no third party dependencies on other payments platforms like coinpayments, so there are no fees, just pure blockchain.
Installation
- Copy this plugin folder into
wp-content/plugins/hive-payments-woo.
- Activate Hive Payments for WooCommerce in WordPress.
- Go to WooCommerce → Settings → Payments → Hive Payments and configure.
Configuration
Key settings (WooCommerce → Settings → Payments → Hive Payments):
- Enable: Turn on the payment gateway.
- Receiving Hive account: Hive account (without
@) to receive payments.
- Memo prefix: Prefix for memos (e.g.,
WC).
- Memo random length: Length of the random token (default 24). Longer reduces clashes.
- Accepted assets: Choose HIVE and/or HBD.
- Default asset: Default choice at checkout.
- Rate source: Live (CoinGecko) or Manual.
- CoinGecko API plan: Default is No API key. Select Demo/Pro if you have a key.
- CoinGecko API key: Optional.
- Rate cache: Cache pricing for N minutes (default 5).
- Manual rates: Used if live pricing fails or if you select Manual.
- Polling interval: How often to check the blockchain.
- Minimum confirmations: Blocks to wait before completing the order.
- Debug logging: Log poller activity to WooCommerce logs.
Payment Flow
- Customer places order and selects Hive Payments.
- Order status moves to on-hold.
- A memo is generated like:
WC:1234:AbcDefGh....
- Customer sends the exact amount to the configured account with that memo.
- Poller detects a matching transfer and marks the order paid.