A Woocommerce plugin, that accepts Sats thru cashu, and settles instantly into you lightning wallet 🙏
Not trying to ask too much
A Woocommerce plugin, that accepts Sats thru cashu, and settles instantly into you lightning wallet 🙏
Not trying to ask too much
This is the Lightning <--> Shopify plugin we built: https://github.com/MegalithicBTC/BLFS
Also we want to build one for WooCommerce if there is demand.
Would probably be lightning-only and not Cashu just because that is our area of expertise. But definitely ping us if you think you would use it.
I said what I said
I would use this. Is there any way to use this with my Alby Hub? I’m currently using the BTC Pay server running a full node on VPS. Is this a more lightweight solution?
Are you talking about Woo commerce? Shopify?
Shopify
Yes. BLFS is intended to be more lightweight than BtcPayserver. Docs are here. https://docs.megalithic.me/BLFS/getting-started ... yes it is designed to be run with any NWC service for example Alby Hub. We would be happy to help you set it up, pls feel free to reach out.
It looks like I still need to spin a VPS, granted a smaller one than BTCPay. It’d be amazing if there was a way to do this directly with a simple compute worker, Shopify API, and NWC
Yes, you do need some kind of VPS, unless you want someone else to run it for you. (We could run it for you, if you wanted, but you'd be trusting us.)
The issue is that Shopify needs to "redirect" to another website to show the invoices... there's no way around that.
So you basically have to host some kind of website...
BTW.. you said "a simple compute worker" -- what do you mean by that?
If you're technical and want to suggest another way to do this, please do look at the github repo and tell us if you have any great ideas... but I think you will find that ultimately you have to run SOME kind of web server to show the invoices.... and it must be on a domain that you control, too. (Again, unless you wanted someone else to run BLFS for you.)
BTW this should work WELL on a 1 CPU VPS, 2 GB or ram, or even 1 GB of ram probably. So yes, a lot less compute intensive than BTCPay. But yes, you do need to be able to show an HTML page.
Your "simple compute worker"... I wonder if you could do the whole thing with those fancy cloud functions like AWS Lambda. Every time I have messed with that stuff, I in the end realized it would just be better to get a $5/mo VPS and have a proper linux machine to run something on.
But maybe you can be clever, look at our repo, and suggest a way to do this in a more lightweight way.
Great point. I will probably make the switch over to your tool soon. I’m glad there’s more devs working on this. If there’s a true plug and play true P2P checkout page for Shopify it will be so easy to convince sellers to accept BTC.
Great. You'll be one of the first users to implement BLFS in production so definitely if you get stuck anywhere please reach out for help ... https://megalithic.me/contact ... you can see that the docs are extensive .. https://docs.megalithic.me/BLFS/getting-started ... but that doesn't mean there aren't errors in the docs and it would be useful if you could find them...
Most definitely will. We will be in touch either way!
Working on the install now and everything worked well until the last and final step. When trying to add it as a Manual Payment Method it does not appear in list. Any ideas?
No obvious ideas off the top of my head. Shopify is a maze and the necessary steps are long, so the best guess is maybe you missed a step. Maybe retrace and make sure you did all the previous steps?
did you check for this "greyed out options" issue?

No issue with this. I logged in as store owner.
You are at this step, right? https://docs.megalithic.me/BLFS/merchant_add_buttons_to_ui
Maybe start from the top of that page and tell me where you get stuck?
I just redid the entire process from setting up the VPS and it still runs into that same missing piece on the last step. Yes, this is the right page I’m working on and it’s just the Manual Payment Method step where it doesn’t show up in the list.
Ok. Likely what I should do is follow the directions again from scratch on my end with my test merchant, to confirm the directions are still right on my end. Will ping u when I have done this.
The only hang up I had in any of the process was getting the docker installed but I confirmed with Claude that it’s in there properly.
I just added the button manually as a new Create Custom Payment Method and it worked. Just completed a checkout and it worked perfectly. You should update the docs to tell people that if that method doesn’t show up automatically they can just type in “Pay with Bitcoin Lightning”
Amazing, you just saved me !@$@#$ hours of rebuilding my test setup. Any chance you can get me on telegram or signal https://megalithic.me/contact -- it would be REALLY helpful if you could walk me through exactly where your problem was and where you fixed it, so I can modify the docs...
I was trying anything avoid sending you on a wild goose chase. Glad it’s working now! Just sent you a chat on signal.
Easy peasy
👀
hey can i email you to ask you a couple questions about how u built your website?
It's not cashu but I have a few Woocommerce plugins that make it easy to accept sats as payment and other fun things.