move hook before sending notification

This commit is contained in:
Ibnu Maksum 2024-03-01 10:11:18 +07:00
parent de3312055a
commit f4da09a26e
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -360,8 +360,8 @@ class Package
"\nChannel: " . $channel . "\nChannel: " . $channel .
"\nPrice: " . Lang::moneyFormat($p['price'])); "\nPrice: " . Lang::moneyFormat($p['price']));
} }
Message::sendInvoice($c, $t);
run_hook("recharge_user_finish"); run_hook("recharge_user_finish");
Message::sendInvoice($c, $t);
return true; return true;
} }