#sqarf-subscriptions
1 messages · Page 1 of 1 (latest)
Hi! It's possible to add multiple products to a single subscription as explained here: https://stripe.com/docs/billing/subscriptions/multiple-products
But if you want the products to be billed separately, you would need to create multiple subscription
And you could add some metadata to the subscription to keep track of which subscription is used for each domain. https://stripe.com/docs/api/subscriptions/object#subscription_object-metadata
https://stripe.com/docs/api/checkout/sessions/create can I send meta data about subscription object from this endpoint?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
When creating a Checkout Session, the metadata field will be applied to the Checkout Session obejct, not the subscription.
So you would need to update the Subscription after its created with the metadata.
Ah, ok