#B33fbOn3-Order

1 messages · Page 1 of 1 (latest)

torpid shore
#

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?

muted forum
#

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

torpid shore
#

I still don't understand the 3rd question. what URL and what query? can you explain a bit more?

muted forum
torpid shore
#

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.

muted forum
torpid shore
#

Can you share with me a URL that you received?

muted forum
#

Currently Not. Maybe it’s in the req_event?

torpid shore
#

It doesn't appear in the webhook event.

muted forum
#

For 1/ can i apply More than 1 promo Code to my order?

torpid shore
#

Yes you can add multiple promo codes to an order.

muted forum
muted forum
torpid shore
#

Yes, you need to update with all promocodes, not just the new ones.

torpid shore
#

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

eager otter
#

what's up?

muted forum
# eager otter 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

eager otter
#

you need to pass just discounts:"" , not discounts:[""] for example