From 987a766b863344a1d216a7192969a650186697d2 Mon Sep 17 00:00:00 2001 From: swangi-kumari Date: Mon, 23 Dec 2024 18:32:59 +0530 Subject: [PATCH 1/2] fix: remove exra space --- crates/connector_configs/toml/development.toml | 8 ++++---- crates/connector_configs/toml/production.toml | 11 ++++++----- crates/connector_configs/toml/sandbox.toml | 11 ++++++----- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml index f49f6b311f6e..058fa09ed46b 100644 --- a/crates/connector_configs/toml/development.toml +++ b/crates/connector_configs/toml/development.toml @@ -1733,11 +1733,11 @@ key2="Certificate Key" [jpmorgan] [[jpmorgan.credit]] - payment_method_type = "American Express" + payment_method_type = "AmericanExpress" [[jpmorgan.credit]] payment_method_type = "ChaseNet" [[jpmorgan.credit]] - payment_method_type = "Diners Club" + payment_method_type = "DinersClub" [[jpmorgan.credit]] payment_method_type = "Discover" [[jpmorgan.credit]] @@ -1751,11 +1751,11 @@ key2="Certificate Key" [[jpmorgan.credit]] payment_method_type = "Visa" [[jpmorgan.debit]] - payment_method_type = "American Express" + payment_method_type = "AmericanExpress" [[jpmorgan.debit]] payment_method_type = "ChaseNet" [[jpmorgan.debit]] - payment_method_type = "Diners Club" + payment_method_type = "DinersClub" [[jpmorgan.debit]] payment_method_type = "Discover" [[jpmorgan.debit]] diff --git a/crates/connector_configs/toml/production.toml b/crates/connector_configs/toml/production.toml index 7216d4f7890b..b1402842b6cd 100644 --- a/crates/connector_configs/toml/production.toml +++ b/crates/connector_configs/toml/production.toml @@ -1445,11 +1445,11 @@ key2="Certificate Key" [jpmorgan] [[jpmorgan.credit]] - payment_method_type = "American Express" + payment_method_type = "AmericanExpress" [[jpmorgan.credit]] payment_method_type = "ChaseNet" [[jpmorgan.credit]] - payment_method_type = "Diners Club" + payment_method_type = "DinersClub" [[jpmorgan.credit]] payment_method_type = "Discover" [[jpmorgan.credit]] @@ -1463,11 +1463,11 @@ key2="Certificate Key" [[jpmorgan.credit]] payment_method_type = "Visa" [[jpmorgan.debit]] - payment_method_type = "American Express" + payment_method_type = "AmericanExpress" [[jpmorgan.debit]] payment_method_type = "ChaseNet" [[jpmorgan.debit]] - payment_method_type = "Diners Club" + payment_method_type = "DinersClub" [[jpmorgan.debit]] payment_method_type = "Discover" [[jpmorgan.debit]] @@ -1481,7 +1481,8 @@ key2="Certificate Key" [[jpmorgan.debit]] payment_method_type = "Visa" [jpmorgan.connector_auth.BodyKey] -api_key="Access Token" +api_key="Client ID" +key1="Client Secret" [klarna] [[klarna.pay_later]] diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml index 4c6ee7566f31..e50d6101f36d 100644 --- a/crates/connector_configs/toml/sandbox.toml +++ b/crates/connector_configs/toml/sandbox.toml @@ -1683,11 +1683,11 @@ key2="Certificate Key" [jpmorgan] [[jpmorgan.credit]] - payment_method_type = "American Express" + payment_method_type = "AmericanExpress" [[jpmorgan.credit]] payment_method_type = "ChaseNet" [[jpmorgan.credit]] - payment_method_type = "Diners Club" + payment_method_type = "DinersClub" [[jpmorgan.credit]] payment_method_type = "Discover" [[jpmorgan.credit]] @@ -1701,11 +1701,11 @@ key2="Certificate Key" [[jpmorgan.credit]] payment_method_type = "Visa" [[jpmorgan.debit]] - payment_method_type = "American Express" + payment_method_type = "AmericanExpress" [[jpmorgan.debit]] payment_method_type = "ChaseNet" [[jpmorgan.debit]] - payment_method_type = "Diners Club" + payment_method_type = "DinersClub" [[jpmorgan.debit]] payment_method_type = "Discover" [[jpmorgan.debit]] @@ -1719,7 +1719,8 @@ key2="Certificate Key" [[jpmorgan.debit]] payment_method_type = "Visa" [jpmorgan.connector_auth.BodyKey] -api_key="Access Token" +api_key="Client ID" +key1="Client Secret" [klarna] [[klarna.pay_later]] From f7e9a3650812a41e086c552e468790c797bf9b8d Mon Sep 17 00:00:00 2001 From: swangi-kumari Date: Mon, 23 Dec 2024 18:36:53 +0530 Subject: [PATCH 2/2] refactor: fix --- crates/connector_configs/toml/production.toml | 3 +-- crates/connector_configs/toml/sandbox.toml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/connector_configs/toml/production.toml b/crates/connector_configs/toml/production.toml index b1402842b6cd..c11fecd5b8da 100644 --- a/crates/connector_configs/toml/production.toml +++ b/crates/connector_configs/toml/production.toml @@ -1481,8 +1481,7 @@ key2="Certificate Key" [[jpmorgan.debit]] payment_method_type = "Visa" [jpmorgan.connector_auth.BodyKey] -api_key="Client ID" -key1="Client Secret" +api_key="Access Token" [klarna] [[klarna.pay_later]] diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml index e50d6101f36d..7002a9dc92de 100644 --- a/crates/connector_configs/toml/sandbox.toml +++ b/crates/connector_configs/toml/sandbox.toml @@ -1719,8 +1719,7 @@ key2="Certificate Key" [[jpmorgan.debit]] payment_method_type = "Visa" [jpmorgan.connector_auth.BodyKey] -api_key="Client ID" -key1="Client Secret" +api_key="Access Token" [klarna] [[klarna.pay_later]]