tus, jqXHR ) {
									if($("#redirect_to").val() !== "") {
										document.location.href = $("#redirect_to").val();
									} else {
										document.location.href = "/perk/downloadconfirmation";
									}
									console.log('Success callback - response is ' + data + 'textStatus is ' + textStatus + ' and jqXHR is ' + JSON.stringify(jqXHR));
								}).fail(function( jqXHR, textStatus ) {
									console.log('eror here - textStatus is ' + textStatus + ' and jqXHR is ' + JSON.stringify(jqXHR));
		