Issue:
feat(connector): [Authorizedotnet] Use connector_response_reference_id as reference to merchant

## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->


### Additional Changes

- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables

<!--
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).
-->


## 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)?
-->


## Checklist
<!-- Put an `x` in the boxes that apply -->

- [ ] I formatted the code `cargo +nightly fmt --all`
- [ ] I addressed lints thrown by `cargo clippy`
- [ ] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
- [ ] I added a [CHANGELOG](/CHANGELOG.md) entry if applicable


Resolution:
<think>
PR Context:
- Title: feat(connector): [Paypal] Implement 3DS for Cards
- Merged: 2023-10-06T11:31:35Z
- Files changed: 2 files
- Commits: 5 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [x] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->

If 3D Secure is enabled, challenge url will be provided while doing card payment throught paypal

Closes - [#2496](https://github.com/juspay/hyperswitch-cloud/issues/2496)
### Additional Changes

- [ ] This PR modifies the API contract
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** feat(connector): [Paypal] Implement 3DS for Cards (#2443)
Files to modify:


**crates/router/src/connector/paypal.rs**
  Modify existing code

**crates/router/src/connector/paypal/transformers.rs**
  Remove:
    - impl: impl TryFrom<types::ResponseRouterData<F, PaypalSyncResponse, T, types::PaymentsResponseData>> for get_redirect_url(item.response.clone())
  Add:
    - function: private::try_from
    - function: private::try_from
    - function: private::paypal_threeds_link
    - struct: pub::ThreeDsSetting
    - struct: pub::ThreeDsMethod
    - struct: pub::PaypalThreeDsResponse
    - struct: pub::PaypalThreeDsSyncResponse
    - struct: pub::CardsData
    - struct: pub::CardDetails
    - enum: pub::ThreeDsType
    - enum: pub::PaypalAuthResponse
    - impl: impl TryFrom<
        types::ResponseRouterData<
            F,
            PaypalSyncResponse,
            types::PaymentsSyncData,
            types::PaymentsResponseData,
        >,
    > for get_redirect_url(item.response.links.clone())
    - impl: impl TryFrom<
        types::ResponseRouterData<
            F,
            PaypalThreeDsSyncResponse,
            types::PaymentsSyncData,
            types::PaymentsResponseData,
        >,
    > for types::RouterData<F, types::PaymentsSyncData, types::PaymentsResponseData>
    - impl: impl TryFrom<
        types::ResponseRouterData<
            F,
            PaypalThreeDsResponse,
            types::PaymentsAuthorizeData,
            types::PaymentsResponseData,
        >,
    > for types::RouterData<F, types::PaymentsAuthorizeData, types::PaymentsResponseData>