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.
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
| Requirement | Minimum / Supported | Notes |
|---|---|---|
| WordPress | 6.2+ (tested through 7.1) | HTTPS required on public store domain |
| WooCommerce | Classic & Cart/Checkout Blocks | Full High-Performance Order Storage (HPOS) support |
| PHP | 7.4 or higher | Requires standard hash_hmac and cURL extensions |
| Store currency | USD ($) | Quotes convert USD cents into integer ETH / USDC / USDT |
| Blockpay workspace | Approved business + 0x wallet | Configure in Dashboard → Profile before going live |
Step-by-step installation
- Open Dashboard → Integrations in your Blockpay merchant workspace to get the official Blockpay for WooCommerce plugin.
- In WordPress Admin, navigate to Plugins → Add New → Upload Plugin, install the Blockpay for WooCommerce plugin, and click Activate Plugin.
- 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.
- Open Dashboard → Developers → API keys, click Generate key, and copy your secret bp_live_… key (shown once).
- In WordPress Admin, open WooCommerce → Settings → Payments → Blockpay. Copy the Webhook URL displayed in the setup diagnostics panel.
- Return to Blockpay Dashboard → Developers → Webhooks, paste your store’s HTTPS Webhook URL, click Save endpoint, and copy the generated Webhook signing secret.
- 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.
# 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 Status | WooCommerce Order Status | Action Taken |
|---|---|---|
| pending / confirming | Pending payment | Shopper redirected to hosted gateway; waiting onchain finality |
| settled | Processing (or Completed for virtual goods) | Verified HMAC webhook received; Etherscan tx hash logged in order notes |
| review | On hold | Short or late transfer flagged for manual merchant review with onchain proof |
| expired | Pending payment / Cancelled | 5-minute quote elapsed before broadcast; buyer can retry checkout |
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.
- Create a private or catalog-hidden WooCommerce product priced at $0.01 USD (minimum payment is 1 cent).
- Check out as a customer, choose Blockpay, and verify redirect to https://blockpaynow.com/checkout/pay_… .
- Select USDC, USDT, or ETH, confirm the 5-minute quote, and send the transfer from MetaMask, Phantom, or WalletConnect.
- 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
| Symptom | Likely Cause | Fix |
|---|---|---|
| Check connection returns 401 | API key rotated or whitespace pasted | Regenerate bp_live_ key in Developers and re-save in WooCommerce |
| Webhook rejected with 400 | Domain mismatch with approved business website | Ensure WordPress site URL origin matches your approved merchant website exactly |
| Order stays Pending after tx settles | Caching/WAF plugin stripping Blockpay-Signature header or blocking POST | Allowlist POST to ?wc-api=blockpay_webhook and bypass page cache; click Sync status |
| Checkout Blocks missing Blockpay | Outdated plugin version (< 2.0.0) | Update to Blockpay for WooCommerce v2.0.1 via Dashboard → Integrations |