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