#nova-astramentis_api

1 messages ¡ Page 1 of 1 (latest)

dusky kindleBOT
#

👋 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/1372015091603738705

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

thick pumice
#

Hey, some more follow-up. I see here that there is a discountable flag on each invoice item (https://docs.stripe.com/api/invoiceitems/update). Its imperative for my customer that upgrades keep the existing discount, is there a way to do this properly through stripe?

arctic stump
thick pumice
#

Hi! Thats what tipped us off to this problem

#

So this is a DTO projection of your response, but the gist is there. No discount applied on the new items added to the plan, even though there was a promo code applied

#

We are reapplying the coupon in this manner:

arctic stump
thick pumice
#

I am trying now, please hold.

thick pumice
#

Okay. I managed to get the discounts working with prorations, but now I have an issue where its charging full price for the subscription items even though im trying to create prorations for an upgrade mid cycle