#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/1308487704476123178
đ 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, 6 days ago, 85 messages
- dragonlord_api, 6 days ago, 69 messages
So if I track the usuage twice it should show on the subscription as 1 unit but it does not
Hello! We only support whole numbers, see here: https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage-api#usage-values
oh okay makes sense
Okay so it does work with decimals it just takes a minute for the subscription to update
Are you in the beta for decimal values?
So if I record usuage of 0.8 twice it records the usuage as 1 in the subscription after a minute
I am using $stripe->v2->billing->meterEvents->create([
and using our sandbox environment
Oh, so it doesn't record it as 1.6, right?
But once the value is > 1 it adds it to the subscription
but it does take a few minutes for this to reflect on the subscription
It seems like your account might have access to special functionality since it's accepting decimal values. We can't help with private/special functionality like this on Discord. You should have a way to provide feedback about this special functionality that was provided when you were given access.
I have no documentation of this access being given to me
I am just using the sandbox environement
I recommend you reach out to the email address shown on the documentation I linked to above.