#kd-session-webhook
1 messages ยท Page 1 of 1 (latest)
yes, here it is
evt_1KlZjoCAWDAXxlXMywh80Kxk
or is there something i can pass in the checkout session that will appear in the subscription object created ?
Sorry juggling between a few threads at the moment
give me a few
Ah finally found it
you can set subscription_data.metadata that would then carry over to the subscription object
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_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.
Is there a way to pass the checkout session id (cs_xxxxxx) to the created subscription>?
you could try using {CHECKOUT_SESSION_ID} template variable inside metadata
https://stripe.com/docs/payments/checkout/custom-success-page
ok, cool I'll try that, hope it works.
Good luck ๐