Changed js code for checkout button to perform a windows.location.href to redirect on click event.