Skip to content

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

License

Notifications You must be signed in to change notification settings

muhepd/woocommerce-gateway-lightning

 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 96.3%
  • CSS 3.7%