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

chore: fix `toml` format to address wasm build failure (#6967)

Jeeva Ramachandranecab2b1f512e
diff --git a/crates/connector_configs/toml/production.toml b/crates/connector_configs/toml/production.toml
index 35f2f14c74..5b963e0780 100644
--- a/crates/connector_configs/toml/production.toml
+++ b/crates/connector_configs/toml/production.toml
@@ -1478,6 +1478,7 @@ key2="Certificate Key"
payment_method_type = "Visa"
[jpmorgan.connector_auth.BodyKey]
api_key="Access Token"
+key1="Client Secret"
[klarna]
[[klarna.pay_later]]
diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml
index ed90381221..50c13dc859 100644
--- a/crates/connector_configs/toml/sandbox.toml
+++ b/crates/connector_configs/toml/sandbox.toml
@@ -1714,6 +1714,7 @@ key2="Certificate Key"
payment_method_type = "Visa"
[jpmorgan.connector_auth.BodyKey]
api_key="Access Token"
+key1="Client Secret"
[klarna]
[[klarna.pay_later]]
@@ -4374,7 +4375,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"
@@ -4382,28 +4383,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/docker/wasm-build.Dockerfile b/docker/wasm-build.Dockerfile
index 015a055e4f..faa2d211bd 100644
--- a/docker/wasm-build.Dockerfile
+++ b/docker/wasm-build.Dockerfile
@@ -1,7 +1,6 @@
FROM rust:latest as builder
-ARG RUN_ENV=sandbox
-ARG EXTRA_FEATURES=""
+ARG FEATURES=""
ARG VERSION_FEATURE_SET="v1"
RUN apt-get update \
@@ -19,7 +18,7 @@ ENV env=$env
COPY . .
RUN echo env
RUN cargo install wasm-pack
-RUN wasm-pack build --target web --out-dir /tmp/wasm --out-name euclid crates/euclid_wasm -- --features ${VERSION_FEATURE_SET},${RUN_ENV},${EXTRA_FEATURES}
+RUN wasm-pack build --target web --out-dir /tmp/wasm --out-name euclid crates/euclid_wasm -- --features ${VERSION_FEATURE_SET},${FEATURES}
FROM scratch