#inexorable
1 messages ยท Page 1 of 1 (latest)
Hello ๐
I don't think you can pass the produce IDs along side the PaymentIntent
Can you elaborate a bit more on your use-case?
I have a custom cart builder and aim to use Elements to take and confirm a payment. I'm simply looking for a way to record basic order information (products purchased etc) alongside the payment in Stripe.
It feels like I'm using the wrong API
Gotcha. Umm we had an Orders API but it was in beta and now closed
However, you could pass that information using the metadata property on the PaymentIntent
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-metadata
I think I've got confused with the simple Checkout option. That obviously allows for a product list to be included.
Yes, meta is an option here but it would be jumbled up with other important reference data. Seems like an obvious thing to me - to want to be able to see at a glance in Stripe dashboard what a payment was for (without having to refer back to the system that might have initiated the payment).
hehe... I must be missing something here... heading back through the docs from scratch.
As far as I know with PaymentIntents and Elements, metadata would be the only way to go.
Yes, it would appear so... thank you for your time - it's very much appreciated ๐
NP! ๐ Happy to help
Good luck