#numan_code

1 messages ¡ Page 1 of 1 (latest)

vague geodeBOT
#

👋 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/1313413996128243732

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

pulsar socket
#

Hi there, I'm not familar with reporting. What do you mean by "Expansion and Contractions" ?

tacit eagle
#

can you please help me how i can get the subscription that is downgraded or upgraded?

pulsar socket
tacit eagle
#

Yes but i need to calculate on my side

#

so that's why i am asking if any api or anything i can do for this please let me know

pulsar socket
#

I'm afraid that I don't have any information about MRR calculation. You might want to ask support https://support.stripe.com/contact/ and see if they have a better answer.

tacit eagle
#

Have iyou know how i can get the upgraded or downgraded subscriptions ?

pulsar socket
#

You can listen to customer.subscription.updated event and check its items[price] in the previous_attributes hash. So that you can compare the current price and the previous price to determine if it's a upgrade or downgrade

tacit eagle
#

yeah i know this but how i cn get previously user who already upgraded or downgraded his subscriptions

#

Any api or method i can get ?

pulsar socket
tacit eagle
#

can we gets events more then 30 days ?

pulsar socket
#

Events within the last 30 days will be fully visible via the API and Dashboard.

tacit eagle
#

Basically i want to get all those events that are upgraded or downgraded regardless of time limit.