Previous Plan Item Included in Hook
How do I grab the Previous Plan's Item Included Qty in a Subscription Change Hook?
I'm fine grabbing it from the Subscription Billable hook BUT when a customer changes plans I'm able to grab the Item Quantity no problem but the Item Included Quantity is now for the New Plan. Is there a way to grab the Previous Plan's Item Included Quantity OR What the Previous Plan even was in a Subscription Change Hook?
Thanks!
Dana
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 18 Mar, 2013 12:43 PM
Hi Dana --
That information isn't in the hook data. You can use the hook information (customer code) to pull the full API response for the customer which contains the subscription history. We could (and probably should) add it to the hook data. That wouldn't be too difficult.
Support Staff 2 Posted by Marc Guyer on 18 Mar, 2013 02:13 PM
Hi again --
We went ahead and added the previous subscription info to the subscriptionChanged hook. That's documented here:
http://support.cheddargetter.com/kb/operational-how-tos/web-hooks-s...
Please let us know how that works out for you.
3 Posted by dana.mcdonald on 18 Mar, 2013 05:40 PM
Perfect... that should definitely do it.
I'll check it out and thanks for the quick response
Dana
Support Staff 4 Posted by Marc Guyer on 18 Mar, 2013 06:24 PM
Ok, I'll go ahead and close this thread. Just comment to reopen it.
Jess Pendley closed this discussion on 21 Nov, 2013 07:36 PM.