#Alakazam

1 messages · Page 1 of 1 (latest)

thorn heronBOT
wary nimbus
#

Hi there, you need to expand the currency_option

elder cipher
#

Can you write node js code for my price id
price_1N8mXwSEDjAlhmdivhRZEZaU

thorn heronBOT
elder cipher
#

Are you there?

karmic gyro
#

have you tried? can you share the code snippet that you've tried?

elder cipher
#

this one i tried
const price = await stripe.prices.retrieve(priceId, {
expand: ["currency_option"],
});

karmic gyro
#

okay, that looks correct - did it work?

elder cipher
#

no

#

its showing 'This property cannot be expanded (currency_option).

karmic gyro
#

you're missing an s - it should be currency_options