How do a test run a billable invoice hook?

jinjie's Avatar

jinjie

29 Nov, 2013 08:09 AM

I am trying to use billable invoice transaction on my web hook to set the quantity of tracked items.

Is there a way I can run the web hook to test it? I have tried setting the billable date to "now" but it runs the invoice immediately, which I do not want.

I know I can set everyday recurring for the subscription but that will slow down my troubleshooting. I can't possibly wait everyday to receive the hook.

  1. Support Staff 1 Posted by Marc Guyer on 29 Nov, 2013 08:26 PM

    Marc Guyer's Avatar

    Hi Jin Jie -- The best way to do that is to set the changeBillDate to just a few minutes in the future. Then, you'll need to wait for our next recurring processing event. That currently runs every 6 hours. So, you'll have to wait for up to 6 hours for each iteration. Alternatively, for development, you might consider hard-coding a copy of some hook data in your listener and remove it when you're ready for final testing.

  2. 2 Posted by jinjie on 30 Nov, 2013 07:42 AM

    jinjie's Avatar

    Hi Marc,

    I have tried and see that an outstanding invoice was “generated”. However, no hook event was sent. Do you mean that the recurring processing event will run the hook every 6 hours?

  3. Support Staff 3 Posted by Marc Guyer on 30 Nov, 2013 11:21 PM

    Marc Guyer's Avatar

    Hi Jin Jie -- Your live "AgentNex" product account does not have a billable hook enabled. Are you referring to a different product account?

  4. 4 Posted by jinjie on 01 Dec, 2013 02:47 AM

    jinjie's Avatar

    It's texty development

    Regards,
    Kong Jin Jie

  5. 5 Posted by Jess Pendley on 02 Dec, 2013 04:56 PM

    Jess Pendley's Avatar

    Hi Jin Jie --

    We were able to track down a few of your subscription billable hooks going through. Is this still an issue?

  6. 6 Posted by jinjie on 02 Dec, 2013 05:33 PM

    jinjie's Avatar

    Hi Jess,

    That was a few days ago. Not sure if that is the right one.

    I have set the next billing date to 2013-12-04 and I am expecting it to
    send the hook event tomorrow. I will update you again if I have received
    the event.

    Regards,
    Kong Jin Jie

  7. Support Staff 7 Posted by Marc Guyer on 02 Dec, 2013 07:10 PM

    Marc Guyer's Avatar

    I see that the pending invoice is set for 2013-12-03T17:30:32+00:00 for this customer:

    https://cheddargetter.com/admin/customers/get/id/d6eda471-584f-11e3...

    For that invoice, the billable hook should be sent around 2013-12-03T19:15:00+00:00.

    FYI, you can use the management console to resend already sent hooks if needed.

  8. 8 Posted by Jess Pendley on 07 Jan, 2014 03:41 PM

    Jess Pendley's Avatar

    Hi Kong Jin Jie --

    I was just reaching out to see if you needed any additional help with this issue? Since it has been inactive for a bit, I'm going to close this discussion, but if you need any further assistance please don't hesitate to reply to this message.

    Thanks!

  9. Jess Pendley closed this discussion on 07 Jan, 2014 03:41 PM.

  10. jinjie re-opened this discussion on 07 Jan, 2014 03:49 PM

  11. 9 Posted by jinjie on 07 Jan, 2014 03:49 PM

    jinjie's Avatar

    Hi Jess,

    Please close the issue. Thank you.

    Regards,
    Kong Jin Jie

    Aspire Designs Pte Ltd
    O: +65 6100 2230, M: +65 9871 1599

  12. Jess Pendley closed this discussion on 07 Jan, 2014 03:50 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