#MarkoBoras
1 messages · Page 1 of 1 (latest)
yeah
I have array of ids
I've done this so far
But I am not sure if it is correct
const metadata: { [key: string]: string } = {
reservationIds: JSON.stringify(reservationIds),
};
Then in creation of checkout I pass that metaadata
ok
when can I then retrieve back those reservationIds
I want to retrieve them only if checkout has succeeded
and payment went successfully
in the checkout.session.completed event
please read through this guide https://stripe.com/docs/payments/checkout/fulfill-orders
ok
Hi! I'm taking over my colleague. Please, let me know if you have any other questions.