I'm currently doing an integration with another system by sending data everytime customer_address_save_before frontend event happens. The problem is that this event is doing something weird, when I modify Customer Account information (email, password or name) it triggers twice, when I change password it's 3 times.
I know this because I created a log that shows the array of data that it sends to the other system.
The event works fine just when I modify customer's account address, it sends information once.
Also this event is triggering everytime I create a new customer account.
Here is my event code.
<event name="customer_address_save_before"> <observer name="vendor_module_update_account_address" instance="Vendor\Module\Observer\Events\UpdateAccountAddress" /> </event>
What other events can I use to trigger if customer edit it's account information or address?