i appreciate those who tried to help , apparently through small debuging steps i noticed that the window.open was not being called and when changed to window.location with a small time delay the chat worked
window.location = "test2.php?units="+units+"&&price="+price+"&down="+down+"&&space="+space+"";
apologies if any part of the question was not clear and thank you