Trigger Script not working

So I have an object that has to go through a collider that has it’s “is Trigger” turned on. and when it exits the collider the Trigger should turn off in order to enable the collision. But it’s not working! When the object exits the collider the Trigger checkbox is still on! And my Tag is set correctly!
Also, I have to use GetComponent because: collider.isTrigger = false; doesnt work.

	// Use this for initialization
	void Start () 
	{
	
    }
	// Update is called once per frame
	void Update () 
	{

	}
	void onTriggerExit (Collider other)

	{    		
		if (other.tag == "Player") 
		{    			
			GetComponent<Collider>().isTrigger = false;
    	}
	}

}

Case sensitivity matters. The method should be called OnTriggerExit, not onTriggerExit