#Abishek-setup-event
1 messages · Page 1 of 1 (latest)
Thanks toby
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.
ok
what about if I set the default payment method for a customer. Will that trigger customerUpdated webhook?
Have you tried it to see?
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..
Ah, gotcha
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
To set the default payment method you use the update customer function, so it will result in a customer.updated event being fired.
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
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?
perfect. thank you