This PR expands SchoolVerificationService#verify so that it uses the Profile API to create the school in Profile during verification. If any part of verification fails (updating the school, creating the teacher and owner roles, or creating the school in Profile API) then we abort verification and display a message saying that verification failed.
This PR expands
SchoolVerificationService#verify
so that it uses the Profile API to create the school in Profile during verification. If any part of verification fails (updating the school, creating the teacher and owner roles, or creating the school in Profile API) then we abort verification and display a message saying that verification failed.PROFILE_API_KEY
in stagingPROFILE_API_KEY
in production