#iamshubhamaratha

1 messages · Page 1 of 1 (latest)

sinful ospreyBOT
odd thorn
#

So you want the metadata from the subscription to be on the Invoice object returned in the invoice.paid event?

magic zenith
#

yes

#

I am passing the data like this

#

it is the class which I am using for updating subscription

#

how can I get that metadata in invoice.paid event

odd thorn
#

You would need to fetch the Subscription object using the asubscription property on the Invoice record

magic zenith
#

How can I fetch that I am trying to find the meta in JSON which I am getting from webhook but inside that JSON all the metadata fields are blank, I am sharing that JSON I have got from the stripe portal