#b33fb0n3
1 messages · Page 1 of 1 (latest)
Hi
You are creating the metadata at the Checkout Session object, You need to listen to the event checkout.session.completed, you'll get the metadata you filled on that requests
metadatas doens't propagate from one object to another.
can I somehow add the metadata to the subscription object?
like in the lineitems:
line_items: [
{
price: priceId,
quantity: 1,
},
],
To add the metadata there or something like that? 🤔
maybe this one:
"items": {
"object": "list",
"data": [
{
"id": "si_OVzPxzID27P1rf",
"object": "subscription_item",
"billing_thresholds": null,
"created": 1692960009,
"metadata": {
},
^