4. Implementing the authentication event request

The "bpmpi_Authenticate()" event must be requested when finishing the checkout (finishing the order). Example:

<input type="button" onclick="bpmpi_authenticate()" />