Bitcoin Forum
June 29, 2024, 04:54:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Developing WP plugin for paying members (affiliates) with private key  (Read 143 times)
mika1981 (OP)
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile WWW
March 11, 2019, 11:58:43 AM
 #1

Hello,
I have in plan to develop WP plugin where website owners will be in the possibility to accept bitcoins directly to their Electrum wallet and pay their members or affiliates directly from a wallet using the private key.

Now, I find all documentation of how to accept bitcoin payment with Electrum, but can`t find anything how to create mass payment from a website.

I will be happy if someone can give me some directions to the code example.


Thank you
BitMaxz
Legendary
*
Offline Offline

Activity: 3304
Merit: 3037


BTC price road to $80k


View Profile WWW
March 11, 2019, 09:47:35 PM
 #2

Hello,
I have in plan to develop WP plugin where website owners will be in the possibility to accept bitcoins directly to their Electrum wallet and pay their members or affiliates directly from a wallet using the private key.

Now, I find all documentation of how to accept bitcoin payment with Electrum, but can`t find anything how to create mass payment from a website.

I will be happy if someone can give me some directions to the code example.


Thank you

What are you trying to achieve here? Electrum payment gateway or merchant is only for payment and it can't generate multiple payment requests.

Are you trying to make multiple payment requests? Like for example the website shows 3 QR code and addresses? This is what you are trying to achieve?

Or your plan is to send bitcoin to multiple addresses through electrum-merchant?

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
mika1981 (OP)
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile WWW
March 11, 2019, 09:57:20 PM
 #3

Hello,
I have in plan to develop WP plugin where website owners will be in the possibility to accept bitcoins directly to their Electrum wallet and pay their members or affiliates directly from a wallet using the private key.

Now, I find all documentation of how to accept bitcoin payment with Electrum, but can`t find anything how to create mass payment from a website.

I will be happy if someone can give me some directions to the code example.


Thank you

What are you trying to achieve here? Electrum payment gateway or merchant is only for payment and it can't generate multiple payment requests.

Are you trying to make a multiple payment request? Sample the website shows 3 qr code and addresses? This is what you are trying to achieve?
No...
for example, I have a wp site where I have installed Woocommerce, PaidMembershipPro, and AffiliateWP plugins. Now, I know how to make integrations for a payment method for these plugins using Electrum, but if my affiliates earn some commission I need to pay them in bitcoins, and for example, I put the private key from my dashboard, and make mass payment to all affiliates.
I know that this is possible but can`t find any documentation about this.
BitMaxz
Legendary
*
Offline Offline

Activity: 3304
Merit: 3037


BTC price road to $80k


View Profile WWW
March 11, 2019, 10:46:50 PM
 #4

No...
for example, I have a wp site where I have installed Woocommerce, PaidMembershipPro, and AffiliateWP plugins. Now, I know how to make integrations for a payment method for these plugins using Electrum, but if my affiliates earn some commission I need to pay them in bitcoins, and for example, I put the private key from my dashboard, and make mass payment to all affiliates.
I know that this is possible but can`t find any documentation about this.

The electrum merchant only for receiving and not for sending a payment to your affiliate members.

Why not make a page and tell them that you can make a payout every week and set if what day you plan to send their commission.
You can manually send payments to your affiliates directly from your electrum. Sample below.



However, if you want to automate the process you need to develop and WordPress plugin through JSON-RPC this is I think you can use to make a sending request. Check this one and maybe this is what you are looking for http://docs.electrum.org/en/latest/coldstorage_cmdline.html

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
mika1981 (OP)
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile WWW
March 12, 2019, 09:20:20 AM
 #5

No...
for example, I have a wp site where I have installed Woocommerce, PaidMembershipPro, and AffiliateWP plugins. Now, I know how to make integrations for a payment method for these plugins using Electrum, but if my affiliates earn some commission I need to pay them in bitcoins, and for example, I put the private key from my dashboard, and make mass payment to all affiliates.
I know that this is possible but can`t find any documentation about this.

The electrum merchant only for receiving and not for sending a payment to your affiliate members.

Why not make a page and tell them that you can make a payout every week and set if what day you plan to send their commission.
You can manually send payments to your affiliates directly from your electrum. Sample below.

https://i.imgur.com/45okwrP.png?1

However, if you want to automate the process you need to develop and WordPress plugin through JSON-RPC this is I think you can use to make a sending request. Check this one and maybe this is what you are looking for http://docs.electrum.org/en/latest/coldstorage_cmdline.html

Take look in this:
https://www.goldcoders.com/?page=setup_electrum
Only thing I don't want here is to storage private key anywhere on site and that is possible with this script to (manual mass pay).
I want to do the same, but for Wordpress, and integrate plugin with most popular WP plugins. So, when an affiliate makes a withdrawal request I made payment using my private key.
On this way, there will no be the third part fee charges (GoUrl, CoinPayments etc.) and not waiting for withdrawal for site owners.
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!