various bug fixes and data model fixups, added payment notifications for firstdata