Issue:
refactor(core): restrict requires_customer_action in confirm

## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Refactoring

## Description
<!-- Describe your changes in detail -->
This PR will restrict a payment to be confirmed again if the status is `requires_customer_action`.

<!--
Provide links to the files with corresponding changes.

Following are the paths where you can find config files:
1. `config`
2. `crates/router/src/configs`
3. `loadtest/config`
-->


## 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 (unless it is an obvious bug or documentation fix
that will have little conversation).
-->
A payment which is in `requires_customer_action` cannot be confirmed again. Only failed payments can be retried by passing `retry_action` as `retry`.

## How did you test it?
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->
- Confirm a payment which is in `requires_customer_action` state.
<img width="982" alt="Screenshot 2024-01-03 at 7 09 41 PM" src="https://github.com/juspay/hyperswitch/assets/48803246/c74c6f0d-0cc6-465d-8ea2-66c9b682127b">

- Create sepa bank transfer payment via stripe ( payments_confirm happens via webhooks )
<img width="619" alt="Screenshot 2024-01-03 at 8 46 11 PM" src="https://github.com/juspay/hyperswitch/assets/48803246/e4263ddc-3f24-436a-bc95-ba1c6e7fa16c">

- Payment updated by charged webhook
<img width="1404" alt="Screenshot 2024-01-03 at 8 47 38 PM" src="https://github.com/juspay/hyperswitch/assets/48803246/a322c0de-f9db-4358-bff9-b416ebb343d7">


## Checklist
<!-- Put an `x` in the boxes that apply -->

- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code


Resolution:
<think>
PR Context:
- Title: ci: add test cases for restricting customer action in confirm flow
- Merged: 2024-01-31T06:45:44Z
- Files changed: 9 files
- Commits: 4 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] CI/CD

## Description
<!-- Describe your changes in detail -->
This PR adds test cases for #3235 


## 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 (unless it is an obvious bug or documentation fix
that wil
</think>

To implement this, you'll need to modify:


(No detailed commit information available)