#brianc4733_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/1233486993229611061
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Yeah AFAIK it's not possible to apply a promo code to the shipping portion
That's what I was afraid of. Wish there was a way to "update" a checkout session, but without that API it seems impossible
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
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?
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
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!
Yeah you would