#zeb_subscriptionitem-metatadata
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1247215192895393907
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi ๐
I've reviewied the Subscription and the request you used to update it and I see the metadata. Can you clarify what API requests you are making where you do not see the metadata present?
But also, just viewing the upcoming invoice in the subscription page on the dashboard
That's what I mean about Dev Tools--I thought maybe the Metadata just wasn't visible on the invoice page, but it's now {}, and I haven't done a local mutation since the subscription update with the request ID I linked.
Sorry I can't view that link and we don't know much about what the Dashboard does and doesn't display.
But looking at that URL, it looks like you are looking at the Invoice
Metadata set on the Subscription does not copy to the invoice
"items": {
"object": "list",
"data": [
{
"id": "si_QE4qutc8pcMnB0",
"object": "subscription_item",
"billing_thresholds": null,
"created": 1717428027,
"discounts": [],
"metadata": {
"classUIDs": "- 665a34e2860874cf728263e8 - 665a34e3860874cf728263ec - 665a34e4860874cf728263f0 -",
"description": "Classes for the next billing cycle:665a34e2860874cf728263e8 at Jun 7 at 9:00 AM665a34e3860874cf728263ec at Jun 10 at 9:00 AM665a34e4860874cf728263f0 at Jun 11 at 9:30 AM"
},
^^that's where I'm seeing the metadata come back.
Yup, on the Subscription Item
Setting on items.metadata within the subscription, with the hopes that I would be able to see it anywhere
Invoice page, subscription, I don't mind
OK cool, I have it in the Network request...is there a way for me to surface it / customize the sub page so non-devs can see it?
- As I said, I cannot speak to what the Dashboard will display but you can always see it in the API if you retrieve the Subscription
- Invoice Items are generated from Subscription Items but they are not the same and the
metadatawill not propagate
Is there someone who does know what the dashboard can display?
At this point, that's all I need, feels super-close now that you directed me away from the Invoice request-and-page
This server is specific to helping developers integrate with Stripe APIs so that is what we are experts in. For help with the Dashboard, I recommend you reach out to Support here: https://support.stripe.com/contact
All good man, I'll just set metadata on the subscription itself. Thanks for rubber-ducking!
Happy to help talk it out ๐