#Suren
1 messages · Page 1 of 1 (latest)
I'd like cancel that subscription with method cancel_at_period_end
Hi there, here you go. https://stripe.com/docs/billing/subscriptions/cancel?dashboard-or-api=api#cancel-at-end-of-cycle
Yes I know but when subscription will update across subscription schedule it not working
I received error
request iD?
As the error message suggests, you should cancel the schedule instead https://stripe.com/docs/api/subscription_schedules/cancel#cancel_subscription_schedule
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes when I use schedule cancel it will cancel current subscription ?
Yes
I'd like cancel subscription cancel_at_period_end, but there is not like this option
No, there's no this kind of param in the schedule cancelation API.
Look at this subscription sub_1MOchSBfTh1Z0SMk7m mUcH, I right ? this subscription canceled immediately or after current subscription period end
and this is request id req_yrX89IwKfFCr6y
I don't know but I not received subscription.update webhook and I think this request not canceled subscription
https://stripe.com/docs/api/subscription_schedules/cancel#cancel_subscription_schedule most of your questions are already answered in the API reference
Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription).
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
It is unpossible cancel current subscription after current period end. I right ?
it will be cancel immediately
Yes, cancelling a schedule would cancel the subscription immediately.
Alternatively, you can set the last phase's end_date (https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-phases-end_date) to the date of the end of current subscription cycle
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.