getAlby / lightning-publisher-wordpress

WordPress plugin to integrate Bitcoin Lightning payments (for Value 4 Value payments, paywalls and tipping)
https://wordpress.org/plugins/bitcoin-lightning-publisher/
GNU General Public License v3.0
22 stars 11 forks source link

Use personal access token to access the Alby API #40

Closed bumi closed 11 months ago

bumi commented 11 months ago

Use an Alby connector that uses the personal access token and no longer the lndhub API.

best we build a small PHP package like the one for lndhub: https://github.com/bumi/lndhub-php (alby-php) that implements the same API.

In the WP plugin we allow users to save a personal access token (they will need to get one from https://getalby.com/developer/access_tokens/new with invoice#create and invoice#read account#read balance#read permission)