# Customer Email Check

This enhancement addresses a recurring issue that has been consistently reported – various issues arising from merchants inadvertently mixing reusable links with individual authorisation links, leading to customer confusion and a range of problems.

#### **How it Works**

If the Billing Request has customer details captured (via linked customer, prefilled data, or if a customer has already initiated the flow and provided their email), when the authorisation link is opened, a payer will encounter a prompt to enter their email.

- If the entered email matches the captured one, the payer will be able to proceed with the current Billing Request Flow.
- If the emails don't match, a new authorisation link will be generated (if possible, i.e., Billing Request is created from a paylink or a plan link) and the user will be redirected to a new, empty flow. If creating a new link is not possible, an error page is displayed.

If customer details aren't captured, the flow proceeds without changes.

###### Happy path: Resume the flow

1. Submitting the email which matches the captured one:

![Customer Email Check: Submit the email matching the captured one](https://images.ctfassets.net/b2dmfxhmyqno/7pMOBWOfEwOwxaVvA74tSJ/128d888da60d85a2efe3ed45d9ced059/Screenshot_2023-11-27_at_08.30.47.png)

2. Proceeding with the current flow:

![Customer Email Check: Resume BRF when the email matching the captured one](https://images.ctfassets.net/b2dmfxhmyqno/z2BodnOKDiZrbUYKX6wXn/89bb7ed423a1d364fa1d642b6e9a96bf/Screenshot_2023-11-27_at_08.31.46.png)

###### Happy path: Generate a new flow

1. Submitting the email which does NOT match the captured one:

![Customer Email Check: Submit the email which does not match the captured one](https://images.ctfassets.net/b2dmfxhmyqno/1dbMbNF6lVPOrLWaqBqOYx/653246f64b4bdd419ef092f188d4c6d3/Screenshot_2023-11-27_at_08.38.31.png)

2. Being redirected with a new authorisation link to the new flow:

![Customer Email Check: Create a new BRF when emails don't match](https://images.ctfassets.net/b2dmfxhmyqno/5gANoLx4vzxBdZxqyJNEra/315ed9a67f8563039b0cfa1f3a934910/Screenshot_2023-11-27_at_08.42.23.png)

###### Unhappy path: Auto-generating a new flow is not possible

1. Submitting the email which does NOT match the captured one:

![Customer Email Check: Submit the email which does not match the captured one](https://images.ctfassets.net/b2dmfxhmyqno/1dbMbNF6lVPOrLWaqBqOYx/653246f64b4bdd419ef092f188d4c6d3/Screenshot_2023-11-27_at_08.38.31.png)

2. Seeing an error:

![Customer Email Check: Error when emails don't match](https://images.ctfassets.net/b2dmfxhmyqno/1w40befRsdNGFDF85NbkV8/646bb4f08efbd93f65d05412dd3201e7/Screenshot_2023-11-27_at_08.39.30.png)
