simpleBTCpay provides an easy to setup bitcoin donation / micro-payment interface.
- Simple API driven functionality
- Live BTC/USD quotes from multiple APIs; BitcoinAverage, Coindesk BPI, Coinbase and others.
- QR Code support for easy of payment.
- On-the-fly BTC forwarding addresses generated from Blockchain or BlockCypher
- Provides automated callback to complete order when funds are received.
- Generates templated admin and customer emails upon successful payment with order detals.
- Configurable minimum payment amount. [Default: 0.001B]
- Only one incoming BTC address needed.
- Link to form to allow customer to complete (all fields):
http://simplebtcpay.com/form.php?oemail=user@domain.com&tot_usd=0.50&odesc=Donation - Direct link to payment page (all fields):
http://simplebtcpay.com/form?oemail=user@domain.com&tot_usd=0.50&odesc=Donation - Link to minimal form:
http://simplebtcpay.com/form.php?tot_usd=0.50 - Form with optional fields disabled:
http://simplebtcpay.com/form.php?oid=false&oemail=false&tot_usd=0.50&odesc=false
-
Clone repo outside of public web space.
-
Add an Apache alias in your vhost container to simplebtcpay/www similar to:
Alias /srv/simplebtcpay/www /btc
This will expose the app at the url: http://domain.com/btc
-
Copy lib/config.sample.inc.php
-
Edit lib/config.inc.php as needed.
-
From app root directory:
php -f bin/setup.php
-
Restart webserver.
Setup creates a new SQLite database in the data/ directory.