#Abishek-setup-event

1 messages · Page 1 of 1 (latest)

dense flume
#

Hey there 👋 let me double check that

empty imp
#

Thanks toby

dense flume
#

No it won't, because the setup intent doesn't alter the customer record. You'll see a payment_method.attached event if you're using the setup intent to attach a new payment method to the customer.

empty imp
#

ok

#

what about if I set the default payment method for a customer. Will that trigger customerUpdated webhook?

dense flume
#

Have you tried it to see?

empty imp
#

am sorry, haven't tried it. working a business logic on paper before I code it. Just making sure what would be the correct way to do it..

dense flume
#

Ah, gotcha

empty imp
#

but will try it. just trying to figure out possible ways customerUpdated would be called.

#

trying to sync the data on stripe to our db and vice versa

dense flume
#

To set the default payment method you use the update customer function, so it will result in a customer.updated event being fired.

empty imp
#

alright. thank you. Is there a way to look at all the previous threads that I have posted questions here before?

#

just my threads.

#

because everytime your team archives, i loose it

dense flume
#

On my view there is a threads menu near the top of the screen (the # icon, near the notifications and pin icons). In there I can search for your name and see a list of your threads, do you see that?

empty imp
#

perfect. thank you