#ninjamasta_api

1 messages ¡ Page 1 of 1 (latest)

velvet rampartBOT
#

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

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

sage sand
faint kite
#

Correct, I believe that is required when mode='subscription'

#

If I try to use shipping_options with a subscription mode, I get: Error: shipping_options cannot be used in setup or subscription mode.

sage sand
#

Ah, gotcha. I'm not sure if there's a way to exclude a line item from a discount, but let me check...

faint kite
#

I also tried adding the discount directly to each line item individually, but that throws an error as well (with subscription mode).

sage sand
#

Yeah, I don't think there's a way, unfortunately. The only practical workaround I can think of would be to do something like reduce the price of the Subscription manually, or adjust the shipping line item's amount to account for the discount being applied.

faint kite
#

Ok, thanks for checking. Not a big deal, we will just leave the discount on shipping.