BtcPins on Nostr: I was making good progress on a new Woocommerce / btcpayserver plugin when Lunanode ...
I was making good progress on a new Woocommerce /
btcpayserver (nprofile…kvl9) plugin when Lunanode went down tonight.
So it's an affiliate app. People can earn sats shilling my store. That's not the cool part though.
1. No need to create an account on my site. All you do is take your lightning address and encrypt that with a public key I provide, add it to my store URL. I'll have a page that makes that easy, but you can verify it or do it yourself 👍
The URLs it makes are pretty long, but that's a later problem.
2. When someone buys something after following your link, the plugin decrypts the referral URL, calculates the payout, then sends some API calls to my
btcpayserver (nprofile…kvl9) to create a Pull Payment then a Payout Request for that. Then Btcpayserver sends the payment to the lightning address.
3. The plugin confirms that was all done and adds some notes to the order so it doesn't get paid twice.
I'm making this mainly because I hate marketing and want others to do it for me. Also I don't want to have to deal with tracking orders and paying people manually. Set it and forget it.
Published at
2024-09-07 03:42:58Event JSON
{
"id": "ff4cfcc08bc90f6a84e182927490a6ee2ad5fcadfe5c74a5ecdfd9acc0e4ac4e",
"pubkey": "50a9326de0b1aed1b364bf02affc4129fe320e27438e471acbb0605c81ab87bb",
"created_at": 1725680578,
"kind": 1,
"tags": [
[
"p",
"a536ab1f7f3c0133baadbdf472b1ac7ad4b774ed432c1989284193572788bca0",
"",
"mention"
]
],
"content": "I was making good progress on a new Woocommerce / nostr:nprofile1qqs22d4tralncqfnh2kmmarjkxk8449hwnk5xtqe3y5yry6hy7ytegqpzemhxue69uhk2er9dchxummnw3ezumrpdejz7qgcwaehxw309ahx7um5wghxvmt59emkj73wvf5h5tcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsymkvl9 plugin when Lunanode went down tonight.\n\nSo it's an affiliate app. People can earn sats shilling my store. That's not the cool part though.\n\n1. No need to create an account on my site. All you do is take your lightning address and encrypt that with a public key I provide, add it to my store URL. I'll have a page that makes that easy, but you can verify it or do it yourself 👍\n\nThe URLs it makes are pretty long, but that's a later problem.\n\n2. When someone buys something after following your link, the plugin decrypts the referral URL, calculates the payout, then sends some API calls to my nostr:nprofile1qqs22d4tralncqfnh2kmmarjkxk8449hwnk5xtqe3y5yry6hy7ytegqpzemhxue69uhk2er9dchxummnw3ezumrpdejz7qgcwaehxw309ahx7um5wghxvmt59emkj73wvf5h5tcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsymkvl9 to create a Pull Payment then a Payout Request for that. Then Btcpayserver sends the payment to the lightning address.\n\n3. The plugin confirms that was all done and adds some notes to the order so it doesn't get paid twice.\n\n\nI'm making this mainly because I hate marketing and want others to do it for me. Also I don't want to have to deal with tracking orders and paying people manually. Set it and forget it.\n\n",
"sig": "933b35633131ad3a29963741edef1c92a2f4336e1dc1f96f932f5f17958b6b408c2c9eb29a5d59f83fd73a025a773916b76fceff74e8c457cd13219c55826da3"
}