This WooCommerce extensions lets you accept onchain and lightning Bitcoin payments using the LNbits Satspay Server extension.
Follow the instructions at https://github.com/lnbits/woocommerce-payment-gateway/blob/main/README.md to configure and setup the plugin.
You will need access to an LNbits instance to use this plugin. You can use the demo LNbits instance at https://legend.lnbits.com/ to test this plugin.
This plugin is released under the MIT license.
- Open your LNbits instance e.g. https://legend.lnbits.com/
- Create a new wallet, or use an existing wallet if you already have one you want to use
- From the sidebar, take a note of the Wallet ID and Invoice/read key. You will need this later
- Click manage extensions in the sidemenu and enable the Satspay Server and Watch Only extensions
- Open the Watch Only extension and import an xpub/ypub/zpub to add a new watch only wallet
- Take a note of the watch only wallet ID that has been created. You will need this later
- That's it. Now, let's set up the WooCommerce plugin!
- Install the plugin using your Wordpress admin panel by searching for "LNbits - Bitcoin Onchain and Lightning Payment Gateway" or drop this repo into your wp-content/plugins directory
- Activate the plugin
- Open WooCommerce > Settings > Payments and activate the LNbits payment method, then click manage.
- Edit the Title and Description fields as you want
- Enter the LNbits URL for your LNbits server and paste in your settings for the Invoice/Read Key, Wallet ID and Watch Only Extension Wallet ID
- Click "Save changes"
- ?????
- Profit
This plugin is a fork of Phaedrus' original LNBits For WooCommerce.
Thank you to Phaedrus for the work on the original plugin on which this plugin leans heavily.