This WordPress/WooCommerce plugin integrates with BTCPay Server to display product prices in Bitcoin satoshis (sats) alongside the default currency.
- 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
- WordPress
- WooCommerce
- BTCPay Server instance with API access
- PHP
- Download the plugin zip file
- Log in to your WordPress admin panel
- Navigate to Plugins > Add New
- Click "Upload Plugin" and select the downloaded zip file
- Click "Install Now" and then "Activate Plugin"
- Enter BTCPay Server Address
- URL of your BTCPay Server i.e.
https://btcpay.example.com
- URL of your BTCPay Server i.e.
- Enter Store ID
- Login to your BTCPay Server
- Go to Settings > General and copy the string in "Store ID"
- 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
- Choose to display prices only in Bitcoin, side-by-side with fiat currency, or enable a toggle button to switch between them
- Set "Rounding" to set if your store will display prices rounded to the nearest 1,000 Sats, 100 Sats, 10 or 1
- Save Changes
Once configured, the plugin will automatically display Sats prices by default. Customers may toggle back to USD prices, if not disabled.
- Support for variable-price products
- Sats price to reflect discounts for Bitcoin payments
- Display converted fiat price if store currency is BTC/SAT
- Customizable prefix/suffix text before/after Sats amount
- Font Awesome support for currency icons
- Post-payment checkout screen prices
For bug reports or feature requests, please open an issue on GitHub.
Contributions are welcome and appreciated!
This project is licensed under The Unlicense.
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.