In the coming weeks we will be making an improvement to our Aerosync SDK event firing. In order to make our widget event firing more efficient, we will no longer fire the onClose event when a user successfully completes the bank linking flow. This means, you must listen to the onSuccess event to determine a successful bank link.
Current state (before 3/15/2024)
| User closes Aerosync widget (bank linking not completed) | User successfully completes bank linking |
---|
onClose | X | X |
onSuccess | | X |
Future state (after 3/15/2024)
| User closes Aerosync widget (bank linking not completed) | User successfully completes bank linking |
---|
onClose | X | |
onSuccess | | X |
Please read below to understand what changes you may need to make to properly respond to this change.
If currently listening to onClose event to determine successful bank link | If you are only listening to the onSuccess event to determine successful bank link |
---|
Stop listening to this event | No changes need to be made |
Start listening to the onSuccess event | |