#brianc4733_api

1 messages ¡ Page 1 of 1 (latest)

inner ospreyBOT
#

👋 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/1233486993229611061

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

hardy ravenBOT
sonic inlet
#

Yeah AFAIK it's not possible to apply a promo code to the shipping portion

vivid pelican
#

That's what I was afraid of. Wish there was a way to "update" a checkout session, but without that API it seems impossible

sonic inlet
#

Yeah I think if you need that level of control, you'd need a custom checkout integration hosted on your site where you can control the total

vivid pelican
#

Figured as much. Aside from a fully custom checkout flow, and feeding in a discount coupon/promo code ID (collected from a custom UI component pre-checkout), any other Stripe based recommendations?

sonic inlet
#

You could collect shipping details on your site prior to creating checkout session and just baking shipping in as an additional line item in the checkout flow instead of checkout's built-in shipping

vivid pelican
#

Okay, imagining in that case we would have to relocate the ability to choose from multiple rates to that prior step. Not ideal, but thanks for the brainstorm and suggestion!

sonic inlet
#

Yeah you would