#josh A-checkout
1 messages · Page 1 of 1 (latest)
oh ok
What do you need it for? Maybe I can come up with an alternative that would be helpful
so after the order I am sending the costumer an email that his payment went through and some details about the order, and one of the details should have been when he created the order
Gotcha - so an easy workaround for this would be for you to capture the creation timestamp and put it in the metadata of the Checkout Session. That way you can easily reference it when you want to send the email
You would pass it in with your creation request in the metadata parameter - https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.