What's the best way to detect an cancelled subscription?
I'm planning having the cancellation POST hook finished tomorrow, and I was wondering if the hook is also sent when an account goes delinquent (i.e. no one updates the credit card or something). If is doesn't, should we query the CG API for an up to date status on a specific account?
Thanks,
--j
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 31 Mar, 2010 09:38 PM
You can tell if a subscription is canceled (and when) by the canceledDatetime in the latest subscription record.
CG auto-cancels a subscription if it remains unpaid for 10 days (5 attempts). CG auto-cancels a subscription immediately upon the next invoice bill date after the credit card expiration date.
The hook is fired every time a subscription is canceled, including manual cancellations.
Dean closed this discussion on 16 Jan, 2013 02:55 PM.