Issue:
[BUG] Missing required field `email` during payments_confirm

### Bug Description

It bugs out when a payment is created with the `email` field and then not passing it when confirming the payment.

### Expected Behavior

The confirm payment should succeed, it should take the email which was supplied during the payments create call.

### Actual Behavior

The email is not persisted anywhere, because of this, email is not available in subsequent calls

### Steps To Reproduce

1. Create a payment with email field present.
2. Confirm the payment without email id.
3. For zen connector, this payment should fail saying Missing required field `email`.

### Context For The Bug

_No response_

### Environment

Are you using hyperswitch hosted version? No
If yes, please provide the value of the `x-request-id` response header for helping us debug your issue.



### Have you spent some time to check if this bug has been raised before?

- [X] I checked and didn't find similar issue

### Have you read the Contributing Guidelines?

- [X] I have read the [Contributing Guidelines](https://github.com/juspay/hyperswitch/blob/main/docs/CONTRIBUTING.md)

### Are you willing to submit a PR?

No, but I'm happy to collaborate on a PR with someone else

Resolution:
<think>
PR Context:
- Title: fix: update customer data if passed in payments
- Merged: 2023-06-09T14:00:12Z
- Files changed: 1 files
- Commits: 1 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix

## Description
<!-- Describe your changes in detail -->
This PR will update the customer details in payment, when sent in the payments request.


## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.

If you don't have an issue, we'd recommend starting with one first so the PR
can focus on the implementation (unle
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** fix: update customer data if passed in payments (#1402)
Files to modify:


**crates/router/src/core/payments/helpers.rs**
  Modify existing code