verify sumbangan

if(isset($_POST[‘detail’]) && isset($_POST[‘amount’]) && isset($_POST[‘order_id’]) && isset($_POST[‘name’]) && isset($_POST[’email’]) && isset($_POST[‘phone’])) { # assuming all of the data passed is correct and no validation required. Preferably you will need to validate the data passed $hashed_string = hash_hmac(‘sha256’, $secretkey.urldecode($_POST[‘detail’]).urldecode($_POST[‘amount’]).urldecode($_POST[‘order_id’]), $secretkey); # now we send the data to senangPay by using post method ?> senangPay Sample Code
Secured By miniOrange