blockpay
01 · WOOCOMMERCE 5 MIN SETUP

WooCommerce Plugin Setup Guide

Install the official Blockpay for WooCommerce plugin, configure your Secret API key and HMAC webhook secret, and run a $0.01 Ethereum Mainnet test checkout.

Plugin versionv2.0.1 (HPOS + Checkout Blocks)
WordPress6.2 – 7.1 · PHP 7.4+
NetworkEthereum Mainnet (Chain ID 1)
AssetsUSDC · USDT · ETH

How the WooCommerce integration works

Blockpay for WooCommerce connects your USD storefront directly to Blockpay’s noncustodial Ethereum Mainnet settlement rail. When a shopper selects Pay with crypto at checkout, WooCommerce creates an authenticated payment intent server-side via POST https://blockpaynow.com/api/payments and redirects the shopper to the hosted Blockpay gateway.

Shoppers choose USDC, USDT, or ETH with a 5-minute locked oracle quote and pay directly from MetaMask, Phantom, WalletConnect (300+ mobile wallets), or a direct exchange transfer. Once Ethereum Mainnet finalizes the transfer, the smart contract atomically splits 99.31% to your self-custody wallet and 0.69% to the protocol treasury, then delivers a signed payment.settled webhook to mark your WooCommerce order Processing automatically.

Privacy by design — zero buyer PII sent to Blockpay

At checkout, the plugin sends only the order total in USD cents, a non-PII reference (WC-<order_id>), and a public return URL (?blockpay_return=<order_id>). Customer names, email addresses, shipping addresses, and WooCommerce order keys never leave your WordPress database.

Prerequisites & compatibility

RequirementMinimum / SupportedNotes
WordPress6.2+ (tested through 7.1)HTTPS required on public store domain
WooCommerceClassic & Cart/Checkout BlocksFull High-Performance Order Storage (HPOS) support
PHP7.4 or higherRequires standard hash_hmac and cURL extensions
Store currencyUSD ($)Quotes convert USD cents into integer ETH / USDC / USDT
Blockpay workspaceApproved business + 0x walletConfigure in Dashboard → Profile before going live

Step-by-step installation

  1. Open Dashboard → Integrations in your Blockpay merchant workspace to get the official Blockpay for WooCommerce plugin.
  2. In WordPress Admin, navigate to Plugins → Add New → Upload Plugin, install the Blockpay for WooCommerce plugin, and click Activate Plugin.
  3. Create or sign in to your merchant workspace at https://blockpaynow.com/dashboard and confirm your business status is Approved with your EIP-55 checksummed Ethereum payout address saved in Profile.
  4. Open Dashboard → Developers → API keys, click Generate key, and copy your secret bp_live_… key (shown once).
  5. In WordPress Admin, open WooCommerce → Settings → Payments → Blockpay. Copy the Webhook URL displayed in the setup diagnostics panel.
  6. Return to Blockpay Dashboard → Developers → Webhooks, paste your store’s HTTPS Webhook URL, click Save endpoint, and copy the generated Webhook signing secret.
  7. Paste both your Secret API key and Webhook signing secret into the WooCommerce Blockpay settings panel, click Check connection to verify live API reachability, enable the gateway, and save changes.
TEXTWOOCOMMERCE WEBHOOK & RETURN ENDPOINTS
# Webhook URL (paste into Blockpay Dashboard → Developers → Webhooks)
https://your-store.com/?wc-api=blockpay_webhook

# Return URL automatically passed per order
https://your-store.com/?blockpay_return=<order_id>

# Subscribed webhook events
payment.settled
payment.review

Order statuses, meta box & manual reconciliation

Every WooCommerce order paid through Blockpay displays a dedicated Blockpay Settlement Meta Box inside the Order Admin screen. It records the Blockpay Payment ID, order reference (WC-<order_id>), selected token, locked quote rate, onchain vault/contract reference, and a direct Etherscan transaction link.

Blockpay StatusWooCommerce Order StatusAction Taken
pending / confirmingPending paymentShopper redirected to hosted gateway; waiting onchain finality
settledProcessing (or Completed for virtual goods)Verified HMAC webhook received; Etherscan tx hash logged in order notes
reviewOn holdShort or late transfer flagged for manual merchant review with onchain proof
expiredPending payment / Cancelled5-minute quote elapsed before broadcast; buyer can retry checkout
Missed webhook? Use 1-click Sync status

If your WordPress server was temporarily offline or blocked by a firewall during delivery, Blockpay automatically retries webhooks with exponential backoff for up to 24 hours. You can also click Sync status inside the WooCommerce Order Meta Box at any time to pull finalized settlement proof directly from GET /api/checkouts/<payment_id>.

Running a $0.01 mainnet smoke test

Because Blockpay runs directly on Ethereum Mainnet with no separate sandbox custody balances, we recommend verifying your live store setup using a real $0.01 hidden product before publishing to shoppers.

  1. Create a private or catalog-hidden WooCommerce product priced at $0.01 USD (minimum payment is 1 cent).
  2. Check out as a customer, choose Blockpay, and verify redirect to https://blockpaynow.com/checkout/pay_… .
  3. Select USDC, USDT, or ETH, confirm the 5-minute quote, and send the transfer from MetaMask, Phantom, or WalletConnect.
  4. Verify your browser returns to your WooCommerce thank-you page, your order transitions to Processing with an Etherscan link, and 99.31% arrives directly in your receiving wallet.

Troubleshooting checklist

SymptomLikely CauseFix
Check connection returns 401API key rotated or whitespace pastedRegenerate bp_live_ key in Developers and re-save in WooCommerce
Webhook rejected with 400Domain mismatch with approved business websiteEnsure WordPress site URL origin matches your approved merchant website exactly
Order stays Pending after tx settlesCaching/WAF plugin stripping Blockpay-Signature header or blocking POSTAllowlist POST to ?wc-api=blockpay_webhook and bypass page cache; click Sync status
Checkout Blocks missing BlockpayOutdated plugin version (< 2.0.0)Update to Blockpay for WooCommerce v2.0.1 via Dashboard → Integrations