#campercat-metadata-invoice

1 messages · Page 1 of 1 (latest)

wind pecanBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

lusty zodiac
#

hello! can you share the event id?

visual gale
#

in_1OckqMKysXCtxqKpKNgc3Rp9

lusty zodiac
#

we won't show the Product metadata in that event. you can probably set it on the Price instead and see if that works for you

visual gale
#

you mean the "Description" on the price ?

#

invoice.paid is for me the indicator where I will set the product to the customer, but I need a indicator what product was purchased

wind pecanBOT
lusty zodiac
#

you can try setting a metadata on the Price instead for more details on the Product : https://stripe.com/docs/api/prices/object#price_object-metadata

The invoice.paid event has details about the Price in each line item from what I'm seeing e.g.

...
  "price": {
              "id": "price_1ObQatKysXCtxqKpk7uAhXYO",
              "object": "price",
              "active": true,
              "billing_scheme": "per_unit",
              "created": 1705941811,
              "currency": "eur",
              "custom_unit_amount": null,
              "livemode": false,
              "lookup_key": null,
              "metadata": {
              },
...
visual gale
#

Okay but where can i set the meta data for a price in the ui ?

fallen shell
#

👋 When you say UI, you mean dashboard right?

visual gale
#

yes

fallen shell
#

You should see "edit metadata" button on the price details page

wind pecanBOT
#

campercat-metadata-invoice