Previous Plan Item Included in Hook

dana.mcdonald's Avatar

dana.mcdonald

15 Mar, 2013 05:43 PM

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. Support Staff 1 Posted by Marc Guyer on 18 Mar, 2013 12:43 PM

    Marc Guyer's Avatar

    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. Support Staff 2 Posted by Marc Guyer on 18 Mar, 2013 02:13 PM

    Marc Guyer's Avatar

    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. 3 Posted by dana.mcdonald on 18 Mar, 2013 05:40 PM

    dana.mcdonald's Avatar

    Perfect... that should definitely do it.

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

    Dana

  4. Support Staff 4 Posted by Marc Guyer on 18 Mar, 2013 06:24 PM

    Marc Guyer's Avatar

    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

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM