S. Africa's president ordered to pay back $500,000