[WordPress] 外掛分享: Bitcoin Lightning Payment Gateway for WooCommerce (via CLINK)

首頁外掛目錄 › Bitcoin Lightning Payment Gateway for WooCommerce (via CLINK)
WordPress 外掛 Bitcoin Lightning Payment Gateway for WooCommerce (via CLINK) 的封面圖片
全新外掛
安裝啟用
尚無評分
4 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.0.8 上架:2026-07-06

內容簡介

此外掛允許 WooCommerce 商店透過 CLINK 協議接受 Bitcoin Lightning Network 付款,無需網頁伺服器,所有通訊均透過 Nostr 中繼進行,簡化了加密貨幣支付流程。

【主要功能】
• 支援簡單、變動、數位及訂閱產品
• 兼容經典結帳及 WooCommerce 購物車/結帳區塊
• 實時 BTC 價格顯示,支援固定匯率選項
• 商品頁面、購物車及結帳頁面可顯示價格
• 自動將商店貨幣轉換為 sats
• 訂單接收頁面顯示 QR 碼

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.8) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Bitcoin Lightning Payment Gateway for WooCommerce (via CLINK)」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Accept Bitcoin Lightning Network payments on your WooCommerce store via the CLINK protocol. No web server required for your Lightning node — all communication flows over Nostr relays.
Customers can pay with ShockWallet, ZEUS, Amethyst, or any CLINK-compatible Lightning wallet.
How It Works

Merchant generates a CLINK Offer string (noffer1...) from their CLINK-compatible wallet
Customer checks out and selects “Lightning (CLINK)” as payment method
The plugin uses the noffer to request a BOLT 11 Lightning invoice over Nostr
Customer scans the QR code and pays with any Lightning wallet
Payment is confirmed via CLINK receipt — order is marked complete

Features

Supports simple, variable, digital, and subscription products
Works with both classic checkout and WooCommerce Cart/Checkout Blocks
Live BTC price via CoinGecko (5-minute cache) or optional fixed rate
Display prices in sats, BTC, or ₿ (bip-0177) on product pages, cart, and checkout
Configurable invoice timeout and poll interval
Automatic sats conversion from your store currency
QR code display on the order-received page
Full refund support (manual Lightning refund)
Compatible with Custom Price for WooCommerce Pro and other price-display plugins
Client-side price conversion fallback for maximum plugin compatibility

Third Party Services
This plugin communicates with the following third-party services:
Nostr Relays (CLINK Protocol)

Purpose: Request and receive Lightning invoices from the merchant’s CLINK-compatible wallet
When: At checkout, when a customer places an order using the CLINK payment method
Data sent: Merchant’s noffer offer data, payment amount in satoshis, order description, and ephemeral public keys
Relay URL: Determined by the merchant’s noffer string (configured in the gateway settings)
Privacy note: No personal customer data (name, email, address) is transmitted to Nostr relays. Only the payment amount and a short order description are shared. Customers choosing wallet-based auto-renewal (ndebit) authorize the merchant to pull future subscription payments; the ndebit string and subscription amount are known to the Nostr relay.

CoinGecko

Purpose: Fetch the current BTC-to-fiat exchange rate for price display
When: On checkout page load, every 5 minutes (result is cached in WordPress transients)
Data sent: The store’s currency code (e.g., usd, eur)
Privacy policy: https://www.coingecko.com/en/privacy
Note: If configured, a fixed exchange rate in the plugin settings bypasses this service entirely.

ShockWallet.app

Purpose: Informational links for customers to generate CLINK noffer/ndebit strings
When: When the customer clicks the link (no data sent by the plugin automatically)
Privacy policy: https://docs.shock.network/privacy

Development
Source code for the built JavaScript bundles is included in the plugin:

assets/js/clink-checkout.js — source for the order-received page bundle
assets/js/clink-blocks.js — source for the blocks checkout registration
assets/js/clink-price-converter.js — source for the client-side price conversion fallback
build.mjs — esbuild configuration
package.json — npm dependencies

延伸相關外掛

文章
Filter
Apply Filters
Mastodon