#mckeemi_code

1 messages ยท Page 1 of 1 (latest)

pliant mapleBOT
#

๐Ÿ‘‹ 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/1227908330958229506

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

past creekBOT
#

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.

merry dove
#

๐Ÿ‘‹ happy to help

obsidian valve
#

Oh I didn't see this thank you will have a look

merry dove
#

let me know if you need any more help

obsidian valve
#

Is there any other way to do this? The current code is working correctly using setup_intents, is there a way of adjusting the SubscriptionCreateOptions or the Items within it to allow for this?

merry dove
#

unfortunately there isn't

obsidian valve
#

Or is there away when we create the Stripe Plan that we can set the initial payment

merry dove
#

oh actually you can do something here

#

you can add a one-off payment of the difference to the first invoice

obsidian valve
#

Oh that would be great, if I didn't have to refactor it all ๐Ÿ™‚

merry dove
#

yes you can add the 30 cents as a one-off to the first invoice

#

the problem with subscriptions though is that you can't use a number of iterations like you do with subscription schedules

#

to say when the subscription should end

obsidian valve
#

That's ok for now as we control the cancelling of the subscription when all payments are met if it's not an ongoing subscription.

#

how do you add a one-off addition to the first invoice?

merry dove
#

using the parameter I sent you above add_invoice_items

obsidian valve
#

If I can add that in for now and then look at maybe refactoring to the subscription schedules for those with a predefined number of payments when we can fit it in.

#

Thank you for all your help, very much appreciated ๐Ÿ™‚

merry dove
#

sure let me know if you need any more help