require('./coinpayments.inc.php');
$cps = new CoinPaymentsAPI();
$cps->Setup('sensitive_info', 'sensitive_info'); //keys removed for security
$display = $cps->GetCallbackAddress('BTC','https://server_name/coinpayments/ipn.php'); //user selects BTC, server name removed
$add = $display['result'];
echo $add['address'];
The user will deposit funds to the echo'd address
Now, I want to know the amount of the deposits that users make, as well as a notification of successful transaction
I tried using IPN but it just doesn't work with my code, I need another way of tracking payments
Please help, I am in a bit of a crisis.