Apple plans to turn iPhones into payment terminals