#phant

1 messages · Page 1 of 1 (latest)

lavish jewelBOT
quiet abyss
#

Hi
Could you please share details about what you want to achieve exactly ?

halcyon sonnet
#

i wanted to achive a continous hit of subsription, so that i can check in the webhook events

#

it should be done with clock right?

quiet abyss
#

Can you share a concrete sample steps of your test scenario ?

halcyon sonnet
#

yeah sure:

  • I want subscription to render every 5mins or something, so that i can track the event from webHook
#

for testing purpose obviously

quiet abyss
#

You mean every 5 mins you create a new Subscription ?

halcyon sonnet
#

not create a subscription

#

but call the created subscription every 5 mins

#

more like a 5min subscription (like monthly subsription)

#

there?

quiet abyss
#

@halcyon sonnet you have already an open thread here

#

please let's keep using the active thread

#

we are monitoring all threads.

halcyon sonnet
#

got it

quiet abyss
halcyon sonnet
#

yes every 5mins of the current subsriptio

quiet abyss
#

You can create an sh script with a cron

halcyon sonnet
#

got it thanks

#

also can you tell me which webhook event be better used to capture payment failures?

quiet abyss
#

invoice.payment_failed

halcyon sonnet
#

thanks and best event used for subscription cancelled ?

quiet abyss
#

you can filter by event type

quiet abyss
#

Don't hesitate to make tests and simulation

halcyon sonnet
#

yeah in this cant i set time for 5mins?

#

which webhook is better for cancelled subscription:
subscription_schedule.canceled or customer.subscription.deleted

quiet abyss
#

It depends on the customer scenario

#

but you can listen for both

quiet abyss