#dragonlord_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/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.
- dragonlord_api, 39 minutes ago, 21 messages
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?
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
ok, sorry for the delay... looking into this now
no worries
still wrapping my head around your use case - any chance you can share an example subscription you've created?
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?
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
Hello ๐
Taking over here
sounds good
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
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
I see. Let me see if I can test this out
Hi, taking over as my teammate needs to step away. Let me catch up.
It looks like you're using a discount, in_1R1u9UD3AET2ZZIsSKaLkWBf to achieve this no?