Files
memefast/app/Listeners/StripeEventListener.php
2025-07-01 23:13:09 +08:00

29 lines
523 B
PHP

<?php
namespace App\Listeners;
use App\Helpers\FirstParty\Stripe\StripeHelper;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use Laravel\Cashier\Events\WebhookReceived;
class StripeEventListener
{
/**
* Create the event listener.
*/
public function __construct()
{
//
}
/**
* Handle the event.
*/
public function handle(WebhookReceived $event): void
{
StripeHelper::handleSubscriptionWebhookEvents($event);
}
}