<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
    <!-- Force a full config sync (RSA registration + webhook secret) the moment the Simply.IN admin
         section is saved, so entering/changing the API key takes effect immediately. -->
    <event name="admin_system_config_changed_section_simplyin_config">
        <observer name="simplyin_config_change_sync" instance="Simplyin\Payment\Observer\ConfigChangeSync"/>
    </event>
</config>
