#explas2_api

1 messages ยท Page 1 of 1 (latest)

fiery plinthBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ 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.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— 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/1441396619470831646

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

signal swan
#

๐Ÿ‘‹ happy to help

#

please give me a moment and I will be with you shortly

#

your best approach here is the following:
1- use https://docs.stripe.com/billing/subscriptions/pending-updates for downgrading the subscription
2- if the downgrade succeeds then void the previous invoice, this would stop the dunning

Apply subscription updates conditionally based on payment success using pending updates for card and Link payment methods with charge automatically.

upbeat fable
#

so I do understand correctly, that there is no way to void previous invoice automatically if I charge client for new lower price?
So basically I still can use error_if_incomplete and do nothing when I get 402 response, and when I get 200 response I also can void previous invoice

signal swan
#

so I do understand correctly, that there is no way to void previous invoice automatically if I charge client for new lower price?
no not really