I would like to maybe setup Lightning payments for this. I built it a couple of years ago when Lightning support was a bit less than it is today.
If you have a getalby.com account, you can easily insert HTML headers so other getalby users can pay you with lightning. Because of Nostr, it seems like more and more people have set up an alby account. It's an easy way to have quick lightning payment integration in your website until you properly set up a non-custodial system to collect payments.
Here is an example: https://agora256.com/
I think you simply need to add headers in your HTML pages like so:
<meta property="alby:name" content="agora256@getalby.com" /> <meta property="alby:image" content="https://agora256.com/content/images/2023/02/AGORA256-01-transparency.png" /> <meta name="lightning" content="lnurlp:agora256@getalby.com"/> <meta property="og:image" content="https://agora256.com/content/images/2023/02/AGORA256-01-transparency.png" />
Not sure you need the last 2 <meta>, see doc here: https://guides.getalby.com/overall-guide/alby-for-developers/alby-meta-tags, but that works well.
reply
Oh thank you so much! I got it setup I think! https://wanderthenight.com/
reply
it works!
reply