GIF89a php
Current File : /home/hencockfreshchic/public_html/admin.cpanel/uploadjs/deletePayGateway.js
function deletePayGateway(){
	if (window.XMLHttpRequest) {
            // code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        } else {
            // code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        } 
  xmlhttp.onreadystatechange=function() 
   {
    if (this.readyState==4 && this.status==200) 
	{	
		if(this.responseText==1){
    alert("Dear user, Payment gateway credential has been removed | To integrate again payment gateway please configure again");
	window.location.href = ("paymentgateway.php");
			}
			else
			{
		alert("Dear user, We are unable to dlete your payment gateway configuration | Contact to developers");
	window.location.href = ("paymentgateway.php");
			}
		}
  };
  xmlhttp.open("GET","deletePayGateway.php",true);
  xmlhttp.send();
}