From f4da09a26ea3ae24c686c081760dc4fee8d3aaec Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Fri, 1 Mar 2024 10:11:18 +0700 Subject: [PATCH] move hook before sending notification --- system/autoload/Package.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/autoload/Package.php b/system/autoload/Package.php index 94e5aa6a..03ea3ea1 100644 --- a/system/autoload/Package.php +++ b/system/autoload/Package.php @@ -360,8 +360,8 @@ class Package "\nChannel: " . $channel . "\nPrice: " . Lang::moneyFormat($p['price'])); } - Message::sendInvoice($c, $t); run_hook("recharge_user_finish"); + Message::sendInvoice($c, $t); return true; }