#tequila-metadata

1 messages · Page 1 of 1 (latest)

wary comet
#

Hello! Am I understanding correctly that you're setting metadata on a single Payment Intent (created from a Subscription) and you're expecting every subsequent Payment Intent to also have that same metadata?

eager junco
#

I guess that is the question. How do I setup metadata for every payment of a subscription

wary comet
#

Unfortunately there isn't a way to set metadata on the subscription and have it reflected in every payment intent that is created- you'd have to update each payment intent to have the metadata you want

eager junco
#

I guess I could get the subscription from the PaymentIntent yeah?

#

Then read the meta of the subscription

wary comet
#

Yeah, that would be a better option and will save you the trouble of having to update the metadata every time a new payment intent is created

eager junco
#

cool, I'll go with that. cheers mate.