#rc9999999-prices

1 messages · Page 1 of 1 (latest)

queen grail
#

yep right now they are API only unfortunately and can't be added through the dashboard. I agree it should be but it's not unfortunately

How am I supposed to distinguish between different prices on the same product?
the amount/currency/description fields should help, I don't think lookup_key is directly related there.

exotic parrot
#

So e.g. define the amount on the client side and request it on the backend?
This is fine, I just want to make sure there is no better option.

#

I just saw lookup_keys on the subscription example hence why I went down that route

queen grail
#

I mean lookup_key is the best option

#

just means you have to use the API to create the Prices, or update existing Prices created other ways to add one to them. But it is one of the easier options

#

but otherwise really it's just something you hardcode or store in your database. You sell a few different products at different price points, you would store the price_xxxx IDs in your application's configuration and your code picks the ones to use based on what the customer picks in your frontend.