fix routes and migrated purchase confirms