I'm implementing Stripe checkout on a website and I want to pass some specific data on checkout.session.complete. Here is what I tried:
'mode' => 'payment',
'payment_intent_data' => [
'metadata' => [
'eventId' => $eventId,
],
],
But I don't receive those datas in my webhook. What am I doing wrong ?