Bug: [CHORE] :  [Paypal] Add session_token flow for Paypal sdk and update the wasm 



### Feature Description

- Change payment_experience for paypal via paypal to sdk
- update the wasm

### Possible Implementation

- update wasm config for paypal
https://github.com/juspay/hyperswitch/pull/4697
### Have you spent some time checking if this feature request has been raised before?

- [X] I checked and didn't find a 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?

None
diff --git a/crates/connector_configs/src/transformer.rs b/crates/connector_configs/src/transformer.rs
index 94cc06786aa..87d1e3e810b 100644
--- a/crates/connector_configs/src/transformer.rs
+++ b/crates/connector_configs/src/transformer.rs
@@ -63,6 +63,36 @@ impl DashboardRequestPayload {
             },
         }
     }
+
+    pub fn transform_paypal_payment_method(
+        providers: Vec<Provider>,
+    ) -> Vec<payment_methods::RequestPaymentMethodTypes> {
+        let payment_experiences = [
+            api_models::enums::PaymentExperience::RedirectToUrl,
+            api_models::enums::PaymentExperience::InvokeSdkClient,
+        ];
+
+        let mut payment_method_types = Vec::new();
+
+        for experience in payment_experiences {
+            for provider in &providers {
+                let data = payment_methods::RequestPaymentMethodTypes {
+                    payment_method_type: provider.payment_method_type,
+                    card_networks: None,
+                    minimum_amount: Some(0),
+                    maximum_amount: Some(68607706),
+                    recurring_enabled: true,
+                    installment_payment_enabled: false,
+                    accepted_currencies: provider.accepted_currencies.clone(),
+                    accepted_countries: provider.accepted_countries.clone(),
+                    payment_experience: Some(experience),
+                };
+                payment_method_types.push(data);
+            }
+        }
+
+        payment_method_types
+    }
     pub fn transform_payment_method(
         connector: Connector,
         provider: Vec<Provider>,
@@ -125,8 +155,37 @@ impl DashboardRequestPayload {
                         }
                     }
 
-                    PaymentMethod::Wallet
-                    | PaymentMethod::BankRedirect
+                    PaymentMethod::Wallet => match request.connector {
+                        Connector::Paypal => {
+                            if let Some(provider) = payload.provider {
+                                let val = Self::transform_paypal_payment_method(provider);
+                                if !val.is_empty() {
+                                    let methods = PaymentMethodsEnabled {
+                                        payment_method: payload.payment_method,
+                                        payment_method_types: Some(val),
+                                    };
+                                    payment_method_enabled.push(methods);
+                                }
+                            }
+                        }
+                        _ => {
+                            if let Some(provider) = payload.provider {
+                                let val = Self::transform_payment_method(
+                                    request.connector,
+                                    provider,
+                                    payload.payment_method,
+                                );
+                                if !val.is_empty() {
+                                    let methods = PaymentMethodsEnabled {
+                                        payment_method: payload.payment_method,
+                                        payment_method_types: Some(val),
+                                    };
+                                    payment_method_enabled.push(methods);
+                                }
+                            }
+                        }
+                    },
+                    PaymentMethod::BankRedirect
                     | PaymentMethod::PayLater
                     | PaymentMethod::BankTransfer
                     | PaymentMethod::Crypto
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml
index c3ee6dfb0ad..138fef0cdf3 100644
--- a/crates/connector_configs/toml/development.toml
+++ b/crates/connector_configs/toml/development.toml
@@ -1650,9 +1650,9 @@ merchant_secret="Source verification key"
 client_id="Client ID"
 
 [paypal_payout]
-[[paypal.wallet]]
+[[paypal_payout.wallet]]
   payment_method_type = "paypal"
-[[paypal.wallet]]
+[[paypal_payout.wallet]]
   payment_method_type = "venmo"
 [paypal_payout.connector_auth.BodyKey]
 api_key="Client Secret"
diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml
index 86183ae7f6f..7236863745d 100644
--- a/crates/connector_configs/toml/sandbox.toml
+++ b/crates/connector_configs/toml/sandbox.toml
@@ -1650,9 +1650,9 @@ merchant_secret="Source verification key"
 client_id="Client ID"
 
 [paypal_payout]
-[[paypal.wallet]]
+[[paypal_payout.wallet]]
   payment_method_type = "paypal"
-[[paypal.wallet]]
+[[paypal_payout.wallet]]
   payment_method_type = "venmo"
 [paypal_payout.connector_auth.BodyKey]
 api_key="Client Secret"

## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [ ] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
Allow Paypal Wallet to have both payment_experiences RedirectToUrl and InvokeSdkClient
<img width="952" alt="image" src="https://github.com/juspay/hyperswitch/assets/120017870/f7eb2488-bbe2-4e50-bfbd-1d7e3b1dc6ca">

Dashboard Request Payload
<img width="1374" alt="image" src="https://github.com/juspay/hyperswitch/assets/120017870/73c30b9f-f8ce-45a2-9252-0781829951d5">

Reference PR https://github.com/juspay/hyperswitch/pull/4697

### 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 -->

- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [ ] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
