Author

Topic: Developing WP plugin for paying members (affiliates) with private key (Read 157 times)

newbie
Activity: 29
Merit: 0
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.
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
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
newbie
Activity: 29
Merit: 0
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.
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
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?
newbie
Activity: 29
Merit: 0
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
Jump to: