Laravel\Cashier\Http\Controllers\WebhookController::handleSubscriptionCanceled PHP Method

handleSubscriptionCanceled() protected method

Handle a subscription cancellation notification from Braintree.
protected handleSubscriptionCanceled ( WebhookNotification $webhook ) : Illuminate\Http\Response
$webhook Braintree\WebhookNotification
return Illuminate\Http\Response
    protected function handleSubscriptionCanceled($webhook)
    {
        return $this->cancelSubscription($webhook->subscription->id);
    }