#jerz_reporting-events
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/1291409141461553213
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share an example event id for a reporting.report_type.updated event that wasn't delivered?
Sorry ... if I look at the webhook logs there are no events with that type
that's the problem?!
It's just dawned on me .... I'm using Connect and assume that I listen to events on the Connected accounts to get this?
Ah yes
You need a different webhook endpoint type to listen to your connect accounts' events: https://docs.stripe.com/connect/webhooks
I do have this set up on a Connect webhook, which seems correct?
Is reporting.report_type.updated fired on connected accounts or just on the normal webhook?
It will be fired on whatever account you run the report on
If you share an event id I can look into why it wasn't delivered
Sorry, this isn't for a particular report ... this is the event that tells us new data is available for reporting?
I'm not seeing the event at all in the logs so can't give you an event id
See here where it says we should receive 20-30 events a day: https://docs.stripe.com/reports/api?locale=en-GB#integration-pattern
What's your webhook endpoint id?
we_1PVDOYJblXXmZEXFGdo5eL4z
Hm yeah not sure
Let me ask a colleague. We don't know much about reporting in here
What type of report are your running on the connect accounts?
There's reports you can get connect data from that you can run on your platform
We're running this report payout_reconciliation.by_id.itemized.1 which does work on the connected accounts
We were trying to follow the best practice in the above link and only run this report when the data is available
hello?
Sorry waiting for my colleague to get back to me
They said you shouldn't be running reports directly on the connect accounts. You can run this one on your platform account instead to get connect account data: https://docs.stripe.com/reports/report-types/connect#:~:text=columns-,connected_account_payout_reconciliation.by_id.itemized.1,-Columns
Then you can listen to reporting.report_type.updated events on your platform account webhook endpoint
Reporting events aren't sent to connect endpoints apparently
That's why we have these connect report types you can use on your platform account
ah ok ... that makes sense. Guess I missed that in the docs. Thanks
No problem