#Tejasree
1 messages · Page 1 of 1 (latest)
Hi there 👋 are you specifically referring to our Order objects, or are you using order as a generic term?
https://stripe.com/docs/api/orders_v2/create
Once an order for the product has been placed from the website I have an order id in the receipt..How is it I pass the order id to stripe?
Sorry, I'm not sure I understand. Could you try elaborating on what it is that you're trying to accomplish?
Like we have the paymentintent_id in stripe for every order..how do we generate the order id?
as every product has the paymentintent id I am trying to generate the orderid in the receipt..
If you already have the ID of a Payment Intent, then it is too late to generate an Order for that payment. Our Order objects are higher-order objects than our Payment Intents so an Order will generate the Payment Intent that it uses to process it's payment, not the other way around.
Sorry I didn't get..Can you elaborate more
And one more thing...How do I remove those number from the text box ..I am using the stripe card elements here..
Let's take a step back, are you using our Orders functionality?
https://stripe.com/docs/orders
yes
Okay, and when you create an Order, part of the response that is provided includes the ID of that Order:
https://stripe.com/docs/api/orders_v2/create
Is that what you are looking for?