#Fireenn

1 messages · Page 1 of 1 (latest)

sudden remnantBOT
dry dawn
#

Yeah that would need to be a separate call if you want to update the metadata on the invoice itself

molten wadi
#

ah okay

dry dawn
#

That being said, the subscription's metadata will automatically show up on the invoice items related to that subscription

#

So if you set the metadata on the subscription itself, you can see the results on the invoice without making a separate call

molten wadi
#

hmm is there a way to be able to get to a subscription id through a payment_intent.payment_failed webhook?

dry dawn
#

The payment_intent will have an invoice property, you can retrieve the invoice and expand the invoice's subscription property, which would get you all of that subscription's information

molten wadi
#

okay thanks