fix(router): add dynamic fields support for samsung_pay (#7090)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Shankar Singh C
2025-02-04 15:48:04 +05:30
committed by GitHub
parent ed8ef2466b
commit e2ddcc26b8
8 changed files with 28 additions and 0 deletions

View File

@ -53,6 +53,12 @@ impl Default for Mandates {
]),
},
),
(
enums::PaymentMethodType::SamsungPay,
SupportedConnectorsForMandate {
connector_list: HashSet::from([enums::Connector::Cybersource]),
},
),
])),
),
(
@ -8889,6 +8895,21 @@ impl Default for settings::RequiredFields {
]),
},
),
(
enums::PaymentMethodType::SamsungPay,
ConnectorFields {
fields: HashMap::from([
(
enums::Connector::Cybersource,
RequiredFieldFinal {
mandate: HashMap::new(),
non_mandate: HashMap::new(),
common: HashMap::new(),
}
),
]),
},
),
(
enums::PaymentMethodType::GooglePay,
ConnectorFields {