Determining the initial bill date for a plan through the API

sean's Avatar

sean

20 Jan, 2011 04:03 PM

I am trying to figure out what the configured billing delay of a plan via the API but the only relevant parameter I am finding in the returned XML for plans is "trialDays". As far as I can tell from searching around the forums, this parameter is deprecated and never returns a non-zero value.

Is there anyway for me to get at this information or am I stuck without it?

  1. Support Staff 1 Posted by Marc Guyer on 20 Jan, 2011 04:38 PM

    Marc Guyer's Avatar

    Hi Sean -- There currently isn't a way to get that from the API. The delayed first bill is a recent improvement and the config was not added to the plan XML. However, it's such a simple change, we've added it into our current maintenance release which should be deployed within a couple of days. The new XML nodes within the <plan> node are:

    <initialBillCount>0</initialBillCount>
    <initialBillCountUnit>days</initialBillCountUnit>
    

    The unit can be either days or months.

  2. 2 Posted by sean on 20 Jan, 2011 04:43 PM

    sean's Avatar

    Awesome! Thanks for the quick response & fix.

  3. Support Staff 3 Posted by Marc Guyer on 25 Jan, 2011 01:17 PM

    Marc Guyer's Avatar

    No problem Sean. This is deployed. Thanks for the tweet!

  4. Marc Guyer closed this discussion on 25 Jan, 2011 01:17 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM