Bitcoin Payments - Pay-Per-View, Pay-Per-Download, Pay-Per-Registration class |
Hi,
We created Cryptocoin/Bitcoin Payment Gateway and use it on our own websites with Codeigniter. It work fine. You can use it in your client projects also. We have affiliate program for web developers. You can use bitcoin payments for user premium membership, allow unregistered visitor access to your premium webpage during 24 hours, allow visitor register on your website, post article on your website or giving download link on your products, etc). All in automatic mode - no manual actions are needed. Open Source Bitcoin Payment class - https://github.com/cryptoapi/Payment-Gateway Website - https://gourl.io/ Simple Instruction to use Bitcoin Payments with Codeignator - 1) Download php bitcoin payment class https://coins.gourl.io/lib/cryptoapi_php.rar 2) Extract to directory lib\cryptobox\ 3) Create mysql table https://github.com/cryptoapi/Payment-Gat...ysql-table 4) Register on https://gourl.io/view/registration/New_User.html 5) Create new payment box https://gourl.io/editrecord/coin_boxes/ and get private/public keys 6) Use in your codeigniter controller code like - Code: require_once( "lib/cryptobox/cryptobox.class.php" ); Full API - https://gourl.io/cryptocoin_payment_api.html
Intresting, im glad you provided the code and not just the service +1 For Community
pls sir this code
require_once( "lib/cryptobox/cryptobox.class.php" ); $options = array("..options.."); // Initialise Payment Class $box1 = new Cryptobox ($options); // Display Payment Box or successful payment result echo $box1->display_cryptobox(); // One-time Process Received Payment if ($box1->is_paid() && !$box1->is_processed()) { // Your code here to handle a successful cryptocoin payment/captcha verification // For example, update user membership $box1->set_status_processed(); } where do i put it in my controller or model ???
E-surf
|
Welcome Guest, Not a member yet? Register Sign In |