Can't detect collision

I’m coming back to Unity after a long period of time but I’m having a problem with 2d colliders. They don’t seem to work for me. I’ve been working on this simple problem for over 2 hours now and I can’t get it to work. I’ve 2 gameobjects: player and point. When the player goes over the point a point should be added to the player. The problem is that it doesn’t detect collision. Can somebody please take a look at it and tell me what I did wrong? Thanks!

    // PlayerLogic.cs
    void onCollisionEnter2D(Collision2D coll)
        Debug.Log("Collision detected");

    void onTriggerEnter2D(Collision2D coll)
        Debug.Log("Trigger detected");
        if (coll.gameObject.tag == "point")


OnCollisionEnter2D, not onCollisionEnter2D.
Same with trigger.