#Scott - metadata
1 messages · Page 1 of 1 (latest)
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I tried that earlier and i got an error You can not pass payment_intent_data in subscription mode
Ah then you can use subscription_data
ahh okay I havnt accross this one, I'll give it a try. Thank you very much