“Blockchain Bitcoin Payments” Documentation by “Musa Sikhosana” v1.0


“Blockchain Bitcoin Payments”

Created: 04/06/2017
By: Musa Sikhosana
Email: [email protected]

Thank you for purchasing my theme. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!


Table of Contents

  1. Config File
  2. Uploading Files
  3. Showing Errors in Development
  4. Sources and Credits

A) Config File - top

This script works with PHP 5 or more. The first thing to do is: Edit the blockchain_config.php file e.g

					
//RECEIVE PAY BLOCKCHAIN DETAILS
//Your Own APIKey received from Blockchain
$app_api_key = "your-api-key-goes-here";
//(Where you will receive payment) Your Xpub key in Blockchain  (located in Settings -> Addresses -> Manage -> More Options -> Show xPub)
$app_xpub = "your-xpub-key-goes-here";
//this can be anything you want as has to be unique to you 
//password used to request has to be the one for confirmation
$app_secret = "your-secret-key-goes-here"; //e.g secret123456
//http://yourdomain.com"; //example https://yourdomain.com  or in directory then http://yourdomain.com/directoryname
$app_rootURL = "http://yourdomain.com/"; //e.g add something http://yourdomainname.com/
//$orderID - This can be anything from Database User_ID or Invoice - or simply a Unique ID being paid for (OrderID,UserId,UpgradeId)
$orderID = uniqid();//will be based on your liking like $invoice_id from Database
//Amount in BTC - amount can be from a database invoice/plans
$amount = "0.00077657";
					
				


D) Showing Errors in Development - top

Only use this option while in development because once a system is live this is not so friendly.

To show the errors simply uncomment these lines below in the init.php file

	
		//error_reporting(E_ALL);
		//ini_set("display_errors", 1);//Change 1 -> 0 before going Live
		

E) Sources and Credits - top

I've used the following images, icons or other files as listed.


Once again, thank you so much for purchasing this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.

Musa Sikhosana

Go To Table of Contents