#ib-schedule-retrieve

1 messages ยท Page 1 of 1 (latest)

night bobcatBOT
silk topaz
#

the subscription id is kind of word

#

weird*

#

sub_sched_1NRJeyFNVbYFceRMYBXbbJPI

urban igloo
#

ib-schedule-retrieve

silk topaz
#

basically here is what i'm trying to do:

I have a subscription scheduled to start tomorrow, but I want to apply metered usage on a subscription item. I'm not sure how to do this since the subscription doesnt start until tomorrow

urban igloo
#

Then you can look at the subscription property which points to the underlying Subscription object if any. It can be null if the SubscriptionSchedule is created in advance with a start date in the future

#

And mostly what you want to do is impossible really. Metered usage is applied during the month and billed at the end, so you can apply usage ahead of time

silk topaz
#

Hmm so we have been handling some of our customers subscriptions directly in QBO. We have usage based pricing and want to transition them to be in Stripe.

Basically we want to start off their first month in August, but include their previous months usage on the subscription (along with some other items). Is this possible?

urban igloo
urban igloo
#

@silk topaz did that solve your problem?

silk topaz
#

Hmm. We are not on the advanced plan for billing so I don't think we can do that. However, I think I can just create a non-metered price point for the first month and then switch it to metered price point for months after.

urban igloo
#

You shouldn't need an advanced plan for that if you write code and do all of this in the API

silk topaz
#

so its just the UI that requires that plan

#

interesting

urban igloo
#

yeah which I don't like as a developer helping developers ๐Ÿ™‚

#

but the Dashboard features are a lot more advanced which is why they expect that plan

silk topaz
#

yeah makes sense. we sometimes like to test things via UI to help us create a mental model of what we need to develop. The descrepencies make that hard somtimes ๐Ÿ™‚

#

I think we are good for now, our current approach should work OK