Skip to content

feat(DF-832): persist CYA confirmation email to state for GOV.UK Pay #1179

Merged
mokhld merged 1 commit intomainfrom
feat/df-832-pay-v2-2
Apr 30, 2026
Merged

feat(DF-832): persist CYA confirmation email to state for GOV.UK Pay #1179
mokhld merged 1 commit intomainfrom
feat/df-832-pay-v2-2

Conversation

@mokhld
Copy link
Copy Markdown
Contributor

@mokhld mokhld commented Apr 28, 2026

Summary

DF-832 requires the email pre-populated on GOV.UK Pay to come from the CYA confirmation email field. This persists `userConfirmationEmailAddress` to state on CYA POST so the engine can read it at payment dispatch and `outputService` can read it on auto-submit.

Jira ticket:

Test plan

  • Fill a form with a payment, type an email in the CYA "Confirmation email" field, click Pay and submit, then Add payment details — GOV.UK Pay screen shows that email pre-filled
  • Repeat with the CYA email left blank — GOV.UK Pay screen has empty email box

@mokhld mokhld changed the title feat(payment): persist CYA confirmation email to state for GOV.UK Pay (DF-832) feat(DF-832): persist CYA confirmation email to state for GOV.UK Pay Apr 28, 2026
@mokhld mokhld force-pushed the feat/df-832-pay-v2-2 branch from caada92 to 3db4efd Compare April 28, 2026 16:10
… (DF-832)

DF-832 requires the email pre-populated on GOV.UK Pay to come from the
CYA confirmation email field. Persist userConfirmationEmailAddress to
state on CYA POST so the engine can read it at payment dispatch and
outputService can read it on auto-submit.
@mokhld mokhld force-pushed the feat/df-832-pay-v2-2 branch from 3db4efd to 5854a75 Compare April 29, 2026 14:50
@sonarqubecloud
Copy link
Copy Markdown

@mokhld mokhld merged commit fc00ba8 into main Apr 30, 2026
9 checks passed
@mokhld mokhld deleted the feat/df-832-pay-v2-2 branch April 30, 2026 10:03
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