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

  1. 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.

  2. 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. Perfect... that should definitely do it.

    I'll check it out and thanks for the quick response

    Dana

  4. Ok, I'll go ahead and close this thread. Just comment to reopen it.

  5. Jess Pendley closed this discussion on 21 Nov, 2013 07:36 PM.

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

Recent Discussions