Bitcoin Forum
November 16, 2024, 08:04:44 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How can I take altcoin/bitcoin payments for my website?  (Read 857 times)
kevindeangelis (OP)
Full Member
***
Offline Offline

Activity: 448
Merit: 130


3D-Printing goes Blockchain!


View Profile
June 21, 2013, 06:31:43 AM
 #1

I'd like to offer bitcoin and altcoin payments on my website, does anyone know a way in which I can do this?  Is there a service/gateway that I can use?  If not, do I need to set up a wallet address and check confirmations?  How would I do this?
Thanks in advance!
-Kev
www.WhereToMine.com

domob
Legendary
*
Offline Offline

Activity: 1135
Merit: 1170


View Profile WWW
June 21, 2013, 10:20:22 AM
 #2

It depends on how you prefer to do it.  You can take a look at BitPay, for instance - I've never used it, but from what I know this allows you to integrate a Bitcoin payment rather easily and you can even get the coins' value in USD automatically.

If you just want a simple method, a very basic method is to have a list of addresses on your server and a script which hands out each new customer a new address from the list.  You can then check the addresses manually, and whenever funds arrive, ship your goods to the customer.  How many confirmations you want to have is in this case solely your choice.

Use your Namecoin identity as OpenID: https://nameid.org/
Donations: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS | GPG 0xA7330737
kevindeangelis (OP)
Full Member
***
Offline Offline

Activity: 448
Merit: 130


3D-Printing goes Blockchain!


View Profile
June 21, 2013, 04:45:52 PM
 #3

If you just want a simple method, a very basic method is to have a list of addresses on your server and a script which hands out each new customer a new address from the list.  You can then check the addresses manually, and whenever funds arrive, ship your goods to the customer.  How many confirmations you want to have is in this case solely your choice.
A few questions, it looks like bitpay only accepts bitcoin.
How could I generate a wallet address? and how can I verify funds have been sent to that address? Is there a way to do that via linux command line?

What I'd really like to do is something like how Cryptsy works when you deposit funds.  For example, select the currency that you'd like to deposit, have a wallet address generated, and when you send funds to that address, a way to show what has been deposited and/or pending.

domob
Legendary
*
Offline Offline

Activity: 1135
Merit: 1170


View Profile WWW
June 21, 2013, 04:50:48 PM
 #4

If you just want a simple method, a very basic method is to have a list of addresses on your server and a script which hands out each new customer a new address from the list.  You can then check the addresses manually, and whenever funds arrive, ship your goods to the customer.  How many confirmations you want to have is in this case solely your choice.
A few questions, it looks like bitpay only accepts bitcoin.
How could I generate a wallet address? and how can I verify funds have been sent to that address? Is there a way to do that via linux command line?

Yes of course, by using the original "Satoshi" client (aka bitcoin-qt), which can be found on bitcoin.org.  You don't need the "-qt" part with UI, it also comes with a command-line client.  You first have to setup the daemon on the server, which can be started with "bitcoind -daemon".  When it is running, you can use "bitcoind" to perform various tasks - see "bitcoind help" for a starter.

To generate a wallet address, use "bitcoind getnewaddress" (as the simplest method).  To check for incoming transactions, you could periodically run "bitcoind listtransactions" and see if something new happened; also, there are other commands that can be used to extract the balance on addresses.

I do not yet understand what exactly you want to do on your webpage.  Is this a shop?  Or should it be an online wallet?  Something else?  Maybe I can help you if I understand that better.

Use your Namecoin identity as OpenID: https://nameid.org/
Donations: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS | GPG 0xA7330737
kevindeangelis (OP)
Full Member
***
Offline Offline

Activity: 448
Merit: 130


3D-Printing goes Blockchain!


View Profile
June 21, 2013, 04:51:56 PM
 #5

To generate a wallet address, use "bitcoind getnewaddress" (as the simplest method).  To check for incoming transactions, you could periodically run "bitcoind listtransactions" and see if something new happened; also, there are other commands that can be used to extract the balance on addresses.
Fantastic! Thanks!

halfawake
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
June 23, 2013, 08:57:07 AM
 #6

It depends on how you're wanting to do it - if you want to not have to deal with the nuts and bolts of bitcoin like wallets and such, your best bet is to use either bitpay or Coinbase.  If you don't mind doing some configuration yourself, I've heard good things about Bitcoin SCI: http://bitfreak.info/?page=tools&t=bitsci  Bitcoin SCI will generate a new address for each customer, which is best practices for working with bitcoin.  It does require access to your private key on the server in order to do this, however, just something to be aware of.

BTC: 13kJEpqhkW5MnQhWLvum7N5v8LbTAhzeWj
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!