#Jkas

1 messages ยท Page 1 of 1 (latest)

marsh fieldBOT
hazy phoenix
#

Ah you meant using the dashboard..

rancid ivy
#

I'm trying to test the behavior of when Stripe automatically updates a customer's source - I forget where that's mentioned in the docs - but we're handling customer.source.updated events for even old, inactive customers with expired CCs due to these automatic customer source updates on Stripe's side. Can you help point out the doc that talks about this behavior?

hazy phoenix
rancid ivy
#

Hmm. That's interesting. I thought I saw them coming in as customer.source.updated events. Let me try to find an example in production.

hazy phoenix
#

๐Ÿ‘

rancid ivy
#

Here's one: evt_1MumgLEkTO8kaKcKP6qdzYUJ

#

customer.source.updated

hazy phoenix
#

Interesting.. looking into it..

rancid ivy
#

Thanks!

hazy phoenix
rancid ivy
#

That's correct, that's the automatic update event I was originally talking about. These are happening all the time, even for inactive customers.

#

I just wrote some code to better handle these type of events on our end. But I'm unsure how to trigger one in test mode to manually test it.

#

When I update a default payment on a customer in the UI it triggers a source.updated event instead.

hazy phoenix
#

I see. Yeah unfortunately, there's no way to trigger these underlying *,automatically_updated events.

You can trigger customer.source.updated events by updating the source on the customer but its shape might be a bit different than what you'd see with Stripe updating payment methods automatically.

rancid ivy
#

So they're no way for me to test trigger the automatic update from Stripe?

hazy phoenix
#

Unfortunately, not at the moment ๐Ÿ˜ฆ

rancid ivy
#

Ok. Thanks for letting me know!

hazy phoenix
#

NP! ๐Ÿ™‚ Happy to help

rancid ivy
#

Can you point me to the docs that discuss this event?

#

Apparently it's confusing for many of us ๐Ÿ™‚ I'd like to read up on why these automatic updates are happening and how it's triggering the customer.source.updated event.

#

I'd at least like to include a link to those docs where we're handling thse in our code.

hazy phoenix
rancid ivy
#

I see, thanks!

hazy phoenix
#

NP!

rancid ivy
#

I have what I need - have a great day!