#suren-metadata

1 messages · Page 1 of 1 (latest)

smoky valley
#

I don't understand the question I'm afraid, could you clarify?

queen agate
#

look when I create a subscription and put some metadata on the webhook e I get metadata on both subscription.update and invoice.paid

#

my question now

#

it seems to me that there are events when I do not receive this metadata inside invoice.paid

smoky valley
#

that's very vague sorry

#

what are those events specifically? The exact evt_xxx event IDs that don't have metadata that you expect to see, for example.

queen agate
#

i just need to know when metadata is automatically passed from subscription to invoice.paid

#

and when not

smoky valley
#

as far as I know, never.

#

metadata on the Subscription object is on the Subscription object, it does not get copied down to the Invoices that Subscription creates; if that's what you mean.

queen agate
#

evt_1K9Wd6BfTh1Z0SMkrUNmxoIs

smoky valley
#

thanks. So what should I be looking at with this?

queen agate
#

"evt_1K9UwsBfTh1Z0SMkPpJmiz2W", "evt_1K9UwtBfTh1Z0SMkBb5RMgM6",

#

copied metadata here

#

the fact is that all this is unpredictable

#

I just need to understand when this is being passed

smoky valley
queen agate
#

yes

smoky valley
#

that all seems normal. Do you have an example of something where you expected metadata but didn't see it, since you say it's unpredictable?

queen agate
#

yes I just accidentally looked at the webhook history and there is invoice.paid where there is no metadata

#

and in order for everything to work properly, everything I decided to clarify this with you

smoky valley