#gj

1 messages · Page 1 of 1 (latest)

bold dewBOT
swift mauve
#

I'm pretty sure that the default price Id is listed when looking up the product

empty parrot
swift mauve
#

I have some existing code that looks for a key called "default" in the metadata of the prices

#

I'm trying to determine if it is a bug or if that was working at some point.

empty parrot
#

Metadata is arbitrary and entirely up to you. Stripe doesn't use metadata for anything, or set it in a scenario like this.

#

You can certainly add some metadata to a Price when you make it the default, but that would be something your code would do on your end, not something Stripe would do.