Error Handling

Last changes: 12-12-2018

The JavaScript snippet to configure and render the payment form is enclosed within a try catch block which alongisde the "onError" function should be used to generically handle and log any exceptions occuring during the collection of payment option details e.g. if the user remains on the page without entering any payment options details for longer than 30 minutes leading to the expiration of the authorization token's lifetime which if submitted would result in an exception if submitted for processing.