Bitcoin Forum
April 19, 2024, 08:37:13 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to accept bitcoin on a website ?  (Read 1814 times)
puttyking (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
February 20, 2015, 04:29:14 PM
 #1

Is there any way to accept bitcoin on a website automatically without using a 3rd party like bitpay? 
1713515833
Hero Member
*
Offline Offline

Posts: 1713515833

View Profile Personal Message (Offline)

Ignore
1713515833
Reply with quote  #2

1713515833
Report to moderator
Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713515833
Hero Member
*
Offline Offline

Posts: 1713515833

View Profile Personal Message (Offline)

Ignore
1713515833
Reply with quote  #2

1713515833
Report to moderator
1713515833
Hero Member
*
Offline Offline

Posts: 1713515833

View Profile Personal Message (Offline)

Ignore
1713515833
Reply with quote  #2

1713515833
Report to moderator
1713515833
Hero Member
*
Offline Offline

Posts: 1713515833

View Profile Personal Message (Offline)

Ignore
1713515833
Reply with quote  #2

1713515833
Report to moderator
rapsaodan84
Full Member
***
Offline Offline

Activity: 218
Merit: 102


View Profile
February 20, 2015, 04:31:09 PM
 #2

Is there any way to accept bitcoin on a website automatically without using a 3rd party like bitpay? 

What do you mean automatically? If you don't want to use a third party you need to install a bitcoin wallet on your server and develop the logic to detect payments.
RodeoX
Legendary
*
Offline Offline

Activity: 3066
Merit: 1145


The revolution will be monetized!


View Profile
February 20, 2015, 04:35:37 PM
 #3

Yes. You just state: "Bitcoin accepted here".

When someone wants to pay you, email them an address (and QR code is nice). That's all. Of course when you roll your own you will need to set up an exchange account to buy dollars with your BTC. Or find a supplier who also takes BTC and use them. It is also a best practice to use each addy one time. I might further create a ton of addresses from a wallet then take it offline.  

I must say though, BitPay is hard to beat. It's free for the retailer and 3% more profitable than credit cards.

The gospel according to Satoshi - https://bitcoin.org/bitcoin.pdf
Free bitcoin in ? - Stay tuned for this years Bitcoin hunt!
Q7
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


View Profile WWW
February 20, 2015, 04:38:09 PM
 #4

ChangeTip allows you to integrate payment services into your blog and website. You can try that

ChuckBuck
Hero Member
*****
Offline Offline

Activity: 1372
Merit: 783


better everyday ♥


View Profile WWW
February 20, 2015, 04:44:06 PM
 #5

If you're a legitimate retail business or merchant, I'd think you want to be able to track your payments easily, so why not Coinbase or Bitpay?  I'm sure they have analytical tools and you can see all sorts of statistics on your customer base, so the % they take is well spent.

If you decide just to email your customers a link each time they want to buy something, you'd have to generate a new BTC address or new QR code each time which is pretty inconvenient on your end, or they'll be able to check your available wallet funds.

CharityAuction
          ▄▄▄████████▄▄▄   
       ▄▄███████▀▀▀▀███████▄
     ▄████▀▀           ▀▀████▄
   ▄███▀▀   ▄▄████████▄▄   ▀▀███▄
  ████▀   ████▀██████████    ▀███▄
 ████   ▄███▀▄  ▀    ██████   ▀███▄
▄███   ████▄    ▄█▄  ▀██████    ███▄
████  ▄███▀     ▀█▀      ▀███▄  ████
████  ████▄▄█▄      ▄█▄   ████  ████
████  ▀████████▄   ███▀  ▄███▀  ████
▀███   █████████▄   ▀   ▀████   ███▀
 ████   ▀████████   ▄ ▀▄▄██    ████
  ████▄   ███████▄▄██▄▄███   ▄████
   ▀███▄▄   ▀▀████████▀▀   ▄▄███▀
     ▀████▄▄            ▄▄████▀
       ▀▀███████▄▄▄▄███████▀▀
           ▀▀▀████████▀▀▀
          ▄▄▄████████▄▄▄   
       ▄▄███████▀▀▀▀███████▄
     ▄████▀▀           ▀▀████▄
   ▄███▀▀   ▄▄████████▄▄   ▀▀███▄
  ████▀   ████▀██████████    ▀███▄
 ████   ▄███▀▄  ▀    ██████   ▀███▄
▄███   ████▄    ▄█▄  ▀██████    ███▄
████  ▄███▀     ▀█▀      ▀███▄  ████
████  ████▄▄█▄      ▄█▄   ████  ████
████  ▀████████▄   ███▀  ▄███▀  ████
▀███   █████████▄   ▀   ▀████   ███▀
 ████   ▀████████   ▄ ▀▄▄██    ████
  ████▄   ███████▄▄██▄▄███   ▄████
   ▀███▄▄   ▀▀████████▀▀   ▄▄███▀
     ▀████▄▄            ▄▄████▀
       ▀▀███████▄▄▄▄███████▀▀
           ▀▀▀████████▀▀▀
ColdScam
687_2
Full Member
***
Offline Offline

Activity: 173
Merit: 105



View Profile
February 20, 2015, 04:48:33 PM
 #6

Is there any way to accept bitcoin on a website automatically without using a 3rd party like bitpay? 

Yes, it is fairly easy if you are comfortable with PHP.

Using blockchain.info's API:
https://blockchain.info/api/api_receive

This creates a new address for each invoice and forwards the payment to an address you specify. Everything else is just creating a listener for the payment (using blockchain/info's notifier)/updating your database, etc.

To create "fresh" addresses otherwise, you'll probably want to use a Python script that has a wallet's MPK and then keep the rest stored offline. I have an academic example done in PHP where you query a database of pre-generated addresses (not recommended):
https://github.com/jswebdevel/btcbox





Buy the dip with the security and privacy of your own wallet: use cross chain atomic swaps to trade Bitcoin, USDT, and Ether. Trades are secured and settled on-chain. https://sibex.io
juju
Sr. Member
****
Offline Offline

Activity: 381
Merit: 250



View Profile
February 20, 2015, 04:49:58 PM
 #7

Is there any way to accept bitcoin on a website automatically without using a 3rd party like bitpay? 

I would avoid using Bitpay and Coinbase for payment verification, you need to be a real company, have tax codes and ids etc. Learn about callback handling https://blockchain.info/api/api_receive

I setup payment handling and qr generation on a new Django website I was working on using blockchain.info receive api, it was so easy I was laughing the entire time I set it up.

Alternatively you setup your own node, and send RPC Calls to it too generate new addresses and then check for payments: getreceivedbyaddress <bitcoinaddress> [minconf=1]

https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
687_2
Full Member
***
Offline Offline

Activity: 173
Merit: 105



View Profile
February 20, 2015, 04:50:36 PM
 #8

If you're a legitimate retail business or merchant, I'd think you want to be able to track your payments easily, so why not Coinbase or Bitpay? 

Universal human right to privacy - you should not have to divulge your business data to third parties.

Also, third parties suck. They can lock you out for any reason at any time. It's the antithesis of the Bitcoin ethos.


Buy the dip with the security and privacy of your own wallet: use cross chain atomic swaps to trade Bitcoin, USDT, and Ether. Trades are secured and settled on-chain. https://sibex.io
juju
Sr. Member
****
Offline Offline

Activity: 381
Merit: 250



View Profile
February 20, 2015, 04:50:57 PM
 #9

Is there any way to accept bitcoin on a website automatically without using a 3rd party like bitpay? 

Yes, it is fairly easy if you are comfortable with PHP.

Using blockchain.info's API:
https://blockchain.info/api/api_receive

This creates a new address for each invoice and forwards the payment to an address you specify. Everything else is just creating a listener for the payment (using blockchain/info's notifier)/updating your database, etc.

To create "fresh" addresses otherwise, you'll probably want to use a Python script that has a wallet's MPK and then keep the rest stored offline. I have an academic example done in PHP where you query a database of pre-generated addresses (not recommended):
https://github.com/jswebdevel/btcbox


Dude, you beat me to the punch LOL
Madness
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


My goal is becaming a billionaire.


View Profile WWW
February 20, 2015, 05:02:25 PM
 #10

Is there any way to accept bitcoin on a website automatically without using a 3rd party like bitpay? 

Well it couldn't be easier then this , no ? (If it's for tips,donations etc ... ) Then simply put your Bitcoin adress on your website a you are done . If it's not what you are looking for then you may wanna develop your own if you don't want to use any third party websites .

~ Madness

najzenmajsen
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
February 20, 2015, 05:03:22 PM
 #11

If you're a legitimate retail business or merchant, I'd think you want to be able to track your payments easily, so why not Coinbase or Bitpay?  I'm sure they have analytical tools and you can see all sorts of statistics on your customer base, so the % they take is well spent.

If you decide just to email your customers a link each time they want to buy something, you'd have to generate a new BTC address or new QR code each time which is pretty inconvenient on your end, or they'll be able to check your available wallet funds.
lol , this is stupid just because you're a legitimate bussines doesnt mean you want others seeing your payments.
this is exactly like saying we could put camera's everywhere because if you're legit it doesnt matter.
Who needs privacy right ? ..
puttyking (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
February 20, 2015, 05:30:45 PM
 #12

If you're a legitimate retail business or merchant, I'd think you want to be able to track your payments easily, so why not Coinbase or Bitpay?  I'm sure they have analytical tools and you can see all sorts of statistics on your customer base, so the % they take is well spent.

If you decide just to email your customers a link each time they want to buy something, you'd have to generate a new BTC address or new QR code each time which is pretty inconvenient on your end, or they'll be able to check your available wallet funds.

If bitcoin will result in 3rd parties taking over my transactions then to me it has already failed. What is the point of moving from the current banking system to one that will work exactly the same. I am not doing anything illegal and pay all my taxes...

----

Regarding the PHP function is there anything already built offered for free or sold anywhere that works with wordpress ?
RodeoX
Legendary
*
Offline Offline

Activity: 3066
Merit: 1145


The revolution will be monetized!


View Profile
February 20, 2015, 07:08:10 PM
 #13

Sounds like you want to do it yourself. Good for you, that's what I would do also. But as I mentioned above it will require some effort on your part. I would:

Set up a secure computer. Like a beat up old PC with a big hard drive. I would install Linux and NOT use winxx or Mac. From here you can install bitcoin QT, create a bunch of receiving addresses and then remove the wallet. Now you have a wallet that is not on the internet but can receive money. You can restart QT and let it sync with the network. It will create a new wallet during this process that you keep empty. It is just there so that you can download the blockchain and stay synced.

Next you may want to set up an account at an exchange based in your country. I would look for one that is above board and trying to comply. You may need this if you plan on turning some of your BTC into dollars. Since businesses need dollars to pay taxes and such it will be worth your time to understand exchanges.

Now your set! Modify your website to have a img like this or something.

When a customer wants to pay with bitcoin it may be best to handle it manually. I know that sounds wrong for a digital currency but security will be a huge concern. Any plugin or software tool that links to a hot wallet full of bitcoins is going to be a target. I would send the customer a receiving address and ship when the BTC comes in. Unlike a credit card you have money as soon as they pay. No need to worry about their identity or whatever. Why should you care, you have been paid?

Lastly you will need to keep careful records. If you make money on the appreciation in value of any coins then you will owe capitol gains. So you need to know (1.) How much the BTC was worth when the customer bought? (2.) How much was the BTC worth when you traded it later for dollars or goods?

Hope this helps. 

The gospel according to Satoshi - https://bitcoin.org/bitcoin.pdf
Free bitcoin in ? - Stay tuned for this years Bitcoin hunt!
kori
Full Member
***
Offline Offline

Activity: 168
Merit: 100

★777Coin.com★ Fun BTC Casino!


View Profile
February 20, 2015, 07:09:48 PM
 #14

Connect to a gateway like bitpay or paypal or hire a pro hardcore programmer to make your own script for accepting btcs!

Madness
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


My goal is becaming a billionaire.


View Profile WWW
February 20, 2015, 07:19:45 PM
 #15

Connect to a gateway like bitpay or paypal or hire a pro hardcore programmer to make your own script for accepting btcs!

He just said he don't want to use a Third party service like Bitpay.
@OP , just wanted to add something . If you are selling stuff Digital or whatever , there is a WooCommerce Wordpress plugin available on Wordpress.org , you should check it out . you will get payment to your wallet directly as far as I know and it will need your Master Public key for that .

~ Madness

najzenmajsen
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
February 22, 2015, 01:48:50 PM
 #16

Connect to a gateway like bitpay or paypal or hire a pro hardcore programmer to make your own script for accepting btcs!

He just said he don't want to use a Third party service like Bitpay.
@OP , just wanted to add something . If you are selling stuff Digital or whatever , there is a WooCommerce Wordpress plugin available on Wordpress.org , you should check it out . you will get payment to your wallet directly as far as I know and it will need your Master Public key for that .

~ Madness
Oo thanks , i will probably use that myself for my future project
Madness
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


My goal is becaming a billionaire.


View Profile WWW
February 22, 2015, 01:57:49 PM
 #17

Connect to a gateway like bitpay or paypal or hire a pro hardcore programmer to make your own script for accepting btcs!

He just said he don't want to use a Third party service like Bitpay.
@OP , just wanted to add something . If you are selling stuff Digital or whatever , there is a WooCommerce Wordpress plugin available on Wordpress.org , you should check it out . you will get payment to your wallet directly as far as I know and it will need your Master Public key for that .

~ Madness
Oo thanks , i will probably use that myself for my future project

No problem mate , Glad I could help you .
Here is the plugin link in case you didn't find it : https://wordpress.org/plugins/bitcoin-payments-for-woocommerce/

~ Madness

najzenmajsen
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
February 22, 2015, 02:07:52 PM
 #18

Yes. You just state: "Bitcoin accepted here".

When someone wants to pay you, email them an address (and QR code is nice). That's all. Of course when you roll your own you will need to set up an exchange account to buy dollars with your BTC. Or find a supplier who also takes BTC and use them. It is also a best practice to use each addy one time. I might further create a ton of addresses from a wallet then take it offline.  

I must say though, BitPay is hard to beat. It's free for the retailer and 3% more profitable than credit cards.
this might be the easiest way, but far from the best way to accept payments.
rapsaodan84
Full Member
***
Offline Offline

Activity: 218
Merit: 102


View Profile
March 04, 2015, 03:23:23 PM
 #19

If you're a legitimate retail business or merchant, I'd think you want to be able to track your payments easily, so why not Coinbase or Bitpay?  I'm sure they have analytical tools and you can see all sorts of statistics on your customer base, so the % they take is well spent.

If you decide just to email your customers a link each time they want to buy something, you'd have to generate a new BTC address or new QR code each time which is pretty inconvenient on your end, or they'll be able to check your available wallet funds.

If bitcoin will result in 3rd parties taking over my transactions then to me it has already failed. What is the point of moving from the current banking system to one that will work exactly the same. I am not doing anything illegal and pay all my taxes...

----

Regarding the PHP function is there anything already built offered for free or sold anywhere that works with wordpress ?

If course you don't have to use 3rd parties. There are so many options. You can have cold addresses or install bitcoind to keep it automatic.
ascisco
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
March 04, 2015, 03:32:26 PM
 #20

Check out Coinsimple.com
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!