#Sakin
1 messages · Page 1 of 1 (latest)
Have you checked the description field of the Subscription?
I was looking in the webhook event object
should i use thisconst subscription = await stripe.subscriptions.retrieve( 'sub_1MrDVzBVhoJP270LZcQOlkFb' );
can you share the event id that you're looking at?
I am looking in all of the events I'm getting. Here is one event type and id payment_intent.succeeded: evt_3MrDW0BVhoJP270L2pJzZ07r
you won't be able to get that data from the payment_intent.succeeded event. You can see it from the customer.subscription.* events or the invoice.* events
found in customer.subscription.updated as nickname: "pro-monthly". So will the plan name always appear as [plan_name]-monthly?
isn't that nickname set by you?
I named them as premium, pro, etc and they are monthly plan
then it sounds like yep, that's the format the nickname follows