Bitcoin Forum
May 05, 2024, 11:28:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: accepting BTC on website  (Read 470 times)
jwcastle (OP)
Member
**
Offline Offline

Activity: 117
Merit: 10


View Profile WWW
July 22, 2015, 01:41:46 AM
 #1


I'm considering adding BTC as a payment method for a website.
Can anyone point me in the right direction as to a PHP library (preferably open source that does not rely on a outside service) that supports BTC transactions and monitor its confirmations.

To mods: I'm not sure if this would be better suited in the Technical Support category, Project Development category, or here. Please move this thread if you deem it better suited in another category.

BitcoinEval.com - Evaluate your Bitcoin earnings
CPR
1714951705
Hero Member
*
Offline Offline

Posts: 1714951705

View Profile Personal Message (Offline)

Ignore
1714951705
Reply with quote  #2

1714951705
Report to moderator
1714951705
Hero Member
*
Offline Offline

Posts: 1714951705

View Profile Personal Message (Offline)

Ignore
1714951705
Reply with quote  #2

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

Posts: 1714951705

View Profile Personal Message (Offline)

Ignore
1714951705
Reply with quote  #2

1714951705
Report to moderator
1714951705
Hero Member
*
Offline Offline

Posts: 1714951705

View Profile Personal Message (Offline)

Ignore
1714951705
Reply with quote  #2

1714951705
Report to moderator
ticoti
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1000


View Profile
July 22, 2015, 01:45:03 AM
 #2

Why don't you implement it with Bitpay?

I think it is a really good way to do it,they give you many features
foodstamps
Hero Member
*****
Offline Offline

Activity: 938
Merit: 502



View Profile
July 22, 2015, 02:01:18 AM
 #3

I agree with ticoti, you should go with options that are already there. No need to try to reinvent the wheel.
Envrin
Sr. Member
****
Offline Offline

Activity: 318
Merit: 251



View Profile
July 22, 2015, 02:23:52 AM
Last edit: July 22, 2015, 02:34:40 AM by Envrin
 #4

http://synala.com/

Free, open sourced on Github, and provides everything you need, including a hook system to run additional PHP code when new deposits come in, funds are sent, etc.  It does require Bitcoin Core though on your server, as that's simply still the best and most reliable way to watch the blockchain.  Aside from watching txs flow through the blockchain, and broadcasting sends, everything is done in-house (address generation, creating & signing txs, etc.), and all the PHP libraries are well commented if you're using it for learning purposes.


jwcastle (OP)
Member
**
Offline Offline

Activity: 117
Merit: 10


View Profile WWW
July 22, 2015, 05:17:31 AM
 #5

Yea, you're right. I don't need to reinvent the the wheel.

I'm hesitant to rely on any type of service, but after looking over Bitpay, I can implement it in less than 15 minutes. If I had to do it all myself, it would take weeks or months.

BitcoinEval.com - Evaluate your Bitcoin earnings
CPR
funtotry
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250


Ever wanted to run your own casino? PM me for info


View Profile
July 22, 2015, 05:18:44 AM
 #6

If you are PHP coder and your website uses PHP, the blockchain.info receive payments API is something worth looking into.
Its pretty easy to use, however it sometimes takes a while for payment to be logged, sometimes up to an hour.
Or you can manually index TXs and create addresses using your wallet.
If you PM me I can help, I have made so many bitcoin deposit/payment methods and its pretty easy.

Kasawari
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


View Profile
July 23, 2015, 05:12:34 AM
 #7

this is a good idea but with the delay of the transaction being confirmed that takes sometimes up to an hour, price of BTC may be lower than the expected exchange rate
AT101ET
Legendary
*
Offline Offline

Activity: 3080
Merit: 1348


View Profile
July 23, 2015, 06:04:30 AM
 #8

There are quite a few sites that allow you to simply implement Bitcoin on your site.
BitPay is probably the most widely known but there are quite a few others too. It's probably best to search through all the payment processors to see who takes the lowest fee.
Most of the processors explain on their sites how to add their scripts to your site.
It's also probably worth looking into something like coinpayments which accepts both BTC and Alfa so it'd expand your sales in the crypto related market. 
Mickeyb
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000

Move On !!!!!!


View Profile
July 23, 2015, 06:22:25 AM
 #9

Yea, you're right. I don't need to reinvent the the wheel.

I'm hesitant to rely on any type of service, but after looking over Bitpay, I can implement it in less than 15 minutes. If I had to do it all myself, it would take weeks or months.

Trust me, save yourself a hassle and just go with the bitpay. When I showed people how to do it, they were amazed on how easy it was. I mean complete newbies got it in less than half an hour.
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!