Migration

IMPLEMENTING THE NEW WIDGET

To achieve the upgrade, simply replace the JavaScript and stylesheet on your site with the JavaScript and stylesheet found in our new CDN.

WIDGET STYLE

In version 2.X.X of the widget we have restructured the HTML and CSS of the Widget significantly. Due to this, styles and themes made for 1.X.X versions will need to be re-applied.

Fortunately, due to improvements in the structure of the Widget’s HTML and the theming system, applying styles to 2.X.X versions of the widget should be simpler than in previous versions.

BROWSER EVENTS

Registering to events remains unchanged from version 1.X.X of the Widget to version 2.X.X.

Most events have been renamed to provide better standardization and to provide a higher chance of uniqueness when the Widget is included within another AngularJS application.

HOW EVENT NAMES HAVE CHANGED

Old Event Name New Event Name
did_account_select didStageChangeComplete
did_complete didStageChangeComplete
did_cra_req didStageChangeComplete
did_error didStageChangeComplete
did_init didStageChangeComplete
did_mfa_req didStageChangeComplete
did_progress didStageChangeComplete
did_provider_login didStageChangeComplete
did_provider_search didStageChangeComplete
account_selection_account_selected NA
address_manual_edit NA
address_search_retry NA
address_selected_from_list NA
help_modal_closed didCloseLoginHelpModal
hide_password didHidePassword
next_btn Multiple
provider_not_found didProviderNotFound
provider_selected didProviderSelected
reset_btn didGotoStageClicked
show_password didShowPassword
start_btn didStartButtonClicked
ticker_btn NA
verify_btn didGotoStageClicked
account_selection_submit didAccountSelected
account_selection_submit_success didAccountSelectionSuccess
complete didFlowComplete
init_complete didInitComplete
login_submit_success didProviderLoginFormAccepted
login_submitted didProviderLoginFormSubmitted
page_loaded didStateRenderComplete
page_requested didStateRenderRequest
fatal_error didFatalError
init_error didFatalError
invalid_login didProviderLoginInvalid
non_fatal_error didProviderSelected
didVerifyButtonClicked
didAccountSelected
didMfaSubmitClicked
popular_banks_error didPopularProvidersError