#elianbraja

1 messages · Page 1 of 1 (latest)

delicate oceanBOT
vague iris
#

Hello! No, I don't believe so. That's an API-only feature as far as I'm aware. Not seeing a way to edit it in the Dashboard.

lilac thunder
#

ok, is there any way I can get the plan product name from the webhook. I can see just the product_id but not the name

vague iris
#

Taking a step back, what are you trying to do?

#

Like which Event are you receiving via webhook? What are you trying to build?

lilac thunder
#

yes when I receive the customer.subscription.created event I want to know the product name

#

is there any way?

vague iris
lilac thunder
#

yes but is a webhook

#

stripe decides how to send the webhook

#

where should I specify the extend?

vague iris
#

You would make the retrieve API call after receiving the Event. You can't expand ahead of time.

#
  1. Receive `customer.subscription.updated
  2. Retrieve Subscription from the API with expansion options
lilac thunder
#

Also I want to know can I use the lookup key instead of the price id for the API calls?

#

What is the purpose of the lookup key?

vague iris
lilac thunder
#

I am interested to create a new subscription item but instead of providing the price_id I want to provide the lookup_key

vague iris
#

You would need to look up the Price using the list API I linked to above to get the Price ID, and then use that when creating the Subscription.