Redirect to confirmation page after appointment booked

Hi,

I use to be able to redirect user to a confirmation page when they booked an appointment but since I did my last update it seems that the appointment page just refresh instead.

Here is the code I’ve included in my function.php file of my theme.

wp_enqueue_style('sf-responsive');
}

}
add_action('wp_enqueue_scripts', 'sf_enqueue_styles', 99);
}

function app_redirect( $script ){
return str_replace("window.location.href=app_location()", "window.location.href='http://kinesante.ca/merci/'", $script);
}
add_filter( 'app_footer_scripts', 'app_redirect' );

/* LOAD FRONTEND SCRIPTS
================================================== */
if (!function_exists('sf_enqueue_scripts')) {