#hy1989_api
1 messages ยท Page 1 of 1 (latest)
๐ 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/1402962907704197170
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
The customer shouldn't get a customer balance by just applying a coupon, there must be other action done actually
can you pleasse let me know the what is the other action to do..we have another few queries like
- Suppose our subscription costs $50, and the user applies a coupon code worth $100. How is this $100 coupon amount managed in Stripe? Will the remaining $50 balance be automatically applied to the next renewal?
Ah sorry, wait the coupon amount is above the subscription cost ?
Then yes, the remaining 50$ will be applied to the next invoice, that's expected
You can use percentage if you want to avoid gaving this behavior
how to check the remaining balance in stripe dashboard
you mean invoice balance
๐ taking over for my colleague.
Thanks for the update
the Customer Balance holds whatever you owe the customer including an credit notes or invoice outstanding funds
Ok Thanks for the update...
We have another query below. Could you please help us with it? We appreciate your help!
Case 2:
Suppose we add credits to the customer by updating the invoice balance. In the next renewal, the subscription is paid using the available invoice balance.
In this case, the subscription is renewed along with tax, but the customer is not actually paying any money because the invoice is fully covered by credits.
We want to avoid applying tax to the invoice if the entire amount is being covered by the invoice balance.
Suppose we add credits to the customer by updating the invoice balance.
it's not called invoice balance, it's called customer balance
In the next renewal, the subscription is paid using the available invoice balance.
yes the next invoice for that customer will use the customer balance
We want to avoid applying tax to the invoice if the entire amount is being covered by the invoice balance.
you'd have to have 2 prices for that to work. and it's really non-trivial
Is there any way or solution to avoid adding tax if the subscription is renewed using the customer's balance?
no not really
are you using Automatic Tax or Tax Rates?
you can update the Tax Rate before and after the invoice but that's again not trivial and it's a workaround at best
am using automatic tax
in that case you don't have any workaround