Title: Cashu For WooCommerce
Author: Rob Woodgate
Published: <strong>11 Tháng 6, 2026</strong>
Last modified: 22 Tháng 10, 2026

---

Tìm kiếm plugin

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

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

# Cashu For WooCommerce

 Bởi [Rob Woodgate](https://profiles.wordpress.org/robwoodgate/)

[Tải về](https://downloads.wordpress.org/plugin/cashu-for-woocommerce.0.5.2.zip)

[Xem trước trực tiếp](https://vi.wordpress.org/plugins/cashu-for-woocommerce/?preview=1)

 * [Chi tiết](https://vi.wordpress.org/plugins/cashu-for-woocommerce/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/cashu-for-woocommerce/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/cashu-for-woocommerce/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/cashu-for-woocommerce/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/cashu-for-woocommerce/)

## Mô tả

A secure Cashu payment gateway for your WooCommerce store.

This plugin adds a checkout that accepts Lightning or Cashu ecash, paying out to
your bitcoin lightning address. Ecash payments are converted (melted) via your trusted
Cashu mint in real time.

Checkout presents a single QR code that any of the following can scan and pay:

 * Lightning wallets: pay via the trusted mint and out to your lightning address.
 * Cashu wallets (NUT-18): post proofs directly to the plugin, which melts them 
   at the trusted mint and pays your lightning address.
 * Wallets that understand BIP-321 unified URIs see both options at once and pick
   whichever they support.

### Features

 * Receive to any lightning address: Your lightning provider doesn’t need any special
   features.
 * Privacy, just like cash: All payments are routed through your trusted Cashu mint.
   Your lightning address stays private, so do your customer’s payments.
 * Flexibility: switch trusted mints at any time to find the best fees and service.
 * Pay via Lightning: Customers can pay from a regular bitcoin lightning wallet.
 * Pay via Cashu: Customers can send Cashu ecash direct from any Cashu wallet.
 * Wallet-agnostic QR: Unified BIP-321 QR by default, with Cashu-only and Lightning-
   only fallback tabs for older wallets.
 * Safety: You only have to trust one Cashu mint (your trusted mint).
 * Accurate prices: Spot rates are taken from coinbase / coingecko.
 * I18n: Checkout can be translated into any language.

### External services

This plugin connects to several third-party services to function. Each is described
below: what it does, what data is sent, when, and links to the relevant terms.

#### Cashu mint (merchant-configured)

The mint is chosen by the merchant in plugin settings. It is used to mint Lightning
invoices for customers paying via Lightning, and to melt Cashu ecash proofs received
from customers into a Lightning payment to the merchant’s Lightning address.

 * What is sent: Lightning quote/melt requests, Cashu ecash proofs (only when a 
   customer pays in ecash), and the merchant’s Lightning address. No personally 
   identifying customer data is sent.
 * When: only during the active checkout flow (quoting, payment, settlement).
 * Terms of service and privacy policy depend on the mint configured by the merchant.
   Merchants should review the terms of their chosen mint before using it.

#### Lightning address provider (merchant-configured)

The plugin resolves the merchant’s Lightning address (an LNURL-pay endpoint) to 
obtain a payable invoice. The endpoint is determined entirely by the Lightning address
the merchant enters in plugin settings.

 * What is sent: the requested invoice amount and the username part of the merchant’s
   Lightning address.
 * When: during checkout, when a payment quote is being generated.
 * Terms of service and privacy policy depend on the Lightning provider hosting 
   the merchant’s address.

#### Coinbase Spot Price API

Used to fetch the current Bitcoin spot price in the store’s configured currency,
so customers can see fiat-equivalent amounts at checkout.

 * What is sent: only the store’s fiat currency code (e.g. “GBP”, “USD”) in the 
   URL path. No customer or store-identifying data is sent.
 * When: when a checkout payment quote is created. Results are cached for 30 seconds.
 * Endpoint: https://api.coinbase.com/v2/prices/BTC-{CURRENCY}/spot
 * Terms of service: https://www.coinbase.com/legal/user_agreement
 * Privacy policy: https://www.coinbase.com/legal/privacy

#### CoinGecko Simple Price API

Used as an alternative source for Bitcoin fiat pricing.

 * What is sent: only the store’s fiat currency code as a query parameter. No customer
   or store-identifying data is sent.
 * When: when a checkout payment quote is created. Results are cached for 30 seconds.
 * Endpoint: https://api.coingecko.com/api/v3/simple/price
 * Terms of service: https://www.coingecko.com/en/terms
 * Privacy policy: https://www.coingecko.com/en/privacy

### Source

Development happens on [GitHub](https://github.com/cashubtc/cashu-for-woocommerce).
Issues and pull requests are welcome.

### Donations

Cashu is a free and open-source project, supported by donations. If you love this
plugin, please consider supporting us in any of the ways below:

 * Tip the developer: https://donate.cogmentis.com
 * Donate to OpenCash: https://opencash.dev

## Ảnh màn hình

[⌊Bitcoin gateway settings — set the title, the checkout description, and enable
the gateway.⌉⌊Bitcoin gateway settings — set the title, the checkout description,
and enable the gateway.⌉[

Bitcoin gateway settings — set the title, the checkout description, and enable the
gateway.

[⌊Cashu Settings — configure your Lightning address, choose a trusted mint, and 
pick which payment paths to offer at checkout.⌉⌊Cashu Settings — configure your 
Lightning address, choose a trusted mint, and pick which payment paths to offer 
at checkout.⌉[

Cashu Settings — configure your Lightning address, choose a trusted mint, and pick
which payment paths to offer at checkout.

[⌊Checkout — customers see a single Bitcoin payment option that accepts both Lightning
and Cashu ecash.⌉⌊Checkout — customers see a single Bitcoin payment option that 
accepts both Lightning and Cashu ecash.⌉[

Checkout — customers see a single Bitcoin payment option that accepts both Lightning
and Cashu ecash.

[⌊Pay screen — unified QR with Auto / Cashu / Lightning tabs; payments settle via
the merchant's trusted Cashu mint.⌉⌊Pay screen — unified QR with Auto / Cashu / 
Lightning tabs; payments settle via the merchant's trusted Cashu mint.⌉[

Pay screen — unified QR with Auto / Cashu / Lightning tabs; payments settle via 
the merchant’s trusted Cashu mint.

## Cài đặt

 1. Make sure your server is running PHP 8.3 or higher
 2. Upload and unzip `cashu-for-woocommerce.zip` to the `/wp-content/plugins/` directory.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.
 4. Configure the plugin settings via the WooCommerce settings page.
 5. Ensure you setup your lightning address so Cashu payments can be routed properly.

## Hỏi đáp

### Does this store private keys in WordPress?

No, the plugin requires only your public lightning address.

Payments in Cashu ecash are melted to bitcoin and sent to you via lightning in real
time, so no sensitive keys are required on the server.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Cashu For WooCommerce” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Rob Woodgate ](https://profiles.wordpress.org/robwoodgate/)

[Dịch “Cashu For WooCommerce” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/cashu-for-woocommerce)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/cashu-for-woocommerce/),
check out [SVN repository](https://plugins.svn.wordpress.org/cashu-for-woocommerce/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/cashu-for-woocommerce/)
qua [RSS](https://plugins.trac.wordpress.org/log/cashu-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 0.5.2

Maintenance: tested with WordPress 7.1 and WooCommerce 11.2.
 Maintenance: updates
the bundled Cashu library (cashu-ts 4.11.0).

#### 0.5.1

Fixed: checkout and payment recovery now survive a mint rotating its keysets mid-
order; funds minted before the rotation are found and spent correctly.
 Maintenance:
updates the bundled Cashu library (cashu-ts 4.9.0).

#### 0.5.0

Fixed: Lightning payments that settle after the checkout window are now detected
and completed. An hourly watch follows every invoice to its real expiry, emails 
the customer a completion link when a late payment arrives, holds unpaid orders 
while their invoice is still payable, and reopens the payment page for a cancelled
order whose payment was found.
 New: the checkout window extends itself while the
exchange rate stays steady, so slow payers keep a stable invoice instead of losing
it after 15 minutes. New: a hint under the checkout QR explains tap-to-copy, and
copying shows an animated confirmation. Changed: the mint disclosure moved below
the payment card.

#### 0.4.0

New: trusted-mint picker in settings, with auditor discovery and each mint’s self-
description shown before you save.
 New: checkout respects the mint’s and your lightning
address’s amount limits; the gateway hides itself for carts outside the payable 
range. Fixed: upgrading the plugin in place can no longer trigger a one-off fatal
error (and recovery-mode email) at the end of the update. Fixed: the WordPress.org
plugin page now ships its Live Preview demo blueprint.

#### 0.3.2

Changed: new plugin icon on WordPress.org.
 Fixed: WordPress.org release tagging
so plugin updates and rollbacks resolve the stable version correctly. Fixed: uninstall
cleanup now covers multisite networks larger than 100 sites. Maintenance: internal
code consolidation and cleanup.

#### 0.3.1

Fixed: hardens checkout against fund loss in rare edge cases.
 Fixed: duplicate 
payment box on checkout pages that mix block and classic checkout. New: mints are
now checked for payment-recovery (NUT-09) support when saved. Improved: the full
payment preimage is no longer written to order notes.

#### 0.3.0

Changed: plugin now lives in the official cashubtc GitHub organisation.
 Maintenance:
removed bundled translations; translate.wordpress.org now handles translations.

#### 0.2.0

New: choose which payment tabs (Unified / Cashu / Lightning) appear at checkout,
and which is the default.
 New: settings probe the configured mint on save to verify
it supports lightning (BOLT11) sat for mint and melt. Improved: per-tab QR centre
icons. Improved: stranded ecash proofs can self-recover from local storage on page
refresh. Fixed: already-paid quotes no longer trigger the recovery UI when refreshing
the checkout. Fixed: payment success is shown visually before redirect to the thank-
you page.

#### 0.1.1

Adds comment to LN invoice (if supported)
 Tweaks total / fee display

#### 0.1.0

First public release. Test carefully, don’t be reckless.

## Meta

 *  Phiên bản **0.5.2**
 *  Cập nhật lần cuối **3 tuần trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 6.5 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.1.4**
 *  Phiên bản PHP ** 8.3 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/cashu-for-woocommerce/)
 * Thẻ
 * [bitcoin](https://vi.wordpress.org/plugins/tags/bitcoin/)[checkout](https://vi.wordpress.org/plugins/tags/checkout/)
   [Lightning](https://vi.wordpress.org/plugins/tags/lightning/)[payments](https://vi.wordpress.org/plugins/tags/payments/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/cashu-for-woocommerce/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/cashu-for-woocommerce/reviews/)

## Những người đóng góp

 *   [ Rob Woodgate ](https://profiles.wordpress.org/robwoodgate/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/cashu-for-woocommerce/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://opencash.dev/)