Bitcoin Forum
May 21, 2024, 02:21:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Automatic payment for affiliates with LN  (Read 91 times)
mendace (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 620


Pizza Maker 2023 | Bitcoinbeer.events


View Profile WWW
April 18, 2023, 08:20:47 PM
Merited by Pmalek (2), HeRetiK (1)
 #1

I ask you a question, if I had a website that sells gadgets and I wanted to integrate a payment on referrals to affiliated sites using LN but without using the Lnurl option which seems a bit too immature to me, is there a solution that can automate the All?  Bearing in mind that the affiliate can only use an email as a registration, therefore maximum anonymity, however, he cannot generate an invoice manually because otherwise the process is not automatic.  I hope I made myself clear.
SamReomo
Hero Member
*****
Offline Offline

Activity: 812
Merit: 680


Top Crypto Casino


View Profile
April 28, 2023, 07:34:50 AM
Merited by mendace (1)
 #2

I ask you a question, if I had a website that sells gadgets and I wanted to integrate a payment on referrals to affiliated sites using LN but without using the Lnurl option which seems a bit too immature to me, is there a solution that can automate the All?  Bearing in mind that the affiliate can only use an email as a registration, therefore maximum anonymity, however, he cannot generate an invoice manually because otherwise the process is not automatic.  I hope I made myself clear.

I think "Lightning charge" will solve the problem. You can integrate its API on your website easily to automate the payments. The Lightning charge can automate invoices without any issue. It can automate the invoice anonymously and it doesn't even requires the details of the customer.

You should definitely give it a try, and I'm sure it will solve your problem. I will provide you the link of the Lightning charge below, you should visit the link and learn more about this amazing payment processor.

https://github.com/ElementsProject/lightning-charge

You can also try OpenNode as that will serve the purpose as well, but I won't recommend that one as it's not open-source and it also requires customer details. 


███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3486
Merit: 6142



View Profile
April 28, 2023, 07:52:04 AM
 #3

Have you looked into this list?[1]. Although I'm not sure I understand exactly what you're trying to achieve here, there are plenty of non-KYC/noncustodial options that should help you automate whatever process you have.

[1] https://bitcointalk.org/index.php?topic=5444578.0

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
mendace (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 620


Pizza Maker 2023 | Bitcoinbeer.events


View Profile WWW
April 28, 2023, 08:15:37 AM
 #4



I think "Lightning charge" will solve the problem. You can integrate its API on your website easily to automate the payments. The Lightning charge can automate invoices without any issue. It can automate the invoice anonymously and it doesn't even requires the details of the customer.

You should definitely give it a try, and I'm sure it will solve your problem. I will provide you the link of the Lightning charge below, you should visit the link and learn more about this amazing payment processor.

https://github.com/ElementsProject/lightning-charge

You can also try OpenNode as that will serve the purpose as well, but I won't recommend that one as it's not open-source and it also requires customer details. 



Ok, thanks i try this.

Have you looked into this list?[1]. Although I'm not sure I understand exactly what you're trying to achieve here, there are plenty of non-KYC/noncustodial options that should help you automate whatever process you have.

[1] https://bitcointalk.org/index.php?topic=5444578.0

Simply put, I need an LN payment to be made for every sale by an affiliate.  Eg you integrate the link with ref.  code of my store on your site and if you automatically generate a sale you instantly receive the due percentage.  How to automate this without using LNURL?
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3486
Merit: 6142



View Profile
April 28, 2023, 08:24:57 AM
Merited by ABCbits (2), Pmalek (2), mendace (2)
 #5

Simply put, I need an LN payment to be made for every sale by an affiliate.  Eg you integrate the link with ref.  code of my store on your site and if you automatically generate a sale you instantly receive the due percentage.  How to automate this without using LNURL?

Right so basically you want to send LN payments from your wallet and not accept payments? If so, then:

You could ask them to provide a lightning address[1] (looks like an email) during the registration process and then you can use the ZBD API[2] to send them payments.

[1] https://lightningaddress.com/
[2] https://documentation.zebedee.io/docs/pay-to-lnaddress/

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
mendace (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 620


Pizza Maker 2023 | Bitcoinbeer.events


View Profile WWW
April 28, 2023, 08:30:37 AM
 #6



Right so basically you want to send LN payments from your wallet and not accept payments? If so, then:

You could ask them to provide a lightning address[1] (looks like an email) during the registration process and then you can use the ZBD API[2] to send them payments.

[1] https://lightningaddress.com/
[2] https://documentation.zebedee.io/docs/pay-to-lnaddress/


mmh maybe lightning address could be a solution, but it's very similar to LNURL, right?  Because LNURL is a bit too experimental I think.
DaveF
Legendary
*
Offline Offline

Activity: 3486
Merit: 6303


Crypto Swap Exchange


View Profile WWW
April 28, 2023, 03:27:46 PM
 #7

lightning address is LNURL all it does is make something a bit more human readable.
luridbank39@walletofsatoshi.com is a lot easier to send to then:
lnurl1dp68gurn8ghj7ampd3kx2ar0veekzar0wd5xjtnrdakj7tnhv4kxctttdehhwm30d3h82unvw qhkcatjd9jxyctwdvenj3nlh0u

https://github.com/andrerfneves/lightning-address/blob/master/README.md

With that being said LNRUL has been in use for over 2 years in a lot of wallets. If not every day, I use them several times a week with 0 issues. I have a lot of things out there that just get payments to then with no issues.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!