#taisklein
1 messages · Page 1 of 1 (latest)
I believe the Subscription's status has to be declared using pause_collection[behavior]
but what is the string? like active, incomplete, incomplete_expired
checking one sec
the Subscription will have status active since it will still cut Invoices
Thank you!!
I was expecting a different status, since the subscription will not be paid... and my app check if the subscription status == active, releases paid content to the user
if it is a monthly payment for example
you need to check both status and the https://stripe.com/docs/api/subscriptions/object?lang=ruby#subscription_object-pause_collection-behavior field
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
if that field is set, then your Subscription is paused, the underlying Invoices won't be attempted for payment
Oh thank you so much, got it!! and what is the maximum number of months that it is possible to be paused?