#midnight_webhooks

1 messages ยท Page 1 of 1 (latest)

main doveBOT
#

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

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

drowsy tangle
#

Hi, taking a look here

cosmic elbow
#

ty

main doveBOT
drowsy tangle
#

You used billing_cycle_anchor on the one that showed the deleted status.

#

The other one, sub_1QK3IlCPHmUYMa5Njbrcd5kT does not

#

Can you ensure that both of the subscription creations have the same parameters?

cosmic elbow
#

yes, so If I remove the billing_cycle_anchor field on that one, we should see the subscription.deleted event?

wicked atlas
#

Hello ๐Ÿ‘‹, catching up on this as my colleague has to step out soon

cosmic elbow
#

wth get out of here dronkie lol

wicked atlas
#

I am not quite clear on why the creation parameters may have made a difference but that is one of the bigger differences that I can immediately see. Looking further in to this and will get back to you

cosmic elbow
#

ok ty

wicked atlas
#

Our initial theory was that one of these deletes happened very close to the cycle anchor but that doesn't look to be what caused this. I will reach out to my colleagues to look deeper in to this and get backt to you with what we can find

cosmic elbow
#

ok will that be today or you think another day?

#

really appreciate the help

wicked atlas
#

It will be today through this thread, though if you have to leave soon we can create a ticket and get back to you through that.

cosmic elbow
#

yes I do have to leave soon, if you could make a ticket for me and get me some info on how to see your reply

main doveBOT
#

Hello @cosmic elbow, we tried to send you a direct message, but couldn't

  • ๐Ÿ”— We would like to send you a message that has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
  • Please enable direct messages from members of this Discord server (please see the instructions here) and let us know so we can try again!
wicked atlas
#

Oh wait my teammate actually just figured out the difference. The first subscription was active when you cancelled it, which emitted the deleted event. The second one was in an incomplete state because it was never active and moved to incomplete_expired which only emits an updated event in this case. I am a bit surprised that that is how this works, but that does explain the difference in behavior.

cosmic elbow
#

what does that mean, they were both created and had end dates. are you talking about the status?

wicked atlas
#

Yes, active vs incomplete status. incomplete is the status that a subscription has until its first payment is made, after which it becomes active.

#

So one subscription was cancelled before its first payment had been made, creating the updated event, and the other was deleted after which created the deleted event.