Handling Reloads with Error Messages

When you a checkout handoff the customer's browser is redirected into the UltraCart checkout for completion. If there are any errors that need to be redisplayed to the customer then UltraCart will redirect their browser to the URL that you specified in the handoff call. The error messages will appear in the query string as the parameter specified in the handoff call. Please note that there can be more than one error that needs to be displayed to the customer. For your convience we have provided the method getParameterValues which fetches the error messages. Make sure that your javascript code not only displays the errors, but also should reload all the fields on the page so that customer only needs to fix the error fields and not respecify everything.