Sample Postback

$secret_password = 'ENTER YOUR SECRET PASSWORD HERE';

$password = $_REQUEST['pwd'];

$credit = $_REQUEST['c'];

$user = trim($_REQUEST['u']);

$type = trim($_REQUEST['t']);

$status = trim($_REQUEST['s']);

if( $password === $secret_password )

{

if($status === 1)

{

if($type === 1)

{

//Credit Cash to user

//Update on Database

}

else

{

//Credit Point to user

//Update on Database

}

exit("OK");

}

else

{

if($type === 1)

{

//Debit Cash

//Update on Database

}

else

{

//Debit Point

//Update on Database

}

exit("OK");

}

}

die("Failed");

If the postback is not working. Make sure the postback URL set at account is correct. Check the secret code is entered at the postback file / admin panel.

Feedback or Bug report