Stripe `priceId` is undefined

Hello everyone! I use the stripe plugin and I have this code:
const { data: subscriptions } = await useAsyncData(
'subscriptions',
() => client.subscription.list()
)
const { data: subscriptions } = await useAsyncData(
'subscriptions',
() => client.subscription.list()
)
When I access subscriptions.value.data[0], I get my subscription object, but it doesn’t include the priceId property. Why is that?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?