#voidy_unexpected

1 messages ¡ Page 1 of 1 (latest)

pseudo knotBOT
#

👋 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.

left oriole
#

the reported usage is 74, but it did not get charged,
its a usage meterered subscription, so 0$ invoice is when creating the subscription.

wraith epoch
#

Did you pass invoice_now: true when callingthe Cancel API?

left oriole
#

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

wraith epoch
#

Can you share the request id req_xxx?

left oriole
#

its on live mode
req_GFR3lvxT9fYDs4

wraith epoch
#

Okie now can you find the request triggered by Dashboard or Customer Portal. So you can compare them

left oriole
#

sure, were you able to figure out anything?

wraith epoch
#

Sorry, I was waiting for if you can find the request from Customer Portal

left oriole
#

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

wraith epoch
#

I see. How about cancelling from Dashboard?

left oriole
#

these all are live mode subscription,

is it okay if i cancel one from testmode, will the event/reqeuest date be identical?

#

yeah dashboard also has the field,
eventid: evt_1QCxRbAWDWbiBybiEdesOQS6
test mode

wraith epoch
#

Can you try the same parameter in your program?

  "prorate": "false",
  "invoice_now": "true"
left oriole
#

"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

wraith epoch
#

No that's not visible to merchant

#

I see a request on my end but it's more of an internal method

left oriole
#

got it, i will try with invoice now as true

#

thanks, what does prorate false do?

wraith epoch
#

Um I think you can try to not include it first

#

it actually discard all metered usage and potential credit

left oriole
#

sure i will try

#

thanks bud

#

is there anyway, that i can still charge those usage
the subscription is already canceled

wraith epoch
left oriole
#

the subscription is canceled, there was certain usage reported
when will that be charged?

wraith epoch
#

at the end of the billing cycle