#deadshot7814

1 messages · Page 1 of 1 (latest)

dull yachtBOT
#

Hello! We'll be with you shortly. 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.

hot stone
#

Hello, can you tell me more about what you are trying to do and what problems you are running in to?

cedar cipher
#
  1. The prebilled invoice says "The customer hasn’t attempted to pay this invoice yet." But it should automatically attempt payment right away because a card is attached on customer.
  2. The amount on prebilled invoice is less than the actual subscription amount. The amount should be $542.43 USD / week but it created a prebilled invoice for $500.46.
hot stone
#

I am not sure what you mean by "prebilled", can you send me the ID of this invoice so I can take a closer look?

cedar cipher
#

sub_sched_1Ok7I0HCPH5IrTb7wxL9qOxb

hot stone
#

Thank you, looking in to this

#

It looks like that subscription isn't scheduled to start until Feb 19 but your test clock time is currently on Feb 2

cedar cipher
#

Yes, but prebilling should work

hot stone
#

What do you mean by prebilling? Can you describe what you are doing API-wise?

cedar cipher
#

Sorry for the delay

#

I have beta feature enabled called prebilling where first charge is billed upfront

#
const subscriptionSchedule = await stripe.subscriptionSchedules.create({
  customer: customer,
  start_date: startDate,
  end_behavior: "cancel",
  prebilling: {
    iterations: 1,
  },
  phases: [
    {
      items: [
        {
          price_data: {
            currency: "usd",
            product: "prod_PECwaZBEZcUmU8",
            recurring: {
              interval: "week",
            },
            unit_amount: amount,
          },
        },
      ],
      end_date: endDate,
    },
  ],
});
#

@proper folio

proper folio
#

We don't discuss betas in here unfortunately

#

Only public api features since this is a public discord

#

You'll need to write in to support or reach out to your stripe contact for help on betas: https://support.stripe.com/contact