Are there any Bitcoin/Lightning plugins or APIs for an e-commerce website that could be hooked up using *only* CSS and JavaScript?
I’m not familiar enough with programming to know, but I’m really hoping it can be done…
#asknostr
Are there any Bitcoin/Lightning plugins or APIs for an e-commerce website that could be hooked up using *only* CSS and JavaScript?
I’m not familiar enough with programming to know, but I’m really hoping it can be done…
#asknostr
Looks like its possible with just JS if you run a BTCPay instance
I know they integrate with shopify too. nostr:npub1nxy4qpqnld6kmpphjykvx2lqwvxmuxluddwjamm4nc29ds3elyzsm5avr7 has it on his site
I’ve seen that. In this case I’m trying to convince someone that their company can (and should) integrate Bitcoin, lol
Ooh this would be ideal… I’m working within a super limited website structure at the moment - I basically have a prebuilt website with full fiat checkout, but in the admin dashboard there are fields to add CSS and JS elements, as well as custom HTML to the head, opening body content, and footer.
It’s more for proof of concept that a Bitcoin plugin can be added without dev team hours. We’ll see how it goes.
So for the btcpay docs you linked, there are instructions on the btcpay side, as well as sample js code to call the API… not sure if I’m completely overlooking other required steps to make something like this work, but if you were adding the plug-in to your website, and had the limitations on customization that I do, how would you approach it?
It looks like there are plenty of existing integrations for certain pre-built websites (wordpress, etc.)
https://docs.btcpayserver.org/integrations/
BTCPay Server is self-hosted so you manage the liquidity, host the server, and manage stores/profiles.
I think there are third-party products that will integrate more cleanly for a POC and still cut costs + introduce bitcoin would be something like https://opennode.com/pricing/
They take 1% fees on onchain and they say "none" for lightning. Im sure a for-profit company's product would be easier to integrate for a POC though since they are incentivised to make it easy. It may be as simple as signing up and copying a code snippet to put into the JS extension/custom code field on the website builder
Thank you for this! I’ll definitely play around and see what can be done 🤙🤙
Thanks homie! I’ll give it a shot