We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7332ad5 commit 97aa0faCopy full SHA for 97aa0fa
src/Http/Controllers/WebhookController.php
@@ -18,6 +18,7 @@
18
use LemonSqueezy\Laravel\Events\SubscriptionResumed;
19
use LemonSqueezy\Laravel\Events\SubscriptionUnpaused;
20
use LemonSqueezy\Laravel\Events\SubscriptionUpdated;
21
+use LemonSqueezy\Laravel\Events\LicenseKeyCreated;
22
use LemonSqueezy\Laravel\Events\WebhookHandled;
23
use LemonSqueezy\Laravel\Events\WebhookReceived;
24
use LemonSqueezy\Laravel\Exceptions\InvalidCustomPayload;
@@ -201,7 +202,7 @@ private function handleLicenseKeyCreated(array $payload): void
201
202
{
203
$billable = $this->resolveBillable($payload);
204
- OrderRefunded::dispatch($billable, $payload);
205
+ LicenseKeyCreated::dispatch($billable, $payload);
206
}
207
208
/**
0 commit comments