#vamsi_api

1 messages ยท Page 1 of 1 (latest)

fading deltaBOT
#

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

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

ember sorrel
#

Context: I have a subscription managed by a SubscriptionSchedule with two phases:

  • Phase 1: Free trial
  • Phase 2: Yearly paid subscription (auto-renews annually)
    The subscription is currently in Phase 2 (active yearly billing).
    What I want to do: Offer a paid extension of a few months. I charge the customer manually via InvoiceItem + Invoice. After the extension period ends, the subscription should resume yearly auto-renewal from the new end date.
    Example:
  • Yearly renewal date: April 4, 2027
  • User extends by 3 months โ†’ we charge manually for 3 months
  • No Stripe auto-charge should fire on April 4, 2027
  • Next Stripe yearly charge fires: July 4, 2027
  • Then July 4, 2028, July 4, 2029... and so on
    Questions:
  1. What is the correct way to modify the SubscriptionSchedule phases to achieve this โ€” specifically to suppress the April 4, 2027 auto-charge and restart yearly billing from July 4, 2027?
  2. Is inserting a trial: true phase from April 4 โ†’ July 4 the right approach, and will it correctly suppress the yearly invoice?
  3. When providing phases to SubscriptionSchedule.modify, do I need to include the current active phase (start_date is in the past) or only future phases?
  4. Is there a simpler recommended pattern for a schedule-managed yearly subscription with a manual paid extension?
#

are you there ?

languid patrol
#

Yeah reading