#marve_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/1372885018397114410
๐ 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.
- marve_api, 1 day ago, 48 messages
๐ happy to help
yes a shipping rate will be created when you pass shipping_rate_data
And can I include shipping data if the checkout session includes both one time purchases and subscriptions
do you mean with subscription mode andadd_invoice_items?
Yes I think it should be possible
Yes, with checkout session on subscription mode
is it not working as expected?
It is, i just read this in the docs: Only Checkout Sessions in payment mode support shipping options. (we're passing it ourselves -the selection on our side so no problem there). Just double checking
And one last question: we're integrating tax atm, but we're not using stripe tax. In checkout session, we should be able to pass tax amount to line items stripe price ids with no issues right?
or since we're not using stripe tax, would we need to create new priceIds for every tax scenario (eg region)
the reason why it works in this Checkout Session is because you have 2 prices
one that is a one-time price that you would be shipping to your customer
okay got it thanks. And if there's only one subscription, which requires shipping it should work right (we haven't tested this yet)? Sorry, i know im asking multiple questions at the same time
no worries with the multiple questions, it's just that I'm looking into an internal issue at the same time, so sorry for being a bit less responsive than we usually are here
No problem, there's no rush on my side
do you mean that there's a recurring shipping fee?
yes
then it should be embedded as a price to the subscription recurring fees
so you can't really use the shippingrates
yes you can pass tax rates
oo got it, so ill need to create a new price for every shipping option
and can this be done without creating a stripe tax rate id? Can i just pass it directly to line items using priceId? or will a tax id be generated every time
yes but it's going to be a bit hard to do so ahead of time (when creating the checkout session)
I'm trying to get you more info about the shipping rates
just give me a couple of minutes please
O okay thanks!
I think you can probably use https://docs.stripe.com/payments/checkout/dynamic-updates
mostly https://docs.stripe.com/payments/checkout/dynamically-update-line-items to add a shipping rate price
Thanks! Its in private preview though
no problem though, much clearer now
Thanks again
hi! I'm taking over this thread. let me know if you have other questions!