Why Nostr? What is Njump?
2023-09-01 23:29:03

Dimitrijaen on Nostr: Interesante la última parte sobre que cada tienda tenga su propio nodo y depender de ...

Interesante la última parte sobre que cada tienda tenga su propio nodo y depender de terceros. Es lobquw debería buscar todo comerciante, abaratar costos y tener más libertad financiera.
Couldn’t get OpenNode working… but figured out a way to use my core-lightning node to accept payments in the Damus shopify store. Idea is to use a manual payment method, when the user clicks pay now in their invoice email, it links out to a lnlink.org lightning payment link (no server required)

http://lnlink.org/?d=ASED88EIzNU2uFJoQfClxYISu55lhKHrSTCA58HMNPgtrXECbW9uYWQuZW5kcG9pbnQuamI1NS5jb206ODMyNAADYAego9kAnmQBTmdZ0uqhrkXuFX-qs8CckOUKN29B0bf8PTEyMCZtZXRob2Q9aW52b2ljZXxtZXRob2Q9d2FpdGludm9pY2UmcG5hbWVsYWJlbF5sbmxpbmstJnJhdGU9OARPcmRlciAjMTIzNDUABQAATiAGRGFtdXMgVAA=

The lnlink.org payment link contains all the information needed to connect to a lightning node to fetch invoices and wait for payment results.

All I need to do is include the order number and amount in the lnlink URL for the shopify invoice email.

This is a much lighter weight way than btcpayserver to accept lightning payments, because you don’t need to run any server code, just a lightning node.

Maybe I should build a shopify payment app for this to make it super easy 🤔

In the future this can be made even easier by using nostr relays as an lnlink proxy, so even if your node is behind a firewall it would work! Imagine running shopify stores off your own node in your home with no need to integrate into third party payment processors or run any servers. So much cool tech yet to build…
Author Public Key
npub1c73r76c7vkmjgsefmgg00hzl8l9pt80mt9vmv74p6fu27k8lules2l7q25