#SafanM-webhook

1 messages ยท Page 1 of 1 (latest)

torpid venture
#

Hello ๐Ÿ‘‹
Not sure either ๐Ÿ™‚ Let me check

onyx flume
#

Thanks Hanzo

torpid venture
#

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.

onyx flume
#

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

torpid venture
#

I believe so, yes.

#

typically we'd send these out 1st of the month

onyx flume
#

and anything which is added after 1st of month and card expiring in the same month, will be triggered in the 24 hours?

torpid venture
#

that's my understanding about this, yes. I'd totally recommend testing it out though to make sure ๐Ÿ™‚

onyx flume
#

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

torpid venture
#

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

onyx flume
#

sure I am not using the test clocks

#

Thanks Hanzo for your time, I will keep you posted in couple of days on my testing