#__rxor__

1 messages ยท Page 1 of 1 (latest)

rancid meadowBOT
cinder scroll
#

hi there!

#

note that once cancelled customer can still pay past invoices. if that's not what you want, you'll need to void past invoices

pale pier
#

Yeah I saw this one. When im getting stripe.Invoice.upcoming(subscription="sub...") there is no invoiceitem id in response and I cannot delete future invoice

cinder scroll
#

How is that possible that my app fired subscription delete to stripe API and subscription was not cancelled
can you share the request ID (req_xxx)?

pale pier
#

Okay sec i Need to contact my support team they found this one

cinder scroll
#

I meant void past invoice, not future invoice. it's not possible to void invoice that don't exist yet.

pale pier
#

Oh so I need to list invoices that's starts after actual id and cancel this one?

cinder scroll
pale pier
#

thank You!

#

I let You know when I get the subscription that wasnt cancelled

cinder scroll
#

happy to help ๐Ÿ™‚

pale pier
#

One last question if the invoice is created for the future will I be able to void it? Doc says that only finalized invoices can be voided

cinder scroll
#

I don't understand. if you cancel the subscription, then there will be no future invoices

pale pier
#

Hmm maybe I was misled because the support team that reported bug said:

The subscription was cancelled but cancellation date is set for the future and customer Was charged with the next invoice

Is that even possible?

cinder scroll
#

I don't know. can you share a Subscription ID (sub_xxx) with this issue?

pale pier
#

okay I will back when they send me one. Thank!

#

sub_1NmKDGJZ9pJk48QCdw0VO51O

This one dont have future invoices but is it possible that there is cancellation for the future and future invoice that will charge customer can exist?

#

or this one

#

sub_1NlrNvJZ9pJk48QCEJm4TBSP

cinder scroll
#

your original question was how to cancel a subscription immediately, which I answered. but yes it's also possible to cancel subscriptions in the future if needed.

#

for sub_1NlrNvJZ9pJk48QCEJm4TBSP you set it to cancel at the end of the current period (so 31 december)

pale pier
#

Okay so I have function defined
return self.stripe.Subscription.delete(subscription_id)

How did it happen that this subscription is set to cancel in the future?

Shouldnt be happen immediately?

#

sorry for stupid questions im just confused

#

function that returns* /\

cinder scroll
#

looks like your customer used the billing portal to cancel their subscription. and your billing portal settings cancel the subscription at the end of the period instead of immediately.

pale pier
#

Oooooh.... didnt know that works that way....

#

are there any settings for billing portal cancellation so I can set it immediately?

cinder scroll
#

which billing portal are you using? the no code one, or the one with code?

pale pier
#

the no code one. Just returns customer a link for it and he enters his email

cinder scroll
pale pier
#

Well I think You solved my problem then

#

thank You again

#

๐Ÿ™‚