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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(authentication): made mcc optional for session call in click to pay flow (#10507)
Sahkal Poddara49e6b286f6e
diff --git a/api-reference/v1/openapi_spec_v1.json b/api-reference/v1/openapi_spec_v1.jsonindex f09df7a139..aa0ca16888 100644--- a/api-reference/v1/openapi_spec_v1.json+++ b/api-reference/v1/openapi_spec_v1.json@@ -14283,7 +14283,6 @@"card_brands","acquirer_bin","acquirer_merchant_id",- "merchant_category_code","merchant_country_code","transaction_amount","transaction_currency_code"@@ -14312,7 +14311,8 @@"type": "string"},"merchant_category_code": {- "type": "string"+ "type": "string",+ "nullable": true},"merchant_country_code": {"type": "string"diff --git a/api-reference/v2/openapi_spec_v2.json b/api-reference/v2/openapi_spec_v2.jsonindex f42acd7542..81f4c52adf 100644--- a/api-reference/v2/openapi_spec_v2.json+++ b/api-reference/v2/openapi_spec_v2.json@@ -8841,7 +8841,6 @@"card_brands","acquirer_bin","acquirer_merchant_id",- "merchant_category_code","merchant_country_code","transaction_amount","transaction_currency_code"@@ -8870,7 +8869,8 @@"type": "string"},"merchant_category_code": {- "type": "string"+ "type": "string",+ "nullable": true},"merchant_country_code": {"type": "string"diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rsindex 3ae0226365..ef63219d90 100644--- a/crates/api_models/src/payments.rs+++ b/crates/api_models/src/payments.rs@@ -11440,8 +11440,8 @@ pub struct ClickToPaySessionResponse {pub acquirer_bin: String,#[smithy(value_type = "String")]pub acquirer_merchant_id: String,- #[smithy(value_type = "String")]- pub merchant_category_code: String,+ #[smithy(value_type = "Option<String>")]+ pub merchant_category_code: Option<String>,#[smithy(value_type = "String")]pub merchant_country_code: String,#[schema(value_type = String, example = "38.02")]diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.tomlindex a62ede1308..53df9508ef 100644--- a/crates/connector_configs/toml/development.toml+++ b/crates/connector_configs/toml/development.toml@@ -6506,7 +6506,7 @@ type="Text"name="merchant_category_code"label="Merchant Category Code"placeholder="Enter Merchant Category Code"-required=true+required=falsetype="Text"[ctp_visa.metadata.merchant_country_code]diff --git a/crates/connector_configs/toml/production.toml b/crates/connector_configs/toml/production.tomlindex afe60d027c..8cba00df62 100644--- a/crates/connector_configs/toml/production.toml+++ b/crates/connector_configs/toml/production.toml@@ -5101,7 +5101,7 @@ type = "Text"name = "merchant_category_code"label = "Merchant Category Code"placeholder = "Enter Merchant Category Code"-required = true+required=falsetype = "Text"[ctp_visa.metadata.merchant_country_code]diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.tomlindex 35b2d28a34..6d0f2042d8 100644--- a/crates/connector_configs/toml/sandbox.toml+++ b/crates/connector_configs/toml/sandbox.toml@@ -6482,7 +6482,7 @@ type = "Text"name = "merchant_category_code"label = "Merchant Category Code"placeholder = "Enter Merchant Category Code"-required = true+required=falsetype = "Text"[ctp_visa.metadata.merchant_country_code]diff --git a/crates/hyperswitch_domain_models/src/payments.rs b/crates/hyperswitch_domain_models/src/payments.rsindex f22c5fd373..e6dfc00c59 100644--- a/crates/hyperswitch_domain_models/src/payments.rs+++ b/crates/hyperswitch_domain_models/src/payments.rs@@ -974,7 +974,7 @@ pub struct ClickToPayMetaData {pub locale: String,pub acquirer_bin: String,pub acquirer_merchant_id: String,- pub merchant_category_code: String,+ pub merchant_category_code: Option<String>,pub merchant_country_code: String,pub dpa_client_id: Option<String>,}