#uh oh

1 messages · Page 1 of 1 (latest)

woven mapleBOT
worn trellis
#

I don't think so, as it would be the same subscription

vital meadow
#
const test = await stripe.subscriptionSchedules.create(
    {
      customer,
      start_date,
      end_behavior: 'cancel',
      phases: [
        {
          items: [
            {
              price,
              quantity: 1,
            },
          ],
          end_date: getUnixTime(addDays(addSeconds(start_date, ms_to_midnight / 1000), 30)),
          trial: true,
        },
      ],
    },
  );

#

But in this example, it would not create a subscription yet right?

#

It would only create a subscription on start_date