I have tried a course badge and site wide badge,But only course wide badge is working properly.
For Site-Wide badge even if the completion criteria is achieved the student doesn't receive the completion badge.
I am having the similar problem as mentioned in this forum post :
https://moodle.org/mod/forum/discuss.php?d=345009
Any help on this would be highly appreciated.Thanks !