What is Nostr?
BtcPins
npub12z5…9k9c
2024-09-07 17:04:34

BtcPins on Nostr: Got payouts to work! See how fast the payout occurred after the order was marked ...

Got payouts to work! See how fast the payout occurred after the order was marked completed (shipped)? Straight to a lightning address that was encrypted in the affiliate link with no sign-ups by the affiliate.

So less than 24hrs from 0 to working prototype. A non-coder using AI.

Next, allow unencrypted lightning addresses in links and some vanity links in the settings.





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.

Author Public Key
npub12z5nym0qkxhdrvmyhup2llzp98lryr38gw8ywxktkps9eqdts7asjj9k9c