#yagnesh_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1499297285488775218
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- yagnesh_unexpected, 1 day ago, 20 messages
- yagnesh_docs, 5 days ago, 25 messages
Hey do give me some time to look into this
Sure
I see that you have the right beta headers, could i check if you configured the betas in the client side SDK as instructed here: https://docs.stripe.com/payments/advanced/dynamically-update-discounts?server-lang=node&lang=ruby#update-client-sdk
Yes I do:
this.stripeV3 = this.stripe(publishableKey, {
betas: ['custom_checkout_adaptive_pricing_2', 'custom_checkout_server_updates_1'],
locale: this.currencyCode() || 'auto',
});
the thing is that update checkout session request body is showing empty in the dashboard, even though explicitly passing discount as empty array
Right understood, I think i might know whats going on
Currently testing it out on my side, so do give me some time
Sure sure, please
I took a deeper look into this, for some reason, it seems like the empty discount parameter was not included into the request body
Hello @warm citrus, we have sent you a direct message, please check it at https://discord.com/channels/@me/1499312465354293343
- 🔗The message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
As the Investigation might take some time to look into, Could I trouble you to write in to us through the DM i just sent you?
Yup, I noticed that as well, dor some reason the empty array [] was dropped
during the request
though in docs it is mentioned passing as empty array should work,
i think ideal should be empty array
yes that worked too,
null and "" is working