How do i know the Grace duration
Hi,
I want to know the Grace duration of users subscribed plan.
E.g. Suppose user subscribed for X plan then how i know the grace
duration of that plan X??
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 10 Feb, 2012 02:37 PM
Hmm -- Not sure I understand what you mean by "Grace duration". If you mean the time elapsed before the first bill, that's easy. You can get the
initialInvoiceBillingDatetime
for the plan to determine when it is (based on the moment of the API call). Or you can calculate it yourself based on theinitialBillCount
andinitialBillCountUnit
.Does that answer your question?
2 Posted by harikishore00 on 10 Feb, 2012 06:24 PM
Thanks Marc for your reply.
No, my concern about Grace Duration is the number of days subscription valid, after subscription next billing date and CG unable to charge due to any reason.
Support Staff 3 Posted by Marc Guyer on 13 Feb, 2012 03:34 PM
I see -- CG retries declined payments every 2 days for a total of 5 attempts. So, the time between the first attempt and the last is 8 days. After 5 declined payments, the subscription is auto-cancelled.
If a subscriber's payment method is expired (or a payment method is otherwise not available) at billing time, they are auto-canceled immediately.
Dean closed this discussion on 18 Jan, 2013 09:38 PM.