From 5e4eded8fa13c9cb4a1d648ab5c133e86522c29c Mon Sep 17 00:00:00 2001 From: Swangi Kumari <85639103+swangi-kumari@users.noreply.github.com> Date: Tue, 24 Dec 2024 13:56:56 +0530 Subject: [PATCH] =?UTF-8?q?fix(wasm):=20remove=20chasenet=20from=20jpmorga?= =?UTF-8?q?n=20wasm=20as=20ChaseNet=20doesn=E2=80=99t=20exist=20in=20PMT?= =?UTF-8?q?=20(#6927)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jeeva Ramachandran --- crates/connector_configs/src/connector.rs | 10 +++++----- crates/connector_configs/toml/development.toml | 14 +++++--------- crates/connector_configs/toml/production.toml | 4 ---- crates/connector_configs/toml/sandbox.toml | 4 ---- 4 files changed, 10 insertions(+), 22 deletions(-) diff --git a/crates/connector_configs/src/connector.rs b/crates/connector_configs/src/connector.rs index 69ecc358c8..e7d83ca14c 100644 --- a/crates/connector_configs/src/connector.rs +++ b/crates/connector_configs/src/connector.rs @@ -113,11 +113,11 @@ pub struct ConfigMetadata { pub source_balance_account: Option, pub brand_id: Option, pub destination_account_number: Option, - pub dpa_id: Option, - pub dpa_name: Option, - pub locale: Option, - pub card_brands: Option>, - pub merchant_category_code: Option, + pub dpa_id: Option, + pub dpa_name: Option, + pub locale: Option, + pub card_brands: Option, + pub merchant_category_code: Option, } #[serde_with::skip_serializing_none] diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml index 058fa09ed4..c2d577dce9 100644 --- a/crates/connector_configs/toml/development.toml +++ b/crates/connector_configs/toml/development.toml @@ -1734,8 +1734,6 @@ key2="Certificate Key" [jpmorgan] [[jpmorgan.credit]] payment_method_type = "AmericanExpress" -[[jpmorgan.credit]] - payment_method_type = "ChaseNet" [[jpmorgan.credit]] payment_method_type = "DinersClub" [[jpmorgan.credit]] @@ -1752,8 +1750,6 @@ key2="Certificate Key" payment_method_type = "Visa" [[jpmorgan.debit]] payment_method_type = "AmericanExpress" -[[jpmorgan.debit]] - payment_method_type = "ChaseNet" [[jpmorgan.debit]] payment_method_type = "DinersClub" [[jpmorgan.debit]] @@ -4441,7 +4437,7 @@ placeholder="Enter locale" required=true type="Text" -[[ctp_mastercard.metadata.card_brands]] +[ctp_mastercard.metadata.card_brands] name="card_brands" label="Card Brands" placeholder="Enter Card Brands" @@ -4449,28 +4445,28 @@ required=true type="MultiSelect" options=["visa","mastercard"] -[[ctp_mastercard.metadata.acquirer_bin]] +[ctp_mastercard.metadata.acquirer_bin] name="acquirer_bin" label="Acquire Bin" placeholder="Enter Acquirer Bin" required=true type="Text" -[[ctp_mastercard.metadata.acquirer_merchant_id]] +[ctp_mastercard.metadata.acquirer_merchant_id] name="acquirer_merchant_id" label="Acquire Merchant Id" placeholder="Enter Acquirer Merchant Id" required=true type="Text" -[[ctp_mastercard.metadata.merchant_category_code]] +[ctp_mastercard.metadata.merchant_category_code] name="merchant_category_code" label="Merchant Category Code" placeholder="Enter Merchant Category Code" required=true type="Text" -[[ctp_mastercard.metadata.merchant_country_code]] +[ctp_mastercard.metadata.merchant_country_code] name="merchant_country_code" label="Merchant Country Code" placeholder="Enter Merchant Country Code" diff --git a/crates/connector_configs/toml/production.toml b/crates/connector_configs/toml/production.toml index 4932970a12..aad91f830d 100644 --- a/crates/connector_configs/toml/production.toml +++ b/crates/connector_configs/toml/production.toml @@ -1446,8 +1446,6 @@ key2="Certificate Key" [jpmorgan] [[jpmorgan.credit]] payment_method_type = "AmericanExpress" -[[jpmorgan.credit]] - payment_method_type = "ChaseNet" [[jpmorgan.credit]] payment_method_type = "DinersClub" [[jpmorgan.credit]] @@ -1464,8 +1462,6 @@ key2="Certificate Key" payment_method_type = "Visa" [[jpmorgan.debit]] payment_method_type = "AmericanExpress" -[[jpmorgan.debit]] - payment_method_type = "ChaseNet" [[jpmorgan.debit]] payment_method_type = "DinersClub" [[jpmorgan.debit]] diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml index 3d391aef6f..7126b33b30 100644 --- a/crates/connector_configs/toml/sandbox.toml +++ b/crates/connector_configs/toml/sandbox.toml @@ -1682,8 +1682,6 @@ key2="Certificate Key" [jpmorgan] [[jpmorgan.credit]] payment_method_type = "AmericanExpress" -[[jpmorgan.credit]] - payment_method_type = "ChaseNet" [[jpmorgan.credit]] payment_method_type = "DinersClub" [[jpmorgan.credit]] @@ -1700,8 +1698,6 @@ key2="Certificate Key" payment_method_type = "Visa" [[jpmorgan.debit]] payment_method_type = "AmericanExpress" -[[jpmorgan.debit]] - payment_method_type = "ChaseNet" [[jpmorgan.debit]] payment_method_type = "DinersClub" [[jpmorgan.debit]]