#xiah-Price

1 messages · Page 1 of 1 (latest)

tribal kraken
severe zephyr
#

req_WddCGWOPggKrmt

#

Looking at this log, it appears it's getting put on the price line meta, not the price's meta. I guess that would explain it.

tribal kraken
#

from what i understand - you're first attempting to create an invoice item, then attempting to update the (adhoc created) Price right?

#

the metadata here is created on the invoice item

stripe.invoiceItem.create({
  description: 'Inline Price',
  amount: 299,
  currency: 'USD',
  metadata: { type: 'SOME_TYPE' },
})
severe zephyr
#

Yeah. Whoops.

tribal kraken
#

the metadata which you're trying to update via the Dashboard, is on the Price object

severe zephyr
#

Is it possible to create metadata for the price itself this way?

#

I can just use whatever is on the price line if not. Would be nice if I didn't have to account for weird situations though.

tribal kraken
#

nope, isn't possible unfortunately