# Submission confirmation

Source: https://developer.avalara.com/products/ecm/integration-guides/document-management/tce1263473598465/

Guide: Exemption Certificate Management (ECM)

# Submission confirmation

Understand how callback functions provide feedback after certificate submissions.

Callback functions are optional actions that can be triggered by certain events during the ecommerce workflow. This can include custom messages in specific scenarios or redirect behavior, such as redirecting the customer to the My Account page if a certificate can't be generated. Callback functions are built into the ecommerce plugin, and don’t require use of the API.

For more information on the list of available callback functions, see the [Callback functions](/document-management/ekr5210536156482/ "Learn about the available callback functions for handling events in the certificate generation process.") topic.

Customers should receive some form of feedback after a success or failed submission. Use the following functions to display a message after the user has submitted an exemption certificate.

-   The `onCertSuccess` callback function is used to trigger a window alert following a successful submission.

-   The `onUpload` callback function is used to trigger a window alert following a successful upload.

Note

The submission of a certificate doesn't guarantee a valid certificate.