#Dom Oldham
1 messages · Page 1 of 1 (latest)
How are you accepting payments? (checkout, payment links, Elements, etc)
We're using checkout.
Got it. And you just want to attach the order number that you generate on your end to the payment? At what point in your flow do you generate the order number?
Yes just the order number. Our accounts team need something to reference. The OrderNo. gets generated upon checkout.
Got it. Are these 1-time payments or subscriptions?
They are one time payments for products.
In that case you can pass your order id here when creating the session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-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.
It will then be visible as metadata on the associated payment intent
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks