Bitcoin Forum
October 23, 2017, 01:25:31 AM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Payment Options - Send to multiple addresses  (Read 654 times)
BitCPrincess
Newbie
*
Offline Offline

Activity: 1


View Profile
January 17, 2015, 02:54:06 AM
 #1

Hello,

Our business is in the process of accepting Bitcoin, We would however like to have the Bitcoin sent to multiple addresses once the customer sends their funds.

For example...

customers sends 1.2 BTC to newly created address (N ADDRESS)

Once sent

0.7 goes to (X ADDRESS)
0.5 goes to (Y ADDRESS)

Is there a way to do this or any payment processor we can go with?

I know this is most likely a simple solution but we have no real experience using Bitcoin technology only what we have read and what one of our "Technical" guys personal experience is with it.

Thanks for any help.

BitCPrincess
1508721931
Hero Member
*
Offline Offline

Posts: 1508721931

View Profile Personal Message (Offline)

Ignore
1508721931
Reply with quote  #2

1508721931
Report to moderator
1508721931
Hero Member
*
Offline Offline

Posts: 1508721931

View Profile Personal Message (Offline)

Ignore
1508721931
Reply with quote  #2

1508721931
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508721931
Hero Member
*
Offline Offline

Posts: 1508721931

View Profile Personal Message (Offline)

Ignore
1508721931
Reply with quote  #2

1508721931
Report to moderator
1508721931
Hero Member
*
Offline Offline

Posts: 1508721931

View Profile Personal Message (Offline)

Ignore
1508721931
Reply with quote  #2

1508721931
Report to moderator
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
January 17, 2015, 07:25:20 AM
 #2

I haven't used but I think Coinsplit.io is good for splitting the BTC or you can create a BTC-forwarding script, something like this:

Quote from: bitcoin.stackexchange.com/questions/12280/how-automatically-to-forward-bitcoins-from-one-address-to-another
You may use /etc/crontab on your Ubuntu:

Code:
* * * * * root /bin/bash /usr/local/bin/bitcoin_resender

And script shall looks like:

Code:
$ cat /usr/local/bin/bitcoin_resender
#!/bin/bash
if [ $(echo "$(bitcoind getbalance) > 0" | bc) -eq 1 ];then
      bitcoind sendtoaddress YOUR_NEW_ADDRESS $(bitcoind getbalance) "Comment for resender"
fi

It will check every minutes your bitcoind balance and resend each bitcoins to YOUR_NEW_ADDRESS.

Your probably need to check the fee.

You can also use Bitcoind for this too.

References:

1) Automated payment system
2) Original Bitcoin client/API calls list
3) API reference (JSON-RPC)

   ~~MZ~~

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!