add admin noti email feat
PHP Tests / php-tests (push) Failing after 3m20s

This commit is contained in:
Nyan Lin Paing
2026-08-19 21:43:00 +07:00
parent 532f2ddf99
commit 5c215b4647
6 changed files with 140 additions and 0 deletions
@@ -11,6 +11,8 @@ use Modules\Payment\Factories\PaymentGatewayFactory;
use Modules\Payment\Gateways\KbzMiniAppGateway;
use Modules\Payment\Listeners\MarkBookingPaid;
use Modules\Payment\Listeners\MarkBookingRefunded;
use Modules\Payment\Models\Payment;
use Modules\Payment\Observers\PaymentObserver;
class PaymentServiceProvider extends ServiceProvider
{
@@ -28,5 +30,7 @@ class PaymentServiceProvider extends ServiceProvider
{
Event::listen(PaymentCompleted::class, MarkBookingPaid::class);
Event::listen(RefundProcessed::class, MarkBookingRefunded::class);
Payment::observe(PaymentObserver::class);
}
}