#voidy_unexpected
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/1298503624158216214
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
the reported usage is 74, but it did not get charged,
its a usage meterered subscription, so 0$ invoice is when creating the subscription.
Did you pass invoice_now: true when callingthe Cancel API?
its say its true by default on doc
few more screenshots which might help to understand the behaviour
the billing method is probably through link,
and when cancelling, on response, the end behaviour has few params related to missing payment method
Can you share the request id req_xxx?
its on live mode
req_GFR3lvxT9fYDs4
Okie now can you find the request triggered by Dashboard or Customer Portal. So you can compare them
sure, were you able to figure out anything?
Sorry, I was waiting for if you can find the request from Customer Portal
i could not find a request log actually, there is just this event evt_1Q5gFvAWDWbiBybi3nOvEaOl
the one on the left side is api cancellation,
that field is missing
one on the right is someone canceled from portal, evt_1Q5gFvAWDWbiBybi3nOvEaOl
I see. How about cancelling from Dashboard?
these all are live mode subscription,
is it okay if i cancel one from testmode, will the event/reqeuest date be identical?
this api is called from dashboard, i think invoice_now as true is mandatory and does not default to true as documentation says
yeah dashboard also has the field,
eventid: evt_1QCxRbAWDWbiBybiEdesOQS6
test mode
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Can you try the same parameter in your program?
"prorate": "false",
"invoice_now": "true"
"billing": "charge_automatically",
i checked, this is the only field thats missing from the event datas
okay, what does prorate false do?
can u also find me request log for this event? evt_1Q5gFvAWDWbiBybi3nOvEaOl
No that's not visible to merchant
I see a request on my end but it's more of an internal method
Um I think you can try to not include it first
it actually discard all metered usage and potential credit
sure i will try
thanks bud
is there anyway, that i can still charge those usage
the subscription is already canceled
If you don't pass the parameter invoice_now and then continue reporting usage, the usage reported until the end will still be charged: https://docs.stripe.com/billing/subscriptions/cancel?dashboard-or-api=api#handle-invoice-items-when-canceling-subscriptions
the subscription is canceled, there was certain usage reported
when will that be charged?
at the end of the billing cycle