Plugin to accept Bitcoin Lightning payments at WooCommerce stores, using LND.
Requires PHP >= 5.6 and the php-curl
and php-gd
extensions.
-
Setup a [LND] node (https://github.com/lightningnetwork/lnd).
-
Get the Node server IP and macaroon key
-
Install and enable the plugin on your WordPress installation.
-
Under the WordPress administration panel, go to
WooCommerce -> Settings -> Checkout -> Lightning
and set LND endpoint and macaroon key. -
Add LND tls.cert to plugin-folder/tls or input the exact path on plugin settings (Wordpress www-data group and user needs permission to access the file).
The payment option should now be available in your checkout page.
Price and conversation rates is available thanks to a bitcoinaverage.com API (line 141 in Lnd_wrapper).
MIT