Title: Bitcoin Lightning Payment Gateway for WooCommerce (via CLINK)
Author: WooClink
Published: <strong>July 7, 2026</strong>
Last modified: July 7, 2026

---

Search plugins

![](https://ps.w.org/clink-gateway-for-woocommerce/assets/banner-772x250.png?rev
=3599258)

![](https://ps.w.org/clink-gateway-for-woocommerce/assets/icon-256x256.png?rev=3599262)

# Bitcoin Lightning Payment Gateway for WooCommerce (via CLINK)

 By [WooClink](https://profiles.wordpress.org/wooclink/)

[Download](https://downloads.wordpress.org/plugin/clink-gateway-for-woocommerce.zip)

 * [Details](https://wordpress.org/plugins/clink-gateway-for-woocommerce/#description)
 * [Reviews](https://wordpress.org/plugins/clink-gateway-for-woocommerce/#reviews)
 *  [Installation](https://wordpress.org/plugins/clink-gateway-for-woocommerce/#installation)
 * [Development](https://wordpress.org/plugins/clink-gateway-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/clink-gateway-for-woocommerce/)

## Description

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

 1. **Merchant** generates a CLINK Offer string (`noffer1...`) from their CLINK-compatible
    wallet
 2. **Customer** checks out and selects “Lightning (CLINK)” as payment method
 3. The plugin uses the noffer to request a BOLT 11 Lightning invoice over Nostr
 4. Customer scans the QR code and pays with any Lightning wallet
 5. 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

## Screenshots

[⌊Bitcoin Lightning Payment method at checkout via CLINK protocol⌉⌊Bitcoin Lightning
Payment method at checkout via CLINK protocol⌉[

Bitcoin Lightning Payment method at checkout via CLINK protocol

[⌊QR code on order-received page. Customer pay the first instalment immediately⌉⌊
QR code on order-received page. Customer pay the first instalment immediately⌉[

QR code on order-received page. Customer pay the first instalment immediately

[⌊After fist invoice is paid, Customer can activate Auto-Renewal pasting nDebit 
string from any CLINK-enabled bitcoin lightning wallet⌉⌊After fist invoice is paid,
Customer can activate Auto-Renewal pasting nDebit string from any CLINK-enabled 
bitcoin lightning wallet⌉[

After fist invoice is paid, Customer can activate Auto-Renewal pasting nDebit string
from any CLINK-enabled bitcoin lightning wallet

[⌊Customer paste nDebit string and interface display Coinfirmation of Auto-Renewal
activation for future payments⌉⌊Customer paste nDebit string and interface display
Coinfirmation of Auto-Renewal activation for future payments⌉[

Customer paste nDebit string and interface display Coinfirmation of Auto-Renewal
activation for future payments

[⌊When Auto-Renewal is activated, the customer has the option to pay next instalment
invoice anytime⌉⌊When Auto-Renewal is activated, the customer has the option to 
pay next instalment invoice anytime⌉[

When Auto-Renewal is activated, the customer has the option to pay next instalment
invoice anytime

[⌊Bitcoin Lightning payment Gateway (via CLINK) in WooCommerce > Settings page⌉⌊
Bitcoin Lightning payment Gateway (via CLINK) in WooCommerce > Settings page⌉[

Bitcoin Lightning payment Gateway (via CLINK) in WooCommerce > Settings page

## Installation

 1. Download the plugin `.zip` from WordPress.org
 2. Go to **Plugins > Add New > Upload Plugin**
 3. Upload the `.zip` and activate
 4. Go to **WooCommerce > Settings > Payments > CLINK (Lightning)**
 5. Enable the gateway and paste your `noffer1...` string
 6. Save changes

## FAQ

### What is a “noffer”?

A noffer is a CLINK Offer string (`noffer1...`) that advertises your Lightning node’s
ability to receive payments. Generate one from ShockWallet, Lightning.Pub, or any
CLINK-compatible wallet.

### Which wallets can customers use?

Any CLINK-compatible Lightning wallet: **ShockWallet**, **ZEUS**, **Amethyst**, 
and others.

### Does this need a Lightning node on my server?

No. All communication flows over Nostr relays. Your Lightning node only needs a 
Nostr connection.

### Are subscriptions supported?

Yes. Subscriptions work with WooCommerce Subscriptions, Subscriptions for WooCommerce,
YITH WooCommerce Subscription, Flexible Subscriptions, and others. After the first
payment, customers can authorize auto-renewal via CLINK ndebit — future payments
are processed automatically without scanning QR codes.

### How is the BTC price determined?

The plugin fetches the live BTC price from CoinGecko with a 5-minute cache. You 
can optionally set a fixed rate in the settings.

### Does this plugin work with Custom Price for WooCommerce Pro?

Yes. The plugin uses PHP_INT_MAX priority for all price filters and includes a client-
side JavaScript fallback that converts prices in the browser, ensuring compatibility
with Custom Price for WooCommerce Pro and similar price-display plugins.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Bitcoin Lightning Payment Gateway for WooCommerce (via CLINK)” is open source software.
The following people have contributed to this plugin.

Contributors

 *   [ WooClink ](https://profiles.wordpress.org/wooclink/)

[Translate “Bitcoin Lightning Payment Gateway for WooCommerce (via CLINK)” into your language.](https://translate.wordpress.org/projects/wp-plugins/clink-gateway-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/clink-gateway-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/clink-gateway-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/clink-gateway-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/clink-gateway-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.7

 * Stripped remote gist.github.com URL from built JavaScript bundle (WordPress.org
   review compliance)
 * Fixed contributors list to match plugin owner’s WordPress.org username
 * Added Third Party Services section documenting Nostr relays, CoinGecko, and ShockWallet.
   app
 * “Payment:” row on View Subscription page shows “Auto-Renewal” (ndebit saved) 
   or “Activate Auto-Renewal” link pointing to the parent order’s order-received
   page for ndebit setup

#### 1.0.6

 * Subscription “Payment:” row now shows “Via Auto-Renewal” or “Via Manual Renewal”
   based on ndebit status
 * Added “Activate Auto-Renewal” action link on My Account subscription items for
   subscriptions without ndebit
 * Added “Get your nDebit string” link pointing to my.shockwallet.app/lapps at checkout
   and on My Account
 * QR codes now generated client-side with bundled qrcode-generator library (no 
   remote API dependency)
 * Fixed “Auto-Renewal” title changed to “Setup Auto-Renewal” on the order-received
   page

#### 1.0.5

 * Added ndebit auto-renewal for subscriptions — customers authorize recurring payments
   via CLINK
 * Auto-renewal is active by default after first subscription payment; titled “Setup
   Auto-Renewal” on the order-received page
 * Customers can disable auto-renewal from My Account > Subscriptions
 * Added “Get your nDebit string” link at checkout and on My Account subscription
   items pointing to https://my.shockwallet.app/lapps
 * QR codes are now generated client-side using the bundled qrcode-generator library(
   no remote API dependency)
 * Added BTC / sats / ₿ (bip-0177) currency display option — overrides all frontend
   prices
 * Price display runs at PHP_INT_MAX priority to avoid conflicts with other plugins
 * Added client-side price conversion fallback for maximum compatibility with Custom
   Price for WooCommerce Pro and similar plugins
 * Fixed BTC/bip-0177 price formatting — now correctly shows 8 decimal places
 * Compatibility improvements for third-party subscription plugins
 * Fixed PCP warnings (text domain, non-prefixed hook ignore)

#### 1.0.4

 * Removed redundant Store Currency setting (uses WooCommerce default)
 * External links in description now open in new tabs with rel=”noopener noreferrer”
 * Fixed blocks checkout description rendering (HTML no longer escaped)
 * Fixed blocks checkout icon (was passing HTML instead of URL)
 * Added loading=”lazy” to gateway icon
 * Updated repo and author URLs

#### 1.0.3

 * Fixed blocks checkout support with dedicated JS bundle
 * Fixed WPCS violations from audit
 * Added SCRIPT_DEBUG conditional for .min suffix
 * Added subscriptions support

#### 1.0.2

 * Improved error handling and logging
 * Better mobile QR code layout

#### 1.0.1

 * Fixed classic checkout redirect flow
 * Added i18n support

#### 1.0.0

 * Initial release

## Meta

 *  Version **1.0.7**
 *  Last updated **12 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [bitcoin](https://wordpress.org/plugins/tags/bitcoin/)[Lightning](https://wordpress.org/plugins/tags/lightning/)
   [nostr](https://wordpress.org/plugins/tags/nostr/)[woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/clink-gateway-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/clink-gateway-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/clink-gateway-for-woocommerce/reviews/)

## Contributors

 *   [ WooClink ](https://profiles.wordpress.org/wooclink/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/clink-gateway-for-woocommerce/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://woo-clink.wasmer.app/product/donate/)