Bitcoin Forum
October 17, 2017, 09:57:22 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: accepting BTC on website  (Read 362 times)
jwcastle
Member
**
Offline Offline

Activity: 107


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
1508234242
Hero Member
*
Offline Offline

Posts: 1508234242

View Profile Personal Message (Offline)

Ignore
1508234242
Reply with quote  #2

1508234242
Report to moderator
1508234242
Hero Member
*
Offline Offline

Posts: 1508234242

View Profile Personal Message (Offline)

Ignore
1508234242
Reply with quote  #2

1508234242
Report to moderator
1508234242
Hero Member
*
Offline Offline

Posts: 1508234242

View Profile Personal Message (Offline)

Ignore
1508234242
Reply with quote  #2

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

Posts: 1508234242

View Profile Personal Message (Offline)

Ignore
1508234242
Reply with quote  #2

1508234242
Report to moderator
1508234242
Hero Member
*
Offline Offline

Posts: 1508234242

View Profile Personal Message (Offline)

Ignore
1508234242
Reply with quote  #2

1508234242
Report to moderator
1508234242
Hero Member
*
Offline Offline

Posts: 1508234242

View Profile Personal Message (Offline)

Ignore
1508234242
Reply with quote  #2

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

Activity: 798


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
Sr. Member
****
Offline Offline

Activity: 417


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.

▬▬▬▬▬▬▬  STORM TOKEN A decentralized micro-job marketplace  ▬▬▬▬▬▬▬
>>  Facebook  |  Twitter  |  Blog  <<
▬▬▬▬▬▬▬▬▬▬▬▬▬ ●  >>  TOKEN GENERATION EVENT | August 15th, 2017  <<  ● ▬▬▬▬▬▬▬▬▬▬▬▬▬
Envrin
Sr. Member
****
Offline Offline

Activity: 298


Flixxo - Watch, Share, Earn!


View Profile
July 22, 2015, 02:23:52 AM
 #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.



X       ▄▄█████████▄▄
    ▄██▀▀         ▀▀██▄
  ▄██▀              ▀██▄
 ▄██     ██▄▄          ██▄
▄██      █████▄▄        ██▄
██       ████████▄▄      ██
██       ███████████▄    ██
██       ██████████▀     ██
▀██      ███████▀       ██▀
 ▀██     ████▀         ██▀
  ▀██▄   █▀          ▄██▀
    ▀██▄▄         ▄▄██▀
       ▀▀█████████▀▀
.flixxo    X▄████████████████████▄
██████████████████████
██████████████████████
████████████▀▀███████
█████▀████░░░░░░▄████
█████░░░░░░░░░░▄█████
█████▄░░░░░░░░░░██████
██████░░░░░░░░░███████
███████░░░░░░▄████████
████▄▄░░░░▄▄██████████
██████████████████████
██████████████████████
▀████████████████████▀
▄████████████████████▄
██████████████████████
█████████▀█▀██████████
██████▀▀▀▀▀████████
██████▄▄░░▄▄▄░░███████
████████░░███░░███████
████████░░░░░░▀███████
████████░░███▄░░██████
██████▀▀░░▀▀▀░░░██████
██████▄▄▄▄▄▄███████
█████████▄█▄██████████
██████████████████████
▀████████████████████▀
X[[]]X
jwcastle
Member
**
Offline Offline

Activity: 107


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
funtotry
Sr. Member
****
Offline Offline

Activity: 420


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: 350


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: 1414


Bitcoin & Litecoin


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. 


           ▄▄▄▄▄▄▄▄       ▄▄▄
       ▄▄████████████▄▄    ▀██▄▄
     ▄██████████████████▄    ▀███▄
    ██████████████████████    ████▄
   ██▀▀▀      ▀▀▀██████████    █████
  █▀              ▀███████▀    ██████
 █▀    ▄▄▄▄        ▀████▀▀     ██████
     ▄██████▄                 ▄██████
    ██████████               ▄███████
   ███████████              ▄████████
  █████████▀▀             ▄▄█████████
 ▄████████               ███████████
 ████████                ▀████████▀
 ██████      ▄▄▄▄         ▀█████
  █████     ██████                 
  ██████     ███████▄              ▄█▀
   █████     ██████████▄▄       ▄▄██▀
    ████      █████████████████████▀
     ▀███      ▀█████████████████▀
       ▀██       ▀▀██████████▀▀
         ▀▀          ▀▀▀▀▀▀




BITMIXCOIN
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
.
  ..Safe................................
  ..Anonymous....................
  ..Insurance against fraud.....
Mickeyb
Hero Member
*****
Offline Offline

Activity: 798

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:  

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!