Cancel
Canceling a subscription immediately occurs. If instead, you want to have the subscription cancel at the end of the period, you'll want
to use the update method and change cancel_at_period_end
to true
.
Cancels a specific subscription.
Examples
$subscription = \SureCart\Models\Subscription::find('8ba8d60f-5277-4e6b-807c-dee8166446d5');
$subscription->cancel();