Hello Everyone,
I need help setting up my Stripe Webhooks. I've already did the checkout and it's working fine.
However, once the checkout is completed i need some details to be stored in user's database.
I need the following fields:
- StripeCustomerID
- StripeSubscriptionID
- SubscriptionStatus
- SubscriptionStart
- SubscriptionEnd
Here's what i've done already:
(I used {{$_POST.data.object.metadata.user_id}}, in my stripe webhook events the code show the right id for the user (23), so i tought it would work)
I was told that the fail of database update was because of SubscriptionStart and End due to Stripe date formation. I've removed for a while and it didn't work still.
If anyone could help i'd be very grateful.
Thanks,
Rodrigo



