#menkuichan_73425
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.
- menkuichan_73425, 3 hours ago, 4 messages
- menkuichan_73425, 2 days ago, 8 messages
And another question ๐
How can I cancel trialing subscription using Stripe API and also avoid creating any invoice?Now my code looks like this
await stripe.subscriptions.update(subscription.id, {
cancel_at: futureTimestamp,
proration_behavior: 'none',
});I logged subscription object and noticed this filed:
{ end_behavior: { missing_payment_method: 'create_invoice' } }
What does it mean?
What is the difference between cancel_at and canceled_at subscription field?
Can you show me where the first field that you are looking at is? Canceled at on the subscription indicates the time that the subscription stopped being active and went in to thecanceledstate
It might be easier to just directly make the cancel API on that trialing subscription https://stripe.com/docs/api/subscriptions/cancel
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
And the end_behavior field decides how your subscription will react when the trial ends https://stripe.com/docs/api/subscriptions/object#subscription_object-trial_settings-end_behavior
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
