Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 960 Bytes

README.md

File metadata and controls

29 lines (15 loc) · 960 Bytes

WooCommerce Plugin for Bitcoin Lightning

Plugin to accept Bitcoin Lightning payments at WooCommerce stores, using LND.

Installation

Requires PHP >= 5.6 and the php-curl and php-gd extensions.

  1. Setup a [LND] node (https://github.com/lightningnetwork/lnd).

  2. Get the Node server IP and macaroon key

  3. Install and enable the plugin on your WordPress installation.

  4. Under the WordPress administration panel, go to WooCommerce -> Settings -> Checkout -> Lightning and set LND endpoint and macaroon key.

  5. 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.

Bitcoin ticker

Price and conversation rates is available thanks to a bitcoinaverage.com API (line 141 in Lnd_wrapper).

License

MIT