forked from kevinowino869/mitrobill
if trx status already 2, don't proceed
This commit is contained in:
@ -29,6 +29,11 @@ class Package
|
|||||||
$isVoucher = false;
|
$isVoucher = false;
|
||||||
$c = [];
|
$c = [];
|
||||||
|
|
||||||
|
if($trx && $trx['status'] == 2){
|
||||||
|
// if its already paid, return it
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if ($id_customer == '' or $router_name == '' or $plan_id == '') {
|
if ($id_customer == '' or $router_name == '' or $plan_id == '') {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user