#Jesus Salcido

1 messages · Page 1 of 1 (latest)

empty driftBOT
narrow spire
violet prism
#

Great, so there isnt a way to pass this metadata on creation, for example with the checkout session you can pass some metadata on the session object to the paymentIntent

narrow spire
#

Correct, you need to update it yourself with a separate API call after the Payment Intent exists.

violet prism
#

Thanks, that helps a lot, I was going crazy looking for the way to pass it on creation

narrow spire
#

Yeah. We mostly don't ever touch metadata on separate objects, or have it inherit from something else. There are a couple of exceptions (e.g., Charges created by a Payment Intent inherit the Payment Intent's metadata) but this isn't one of them. 🙂

violet prism
#

Thanks, it was a huge help

narrow spire
#

Happy to be of service!