pull down to refresh

Do you have suggestions about the best way to integrate his Alby go wallet (sub account to my hub) to his web site? Zaprite doesn't seem to have an easy answer.
reply
You can do it with LNbits Woocommerce plugin and use the LNDhub details generated from your Alby Hub for that account. https://github.com/lnbits/woocommerce-payment-gateway
But you need to have your node exposed to clearnet https, otherwise will not gonna work. The WP + Woo must communicate with your node through clearnet with SSL certificate, is not working through direct IP or Tor.
Here is a working LNbits if you want to test too https://lnvoltz.com/
reply
Okay. Thanks. We're meeting later.
reply
OK, look, for TESTING purposes, I suggest you to do with him this scenario. Is very easy and quick.
Use any of these LNbits public instances, to create a demo account:
Or create a free account on nodana.io and spin up your own LNbits instance, using your LN node as funding source Or install LNbits on your own node machine and link it to your node, but you will need to expose it to clearnet with SSL certificate.
Once you have a LNbits account (it doesn't matter on which instance):
  • when you open first time the wallet on the right side panel you have the API keys drop-down. Just follow the instructions from LNbits Woocommerce plugin and link the e-shop with the LNbits instance.
  • you will see that also you can add a "watch-only" wallet ID (only for onchain payments). To get that, go to LNbits instance and activate the "Onchain wallet" extension. In that extension, insert whatever XPUB from a BTC wallet you want to use for received onchain payments. Then copy the walletID and put it into LNbits Woocommerce plugin settings.
  • go to LNbits instance and activate the extension "SatsPay" server. This is necessary to be able to charge payments, generating invoices in the cart using LN or onchain. No need to create any "charge", is enough to be installed. Create charges with specific amount only if you need to test payments.
  • activate the "Pay Links" extension, to be able to create LNURL-pay and LN Address.
  • activate the "Scrub" extension if you want to automatically withdraw the funds to an external address.
And done, now you can start testing payments directly in that e-shop. If you need more help, I am here, anytime.
reply
I am going to copy and paste this whole reply to him and his web guys too.
reply
They can contact me on nostr or Telegram directly if they need more help.
seems that I cannot send you anymore SN DMs...
reply
That's because of my attached wallet😀
reply
Okay
reply
Yes. I was using this article. I need to find an NWC lightning app with a lightning address that I can connect to the Friends And Family App. Now he's trying coinos, but his web guys cant seem to connect it to the woo app?
reply
Alby Go works perfectly fine with any NWC connection.
Now he's trying coinos, but his web guys cant seem to connect it to the woo app?
Coinos do not have plugin for woo, unfortunately.
What you can do is offer your LN node as funding source (until they figure it out with their own) and they can spin up a LNbits on any PC or a VPS and connect to your node. You can bake a dedicated macaroon only for that account so will not use all your node access and you can separate it from your own access.
With that access they configure the LNbits and they waill have a full solution at hand, woocommerce and all other things they need, inclusive LN address etc.
For LNbits you can use also the lndhub connection as funding source. That is more elegant than macaroons because they will have access only to THEIR funds cut not all the node liquidity.
reply
Okay. He wants the friends and family sub account. I had him download Alby Go. Then he said he got stuck. Does he need an account first?
reply
You need to provide him the NWC from your alby hub, you create that for each user and they just have to scan the QR or paste the NWC address. Done.
OK later I will update my alby guide, with more instructions to connect alby go and create sub-accounts etc. I think they have also some instructions on their manual page https://guides.getalby.com/user-guide/alby-account-and-browser-extension/alby-go/get-alby-mobile-app
reply
Yes. That's what I did. For some reason he didn't understand. I think we're good now. Thanks
reply