#Scott - metadata

1 messages · Page 1 of 1 (latest)

keen gulch
#

Hello, typically metadata is not automatically copied between related objects. So when you are setting metadata on the Checkout Session the data is staying on the Checkout Session. That being said, we do provide a payment_intent_data parameter that you can use to set the metadata on your payment intent from your checkout session https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-metadata

fallow willow
#

I tried that earlier and i got an error You can not pass payment_intent_data in subscription mode

keen gulch
#

Ah then you can use subscription_data

fallow willow
#

ahh okay I havnt accross this one, I'll give it a try. Thank you very much

thick atlasBOT