#dack_bonjour-metadata
1 messages · Page 1 of 1 (latest)
hi! you set the metadata on the CheckoutSession object, and that doesn't inherit to any PaymentIntent it creates , and then you listen to the webhook for the PaymentIntent, so that naturally does not have the metadata. It's on the CheckoutSession object.
you should either :
- listen to the
checkout.session.completedevent for your reconcilation instead https://stripe.com/docs/payments/checkout/fulfill-orders - or set the metadata in
payment_intent_data=>[metadata=>[...]]in\Stripe\Checkout\Session::create