Stripe events: How to capture the product that was successfully paid with Stripe events and a webhook?
问题 My website's users will buy credits using Stripe's single-payment workflow with a checkout session. They can buy single credits or credit packages, like 10 credits package at discount price. After a successfully payment I want to capture the event with a webhook and update the user balance according to the product and quantity paid by the user. I'm currently tracking payment_intent.succeeded events and I can see payment and charge information however I can't find any information related to