#Min.K
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
Q1. What are the previous states of a subscription that can change its status to past_due?
For example, can it change from
- canceled -> past_due
- unpaid -> past_due
- incomplete -> past_due
- incomplete_expired -> past_due
We don't have a documentation explaining the status transition topast_due.canceledandincomplete_expiredare terminal status that can't be changed to past due. Can you share the use case to keep track of the status transition?
Q2. Does Stripe always fire both https://stripe.com/docs/api/events/types#event_types-payment_intent.payment_failed and https://stripe.com/docs/api/events/types#event_types-charge.failed events when a subscription payment fails?
- What always happens?
- And what is the difference between the two events?
Yes when the payment has been attempted and failed. payment_intent used charge under the hood, so both events will be sent.
Q3. How do I know when my subscription's next payment is planed?
current_period_endis the start date of the next billing cycle: https://stripe.com/docs/api/subscriptions/object#subscription_object-current_period_end
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Q4. Since the subscription payment method can be updated by the customer as a Link, is there any way to get this via the API? I know that Stripe automatically sends an email when a subscription payment fails, or you can tap a specific subscription in the Stripe Console and then tap the Share Payment Update Link to get the Share Link. But I was wondering if there is a way to update the subscription payment method as an API. (https://stripe.com/docs/billing/subscriptions/share-update-payment-link)
This is the Dashboard feature only. The closest that can be done is with Customer Portal: https://stripe.com/docs/customer-management/integrate-customer-portal
Q5. I was wondering if I register a subscription schedule and when the subscription schedule is executed, the subscription schedule registered in the subscription is automatically deleted. Will the schedule field be replaced with null when I call the Retrieve Subscription API?
Sorry, I don't understand your question. Whichschedulefield are you referring to? Can you share an example?
Hi river.
Sorry, I don't understand your question. Which schedule field are you referring to? Can you share an example?
=> Please see, https://stripe.com/docs/api/subscriptions/object
Subscription's schedule field == subscription schedule id
Ah I see! Once the subscription schedule is released, this field should be null.
I'd recommend trying in test mode with test clock: https://stripe.com/docs/billing/testing/test-clocks
Oh, Thank you so much!