Blockchain.info Receive Payments API PHP Demo
Pull request Compare This branch is 22 commits behind blockchain:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
callback.php
create.php
include.php
index.php
invoice.png
nutbolt.jpg
order_status.php
setup.php

README.md

Notes


Simple PHP example of using the blockchain.info receive payments API to process payments in PHP.


https://blockchain.info/api/api_receive


Show an invoice the the User with a javascript payment button, on payment received redirects to a status page. When the payment is fully confirmed shows the user nutsandbolts.jpg i.e. the product.


Instructions


Clone the git repository into the ROOT of your web server.


cd /www/receive_payment_php_demo


chmod 755 ./


Navigate to setup.php in your browser


http://loclahost/receive_payment_php_demo/setup.php

Now the database is intilizaized open the demo


http://loclahost/receive_payment_php_demo/index.php