mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-25 07:56:01 +08:00
Fix Cancel
This commit is contained in:
parent
e709ea4353
commit
36a24238ef
1 changed files with 2 additions and 2 deletions
|
@ -107,8 +107,8 @@ switch ($action) {
|
|||
if (empty ($trx)) {
|
||||
r2(U . "order/package", 'w', Lang::T("Payment not found"));
|
||||
}
|
||||
// jika url kosong, balikin ke buy
|
||||
if (empty ($trx['pg_url_payment'])) {
|
||||
// jika url kosong, balikin ke buy, kecuali cancel
|
||||
if (empty ($trx['pg_url_payment']) && $routes['3'] != 'cancel') {
|
||||
r2(U . "order/buy/" . (($trx['routers_id'] == 0) ? $trx['routers'] : $trx['routers_id']) . '/' . $trx['plan_id'], 'w', Lang::T("Checking payment"));
|
||||
}
|
||||
if ($routes['3'] == 'check') {
|
||||
|
|
Loading…
Reference in a new issue