WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-bitcoin-price-display

WooCommerce Bitcoin Price Display WP Registry grade A-. Low-severity findings · 1 findingWP RegistryLow-severity findings · 1 findingOpen the reportA-

Wordpress/Woocommerce Plugin To Display Prices In Sats

★ 7stars
51release downloads
≈10active sites
v1.4latest · 1 year ago

Install

Download woocommerce-bitcoin-price-display.zip From the v1.4 release on GitHub, Feb 27, 2025

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/pardus79/woocommerce-bitcoin-price-display/releases/download/v1.4/woocommerce-bitcoin-price-display.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

This WordPress/WooCommerce plugin integrates with BTCPay Server to display product prices in Bitcoin satoshis (sats) alongside the default currency.

Features

  • Periodically pulls exchange rate data from your BTCPay Server every 10 minutes
  • Displays product prices in sats throughout your WooCommerce store
  • Button to allow customers to toggle USD price display (There's a setting to disable this)
  • Detects your store's set currency and converts appropriately
  • Can display currency and Sats prices side-by-side

Requirements

  • WordPress
  • WooCommerce
  • BTCPay Server instance with API access
  • PHP

Installation

  1. Download the plugin zip file
  2. Log in to your WordPress admin panel
  3. Navigate to Plugins > Add New
  4. Click "Upload Plugin" and select the downloaded zip file
  5. Click "Install Now" and then "Activate Plugin"

Configuration

  1. Enter BTCPay Server Address
    • URL of your BTCPay Server i.e. https://btcpay.example.com
  2. Enter Store ID
    • Login to your BTCPay Server
    • Go to Settings > General and copy the string in "Store ID"
  3. Enter BTCPay Server API Key
    • Login to your BTCPay Server
    • Go to Settings > Access Tokens > Click link to "generate Greenfield API Keys"
    • Click "Generate Key" button
    • Enter any label for the key
    • Mark ONLY "View your stores btcpay.store.canviewstoresettings"
    • Click "Generate API Key" button at bottom
    • Back on the "API Keys" screen, click the "Reveal" link next to the labled key you just made
    • Copy/Paste that key into the "API Key" in the plug-in
  4. Choose to display prices only in Bitcoin, side-by-side with fiat currency, or enable a toggle button to switch between them
  5. Set "Rounding" to set if your store will display prices rounded to the nearest 1,000 Sats, 100 Sats, 10 or 1
  6. Save Changes

Usage

Once configured, the plugin will automatically display Sats prices by default. Customers may toggle back to USD prices, if not disabled.

To-Do

  • [x] Support for variable-price products
  • [x] Sats price to reflect discounts for Bitcoin payments
  • [ ] Display converted fiat price if store currency is BTC/SAT
  • [x] Customizable prefix/suffix text before/after Sats amount
  • [x] Font Awesome support for currency icons
  • [ ] Post-payment checkout screen prices

Support

For bug reports or feature requests, please open an issue on GitHub.

Contributing

Contributions are welcome and appreciated!

License

This project is licensed under The Unlicense.

Acknowledgements

Thank you!

If you find this plug-in useful and want to send a few sats my way, my lightning address is btcpins@btcpay0.voltageapp.io

I encourage you to support the REAL devs by donating some Bitcoin to OpenSats. That money will help support further development of BTCPay Server as well as many other Bitcoin and privacy-enabling projects.

Releases

6 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.4 latest
Feb 27, 2025 1 year ago
woocommerce-bitcoin-price-display.zip
9
Jul 23, 2024 2 years ago
woocommerce-bitcoin-price-display.zip
10
Jul 19, 2024 2 years ago
woocommerce-bitcoin-price-display.zip
8
Jul 6, 2024 2 years ago
woocommerce-bitcoin-price-display-main.zip
7
Jun 25, 2024 2 years ago
woocommerce-bitcoin-price-display-main.zip
10
Jun 25, 2024 2 years ago
woocommerce-bitcoin-price-display-v1.0.zip
7

Active-site estimate ≈10 comes from the median of recent superseded releases. Method.

A- grade

Security

WooCommerce Bitcoin Price Display 1.4.0 · audited by WP Registry

Low-severity findings only.

1 low
Audited release
1.4.0
Findings
1
Worst severity
low
Content hash
52f633c581fa749aac1921ec…

Findings

  • low nopriv ajax_toggle_price_display lacks nonce

    missing_nonce

    wp_ajax_nopriv_toggle_price_display → ajax_toggle_price_display() flips $_SESSION['price_display'] with no check_ajax_referer. Nonce is created for bitcoin_price_toggle_nonce and enforced on ajax_price_update, but not on the toggle handler. CSRF can flip a visitor's currency display preference (low blast radius).

    woocommerce-bitcoin-price-display.php:645-656

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.