#2Clutch-Subsription

1 messages · Page 1 of 1 (latest)

small shadow
#

Hi there, can you send me the event ID?

crude wedge
#

evt_1L0yGHJF8oW0qG5shdbgCxBA

small shadow
#

Thanks. let me take a look

#

I saw you were using plan param when creating subscription sub_1L0yGEJF8oW0qG5sewAC3uY0

crude wedge
#

Was I?

#

this was generated by the CLI

small shadow
crude wedge
#

stripe trigger customer.subscription.created

small shadow
#

Are you using the latest Stripe CLI?

#

can you run a stripe version ?

crude wedge
#

stripe version 1.8.8

small shadow
#

OK. It's the same behaviour even in the latest version.

crude wedge
#

just upgraded and the same behavior

#

when a new subscription is created, how can i easily retrieve the email associated with the user who just signed up for a subscription?

small shadow
#

Are you using the Checkout for subscription?

#

If you are, you can check the customer object and find the email address there.

crude wedge
#

mind expanding? not sure i understand.

small shadow
#

The easiest way to integrate Subscription is using Stripe Checkout. You can also use PaymentElement but it requires more work.