#adamreisnz-source-webhooks
1 messages · Page 1 of 1 (latest)
Do you have an example customer that you expected this event to come through on that I can take a look at?
Yes sure
I added several sources to this customer
Hmm, I do see a payment_method.attached event being triggered. Should we use that instead perhaps?
Ah, yeah if you're working with Payment Methods you shouldn't be using the customer.source.created webhook endpoint (that will only work for Sources/Cards). For Payment Methods you want payment_method.attached to know what it's been attached to a customer
Ok great, will do. Will it still trigger the customer.source.expiring event as expected though?
Unfortunately not - we don't send any expiry webhook events for Payment Methods right now
Ok, any plans for this in the future?
We would normally send an email to the customer when this happens.
Actually looks like this is still triggered?
We seem to be still receiving these events in production
So I'll leave that as is
I assume that's because you may have some Card or Source objects in product that would still trigger these events
There isn't really a great workaround, other than you keeping track of this yourself - I know this a feature that's been requested, but it doesn't have a specific timeline for when it'll be done
you too!