From b4dbe841f82b1d3bbbd70926fa46c03270b5599b Mon Sep 17 00:00:00 2001 From: Swangi Kumari <85639103+swangi-kumari@users.noreply.github.com> Date: Thu, 6 Jun 2024 19:14:14 +0530 Subject: [PATCH] chore(config): [MIFINITY] add configs for Mifinity in WASM (#4895) --- config/config.example.toml | 3 +++ config/deployments/integration_test.toml | 3 +++ config/deployments/production.toml | 3 +++ config/deployments/sandbox.toml | 3 +++ config/development.toml | 3 +++ config/docker_compose.toml | 3 +++ crates/connector_configs/toml/development.toml | 8 ++++++++ crates/connector_configs/toml/production.toml | 8 ++++++++ crates/connector_configs/toml/sandbox.toml | 8 ++++++++ 9 files changed, 42 insertions(+) diff --git a/config/config.example.toml b/config/config.example.toml index 206ba392b784..f4a6a66cd610 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -500,6 +500,9 @@ debit = { currency = "USD" } [pm_filters.klarna] klarna = { country = "AU,AT,BE,CA,CZ,DK,FI,FR,DE,GR,IE,IT,NL,NZ,NO,PL,PT,ES,SE,CH,GB,US", currency = "CHF,DKK,EUR,GBP,NOK,PLN,SEK,USD,AUD,NZD,CAD" } +[pm_filters.mifinity] +mifinity = { country = "BR,CN,SG,MY,DE,CH,DK,GB,ES,AD,GI,FI,FR,GR,HR,IT,JP,MX,AR,CO,CL,PE,VE,UY,PY,BO,EC,GT,HN,SV,NI,CR,PA,DO,CU,PR,NL,NO,PL", currency = "AUD,CAD,CHF,CNY,CZK,DKK,EUR,GBP,INR,JPY,NOK,NZD,PLN,RUB,SEK,ZAR,USD" } + [connector_customer] connector_list = "gocardless,stax,stripe" payout_connector_list = "stripe,wise" diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml index 1ea7d4f44813..a42a6a8c3230 100644 --- a/config/deployments/integration_test.toml +++ b/config/deployments/integration_test.toml @@ -260,6 +260,9 @@ we_chat_pay.currency = "GBP,CNY" [pm_filters.klarna] klarna = { country = "AU,AT,BE,CA,CZ,DK,FI,FR,DE,GR,IE,IT,NL,NZ,NO,PL,PT,ES,SE,CH,GB,US", currency = "CHF,DKK,EUR,GBP,NOK,PLN,SEK,USD,AUD,NZD,CAD" } +[pm_filters.mifinity] +mifinity = { country = "BR,CN,SG,MY,DE,CH,DK,GB,ES,AD,GI,FI,FR,GR,HR,IT,JP,MX,AR,CO,CL,PE,VE,UY,PY,BO,EC,GT,HN,SV,NI,CR,PA,DO,CU,PR,NL,NO,PL", currency = "AUD,CAD,CHF,CNY,CZK,DKK,EUR,GBP,INR,JPY,NOK,NZD,PLN,RUB,SEK,ZAR,USD" } + [pm_filters.prophetpay] card_redirect.currency = "USD" diff --git a/config/deployments/production.toml b/config/deployments/production.toml index 355c75a39680..0cc740673376 100644 --- a/config/deployments/production.toml +++ b/config/deployments/production.toml @@ -278,6 +278,9 @@ we_chat_pay.currency = "GBP,CNY" [pm_filters.klarna] klarna = { country = "AU,AT,BE,CA,CZ,DK,FI,FR,DE,GR,IE,IT,NL,NZ,NO,PL,PT,ES,SE,CH,GB,US", currency = "CHF,DKK,EUR,GBP,NOK,PLN,SEK,USD,AUD,NZD,CAD" } +[pm_filters.mifinity] +mifinity = { country = "BR,CN,SG,MY,DE,CH,DK,GB,ES,AD,GI,FI,FR,GR,HR,IT,JP,MX,AR,CO,CL,PE,VE,UY,PY,BO,EC,GT,HN,SV,NI,CR,PA,DO,CU,PR,NL,NO,PL", currency = "AUD,CAD,CHF,CNY,CZK,DKK,EUR,GBP,INR,JPY,NOK,NZD,PLN,RUB,SEK,ZAR,USD" } + [pm_filters.prophetpay] card_redirect.currency = "USD" diff --git a/config/deployments/sandbox.toml b/config/deployments/sandbox.toml index e5e44ae7ef96..a61ad70eccf6 100644 --- a/config/deployments/sandbox.toml +++ b/config/deployments/sandbox.toml @@ -281,6 +281,9 @@ we_chat_pay.currency = "GBP,CNY" [pm_filters.klarna] klarna = { country = "AU,AT,BE,CA,CZ,DK,FI,FR,DE,GR,IE,IT,NL,NZ,NO,PL,PT,ES,SE,CH,GB,US", currency = "CHF,DKK,EUR,GBP,NOK,PLN,SEK,USD,AUD,NZD,CAD" } +[pm_filters.mifinity] +mifinity = { country = "BR,CN,SG,MY,DE,CH,DK,GB,ES,AD,GI,FI,FR,GR,HR,IT,JP,MX,AR,CO,CL,PE,VE,UY,PY,BO,EC,GT,HN,SV,NI,CR,PA,DO,CU,PR,NL,NO,PL", currency = "AUD,CAD,CHF,CNY,CZK,DKK,EUR,GBP,INR,JPY,NOK,NZD,PLN,RUB,SEK,ZAR,USD" } + [pm_filters.prophetpay] card_redirect.currency = "USD" diff --git a/config/development.toml b/config/development.toml index 8a249754d14c..95cadf56617c 100644 --- a/config/development.toml +++ b/config/development.toml @@ -414,6 +414,9 @@ debit = { currency = "USD" } [pm_filters.klarna] klarna = { country = "AU,AT,BE,CA,CZ,DK,FI,FR,DE,GR,IE,IT,NL,NZ,NO,PL,PT,ES,SE,CH,GB,US", currency = "AUD,EUR,EUR,CAD,CZK,DKK,EUR,EUR,EUR,EUR,EUR,EUR,EUR,NZD,NOK,PLN,EUR,EUR,SEK,CHF,GBP,USD" } +[pm_filters.mifinity] +mifinity = { country = "BR,CN,SG,MY,DE,CH,DK,GB,ES,AD,GI,FI,FR,GR,HR,IT,JP,MX,AR,CO,CL,PE,VE,UY,PY,BO,EC,GT,HN,SV,NI,CR,PA,DO,CU,PR,NL,NO,PL", currency = "AUD,CAD,CHF,CNY,CZK,DKK,EUR,GBP,INR,JPY,NOK,NZD,PLN,RUB,SEK,ZAR,USD" } + [pm_filters.zen] credit = { not_available_flows = { capture_method = "manual" } } debit = { not_available_flows = { capture_method = "manual" } } diff --git a/config/docker_compose.toml b/config/docker_compose.toml index e6e2fd3815fd..2a4fe3692862 100644 --- a/config/docker_compose.toml +++ b/config/docker_compose.toml @@ -374,6 +374,9 @@ debit = { currency = "USD" } [pm_filters.klarna] klarna = { country = "AU,AT,BE,CA,CZ,DK,FI,FR,DE,GR,IE,IT,NL,NZ,NO,PL,PT,ES,SE,CH,GB,US", currency = "CHF,DKK,EUR,GBP,NOK,PLN,SEK,USD,AUD,NZD,CAD" } +[pm_filters.mifinity] +mifinity = { country = "BR,CN,SG,MY,DE,CH,DK,GB,ES,AD,GI,FI,FR,GR,HR,IT,JP,MX,AR,CO,CL,PE,VE,UY,PY,BO,EC,GT,HN,SV,NI,CR,PA,DO,CU,PR,NL,NO,PL", currency = "AUD,CAD,CHF,CNY,CZK,DKK,EUR,GBP,INR,JPY,NOK,NZD,PLN,RUB,SEK,ZAR,USD" } + [pm_filters.stax] credit = { currency = "USD" } debit = { currency = "USD" } diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml index 1e1cb718d3c5..246eb566a917 100644 --- a/crates/connector_configs/toml/development.toml +++ b/crates/connector_configs/toml/development.toml @@ -1155,6 +1155,14 @@ api_key="Klarna Merchant ID Password" [klarna.metadata] klarna_region=["Europe","NorthAmerica","Oceania"] +[mifinity] +[[mifinity.wallet]] + payment_method_type = "mifinity" +[mifinity.connector_auth.HeaderKey] +api_key="key" +[mifinity.metadata] +brand_id="Brand ID" + [mollie] [[mollie.credit]] payment_method_type = "Mastercard" diff --git a/crates/connector_configs/toml/production.toml b/crates/connector_configs/toml/production.toml index d0bc19ec3253..30b632498815 100644 --- a/crates/connector_configs/toml/production.toml +++ b/crates/connector_configs/toml/production.toml @@ -960,6 +960,14 @@ api_key="Klarna Merchant ID Password" [klarna.metadata] klarna_region=["Europe","NorthAmerica","Oceania"] +[mifinity] +[[mifinity.wallet]] + payment_method_type = "mifinity" +[mifinity.connector_auth.HeaderKey] +api_key="key" +[mifinity.metadata] +brand_id="Brand ID" + [mollie] [[mollie.credit]] diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml index 0652099c6792..dee4e5e4fb6c 100644 --- a/crates/connector_configs/toml/sandbox.toml +++ b/crates/connector_configs/toml/sandbox.toml @@ -1155,6 +1155,14 @@ api_key="Klarna Merchant ID Password" [klarna.metadata] klarna_region=["Europe","NorthAmerica","Oceania"] +[mifinity] +[[mifinity.wallet]] + payment_method_type = "mifinity" +[mifinity.connector_auth.HeaderKey] +api_key="key" +[mifinity.metadata] +brand_id="Brand ID" + [mollie] [[mollie.credit]] payment_method_type = "Mastercard"