#B33fbOn3-Order
1 messages · Page 1 of 1 (latest)
Hi there,
1/ You can update the discounts hash with empty string to unset the discounts https://stripe.com/docs/api/orders_v2/update#update_order_v2-discounts
2/ Can you send me the request ID?
3/ I don't quite understand this question. You want to get the orderId or secret of an order object?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
1/ ok, gonna Check this..
2/ is For all of my orders. U can Check the examples at 3
3/ Normaly yes, but sometimes I get in the url the query a paymentintentid and a paymentintentsecret
For 2/ line_items field is not included by default. To include it in the response, expand the line_items field. https://stripe.com/docs/api/orders_v2/object?lang=curl#order_v2_object-line_items
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I still don't understand the 3rd question. what URL and what query? can you explain a bit more?
Ah ok
Sure. When u proccess an order u Need to enter a Return url. When Stripe Return it will attach the orderid and the ordersecret as query to the url. U know what i mean?
I see what you mean. Yes when Stripe redirects the customer to the return_url, Stripe.js appends the order and order_client_secret query parameters.
Yes. Sometimes i get Just a paymentintendid with the secret
Can you share with me a URL that you received?
Currently Not. Maybe it’s in the req_event?
It doesn't appear in the webhook event.
For 1/ can i apply More than 1 promo Code to my order?
Yes you can add multiple promo codes to an order.
Ah. I got a combination with orderid and ordersecret. In the other I got a paymentintentid with the paymentintentsecret
Ok. When I Update the order I Need to pass all promocodes That I want to Apple Not Just the „new“ if one is already applied?
Yes, you need to update with all promocodes, not just the new ones.
I need to step away so I’m going to archive this thread. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
what's up?
Hii there,
To my Problem 1/.
I tried it with an empty string, but it does Not work…
Watch this request:
req_44iXmZS8tYeI3d
The request Data will ne converted into the shown request Body. In the Text u can See, that I have given the empty String
you need to pass just discounts:"" , not discounts:[""] for example