Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send case team emails as fallback for Orbit #160

Merged
merged 3 commits into from
Dec 20, 2024
Merged

Conversation

Paris
Copy link
Contributor

@Paris Paris commented Dec 18, 2024

Under these changes this notarial-api web hook will be removed and instead called from within the Orbit service.

It will attempt to extract the form submission reference in the order:

  1. metadata.externalReference - the Orbit case ID if the submission there was successful
  2. metadata.internalReference - the database record UUID
  3. metadata.pay.reference - the Gov.Pay payment reference
  4. a randomly generated reference

If metadata.externalReference is present and not null it indicates a successful submission to Orbit so the case team will not be emailed. Users (applicants) will continue to be emailed in all cases and using the reference as above so their application can be identified by FCDO staff.

Copy link
Contributor

@simonmoore100 simonmoore100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, this looks fine and should take away any confusion on whether they need to act on the emails or not

@Paris Paris merged commit 60c006c into main Dec 20, 2024
5 checks passed
@Paris Paris deleted the feature/orbit-webhook branch December 20, 2024 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants