#HK6-webhook-payloads

1 messages · Page 1 of 1 (latest)

tribal folio
#

Hey, how are you testing events/webhooks? Using the CLI?

hallow bramble
#

No using the UI in the dashboard

#

when I go to developer section, in test mode there is "Send message" button

#

but that is not convenient

#

I could use the CLI though but didn't find the doc for webhooks CLI

tribal folio
#

You can manipulate event payloads with the CLI. I'd recommend looking at that. The Dashboard functionality is limited

hallow bramble
#

OK thanks

#

Last question

#

I see that the CLI does not support invoice.upcoming... This is the one we use

#

Is there a way for this one?

tribal folio
#

Unfortunately not 😦

hallow bramble
#

😭

#

So Let's say I want to test manually because I have no choice.

#

the invoice.upcoming is triggered 3 days before the end of the trial period / 3 days before rebill

#

so if I modify a trial period manually for a given subscription, I suppose the webhook will be triggered

hallow bramble
#

but do I have to precisely reduce the trial so that it ends in exactly 3 days or if I reduce it so it finishes in 1 day it will emit the message?

#

I think we can configure it (the delay). But let's say 7 days. So if I reduce manually the trial period so it finishes in 2 days.

#

Will the hook be triggered?

#

or does it have to be exactly 7 days

tribal folio
#

I'm not 100% certain – seems easy enough to be tested

#

But the 7 days isn't configurable AFAIK

hallow bramble
#

Ok. Fine if it is 7 days though

#

thank you

#

have a great day

tribal folio
#

Np!