Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(wasm): remove chasenet from jpmorgan wasm as ChaseNet doesn’t exist in PMT (#6927)

Swangi Kumari5e4eded8fa13
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<InputData>,
pub brand_id: Option<InputData>,
pub destination_account_number: Option<InputData>,
- pub dpa_id: Option<String>,
- pub dpa_name: Option<String>,
- pub locale: Option<String>,
- pub card_brands: Option<Vec<String>>,
- pub merchant_category_code: Option<String>,
+ pub dpa_id: Option<InputData>,
+ pub dpa_name: Option<InputData>,
+ pub locale: Option<InputData>,
+ pub card_brands: Option<InputData>,
+ pub merchant_category_code: Option<InputData>,
}
#[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]]