#dragonlord_api

1 messages ยท Page 1 of 1 (latest)

gusty thistleBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

fierce stump
#

We are trying to charge the credit grants automatically if the subscription uses more than 10 dollars for example, but our payment model is

Pay before usage

#

So the user has always enough credits at the end of the month to pay the invoice

#

We want to automatically charge the subscription if more than 10 dollars of usage is used even if the total is 0 is that possible?

elfin ruin
#

hi! just want to acknowledge your question - i'm juggling a few threads so it might be a bit before i can get to it

fierce stump
#

no worries

#

This is how the subscription looks like

elfin ruin
#

ok, sorry for the delay... looking into this now

fierce stump
#

no worries

elfin ruin
#

still wrapping my head around your use case - any chance you can share an example subscription you've created?

fierce stump
#

sub_1QrkndD3AET2ZZIsgQxy9yKH

#

here you go

#

We are using the Credit burndown model

elfin ruin
#

ok sorry, still looking into things... just making sure i understand the question, you want to create a $0 charge even when the customer is below the billing threshold?

fierce stump
#

yes

#

We are cautios that a user could have 20 billing credits of 4 dollars for example

The subscription period is not up yet, but the user needs more credits to use the service we want the subscription to be charged and start again

gusty thistleBOT
viral umbra
#

Hello ๐Ÿ‘‹
Taking over here

fierce stump
#

sounds good

viral umbra
#

I don't believe billing thresholds will trigger an invoice in your case given the customer is prepaying for credits which they'll still have available for subsequent invoice.

#

have you tried this in test mode to see if this works?

#

Try setting the threshold on a test subscription and simulate the subscription with test clocks

fierce stump
#

I tried this in production and as you can see with this subscription I shared the threshold is set to 10 and it did not trigger anything even though the total before teh credit grants is 10

viral umbra
#

I see. Let me see if I can test this out

gusty thistleBOT
worn scaffold
#

Hi, taking over as my teammate needs to step away. Let me catch up.

worn scaffold
#

It looks like you're using a discount, in_1R1u9UD3AET2ZZIsSKaLkWBf to achieve this no?