Are "periodic" tracked items reset at midnight on the billing date or at the time the bill is successfully transacted?
Our application needs to be aware of which tracked items have already been billed, and which tracked items go on the next bill. If we increment tracked items after midnight on the bill date, will those items go on the next bill even if the transaction for the current bill hasn't been processed? Intuitively, I would think they go on the next bill since they happened after midnight on the bill date. If this is the case, is the timezone that I have set in "My Info" used?
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 13 Mar, 2011 09:39 PM
Neither -- The billing period ends strictly on the billingDatetime of the invoice. The period goes from billingDatetime to billingDatetime.
Yes, however it doesn't matter which timezone is used since datetimes are returned via the API in ISO 8601 format (including timezone offset).
2 Posted by alex on 13 Mar, 2011 10:09 PM
Thanks, Marc.
It might be nice to include the invoice billingDateTime in the event push notification for transactions. That way, we could retain it without having to first fetch the customer and all its invoices from your API when we receive the event push notification.
Support Staff 3 Posted by Marc Guyer on 14 Mar, 2011 03:00 PM
Agreed. This is on the todo list.
alex closed this discussion on 14 Mar, 2011 03:02 PM.