#SafanM-webhook
1 messages ยท Page 1 of 1 (latest)
Thanks Hanzo
doesn't look like it works with test clocks ๐ฆ
One thing I want to mention is that this event is fired by a background job, so it takes some time to be generated.
So it might be possible to test it with test clocks but the event itself would take some time to be generated and delivered as I don't think test clocks can speed up the background job
so you could try following (without test clocks),
Add a card with an expiration date set to the current month and you should see the event fire in the next 24 hours.
Ideally, it would look the same as a customer.source.created event for example so you can base your code around that event body.
so if I add my card in the middle of the month or towards the end, say which is expiring on 07/22, I will get event in the next 24 hrs?
but if it's 08/22, it will be triggered somewhere in the first week of August
and anything which is added after 1st of month and card expiring in the same month, will be triggered in the 24 hours?
that's my understanding about this, yes. I'd totally recommend testing it out though to make sure ๐
I think we did try to add multiple scenario of it on our developer account, in Test Mode.
but didn't see it coming in the last few days.
can you make sure that it should work in the test mode as well?
I will add cards to multiple customer account, that expires this month and will wait for next day to check on the events
It should work in test mode yes. I'm unsure if it would work with test clocks so I'd recommend using the non-test clock customer object