#letscode
1 messages · Page 1 of 1 (latest)
Is your goal you want the metadata from the payment link in a webhook?
What's the end goal here?
yes.. so i can update payment status in my db
Ok. Can you share the checkout session object id you referenced above?
"checkout.session.completed" id--> "evt_1NTQoQFG3Dh3H5V46mOfX8NM"
It's unpaid because the session was paid with a us_bank_account payment method. See: https://stripe.com/docs/payments/checkout/fulfill-orders#delayed-notification
You need: checkout.session.async_payment_succeeded
Got it.. thanks a ton
One last query: checkout.session.complete will trigger if payment is Success(ignore delay case)
if it triggers for failed also, how to differentiate? because both will be unpaid status
If payment fails for synchronous payments like card, you will never get checkout.session.complete
thanks for confirmation