#ebin-chandy_best-practices

1 messages ยท Page 1 of 1 (latest)

jaunty kestrelBOT
#

๐Ÿ‘‹ 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/1217091089971023976

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

frozen breach
#

Hi there ๐Ÿ‘‹ offhand, using a Coupon doesn't sound like it is what you're after, but all of those approaches should be able to decrease the amount of an Invoice. Do you have concerns with how any of those are working in your testing?

half folio
#

Yes. Currently we are sending usage for each day to stripe and at the end of the billing cycle we need to accumulate and use the sum to calculate the rebate. but when we update the line item with negative value it's not allowing

#

Also we have to be detailed about the rebate amount in the invoice, means how we came to the amount.

frozen breach
#

Can you elaborate on what you mean when you say "it's not allowing"? What exactly did you do and what was the outcome, did it throw an error or moreso not work the way you were hoping?

frozen breach
#

@half folio checking back in to see if you have more context that you can share?

half folio
#

Sure. Will share more details. Give me sometime