#freshcart_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1211907505467301929
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- freshcarthq, 1 day ago, 12 messages
Hi there, you can get the "customer" from "payment_method.detached" event's previous_attributes hash.
Gotcha. Now when a default payment_method is detached, does it fire a customer.updated event?
Yes, I have noticed. So, I have been playing around with detaching default payment_methods and on my backend, it is resulting in redundant processing.
As it is firing two events
Any thoughts on avoiding that?
No, you can't avoid events.
Okay. Thanks.