Welcome Guest, Not a member yet? Register   Sign In
Bitcoin Payments - Pay-Per-View, Pay-Per-Download, Pay-Per-Registration class
#4

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
Reply


Messages In This Thread
RE: Bitcoin Payments - Pay-Per-View, Pay-Per-Download, Pay-Per-Registration class - by Kennyendowed - 06-14-2018, 11:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB