Better webhooks (#155)
* Enable Pro plan - WIP * no pricing page if have no paid plans * Set pricing ids in env * views & submissions FREE for all * extra param for env * form password FREE for all * Custom Code is PRO feature * Replace codeinput prism with codemirror * Better form Cleaning message * Added risky user email spam protection * fix form cleaning * Custom SEO * fix custom seo formcleaner * Better webhooks * fix test case
This commit is contained in:
@@ -4,16 +4,17 @@ namespace App\Providers;
|
||||
|
||||
use App\Events\Forms\FormSubmitted;
|
||||
use App\Events\Models\FormCreated;
|
||||
use App\Listeners\FailedWebhookListener;
|
||||
use App\Listeners\Auth\RegisteredListener;
|
||||
use App\Listeners\Forms\FormCreationConfirmation;
|
||||
use App\Listeners\Forms\NotifyFormSubmission;
|
||||
use App\Listeners\Forms\PostFormDataToWebhook;
|
||||
use App\Listeners\Forms\SubmissionConfirmation;
|
||||
use App\Notifications\Forms\FormCreatedNotification;
|
||||
use Illuminate\Auth\Events\Registered;
|
||||
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
|
||||
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
||||
use Illuminate\Support\Facades\Event;
|
||||
use Spatie\WebhookServer\Events\WebhookCallFailedEvent;
|
||||
|
||||
class EventServiceProvider extends ServiceProvider
|
||||
{
|
||||
@@ -31,8 +32,10 @@ class EventServiceProvider extends ServiceProvider
|
||||
],
|
||||
FormSubmitted::class => [
|
||||
NotifyFormSubmission::class,
|
||||
PostFormDataToWebhook::class,
|
||||
SubmissionConfirmation::class,
|
||||
],
|
||||
WebhookCallFailedEvent::class => [
|
||||
FailedWebhookListener::class
|
||||
]
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user