Determining the initial bill date for a plan through the API
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?
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
Support Staff 1 Posted by Marc Guyer on 20 Jan, 2011 04:38 PM
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:The unit can be either
days
ormonths
.2 Posted by sean on 20 Jan, 2011 04:43 PM
Awesome! Thanks for the quick response & fix.
Support Staff 3 Posted by Marc Guyer on 25 Jan, 2011 01:17 PM
No problem Sean. This is deployed. Thanks for the tweet!
Marc Guyer closed this discussion on 25 Jan, 2011 01:17 PM.