tryfix API change for payments. will fix the rest later