You can sue your employer if they fail to pay you when on maternity leave. According to the employment act, a female employee is entitled to 3 months of maternity leave with full pay. Such cases are handled by the employment and labour relations court.
NOTE: Before you proceed to sue your employer, you must think critically on what you stand to gain and lose.