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(config): [Dlocal] Add wasm changes for oxxo payment method (#11188)

Swangi Kumarif4e39df6844c
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml
index 7233ee5b7f..69f22fd601 100644
--- a/config/deployments/integration_test.toml
+++ b/config/deployments/integration_test.toml
@@ -812,6 +812,9 @@ interac = { currency = "CAD"}
[pm_filters.loonio]
interac = { currency = "CAD"}
+[pm_filters.dlocal]
+oxxo = { currency = "MXN" }
+
[payout_method_filters.adyenplatform]
sepa = { country = "AT,BE,CH,CZ,DE,EE,ES,FI,FR,GB,HU,IE,IT,LT,LV,NL,NO,PL,PT,SE,SK", currency = "EUR,CZK,DKK,HUF,NOK,PLN,SEK,GBP,CHF,CAD,JPY" }
credit = { country = "AT,BE,BG,CY,CZ,DE,DK,EE,ES,FI,FR,GB,GR,HR,HU,IE,IS,IT,LI,LT,LU,LV,MT,NL,NO,PL,PT,RO,SE,SI,SK,US", currency = "EUR,USD,GBP,CAD,JPY" }
diff --git a/config/deployments/production.toml b/config/deployments/production.toml
index 3e155db1d7..51399c395b 100644
--- a/config/deployments/production.toml
+++ b/config/deployments/production.toml
@@ -835,6 +835,9 @@ interac = { currency = "CAD"}
[pm_filters.loonio]
interac = { currency = "CAD"}
+[pm_filters.dlocal]
+oxxo = { currency = "MXN" }
+
[pm_filters.coingate]
crypto_currency = { country = "AL, AD, AT, BE, BA, BG, HR, CZ, DK, EE, FI, FR, DE, GR, HU, IS, IE, IT, LV, LT, LU, MT, MD, NL, NO, PL, PT, RO, RS, SK, SI, ES, SE, CH, UA, GB, AR, BR, CL, CO, CR, DO, SV, GD, MX, PE, LC, AU, NZ, CY, HK, IN, IL, JP, KR, QA, SA, SG, EG", currency = "EUR, USD, GBP" }
diff --git a/config/deployments/sandbox.toml b/config/deployments/sandbox.toml
index 1bc3fcefca..2d53f8718b 100644
--- a/config/deployments/sandbox.toml
+++ b/config/deployments/sandbox.toml
@@ -847,6 +847,9 @@ interac = { currency = "CAD"}
[pm_filters.loonio]
interac = { currency = "CAD"}
+[pm_filters.dlocal]
+oxxo = { currency = "MXN" }
+
[pm_filters.coingate]
crypto_currency = { country = "AL, AD, AT, BE, BA, BG, HR, CZ, DK, EE, FI, FR, DE, GR, HU, IS, IE, IT, LV, LT, LU, MT, MD, NL, NO, PL, PT, RO, RS, SK, SI, ES, SE, CH, UA, GB, AR, BR, CL, CO, CR, DO, SV, GD, MX, PE, LC, AU, NZ, CY, HK, IN, IL, JP, KR, QA, SA, SG, EG", currency = "EUR, USD, GBP" }
diff --git a/config/development.toml b/config/development.toml
index 1a08452bde..c184817438 100644
--- a/config/development.toml
+++ b/config/development.toml
@@ -835,6 +835,9 @@ interac = { currency = "CAD"}
[pm_filters.loonio]
interac = { currency = "CAD"}
+[pm_filters.dlocal]
+oxxo = { currency = "MXN" }
+
[pm_filters.mollie]
eps = { country = "AT", currency = "EUR" }
ideal = { country = "NL", currency = "EUR" }
diff --git a/config/docker_compose.toml b/config/docker_compose.toml
index a3a5b1e5c8..de81a4a530 100644
--- a/config/docker_compose.toml
+++ b/config/docker_compose.toml
@@ -979,6 +979,9 @@ interac = { currency = "CAD"}
[pm_filters.loonio]
interac = { currency = "CAD"}
+[pm_filters.dlocal]
+oxxo = { currency = "MXN" }
+
[pm_filters.coingate]
crypto_currency = { country = "AL, AD, AT, BE, BA, BG, HR, CZ, DK, EE, FI, FR, DE, GR, HU, IS, IE, IT, LV, LT, LU, MT, MD, NL, NO, PL, PT, RO, RS, SK, SI, ES, SE, CH, UA, GB, AR, BR, CL, CO, CR, DO, SV, GD, MX, PE, LC, AU, NZ, CY, HK, IN, IL, JP, KR, QA, SA, SG, EG", currency = "EUR, USD, GBP" }
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml
index 3ba2d5f7d3..c7ee6349d7 100644
--- a/crates/connector_configs/toml/development.toml
+++ b/crates/connector_configs/toml/development.toml
@@ -2277,6 +2277,8 @@ key1="Username"
payment_method_type = "CartesBancaires"
[[dlocal.debit]]
payment_method_type = "UnionPay"
+[[dlocal.voucher]]
+ payment_method_type = "oxxo"
[dlocal.connector_auth.SignatureKey]
api_key="X Login"
key1="X Trans Key"
diff --git a/crates/connector_configs/toml/production.toml b/crates/connector_configs/toml/production.toml
index 219c50f62c..d9969aa82c 100644
--- a/crates/connector_configs/toml/production.toml
+++ b/crates/connector_configs/toml/production.toml
@@ -1914,6 +1914,8 @@ payment_method_type = "Discover"
payment_method_type = "CartesBancaires"
[[dlocal.debit]]
payment_method_type = "UnionPay"
+[[dlocal.voucher]]
+ payment_method_type = "oxxo"
[dlocal.connector_auth.SignatureKey]
api_key = "X Login"
key1 = "X Trans Key"
diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml
index 2b26bb66ee..48037ed1d0 100644
--- a/crates/connector_configs/toml/sandbox.toml
+++ b/crates/connector_configs/toml/sandbox.toml
@@ -2254,6 +2254,8 @@ payment_method_type = "Discover"
payment_method_type = "CartesBancaires"
[[dlocal.debit]]
payment_method_type = "UnionPay"
+[[dlocal.voucher]]
+ payment_method_type = "oxxo"
[dlocal.connector_auth.SignatureKey]
api_key = "X Login"
key1 = "X Trans Key"
diff --git a/crates/router/tests/connectors/sample_auth.toml b/crates/router/tests/connectors/sample_auth.toml
index 711610e622..adf7fe3626 100644
--- a/crates/router/tests/connectors/sample_auth.toml
+++ b/crates/router/tests/connectors/sample_auth.toml
@@ -69,8 +69,8 @@ api_secret = "API Secret Key"
api_key = "API Key"
[dlocal]
-key1 = "key1"
-api_key = "api_key"
+key1 = "x trans key"
+api_key = "x login"
api_secret = "secret"
[bambora]
diff --git a/crates/test_utils/tests/sample_auth.toml b/crates/test_utils/tests/sample_auth.toml
index 26bb2a4a56..865e91345f 100644
--- a/crates/test_utils/tests/sample_auth.toml
+++ b/crates/test_utils/tests/sample_auth.toml
@@ -58,8 +58,8 @@ api_secret = "API Secret Key"
api_key = "API Key"
[dlocal]
-key1 = "key1"
-api_key = "api_key"
+key1 = "x trans key"
+api_key = "x login"
api_secret = "secret"
[bambora]
diff --git a/loadtest/config/development.toml b/loadtest/config/development.toml
index 9319da1b42..bda33a0579 100644
--- a/loadtest/config/development.toml
+++ b/loadtest/config/development.toml
@@ -628,6 +628,9 @@ interac = { currency = "CAD"}
[pm_filters.loonio]
interac = { currency = "CAD"}
+[pm_filters.dlocal]
+oxxo = { currency = "MXN" }
+
[pm_filters.authorizedotnet]
credit = { currency = "CAD,USD" }
debit = { currency = "CAD,USD" }