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(connector): [Coingate] Fix Wasm Changes (#7716)

awasthi21bd32dd4f0f25
diff --git a/crates/connector_configs/src/common_config.rs b/crates/connector_configs/src/common_config.rs
index ebb5870655..0b16aa4d03 100644
--- a/crates/connector_configs/src/common_config.rs
+++ b/crates/connector_configs/src/common_config.rs
@@ -202,6 +202,7 @@ pub struct DashboardRequestPayload {
#[serde(tag = "type", content = "options")]
pub enum InputType {
Text,
+ Number,
Toggle,
Radio(Vec<String>),
Select(Vec<String>),
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml
index 9efadbf0b5..bcec978ca4 100644
--- a/crates/connector_configs/toml/development.toml
+++ b/crates/connector_configs/toml/development.toml
@@ -1512,13 +1512,13 @@ name="currency_id"
label="ID of the currency in which the refund will be issued"
placeholder="Enter ID of the currency in which the refund will be issued"
required=true
-type="Text"
+type="Number"
[coingate.metadata.platform_id]
name="platform_id"
label="Platform ID of the currency in which the refund will be issued"
placeholder="Enter Platform ID of the currency in which the refund will be issued"
required=true
-type="Text"
+type="Number"
[coingate.metadata.ledger_account_id]
name="ledger_account_id"
label="ID of the trader balance associated with the currency in which the refund will be issued"
diff --git a/crates/connector_configs/toml/production.toml b/crates/connector_configs/toml/production.toml
index 90c6f84579..a14184745e 100644
--- a/crates/connector_configs/toml/production.toml
+++ b/crates/connector_configs/toml/production.toml
@@ -1262,13 +1262,13 @@ name="currency_id"
label="ID of the currency in which the refund will be issued"
placeholder="Enter ID of the currency in which the refund will be issued"
required=true
-type="Text"
+type="Number"
[coingate.metadata.platform_id]
name="platform_id"
label="Platform ID of the currency in which the refund will be issued"
placeholder="Enter Platform ID of the currency in which the refund will be issued"
required=true
-type="Text"
+type="Number"
[coingate.metadata.ledger_account_id]
name="ledger_account_id"
label="ID of the trader balance associated with the currency in which the refund will be issued"
diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml
index 6d58b032ea..2d28203a91 100644
--- a/crates/connector_configs/toml/sandbox.toml
+++ b/crates/connector_configs/toml/sandbox.toml
@@ -1510,13 +1510,13 @@ name="currency_id"
label="ID of the currency in which the refund will be issued"
placeholder="Enter ID of the currency in which the refund will be issued"
required=true
-type="Text"
+type="Number"
[coingate.metadata.platform_id]
name="platform_id"
label="Platform ID of the currency in which the refund will be issued"
placeholder="Enter Platform ID of the currency in which the refund will be issued"
required=true
-type="Text"
+type="Number"
[coingate.metadata.ledger_account_id]
name="ledger_account_id"
label="ID of the trader balance associated with the currency in which the refund will be issued"