How do a test run a billable invoice hook?

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. 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. 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. Hi Jin Jie -- Your live "AgentNex" product account does not have a billable hook enabled. Are you referring to a different product account?

  4. It's texty development

    Regards,
    Kong Jin Jie

  5. Hi Jin Jie --

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

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