Add event to process webhook payments
This commit is contained in:
@@ -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,
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user