#robertotmuniz

1 messages ยท Page 1 of 1 (latest)

knotty ploverBOT
small haven
#

As far as I know, yes. Where did you see that it's no longer going to be available through the Dashboard

spiral beacon
#

I tried to add it and it doesn`t show anymore the option to add 7 days trial, for instance

small haven
#

Hmm, we're not Dashboard experts here, so it's hard to say what might be going wrong there. That being said, as far as I know, the API will always allow trials

spiral beacon
#

Nice! thank you very much ๐Ÿ™

#

but trials on price and not only on subscription, right?

#

via API, I meant

small haven
#

There aren't trials on Price objects as far as I know

spiral beacon
#

Where can I confirm that information? That is weird. Because I always used through dashboard and API adding trial periods on price

#

via API:

    {
      form: {
        product,
        unit_amount,
        currency: "brl",
        recurring: { interval: "month", interval_count: interval_count },
        "recurring[trial_period_days]": trial ? trial : undefined,
      },
      headers: {
        Authorization: `Bearer ${process.env.STRIPE_SECRET_KEY}`,
      },
#

that is the property: recurring[trial_period_days]

small haven
spiral beacon
#

I think I am using an older version. Do I need to change the version for the new one or can I still use it?

small haven
#

You can use older versions, I just wanted to make sure that's what was happening.

#

As far as I know, older versions will always be usable in some capacity. If anything you use is sunsetted, then we're usually pretty good about send you email comms ahead of time

spiral beacon
#

Okay!! Thank you

knotty ploverBOT
spiral beacon
#

And can I change a price of a priceId through API when this price has already active subscriptions?

winged sinew
#

๐Ÿ‘‹ No, you'd need to create a new price object

spiral beacon
#

Okay, thank you!