Africa’s top phone maker is leading a $40 million investment to win the race for online payments