#nicolas

1 messages · Page 1 of 1 (latest)

smoky crystalBOT
north osprey
#

It depends on how you want to configure your Subscription. As the name stated, cancel_at_period_end means it will automatically cancel by ending of current period

modern island
#

this question arise when our customer decides to cancel his subscription.

#

when it happens, we allow to continue using our service until the end of the subscription (no prorate usage).

#

That's why I'm thinking of setting cancel_at_period_end on the Subscription, just before canceling it

#

Using the Stripe PHP API, that would look something like that
$stripeClient->subscription->update($subscriptionId, ['cancel_at_period_end' => true]); $stripeClient-->subscriptions->cancel($subscriptionId);

north osprey
#

Um okie. It sounds correct in that scenario

modern island
#

just "okie" ? 🙂

#

Could it create any problem ?