refactor Pagseguro into payment