nostr:npub1wl3cs46hek62jm4j3x3k5etut3dkghlqfq6satsxa8q5s3tngcps22kjnr nostr:npub1zk6u7mxlflguqteghn8q7xtu47hyerruv6379c36l8lxzzr4x90q0gl6ef nostr:npub1yxp7j36cfqws7yj0hkfu2mx25308u4zua6ud22zglxp98ayhh96s8c399s I was looking at the BTCPayServer Shopify plugin, and it occurred to me that a NWC plugin for Shopify could be very powerful and find a huge userbase -- basically to use NWC to generate and confirm invoices for Shopify.

The relevant docs for the BTCPayServer plugin are here: https://docs.btcpayserver.org/ShopifyV2/ - I have been looking a bit at the BTCPayServer code... the "back end" is a C# plugin.. https://github.com/btcpayserver/btcpayserver-shopify-plugin/tree/master/Plugins/BTCPayServer.Plugins.ShopifyPlugin .. then there is a small node.js app that constitutes the "Shopify Checkout Extension" here: https://github.com/btcpayserver/shopify-app ...

It might be straightforward to study this docs page and these two github repos, and they would tell you most of what you need to know to build this.. This is something I would like to work on, likely won't have time for a few weeks but it seems like somebody should build this, because it could be really powerful, right?

Reply to this note

Please Login to reply.

Discussion

It would be great to have a Shopify NWC plugin!

I quickly looked at the shopify app code for BTCPayServer and I think it redirects the user to BTCPayServer to make the payment. I don't think this should be needed with NWC. Ideally the payment component is rendered directly inside Shopify if that's possible. Bitcoin Connect could be used to render the payment form on the frontend as it already has all the UI for making payments (QR code, copy, open in lightning wallet etc).

Cool, now how about for WooCommerce?

Yes. We need NWC plugins for WooCommerce and Shopify.

I was asking when you'll have them for WooCommerce.