#Darby-charge-metadata

1 messages · Page 1 of 1 (latest)

indigo loom
gilded olive
#

Hi 👋

sacred hemlock
#

Hey snufkin!

gilded olive
#

So, just to be clear, you want the metadata your are passing in to be appended to the Charge object?

sacred hemlock
#

yess

gilded olive
#

Alright, let me take a look.

#

Alright so you are using the Checkout Session workflow to collect payment info and process the payment?

sacred hemlock
#

yep

gilded olive
#

Okay...well I have some good news and bad news.

sacred hemlock
#

uto

gilded olive
#

The bad news is that you can only append metadata to the objects you create in your code, in this case the Checkout Session

#

The good news is that you can modify these records after they are created to append the metadata

sacred hemlock
#

Darn that's what I figured we would have to do! No worries, Thank you!!

gilded olive
#

Updating the existing objects would be a good use case for webhook listeners.

sacred hemlock
#

Yep! ty!