#para-_docs

1 messages ¡ Page 1 of 1 (latest)

drowsy marlinBOT
winter beaconBOT
#

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.

drowsy marlinBOT
#

👋 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!

real summit
#

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.

lavish roost
real summit
#

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

lavish roost
#

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

real summit
#

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 ?

lavish roost
#
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

winter beaconBOT
lavish roost
#

i dont know if you can see it though