logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Coding & Scripting Corner View previous topic :: View next topic
Reply to topic   Topic: Receiving Bitcoin Payments with PHP simple script
Author
C0nw0nk



Joined: 07 Oct 2013
Posts: 241
Location: United Kingdom, London

PostPosted: Fri 28 Jul '17 16:51    Post subject: Receiving Bitcoin Payments with PHP simple script Reply with quote

So I wanted to dive into the world of Bitcoin and I thought i should post and ask here if anyone is familiar with blockchain or has a simple PHP script already. (Mostly because of the bitcoin donate button @apachelounge i ask)

Here is a script for https://blockchain.info/ i was looking at but it uses MySQL what I do not want or need.
https://github.com/blockchain/receive-payments-demos/tree/master/php


I just need a simple PHP script that can check a wallet address and if a success do the following.
Code:

if ($amount_received >= $conversion) { //amount recieved was greater than or equal to what ever the conversion bitcoin rate is
if ($success) { //Bitcoin received successfully
echo("thank you very much <3");
}
}


I did come across the following on my search for something simple but the API it uses is not blockchain and no idea how trust worthy it is.
https://gourl.io/bitcoin-payment-gateway-api.html#p6

So yeah some experienced help in this area would be really fantastic and much appreciated Smile Thanks to anyone who can assist.
Back to top


Reply to topic   Topic: Receiving Bitcoin Payments with PHP simple script View previous topic :: View next topic
Post new topic   Forum Index -> Coding & Scripting Corner