Maternity Allowance eligibility

Ca

I started a new job when I was two month pregnant so i dont qualify so statutory maternity pay. I am due end of June and I am planning to quit this job in May. I would have worked over 26 weeks in the last 66 weeks before due date. According to the gov website i should be getting the maternity allowance. Anyone was in a similar situation and got the allowance?