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): [Authipay] Implementation (#13661)

Ritam Kabirajc3b92989a6c0
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml
index d33223e909..0b38da51fc 100644
--- a/crates/connector_configs/toml/development.toml
+++ b/crates/connector_configs/toml/development.toml
@@ -680,10 +680,9 @@ options=["PAN_ONLY", "CRYPTOGRAM_3DS"]
payment_method_type = "Mastercard"
[[authipay.debit]]
payment_method_type = "Visa"
-[authipay.connector_auth.SignatureKey]
+[authipay.connector_auth.BodyKey]
api_key="API Key"
-api_secret="API Secret"
-key1="Merchant ID"
+key1="API Secret"
[authipay.connector_webhook_details]
merchant_secret="Source verification key"
diff --git a/crates/connector_configs/toml/production.toml b/crates/connector_configs/toml/production.toml
index 5354dbbc78..87154eb103 100644
--- a/crates/connector_configs/toml/production.toml
+++ b/crates/connector_configs/toml/production.toml
@@ -415,7 +415,7 @@ type = "Text"
[adyen.connector_webhook_register_details]
label="Webhook Registration"
-webhook_auto_configuration_supported=true
+webhook_auto_configuration_supported=true
scope_type="not_specific"
[airwallex]
@@ -487,10 +487,9 @@ payment_method_type = "Visa"
payment_method_type = "Mastercard"
[[authipay.debit]]
payment_method_type = "Visa"
-[authipay.connector_auth.SignatureKey]
+[authipay.connector_auth.BodyKey]
api_key = "API Key"
-api_secret = "API Secret"
-key1 = "Merchant ID"
+key1 = "API Secret"
[authipay.connector_webhook_details]
merchant_secret = "Source verification key"
@@ -6541,7 +6540,7 @@ payment_method_type = "boleto"
[santander.connector_auth.CertificateAuth]
certificate="Base64 encoded PEM formatted certificate chain"
private_key="Base64 encoded PEM formatted private key"
-
+
[[santander.metadata.pix_qr]]
name="client_id"
label="Client ID"
@@ -6709,7 +6708,7 @@ type="Text"
[santander.connector_webhook_register_details]
label="Webhook Registration & Workspace Creation"
-webhook_auto_configuration_supported=true
+webhook_auto_configuration_supported=true
scope_type="payment_method_type"
payment_method_types=["pix_qr", "pix_automatico_push", "pix_automatico_qr", "boleto"]
@@ -6752,7 +6751,7 @@ merchant_secret = "Source verification key"
[payload.connector_webhook_register_details]
label="Webhook Registration"
-webhook_auto_configuration_supported=true
+webhook_auto_configuration_supported=true
event_types=[
"payment_processing",
"payment_authorized",
diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml
index cec7d0157c..c57e29f3d3 100644
--- a/crates/connector_configs/toml/sandbox.toml
+++ b/crates/connector_configs/toml/sandbox.toml
@@ -681,10 +681,9 @@ payment_method_type = "Visa"
payment_method_type = "Mastercard"
[[authipay.debit]]
payment_method_type = "Visa"
-[authipay.connector_auth.SignatureKey]
+[authipay.connector_auth.BodyKey]
api_key = "API Key"
-api_secret = "API Secret"
-key1 = "Merchant ID"
+key1 = "API Secret"
[authipay.connector_webhook_details]
merchant_secret = "Source verification key"
diff --git a/crates/router/tests/connectors/sample_auth.toml b/crates/router/tests/connectors/sample_auth.toml
index e4e3dfa80c..69c060f3bc 100644
--- a/crates/router/tests/connectors/sample_auth.toml
+++ b/crates/router/tests/connectors/sample_auth.toml
@@ -349,7 +349,7 @@ api_secret = "Secret key"
[authipay]
api_key = "MyApiKey"
-api_secret = "MySecretKey"
+key1 = "MySecretKey"
[checkbook]
api_key="Client ID"
diff --git a/crates/test_utils/src/connector_auth.rs b/crates/test_utils/src/connector_auth.rs
index 5ac6f988b9..e10bd20ddc 100644
--- a/crates/test_utils/src/connector_auth.rs
+++ b/crates/test_utils/src/connector_auth.rs
@@ -20,7 +20,7 @@ pub struct ConnectorAuthentication {
pub airwallex: Option<BodyKey>,
pub amazonpay: Option<BodyKey>,
pub archipel: Option<NoKey>,
- pub authipay: Option<SignatureKey>,
+ pub authipay: Option<BodyKey>,
pub authorizedotnet: Option<BodyKey>,
pub bambora: Option<BodyKey>,
pub bamboraapac: Option<HeaderKey>,