#skthon_webhooks
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/1499389107405717677
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
This is from the subscription, but the invoices charged doesn’t have these metadata tags.
hi there!
yes you would need to write some custom code to copy the metadata to the PaymentIntent. and you would need to wait for the PaymentIntent to be actually created, so listening to invoice.paid or payment_intent.created would make more sense.
i want to do it before its being charged, these metadata params will allow us to charge a platform fee
which Stripe API version are you using?
because there should be a PaymentIntent on the Invoice when its finalized.
because in the latest API version we removed the payment_intent field on the Invoice object, so that's maybe why you don't see it.
2022-11-15
we are using this version
Hello @everyone. how can I access to this server?
then there should be a payment_intent property once the Invoice is finalized.
@muted creek looks like you're in the wrong place, this thread is for someone else's question.
- If you have your own thread please chat there.
- If you have a question or a followup to a closed thread use one of the buttons in https://discord.com/channels/841573134531821608/842637025524842496 to get help (we don't reopen closed threads).
Note that posting inappropriate messages in other people's threads is against the rules. No worries if this was just an honest mistake, but anyone who violates the rules multiple times will be removed from this server.
did you finalize the Invoice?
i am trying to understand which webhook exactly i need to use to add metdata tags. These metadata tags will help us add platform fee using the platform pricing tools > payment data conditions
We have this situation for only subscription because for one time payment intent we directly add it at the time of creation
Ideally i was expecting to carry forward metadata tags to rebill intents from subscription metadata tags
you could listen to invoice.finalized, since at this point the Invoice will have a PaymentIntent
ok, i will try. But i am not sure if i will be able to test in real time since i am using simulation and charging customer. The events triggered all at once, so no way to update payment intent metdata tags before charging the intent.
026-04-29 13:10:07 --> customer.updated [evt_1TRXsLGhjhjCMunfrkIW8Wdz]
2026-04-29 13:10:08 --> charge.succeeded [evt_3TRXsHGhjhjCMunf0EDfWDwe]
2026-04-29 13:10:08 --> payment_intent.succeeded [evt_3TRXsHGhjhjCMunf0CX3sll0]
2026-04-29 13:10:08 --> payment_intent.created [evt_3TRXsHGhjhjCMunf07MXZNJc]
2026-04-29 13:10:11 --> invoice.updated [evt_1TRXsMGhjhjCMunfDxHspmkh]
2026-04-29 13:10:11 --> invoice.finalized [evt_1TRXsMGhjhjCMunfxhkJGKWR]
2026-04-29 13:10:12 --> invoice.paid [evt_1TRXsNGhjhjCMunf6sseUxjx]
2026-04-29 13:10:16 --> invoice.payment_succeeded [evt_1TRXsNGhjhjCMunfevO6Gjy9]
👋 taking over for my colleague. Let me catch up.