Bitcoin Payments - Pay-Per-View, Pay-Per-Download, Pay-Per-Registration class |
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
|
Messages In This Thread |
Bitcoin Payments - Pay-Per-View, Pay-Per-Download, Pay-Per-Registration class - by cryptoapi - 11-17-2014, 12:08 PM
RE: Bitcoin Payments - Pay-Per-View, Pay-Per-Download, Pay-Per-Registration class - by MrGate - 11-25-2014, 11:43 AM
RE: Bitcoin Payments - Pay-Per-View, Pay-Per-Download, Pay-Per-Registration class - by no1 - 12-08-2014, 06:29 AM
RE: Bitcoin Payments - Pay-Per-View, Pay-Per-Download, Pay-Per-Registration class - by Kennyendowed - 06-14-2018, 11:26 PM
|