Add event to process webhook payments

This commit is contained in:
2023-05-13 23:51:27 +10:00
parent 12b63a506f
commit c1bb20dec0
6 changed files with 97 additions and 5 deletions

View File

@@ -5,6 +5,8 @@ namespace App\Providers;
use Illuminate\Support\Facades\Event;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use App\Listeners\ProviderPaymentCreated;
class EventServiceProvider extends ServiceProvider
{
/**
@@ -16,6 +18,10 @@ class EventServiceProvider extends ServiceProvider
'Illuminate\Mail\Events\MessageSent' => [
'App\Listeners\LogSentMessage',
],
\App\Events\ProviderPaymentCreated::class => [
ProviderPaymentCreated::class,
],
];
/**