#saketkr_best-practices

1 messages ยท Page 1 of 1 (latest)

bitter sierraBOT
#

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

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

alpine atlasBOT
#

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.

abstract spire
#

hi there!

quiet spear
#

Hey

abstract spire
quiet spear
#

Thanks for your time.
Actually, I've tried doing this:

  "sub_xxxxxxxxx",
  items=[{"id": "{{SUB_ITEM_ID}}", "price": "{{NEW_PRICE_ID}}"}],
)```
But, it starts the new subscription from the start_date of the previous subscription, which isn't what I want. Could you help me out with this please?
#

Also, I need to charge the user in future, when this new chosen subscription starts.

abstract spire
#

oh I see. if you want the subscription to change in the future, then you need to use Subscription Schedule yes.

#

have you tried using Subscription Schedules?

quiet spear
#

I don't think I have, let me do that in a jiffy, and could I get back to you then?

#

I guess, scheduling the subscription creates the invoice for today itself, customer will be charged now, which is again something I don't want. Am I wrong?

abstract spire
#

no, with Subscription Schedule you can change the Subscription in the future. so you could say "change the plan of the user in 3 weeks, so the invoice will be created in threee weeks"

quiet spear
#

Could you please refer me to a doc?

#

Also, how do you suggest to test this?

abstract spire
quiet spear
#

Thanks a lot, I'm going through this.

#

I hope I can get back to you?

abstract spire
#

sure! note that this thread might get closed due to inactivity, but feel free to reopen a new thread if needed.

quiet spear
#

Sure Soma. Thanks. (:

bitter sierraBOT
turbid yacht
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

quiet spear
#

Sure Tarzan. Great name. ๐Ÿ˜„

turbid yacht
#

thanks ๐Ÿ™‚

quiet spear
#

Hey, if it's fine by you, could be get on a call and quickly try out the available approaches?