logError

Method Signature void logError(String message);
Description
Records an error in the UltraCart checkout API call history. You should use try/catch blocks around your javascript and log the errors so that you can monitor the performance of your custom checkout and know that the customer's are not experiencing any problems. The message will automatically include the browser's name, version, and the platform it's running on. This will make it easier to know if a specific browser is having issues with your javascript code.
Parameters String message – The error message to record. This can be up to 2,000 characters of data. If you submit more than 2,000 characters the message will be truncated and recorded so there is no need to do client side checks on the length.
Result None