#para-_docs
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.
đ Welcome to your new thread!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1212411497360261150
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!
Sorry for the delay here
Add support for cancel method on Subscriptions resource. This has the same functionality as the del method - if you are on a version less than 9.14.0, please use del.
it is said here https://docs.stripe.com/api/subscriptions/cancel?lang=node that delete is deleting pending invoice
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Can you share a screenshot of the view?
My test account is on a different API version so I may not be seeing the same thing as you
and when clicking on the hyperlink it redirect to the del method
oh my bad it is actually the invoice that is deleted
not the subscriptions
That deleted hyperlink is for a separate API endpoint which you'd call manually to delete pending invoice item.
As far as I know, it should work the same with del
Can you share an example where you're seeing it behave differently ?
async cancelSubscription(sub) {
return await TryCatch.rethrow(() => {
return this.Stripe.subscriptions.del(sub);
});
}
with this function
sub_1OooEjJtE8xUeWFbxb8g38TJ
and this sub
i have an invoice pending and when calling the function the invoice was canceled
i dont know if you can see it though