prompt
stringlengths
6
90.9k
response
stringlengths
121
18.6k
metadata
stringlengths
314
42.3k
Adds the following fields to the api and diesel models Feature meta data retry_count: Total number of billing connector + recovery retries for a payment intent. payment_connector_transmission: It's supposed to tell if the payment_connector has been called or not. billing_connector_id: To update the invoice at billing connector. active_attempt_payment_connector_id : Process tracker needs payment merchant connector account id to schedule the retry attempt. billing_connector_mit_token_details: MIT related information given by billing connector contains two fields. 1. customer_id : Customer Id of the customer in billing connector 2. payment_processor_token : The token used by the payment processor to retry the payment. payment_method_type: This represents payment Method type like Card,Crypto,Mandate etc.. payment_method_subtype : This represents the subtype of the payment method like Credit, CryptoCurrency etc.. Note This PR closes #7177
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/payments.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/types.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/lib.rs` **4. Other** - `api-reference-v2/openapi_spec.json` - `crates/common_enums/src/enums.rs` - `crates/openapi/src/openapi_v2.rs` **Code Patterns Applied:** - Define new data structures (6 changes) - Implement new functions (6 changes) - Extend existing types with new fields (50 changes) **Detailed Identifier Changes:** Commit 2ee22cdf: Files to modify: **crates/api_models/src/payments.rs** Modify existing code **crates/common_enums/src/enums.rs** Modify existing code **crates/diesel_models/src/types.rs** Modify existing code **crates/hyperswitch_domain_models/src/lib.rs** Modify existing code **crates/openapi/src/openapi_v2.rs** Modify existing code
{"pr_number": 7176, "pr_title": "refactor(router): add revenue_recovery_metadata to payment intent in diesel and api model for v2 flow", "merged_at": "2025-02-14T11:41:35Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "database": ["crates/diesel_models/src/types.rs"], "domain": ["crates/hyperswitch_domain_models/src/lib.rs"], "other": ["api-reference-v2/openapi_spec.json", "crates/common_enums/src/enums.rs", "crates/openapi/src/openapi_v2.rs"]}, "change_types": {"structs_added": 6, "functions_added": 6, "enums_added": 1, "fields_added": 50, "imports_added": 5}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
Add wasm changes for , interac , skrill and paysafe card
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/connector_configs/toml/development.toml` - `crates/connector_configs/toml/production.toml` - `crates/connector_configs/toml/sandbox.toml`
{"pr_number": 9455, "pr_title": "feat(connector): [Paysafe] add wasm changes", "merged_at": "2025-09-19T14:25:22Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["card"]}, "hierarchy": {"connectors": ["crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> Closes #5305
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/payments.rs` **2. Other** - `api-reference-v2/openapi_spec.json` - `api-reference/openapi_spec.json`
{"pr_number": 6452, "pr_title": "docs: Added desc. for wallets other than AP, GP", "merged_at": "2024-10-29T07:56:09Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> Updated dashboard.toml to reflect the latest dashboard changes for open-source users. ![image](https://github.com/user-attachments/assets/c8077ea0-fb75-43f5-bf41-75f5f4f3a6f6)
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Configuration Files** - `config/dashboard.toml`
{"pr_number": 7707, "pr_title": "chore(dashboard): update dashboard toml", "merged_at": "2025-04-03T07:10:34Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"config": ["config/dashboard.toml"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> When adding the injector as a crate in connector-service, getting following ```bash Compiling injector v0.1.0 (/Users/shivansh.mathur/Desktop/VS_Code/hyperswitch/crates/injector) error[E0433]: failed to resolve: could not find `tracing` in the list of imported crates --> /Users/shivansh.mathur/Desktop/VS_Code/hyperswitch/crates/injector/src/injector.rs:60:5 | 60 | #[instrument(skip_all)] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `tracing` in the list of imported crates | = note: this error originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0433]: failed to resolve: could not find `tracing` in the list of imported crates --> /Users/shivansh.mathur/Desktop/VS_Code/hyperswitch/crates/injector/src/injector.rs:152:5 | 152 | #[instrument(skip_all)] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `tracing` in the list of imported crates | = note: this error originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0433]: failed to resolve: could not find `tracing` in the list of imported crates --> /Users/shivansh.mathur/Desktop/VS_Code/hyperswitch/crates/injector/src/injector.rs:257:9 | 257 | #[instrument(skip_all)] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `tracing` in the list of imported crates | = note: this error originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) ``` Also some requried changes for passing on certificate and proxy url to injector from connector-service
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Type Definitions** - `crates/injector/src/types.rs` **2. Configuration Files** - `crates/injector/Cargo.toml` **3. Other** - `Cargo.lock` - `crates/injector/src/injector.rs` **Code Patterns Applied:** - Implement new functions (4 changes) - Extend existing types with new fields (20 changes) - Add conditional logic for feature flags or filtering (6 changes) **Detailed Identifier Changes:** Commit aae1994e: Files to modify: **crates/injector/src/injector.rs** Modify existing code **crates/injector/src/types.rs** Modify existing code
{"pr_number": 9124, "pr_title": "feat(injector): adding tracing to injector for dependency issues", "merged_at": "2025-09-01T09:29:32Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "order"]}, "hierarchy": {"types": ["crates/injector/src/types.rs"], "config": ["crates/injector/Cargo.toml"], "other": ["Cargo.lock", "crates/injector/src/injector.rs"]}, "change_types": {"functions_added": 4, "enums_added": 1, "fields_added": 20, "imports_added": 1, "conditionals_added": 6}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Template code added for new connector Inespay This PR is related to issue: https://github.com/juspay/hyperswitch-cloud/issues/7514
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/connector_enums.rs` **2. Core Business Logic** - `crates/router/src/core/admin.rs` - `crates/router/src/core/payments/connector_integration_v2_impls.rs` - `crates/router/src/core/payments/flows.rs` **3. External Connector Integration** - `crates/common_enums/src/connector_enums.rs` - `crates/connector_configs/src/connector.rs` - `crates/hyperswitch_connectors/src/connectors.rs` - ... and 10 more files **4. Type Definitions** - `crates/router/src/types/api.rs` - `crates/router/src/types/transformers.rs` **5. Tests** - `config/deployments/integration_test.toml` - `loadtest/config/development.toml` **6. Configuration Files** - `config/config.example.toml` - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - ... and 3 more files **Code Patterns Applied:** - Define new data structures (10 changes) - Implement new functions (78 changes) - Extend existing types with new fields (153 changes) **Detailed Identifier Changes:** Commit 710186f0: Files to modify: **crates/api_models/src/connector_enums.rs** Modify existing code **crates/common_enums/src/connector_enums.rs** Modify existing code **crates/connector_configs/src/connector.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/inespay.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations_v2.rs** Modify existing code **crates/hyperswitch_interfaces/src/configs.rs** Modify existing code **crates/router/src/connector.rs** Modify existing code **crates/router/src/core/admin.rs** Modify existing code **crates/router/src/core/payments/connector_integration_v2_impls.rs** Modify existing code **crates/router/src/core/payments/flows.rs** Modify existing code **crates/router/src/types/api.rs** Modify existing code **crates/router/src/types/transformers.rs** Modify existing code **crates/router/tests/connectors/inespay.rs** Modify existing code **crates/router/tests/connectors/main.rs** Modify existing code **crates/test_utils/src/connector_auth.rs** Modify existing code
{"pr_number": 6614, "pr_title": "feat(connector): [INESPAY] add Connector Template Code", "merged_at": "2024-11-26T07:40:31Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["connector"]}, "hierarchy": {"api_models": ["crates/api_models/src/connector_enums.rs"], "core_business": ["crates/router/src/core/admin.rs", "crates/router/src/core/payments/connector_integration_v2_impls.rs", "crates/router/src/core/payments/flows.rs"], "connectors": ["crates/common_enums/src/connector_enums.rs", "crates/connector_configs/src/connector.rs", "crates/hyperswitch_connectors/src/connectors.rs", "crates/hyperswitch_connectors/src/connectors/inespay.rs", "crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/hyperswitch_connectors/src/default_implementations_v2.rs", "crates/router/src/connector.rs", "crates/router/tests/connectors/inespay.rs", "crates/router/tests/connectors/main.rs", "crates/router/tests/connectors/sample_auth.toml", "crates/test_utils/src/connector_auth.rs", "scripts/add_connector.sh"], "types": ["crates/router/src/types/api.rs", "crates/router/src/types/transformers.rs"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml", "crates/hyperswitch_interfaces/src/configs.rs"]}, "change_types": {"structs_added": 10, "functions_added": 78, "enums_added": 2, "fields_added": 153, "imports_added": 20}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Use $(...) notation instead of legacy `...` in the shell files. Removes the use of deprecated backticks notation (cf. [SC2006](https://www.shellcheck.net/wiki/SC2006)).
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `scripts/add_connector.sh` **2. Other** - `INSTALL_dependencies.sh` - `aws/hyperswitch_aws_setup.sh` - `aws/hyperswitch_cleanup_setup.sh` **Code Patterns Applied:** - Add conditional logic for feature flags or filtering (2 changes)
{"pr_number": 6337, "pr_title": "fix: replace deprecated backticks with $(...) for command substitution", "merged_at": "2024-11-05T08:29:48Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"connectors": ["scripts/add_connector.sh"], "other": ["INSTALL_dependencies.sh", "aws/hyperswitch_aws_setup.sh", "aws/hyperswitch_cleanup_setup.sh"]}, "change_types": {"conditionals_added": 2}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> Change the commerce indicator for cybersource applepay payment which was failing payment in production Hotfix correspond to PR - [#6634](https://github.com/juspay/hyperswitch/pull/6634) Note: This pr is crucial for flowbird
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/router/src/connector/cybersource/transformers.rs`
{"pr_number": 6675, "pr_title": "fix(connector): [Cybersource] change commerce indicator for applepay", "merged_at": "2024-11-27T11:30:18Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "card"]}, "hierarchy": {"connectors": ["crates/router/src/connector/cybersource/transformers.rs"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
This PR adds support for Adyen tokenized card payouts in the AdyenPlatform connector. This enables processing payouts using stored PSP tokens - Restructured `AdyenCardIdentification` as an enum supporting both raw card data and stored payment method IDs - Added `StoredPaymentCounterparty` and `RawPaymentCounterparty` for handling different payment method types - Implemented fallback logic: stored payment method ID → raw card details - Added `fetch_payout_method_data` helper function to centralize payout method data retrieval - Enhanced validator to check for stored transfer method IDs before fetching raw card details
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/payments/routing.rs` - `crates/router/src/core/payouts.rs` - `crates/router/src/core/payouts/helpers.rs` - ... and 1 more files **2. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs` **3. Type Definitions** - `crates/router/src/types/transformers.rs` **4. Other** - `nix/modules/flake/devshell.nix` **Code Patterns Applied:** - Define new data structures (4 changes) - Implement new functions (5 changes) - Extend existing types with new fields (38 changes) - Add conditional logic for feature flags or filtering (3 changes) **Detailed Identifier Changes:** Commit b8c5bf3f: Files to modify: **crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs** Modify existing code **crates/router/src/core/payments/routing.rs** Modify existing code **crates/router/src/core/payouts.rs** Modify existing code **crates/router/src/core/payouts/helpers.rs** Modify existing code **crates/router/src/core/payouts/validator.rs** Modify existing code **crates/router/src/types/transformers.rs** Modify existing code
{"pr_number": 9040, "pr_title": "feat(connector): [Adyenplatform] process payouts using PSP tokens", "merged_at": "2025-08-25T13:10:04Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments/routing.rs", "crates/router/src/core/payouts.rs", "crates/router/src/core/payouts/helpers.rs", "crates/router/src/core/payouts/validator.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs"], "types": ["crates/router/src/types/transformers.rs"], "other": ["nix/modules/flake/devshell.nix"]}, "change_types": {"structs_added": 4, "functions_added": 5, "enums_added": 1, "fields_added": 38, "conditionals_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
This PR removes the `vault_private_key` from the configs.
To implement this **unknown** feature, you'll need to modify these architectural layers: **1. Configuration Files** - `config/development.toml`
{"pr_number": 7825, "pr_title": "ci(configs): remove vault private key from configs", "merged_at": "2025-04-16T08:26:05Z", "intent": {"feature_type": "unknown", "action": "unknown", "entities": []}, "hierarchy": {"config": ["config/development.toml"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
This PR fixes an issue where internal user roles were being displayed in the dashboard. With this change, all internal roles are filtered out, ensuring only relevant user-facing roles are visible.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/user_role/role.rs` **Code Patterns Applied:** - Modify database queries (1 changes)
{"pr_number": 9402, "pr_title": "fix(user_role): Filter out internal roles in list roles API", "merged_at": "2025-09-22T18:36:13Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/user_role/role.rs"]}, "change_types": {"imports_added": 1, "database_queries": 1}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> - A new field in introduced in payment_intent table called extended_return_url - This deprecate the existing return_url field since it can take string only upto length 255 - extended_return_url can now take length upto 2048 size - write is done into the new field (extended_return_url) - read is backward compatible (return_url as fallback) Note: The hotfix is raised against https://github.com/juspay/hyperswitch/pull/8135
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/payments.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/payment_intent.rs` - `crates/diesel_models/src/schema.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/payments/payment_intent.rs` **4. Tests** - `cypress-tests/cypress/e2e/configs/Payment/Commons.js` - `cypress-tests/cypress/e2e/spec/Payment/00022-Variations.cy.js` **5. Other** - `api-reference/openapi_spec.json` - `migrations/2025-05-25-185220_add-merchant_return_url-column-to-payment_intent/down.sql` - `migrations/2025-05-25-185220_add-merchant_return_url-column-to-payment_intent/up.sql` - ... and 1 more files **Code Patterns Applied:** - Extend existing types with new fields (30 changes) **Detailed Identifier Changes:** Commit 7b5459f2: Files to modify: **crates/api_models/src/payments.rs** Modify existing code **crates/diesel_models/src/payment_intent.rs** Modify existing code **crates/diesel_models/src/schema.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments/payment_intent.rs** Modify existing code
{"pr_number": 8322, "pr_title": "refactor(core): introduce new field in payment_intent to handle longer return_url", "merged_at": "2025-06-12T10:07:57Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "user"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "database": ["crates/diesel_models/src/payment_intent.rs", "crates/diesel_models/src/schema.rs"], "domain": ["crates/hyperswitch_domain_models/src/payments/payment_intent.rs"], "tests": ["cypress-tests/cypress/e2e/configs/Payment/Commons.js", "cypress-tests/cypress/e2e/spec/Payment/00022-Variations.cy.js"], "other": ["api-reference/openapi_spec.json", "migrations/2025-05-25-185220_add-merchant_return_url-column-to-payment_intent/down.sql", "migrations/2025-05-25-185220_add-merchant_return_url-column-to-payment_intent/up.sql", "v2_migrations/2025-01-13-081847_drop_v1_columns/up.sql"]}, "change_types": {"fields_added": 30}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Alpha Integ Added Gift Card Payments Flow
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/payments.rs` - `crates/api_models/src/payments/additional_info.rs` **2. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/payment_method_data.rs` **3. Core Business Logic** - `crates/router/src/core/connector_validation.rs` **4. External Connector Integration** - `crates/common_enums/src/connector_enums.rs` - `crates/connector_configs/src/connector.rs` - `crates/connector_configs/toml/development.toml` - ... and 16 more files **5. Type Definitions** - `crates/router/src/types/api/feature_matrix.rs` - `crates/router/src/types/transformers.rs` **6. Utils** - `crates/kgraph_utils/src/mca.rs` - `crates/kgraph_utils/src/transformers.rs` **7. Other** - `api-reference/v1/openapi_spec_v1.json` - `api-reference/v2/openapi_spec_v2.json` - `crates/common_enums/src/enums.rs` - ... and 6 more files **Code Patterns Applied:** - Define new data structures (9 changes) - Implement new functions (21 changes) - Extend existing types with new fields (152 changes) **Detailed Identifier Changes:** Commit cb34ec51: Files to modify: **crates/api_models/src/payments.rs** Modify existing code **crates/api_models/src/payments/additional_info.rs** Modify existing code **crates/common_enums/src/connector_enums.rs** Modify existing code **crates/common_enums/src/enums.rs** Modify existing code **crates/common_enums/src/transformers.rs** Modify existing code **crates/connector_configs/src/connector.rs** Modify existing code **crates/euclid/src/frontend/dir/enums.rs** Modify existing code **crates/euclid/src/frontend/dir/lowering.rs** Modify existing code **crates/euclid/src/frontend/dir/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/adyen.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/klarna.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/zen/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations.rs** Modify existing code **crates/hyperswitch_connectors/src/utils.rs** Modify existing code **crates/hyperswitch_domain_models/src/payment_method_data.rs** Modify existing code **crates/kgraph_utils/src/mca.rs** Modify existing code **crates/kgraph_utils/src/transformers.rs** Modify existing code **crates/openapi/src/openapi.rs** Modify existing code **crates/openapi/src/openapi_v2.rs** Modify existing code **crates/router/src/connector/utils.rs** Modify existing code **crates/router/src/core/connector_validation.rs** Modify existing code **crates/router/src/types/api/connector_mapping.rs** Modify existing code **crates/router/src/types/api/feature_matrix.rs** Modify existing code **crates/router/src/types/connector_transformers.rs** Modify existing code **crates/router/src/types/transformers.rs** Modify existing code
{"pr_number": 8701, "pr_title": "feat(connector): [BHN] Add BHN GiftCard Flow( Alpha)", "merged_at": "2025-08-22T16:43:32Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "connector", "card"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs", "crates/api_models/src/payments/additional_info.rs"], "domain": ["crates/hyperswitch_domain_models/src/payment_method_data.rs"], "core_business": ["crates/router/src/core/connector_validation.rs"], "connectors": ["crates/common_enums/src/connector_enums.rs", "crates/connector_configs/src/connector.rs", "crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/hyperswitch_connectors/src/connectors/adyen.rs", "crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs", "crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs", "crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs", "crates/hyperswitch_connectors/src/connectors/klarna.rs", "crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs", "crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs", "crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs", "crates/hyperswitch_connectors/src/connectors/zen/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/hyperswitch_connectors/src/utils.rs", "crates/router/src/connector/utils.rs", "crates/router/src/types/api/connector_mapping.rs", "crates/router/src/types/connector_transformers.rs"], "types": ["crates/router/src/types/api/feature_matrix.rs", "crates/router/src/types/transformers.rs"], "utils": ["crates/kgraph_utils/src/mca.rs", "crates/kgraph_utils/src/transformers.rs"], "other": ["api-reference/v1/openapi_spec_v1.json", "api-reference/v2/openapi_spec_v2.json", "crates/common_enums/src/enums.rs", "crates/common_enums/src/transformers.rs", "crates/euclid/src/frontend/dir/enums.rs", "crates/euclid/src/frontend/dir/lowering.rs", "crates/euclid/src/frontend/dir/transformers.rs", "crates/openapi/src/openapi.rs", "crates/openapi/src/openapi_v2.rs"]}, "change_types": {"structs_added": 9, "functions_added": 21, "enums_added": 4, "fields_added": 152, "imports_added": 6}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This pull request adds debit routing support for Apple Pay. In the Apple Pay decryption flow, if debit routing is enabled by the merchant and the card type is debit, a call will be made to the decision engine to retrieve the supported card networks and the potential debit routing savings. Among these networks, the lowest-cost network will be selected to process the Apple Pay payment.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/payment_method_data.rs` **2. Core Business Logic** - `crates/router/src/core/debit_routing.rs` - `crates/router/src/core/payments.rs` - `crates/router/src/core/payments/operations/payment_approve.rs` - ... and 15 more files **3. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs` **4. Other** - `crates/common_enums/src/enums.rs` **Code Patterns Applied:** - Define new data structures (4 changes) - Implement new functions (55 changes) - Extend existing types with new fields (79 changes) - Add conditional logic for feature flags or filtering (11 changes) **Detailed Identifier Changes:** Commit d42fad73: Files to modify: **crates/common_enums/src/enums.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs** Modify existing code **crates/hyperswitch_domain_models/src/payment_method_data.rs** Modify existing code **crates/router/src/core/debit_routing.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code
{"pr_number": 8673, "pr_title": "feat(debit_routing): add debit routing support for apple pay", "merged_at": "2025-07-18T14:54:09Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/payment_method_data.rs"], "core_business": ["crates/router/src/core/debit_routing.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/operations/payment_approve.rs", "crates/router/src/core/payments/operations/payment_cancel.rs", "crates/router/src/core/payments/operations/payment_capture.rs", "crates/router/src/core/payments/operations/payment_complete_authorize.rs", "crates/router/src/core/payments/operations/payment_confirm.rs", "crates/router/src/core/payments/operations/payment_create.rs", "crates/router/src/core/payments/operations/payment_post_session_tokens.rs", "crates/router/src/core/payments/operations/payment_reject.rs", "crates/router/src/core/payments/operations/payment_session.rs", "crates/router/src/core/payments/operations/payment_start.rs", "crates/router/src/core/payments/operations/payment_status.rs", "crates/router/src/core/payments/operations/payment_update.rs", "crates/router/src/core/payments/operations/payment_update_metadata.rs", "crates/router/src/core/payments/operations/payments_incremental_authorization.rs", "crates/router/src/core/payments/operations/tax_calculation.rs", "crates/router/src/core/payments/tokenization.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"], "other": ["crates/common_enums/src/enums.rs"]}, "change_types": {"structs_added": 4, "functions_added": 55, "enums_added": 2, "fields_added": 79, "imports_added": 1, "conditionals_added": 11}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Apple pay payments for noon were failing due to PR#7921. Adding AED to the currency list for apple pay is a temporary fix for this failure.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Configuration Files** - `config/deployments/production.toml`
{"pr_number": 8217, "pr_title": "chore: Update apple pay currency filter configs", "merged_at": "2025-06-09T07:57:15Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment"]}, "hierarchy": {"config": ["config/deployments/production.toml"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> `Boleto`, `Trustly`, `Alipay`, `Wechatpay` PMs added in connector `shift4`
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/shift4.rs` - `crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs` **2. Tests** - `config/deployments/integration_test.toml` - `loadtest/config/development.toml` **3. Configuration Files** - `config/config.example.toml` - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - ... and 2 more files **Code Patterns Applied:** - Define new data structures (2 changes) - Implement new functions (4 changes) - Extend existing types with new fields (26 changes) **Detailed Identifier Changes:** Commit ac3b2d40: Files to modify: **crates/hyperswitch_connectors/src/connectors/shift4.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs** Modify existing code
{"pr_number": 8476, "pr_title": "feat(connector): [shift4] Boleto, Trustly, Alipay, Wechatpay PMs added", "merged_at": "2025-07-03T09:21:36Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/shift4.rs", "crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml"]}, "change_types": {"structs_added": 2, "functions_added": 4, "fields_added": 26}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> refactor ctp flow to fetch mca_id and get the connector creds instead of connector_name https://github.com/juspay/hyperswitch/pull/6859
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/admin.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/business_profile.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/business_profile.rs` - `crates/hyperswitch_domain_models/src/merchant_connector_account.rs` **4. Core Business Logic** - `crates/router/src/core/admin.rs` - `crates/router/src/core/payments.rs` - `crates/router/src/core/payments/helpers.rs` - ... and 5 more files **5. Type Definitions** - `crates/common_types/src/payments.rs` - `crates/router/src/types/api/admin.rs` **6. Other** - `crates/common_enums/src/enums.rs` - `crates/router/src/consts.rs` **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (6 changes) - Extend existing types with new fields (41 changes) - Add conditional logic for feature flags or filtering (2 changes) **Detailed Identifier Changes:** Commit 6c5a16de: Files to modify: **crates/api_models/src/admin.rs** Modify existing code **crates/common_enums/src/enums.rs** Modify existing code **crates/common_types/src/payments.rs** Modify existing code **crates/diesel_models/src/business_profile.rs** Modify existing code **crates/hyperswitch_domain_models/src/business_profile.rs** Modify existing code **crates/hyperswitch_domain_models/src/merchant_connector_account.rs** Modify existing code **crates/router/src/consts.rs** Modify existing code **crates/router/src/core/admin.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code **crates/router/src/core/payments/operations.rs** Modify existing code **crates/router/src/core/payments/operations/payment_confirm.rs** Modify existing code **crates/router/src/core/unified_authentication_service.rs** Modify existing code **crates/router/src/core/unified_authentication_service/types.rs** Modify existing code **crates/router/src/core/unified_authentication_service/utils.rs** Modify existing code **crates/router/src/types/api/admin.rs** Modify existing code
{"pr_number": 7087, "pr_title": "refactor(router): refactor ctp flow to fetch mca_id and get the connector creds instead of connector_name", "merged_at": "2025-01-22T09:16:07Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["connector"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs"], "database": ["crates/diesel_models/src/business_profile.rs"], "domain": ["crates/hyperswitch_domain_models/src/business_profile.rs", "crates/hyperswitch_domain_models/src/merchant_connector_account.rs"], "core_business": ["crates/router/src/core/admin.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations.rs", "crates/router/src/core/payments/operations/payment_confirm.rs", "crates/router/src/core/unified_authentication_service.rs", "crates/router/src/core/unified_authentication_service/types.rs", "crates/router/src/core/unified_authentication_service/utils.rs"], "types": ["crates/common_types/src/payments.rs", "crates/router/src/types/api/admin.rs"], "other": ["crates/common_enums/src/enums.rs", "crates/router/src/consts.rs"]}, "change_types": {"structs_added": 1, "functions_added": 6, "enums_added": 1, "fields_added": 41, "imports_added": 5, "conditionals_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Earlier, the `additional_payment_method_data` was not being updated in the psync call because the check was applied on `payment_data.payment_method_data`, which at the time of the psync call was not populated. In this PR, we have updated the logic to apply the check on the `payment_method_data` field of the `payment_attempt` table instead. This ensures that the `additional_payment_method_data` is correctly populated during the psync call.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/payments/operations/payment_response.rs` **Detailed Identifier Changes:** Commit 407be56e: Files to modify: **crates/router/src/core/payments/operations/payment_response.rs** Modify existing code
{"pr_number": 9519, "pr_title": "feat(core): update additional payment method data in psync response", "merged_at": "2025-09-26T08:26:11Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments/operations/payment_response.rs"]}, "change_types": {}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Implementation of Payment,Refund,void , customer create , tokenization for non3ds cards for finix ## Test cases <details> <summary> Payment : Automatic </summary> ## Request ```json { "amount": 689, "customer_id":"hello_world", "currency": "USD", "confirm": true, "capture_method": "automatic", "payment_method": "card", "payment_method_type": "credit", "authentication_type": "no_three_ds", "description": "hellow world", // "connector":["paypal_test","stripe_test"], "billing": { "address": { "zip": "560095", "country": "IN", "first_name": "Sakil", "last_name": "Mostak", "line1": "Fasdf", "line2": "Fasdf", "city": "Fasdf" } }, "payment_method_data": { "card": { "card_number": "5200828282828210", "card_exp_month": "01", "card_exp_year": "2026", "card_holder_name": "John Smith", "card_cvc": "100" } } } ``` ## Response ```json { "payment_id": "pay_pVWtQXnwq32dc3OdqqQo", "merchant_id": "merchant_1759477997", "status": "succeeded", "amount": 689, "net_amount": 689, "shipping_cost": null, "amount_capturable": 0, "amount_received": 689, "connector": "finix", "client_secret": "pay_pVWtQXnwq32dc3OdqqQo_secret_oYqnSGx6ktsh1jv0HF3Y", "created": "2025-10-06T10:17:24.054Z", "currency": "USD", "customer_id": "hello_world", "customer": { "id": "hello_world", "name": null, "email": "hyperswitch_sdk_demo_id@gmail.com", "phone": null, "phone_country_code": null }, "description": "hellow world", "refunds": null, "disputes": null, "mandate_id": null, "mandate_data": null, "setup_future_usage": null, "off_session": null, "capture_on": null, "capture_method": "automatic", "payment_method": "card", "payment_method_data": { "card": { "last4": "8210", "card_type": null, "card_network": null, "card_issuer": null, "card_issuing_country": null, "card_isin": "520082", "card_extended_bin": null, "card_exp_month": "01", "card_exp_year": "2026", "card_holder_name": "John Smith", "payment_checks": null, "authentication_data": null }, "billing": null }, "payment_token": null, "shipping": null, "billing": { "address": { "city": "Fasdf", "country": "IN", "line1": "Fasdf", "line2": "Fasdf", "line3": null, "zip": "560095", "state": null, "first_name": "Sakil", "last_name": "Mostak", "origin_zip": null }, "phone": null, "email": null }, "order_details": null, "email": "hyperswitch_sdk_demo_id@gmail.com", "name": null, "phone": null, "return_url": null, "authentication_type": "no_three_ds", "statement_descriptor_name": null, "statement_descriptor_suffix": null, "next_action": null, "cancellation_reason": null, "error_code": null, "error_message": null, "unified_code": null, "unified_message": null, "payment_experience": null, "payment_method_type": "credit", "connector_label": null, "business_country": null, "business_label": "default", "business_sub_label": null, "allowed_payment_method_types": null, "ephemeral_key": { "customer_id": "hello_world", "created_at": 1759745843, "expires": 1759749443, "secret": "epk_6f24c6ad6c29447e8e6cb37f9431a152" }, "manual_retry_allowed": null, "connector_transaction_id": "TRmJxabrSYTSjGxnqthW8nkK", "frm_message": null, "metadata": null, "connector_metadata": null, "feature_metadata": { "redirect_response": null, "search_tags": null, "apple_pay_recurring_details": null, "gateway_system": "direct" }, "reference_id": null, "payment_link": null, "profile_id": "pro_GjR7afeLzCXVYhe62xl8", "surcharge_details": null, "attempt_count": 1, "merchant_decision": null, "merchant_connector_id": "mca_bSuyBQOAy40vpxbsiOCR", "incremental_authorization_allowed": false, "authorization_count": null, "incremental_authorizations": null, "external_authentication_details": null, "external_3ds_authentication_attempted": false, "expires_on": "2025-10-06T10:32:24.054Z", "fingerprint": null, "browser_info": null, "payment_channel": null, "payment_method_id": null, "network_transaction_id": null, "payment_method_status": null, "updated": "2025-10-06T10:17:26.710Z", "split_payments": null, "frm_metadata": null, "extended_authorization_applied": null, "request_extended_authorization": null, "capture_before": null, "merchant_order_reference_id": null, "order_tax_amount": null, "connector_mandate_id": null, "card_discovery": "manual", "force_3ds_challenge": false, "force_3ds_challenge_trigger": false, "issuer_error_code": null, "issuer_error_message": null, "is_iframe_redirection_enabled": null, "whole_connector_response": null, "enable_partial_authorization": null, "enable_overcapture": null, "is_overcapture_enabled": null, "network_details": null } ``` </details> <details> <summary> Payment : Manual </summary> ```json { "amount": 689, "customer_id":"hello_world", "currency": "USD", "confirm": true, "capture_method": "manual", "payment_method": "card", "payment_method_type": "credit", "authentication_type": "no_three_ds", "description": "hellow world", // "connector":["paypal_test","stripe_test"], "billing": { "address": { "zip": "560095", "country": "IN", "first_name": "Sakil", "last_name": "Mostak", "line1": "Fasdf", "line2": "Fasdf", "city": "Fasdf" } }, "payment_method_data": { "card": { "card_number": "5200828282828210", "card_exp_month": "01", "card_exp_year": "2026", "card_holder_name": "John Smith", "card_cvc": "100" } } } ``` ```json { "payment_id": "pay_A8v0P3KgtB5w7mZaWO3t", "merchant_id": "merchant_1759477997", "status": "requires_capture", "amount": 689, "net_amount": 689, "shipping_cost": null, "amount_capturable": 689, "amount_received": null, "connector": "finix", "client_secret": "pay_A8v0P3KgtB5w7mZaWO3t_secret_jjLo36Con9BduAYRKTUP", "created": "2025-10-06T10:18:12.998Z", "currency": "USD", "customer_id": "hello_world", "customer": { "id": "hello_world", "name": null, "email": "hyperswitch_sdk_demo_id@gmail.com", "phone": null, "phone_country_code": null }, "description": "hellow world", "refunds": null, "disputes": null, "mandate_id": null, "mandate_data": null, "setup_future_usage": null, "off_session": null, "capture_on": null, "capture_method": "manual", "payment_method": "card", "payment_method_data": { "card": { "last4": "8210", "card_type": null, "card_network": null, "card_issuer": null, "card_issuing_country": null, "card_isin": "520082", "card_extended_bin": null, "card_exp_month": "01", "card_exp_year": "2026", "card_holder_name": "John Smith", "payment_checks": null, "authentication_data": null }, "billing": null }, "payment_token": null, "shipping": null, "billing": { "address": { "city": "Fasdf", "country": "IN", "line1": "Fasdf", "line2": "Fasdf", "line3": null, "zip": "560095", "state": null, "first_name": "Sakil", "last_name": "Mostak", "origin_zip": null }, "phone": null, "email": null }, "order_details": null, "email": "hyperswitch_sdk_demo_id@gmail.com", "name": null, "phone": null, "return_url": null, "authentication_type": "no_three_ds", "statement_descriptor_name": null, "statement_descriptor_suffix": null, "next_action": null, "cancellation_reason": null, "error_code": null, "error_message": null, "unified_code": null, "unified_message": null, "payment_experience": null, "payment_method_type": "credit", "connector_label": null, "business_country": null, "business_label": "default", "business_sub_label": null, "allowed_payment_method_types": null, "ephemeral_key": { "customer_id": "hello_world", "created_at": 1759745892, "expires": 1759749492, "secret": "epk_5946337c7bf3422db4549d97b25c6c30" }, "manual_retry_allowed": null, "connector_transaction_id": "AUaokdvtqphbiksg4FAxfZf9", "frm_message": null, "metadata": null, "connector_metadata": null, "feature_metadata": { "redirect_response": null, "search_tags": null, "apple_pay_recurring_details": null, "gateway_system": "direct" }, "reference_id": null, "payment_link": null, "profile_id": "pro_GjR7afeLzCXVYhe62xl8", "surcharge_details": null, "attempt_count": 1, "merchant_decision": null, "merchant_connector_id": "mca_bSuyBQOAy40vpxbsiOCR", "incremental_authorization_allowed": false, "authorization_count": null, "incremental_authorizations": null, "external_authentication_details": null, "external_3ds_authentication_attempted": false, "expires_on": "2025-10-06T10:33:12.998Z", "fingerprint": null, "browser_info": null, "payment_channel": null, "payment_method_id": null, "network_transaction_id": null, "payment_method_status": null, "updated": "2025-10-06T10:18:14.166Z", "split_payments": null, "frm_metadata": null, "extended_authorization_applied": null, "request_extended_authorization": null, "capture_before": null, "merchant_order_reference_id": null, "order_tax_amount": null, "connector_mandate_id": null, "card_discovery": "manual", "force_3ds_challenge": false, "force_3ds_challenge_trigger": false, "issuer_error_code": null, "issuer_error_message": null, "is_iframe_redirection_enabled": null, "whole_connector_response": null, "enable_partial_authorization": null, "enable_overcapture": null, "is_overcapture_enabled": null, "network_details": null } ``` ## Capture ```sh curl --location 'localhost:8080/payments/pay_A8v0P3KgtB5w7mZaWO3t/capture' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_3cGokW5MFJmBnLTLmcS2EKAODQblXknbM6XCjDHLipq0CmLrUu3LNsIyFCDwgOwH' \ --data '{ "amount": 689 }' ``` ```json { "payment_id": "pay_A8v0P3KgtB5w7mZaWO3t", "merchant_id": "merchant_1759477997", "status": "processing", "amount": 689, "net_amount": 689, "shipping_cost": null, "amount_capturable": 0, "amount_received": 689, "connector": "finix", "client_secret": "pay_A8v0P3KgtB5w7mZaWO3t_secret_jjLo36Con9BduAYRKTUP", "created": "2025-10-06T10:18:12.998Z", "currency": "USD", "customer_id": "hello_world", "customer": { "id": "hello_world", "name": null, "email": "hyperswitch_sdk_demo_id@gmail.com", "phone": null, "phone_country_code": null }, "description": "hellow world", "refunds": null, "disputes": null, "mandate_id": null, "mandate_data": null, "setup_future_usage": null, "off_session": null, "capture_on": null, "capture_method": "manual", "payment_method": "card", "payment_method_data": { "card": { "last4": "8210", "card_type": null, "card_network": null, "card_issuer": null, "card_issuing_country": null, "card_isin": "520082", "card_extended_bin": null, "card_exp_month": "01", "card_exp_year": "2026", "card_holder_name": "John Smith", "payment_checks": null, "authentication_data": null }, "billing": null }, "payment_token": null, "shipping": null, "billing": { "address": { "city": "Fasdf", "country": "IN", "line1": "Fasdf", "line2": "Fasdf", "line3": null, "zip": "560095", "state": null, "first_name": "Sakil", "last_name": "Mostak", "origin_zip": null }, "phone": null, "email": null }, "order_details": null, "email": "hyperswitch_sdk_demo_id@gmail.com", "name": null, "phone": null, "return_url": null, "authentication_type": "no_three_ds", "statement_descriptor_name": null, "statement_descriptor_suffix": null, "next_action": null, "cancellation_reason": null, "error_code": null, "error_message": null, "unified_code": null, "unified_message": null, "payment_experience": null, "payment_method_type": "credit", "connector_label": null, "business_country": null, "business_label": "default", "business_sub_label": null, "allowed_payment_method_types": null, "ephemeral_key": null, "manual_retry_allowed": null, "connector_transaction_id": "AUaokdvtqphbiksg4FAxfZf9", "frm_message": null, "metadata": null, "connector_metadata": null, "feature_metadata": { "redirect_response": null, "search_tags": null, "apple_pay_recurring_details": null, "gateway_system": "direct" }, "reference_id": null, "payment_link": null, "profile_id": "pro_GjR7afeLzCXVYhe62xl8", "surcharge_details": null, "attempt_count": 1, "merchant_decision": null, "merchant_connector_id": "mca_bSuyBQOAy40vpxbsiOCR", "incremental_authorization_allowed": false, "authorization_count": null, "incremental_authorizations": null, "external_authentication_details": null, "external_3ds_authentication_attempted": false, "expires_on": "2025-10-06T10:33:12.998Z", "fingerprint": null, "browser_info": null, "payment_channel": null, "payment_method_id": null, "network_transaction_id": null, "payment_method_status": null, "updated": "2025-10-06T10:18:48.481Z", "split_payments": null, "frm_metadata": null, "extended_authorization_applied": null, "request_extended_authorization": null, "capture_before": null, "merchant_order_reference_id": null, "order_tax_amount": null, "connector_mandate_id": null, "card_discovery": "manual", "force_3ds_challenge": false, "force_3ds_challenge_trigger": false, "issuer_error_code": null, "issuer_error_message": null, "is_iframe_redirection_enabled": null, "whole_connector_response": null, "enable_partial_authorization": null, "enable_overcapture": null, "is_overcapture_enabled": null, "network_details": null } ``` ## make psync after few min to get this as captured status </details> <details> <summary> Void </summary> Make Auth call ```json curl --location 'localhost:8080/payments/pay_InDxLEmz9xZ9AF6xfgYc/cancel' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_3cGokW5MFJmBnLTLmcS2EKAODQblXknbM6XCjDHLipq0CmLrUu3LNsIyFCDwgOwH' \ --data '{ "cancellation_reason": "requested_by_customer" }' ``` ```json { "payment_id": "pay_InDxLEmz9xZ9AF6xfgYc", "merchant_id": "merchant_1759477997", "status": "cancelled", "amount": 689, "net_amount": 689, "shipping_cost": null, "amount_capturable": 0, "amount_received": null, "connector": "finix", "client_secret": "pay_InDxLEmz9xZ9AF6xfgYc_secret_CSRpGCjsWQu3t6q1SZbM", "created": "2025-10-06T10:20:46.718Z", "currency": "USD", "customer_id": "hello_world", "customer": { "id": "hello_world", "name": null, "email": "hyperswitch_sdk_demo_id@gmail.com", "phone": null, "phone_country_code": null }, "description": "hellow world", "refunds": null, "disputes": null, "mandate_id": null, "mandate_data": null, "setup_future_usage": null, "off_session": null, "capture_on": null, "capture_method": "manual", "payment_method": "card", "payment_method_data": { "card": { "last4": "8210", "card_type": null, "card_network": null, "card_issuer": null, "card_issuing_country": null, "card_isin": "520082", "card_extended_bin": null, "card_exp_month": "01", "card_exp_year": "2026", "card_holder_name": "John Smith", "payment_checks": null, "authentication_data": null }, "billing": null }, "payment_token": null, "shipping": null, "billing": { "address": { "city": "Fasdf", "country": "IN", "line1": "Fasdf", "line2": "Fasdf", "line3": null, "zip": "560095", "state": null, "first_name": "Sakil", "last_name": "Mostak", "origin_zip": null }, "phone": null, "email": null }, "order_details": null, "email": "hyperswitch_sdk_demo_id@gmail.com", "name": null, "phone": null, "return_url": null, "authentication_type": "no_three_ds", "statement_descriptor_name": null, "statement_descriptor_suffix": null, "next_action": null, "cancellation_reason": "requested_by_customer", "error_code": null, "error_message": null, "unified_code": null, "unified_message": null, "payment_experience": null, "payment_method_type": "credit", "connector_label": null, "business_country": null, "business_label": "default", "business_sub_label": null, "allowed_payment_method_types": null, "ephemeral_key": null, "manual_retry_allowed": null, "connector_transaction_id": "AU5zeQMv2WYgNKyo8fNh2or5", "frm_message": null, "metadata": null, "connector_metadata": null, "feature_metadata": { "redirect_response": null, "search_tags": null, "apple_pay_recurring_details": null, "gateway_system": "direct" }, "reference_id": null, "payment_link": null, "profile_id": "pro_GjR7afeLzCXVYhe62xl8", "surcharge_details": null, "attempt_count": 1, "merchant_decision": null, "merchant_connector_id": "mca_bSuyBQOAy40vpxbsiOCR", "incremental_authorization_allowed": false, "authorization_count": null, "incremental_authorizations": null, "external_authentication_details": null, "external_3ds_authentication_attempted": false, "expires_on": "2025-10-06T10:35:46.718Z", "fingerprint": null, "browser_info": null, "payment_channel": null, "payment_method_id": null, "network_transaction_id": null, "payment_method_status": null, "updated": "2025-10-06T10:20:52.789Z", "split_payments": null, "frm_metadata": null, "extended_authorization_applied": null, "request_extended_authorization": null, "capture_before": null, "merchant_order_reference_id": null, "order_tax_amount": null, "connector_mandate_id": null, "card_discovery": "manual", "force_3ds_challenge": false, "force_3ds_challenge_trigger": false, "issuer_error_code": null, "issuer_error_message": null, "is_iframe_redirection_enabled": null, "whole_connector_response": null, "enable_partial_authorization": null, "enable_overcapture": null, "is_overcapture_enabled": null, "network_details": null } ``` </details> <details> <summary>Refund</summary> make a payment capture ```json { "payment_id": "pay_K7EmavhAOgxV3pOMGHGL", "merchant_id": "merchant_1759477997", "status": "succeeded", "amount": 400, "net_amount": 400, "shipping_cost": null, "amount_capturable": 0, "amount_received": 400, "connector": "finix", "client_secret": "pay_K7EmavhAOgxV3pOMGHGL_secret_vOfMeE36wQUhik3cS5Nu", "created": "2025-10-06T10:22:02.926Z", "currency": "USD", "customer_id": "hello_world", "customer": { "id": "hello_world", "name": null, "email": "hyperswitch_sdk_demo_id@gmail.com", "phone": null, "phone_country_code": null }, "description": "hellow world", "refunds": null, "disputes": null, "mandate_id": null, "mandate_data": null, "setup_future_usage": null, "off_session": null, "capture_on": null, "capture_method": "automatic", "payment_method": "card", "payment_method_data": { "card": { "last4": "8210", "card_type": null, "card_network": null, "card_issuer": null, "card_issuing_country": null, "card_isin": "520082", "card_extended_bin": null, "card_exp_month": "01", "card_exp_year": "2026", "card_holder_name": "John Smith", "payment_checks": null, "authentication_data": null }, "billing": null }, "payment_token": null, "shipping": null, "billing": { "address": { "city": "Fasdf", "country": "IN", "line1": "Fasdf", "line2": "Fasdf", "line3": null, "zip": "560095", "state": null, "first_name": "Sakil", "last_name": "Mostak", "origin_zip": null }, "phone": null, "email": null }, "order_details": null, "email": "hyperswitch_sdk_demo_id@gmail.com", "name": null, "phone": null, "return_url": null, "authentication_type": "no_three_ds", "statement_descriptor_name": null, "statement_descriptor_suffix": null, "next_action": null, "cancellation_reason": null, "error_code": null, "error_message": null, "unified_code": null, "unified_message": null, "payment_experience": null, "payment_method_type": "credit", "connector_label": null, "business_country": null, "business_label": "default", "business_sub_label": null, "allowed_payment_method_types": null, "ephemeral_key": { "customer_id": "hello_world", "created_at": 1759746122, "expires": 1759749722, "secret": "epk_47435b2e06634545a0d2d0c534e0a881" }, "manual_retry_allowed": null, "connector_transaction_id": "TRaB2ZZji4QoFwuKCC4mwfi9", "frm_message": null, "metadata": null, "connector_metadata": null, "feature_metadata": { "redirect_response": null, "search_tags": null, "apple_pay_recurring_details": null, "gateway_system": "direct" }, "reference_id": null, "payment_link": null, "profile_id": "pro_GjR7afeLzCXVYhe62xl8", "surcharge_details": null, "attempt_count": 1, "merchant_decision": null, "merchant_connector_id": "mca_bSuyBQOAy40vpxbsiOCR", "incremental_authorization_allowed": false, "authorization_count": null, "incremental_authorizations": null, "external_authentication_details": null, "external_3ds_authentication_attempted": false, "expires_on": "2025-10-06T10:37:02.926Z", "fingerprint": null, "browser_info": null, "payment_channel": null, "payment_method_id": null, "network_transaction_id": null, "payment_method_status": null, "updated": "2025-10-06T10:22:05.203Z", "split_payments": null, "frm_metadata": null, "extended_authorization_applied": null, "request_extended_authorization": null, "capture_before": null, "merchant_order_reference_id": null, "order_tax_amount": null, "connector_mandate_id": null, "card_discovery": "manual", "force_3ds_challenge": false, "force_3ds_challenge_trigger": false, "issuer_error_code": null, "issuer_error_message": null, "is_iframe_redirection_enabled": null, "whole_connector_response": null, "enable_partial_authorization": null, "enable_overcapture": null, "is_overcapture_enabled": null, "network_details": null } ``` ## Refund ```sh curl --location 'localhost:8080/refunds' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_3cGokW5MFJmBnLTLmcS2EKAODQblXknbM6XCjDHLipq0CmLrUu3LNsIyFCDwgOwH' \ --data '{ "payment_id": "pay_K7EmavhAOgxV3pOMGHGL", "amount":389 }' ``` ```json { "refund_id": "ref_OL9OI4S00JxqZZk0l9j1", "payment_id": "pay_K7EmavhAOgxV3pOMGHGL", "amount": 389, "currency": "USD", "status": "pending", "reason": null, "metadata": null, "error_message": null, "error_code": null, "unified_code": null, "unified_message": null, "created_at": "2025-10-06T10:22:49.992Z", "updated_at": "2025-10-06T10:22:50.684Z", "connector": "finix", "profile_id": "pro_GjR7afeLzCXVYhe62xl8", "merchant_connector_id": "mca_bSuyBQOAy40vpxbsiOCR", "split_refunds": null, "issuer_error_code": null, "issuer_error_message": null } ``` Make Rsync ```sh curl --location 'localhost:8080/refunds/ref_OL9OI4S00JxqZZk0l9j1?force_sync=true' \ --header 'Accept: application/json' \ --header 'api-key: dev_3cGokW5MFJmBnLTLmcS2EKAODQblXknbM6XCjDHLipq0CmLrUu3LNsIyFCDwgOwH' ``` ```json { "refund_id": "ref_OL9OI4S00JxqZZk0l9j1", "payment_id": "pay_K7EmavhAOgxV3pOMGHGL", "amount": 389, "currency": "USD", "status": "succeeded", "reason": null, "metadata": null, "error_message": null, "error_code": null, "unified_code": null, "unified_message": null, "created_at": "2025-10-06T10:22:49.992Z", "updated_at": "2025-10-06T10:23:20.589Z", "connector": "finix", "profile_id": "pro_GjR7afeLzCXVYhe62xl8", "merchant_connector_id": "mca_bSuyBQOAy40vpxbsiOCR", "split_refunds": null, "issuer_error_code": null, "issuer_error_message": null } ``` </details> <img width="995" height="1008" alt="Screenshot 2025-10-06 at 2 51 30 PM" src="https://github.com/user-attachments/assets/fe013d3c-a608-4b89-9072-dd83b8f1c0dd" /> <img width="1010" height="995" alt="Screenshot 2025-10-06 at 2 51 42 PM" src="https://github.com/user-attachments/assets/5c4a923a-d9d3-4fce-b7a9-0cf9d152caa6" /> <img width="867" height="951" alt="Screenshot 2025-10-06 at 2 52 03 PM" src="https://github.com/user-attachments/assets/f85c3460-0f51-436b-90ff-2f9dfddfe1e2" /> <img width="1279" height="972" alt="Screenshot 2025-10-06 at 3 04 12 PM" src="https://github.com/user-attachments/assets/279759b8-5ed3-4cc2-9298-38cfffd704e4" />
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/connector_validation.rs` **2. External Connector Integration** - `crates/common_enums/src/connector_enums.rs` - `crates/connector_configs/src/connector.rs` - `crates/connector_configs/toml/development.toml` - ... and 9 more files **3. Type Definitions** - `crates/router/src/types/api/feature_matrix.rs` **4. Tests** - `config/deployments/integration_test.toml` - `cypress-tests/cypress/e2e/configs/Payment/Finix.js` - `cypress-tests/cypress/e2e/configs/Payment/Utils.js` **5. Configuration Files** - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - `config/development.toml` **6. Other** - `api-reference/v1/openapi_spec_v1.json` - `api-reference/v2/openapi_spec_v2.json` **Code Patterns Applied:** - Define new data structures (18 changes) - Implement new functions (39 changes) - Extend existing types with new fields (566 changes) - Add conditional logic for feature flags or filtering (3 changes) **Detailed Identifier Changes:** Commit 5c6635be: Files to modify: **crates/common_enums/src/connector_enums.rs** Modify existing code **crates/connector_configs/src/connector.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/finix.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/finix/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/finix/transformers/request.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/finix/transformers/response.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations.rs** Modify existing code **crates/router/src/core/connector_validation.rs** Modify existing code **crates/router/src/types/api/connector_mapping.rs** Modify existing code **crates/router/src/types/api/feature_matrix.rs** Modify existing code **crates/router/src/types/connector_transformers.rs** Modify existing code
{"pr_number": 9680, "pr_title": "feat(connector): Card non3ds | FINIX", "merged_at": "2025-10-09T13:19:07Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/connector_validation.rs"], "connectors": ["crates/common_enums/src/connector_enums.rs", "crates/connector_configs/src/connector.rs", "crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/hyperswitch_connectors/src/connectors/finix.rs", "crates/hyperswitch_connectors/src/connectors/finix/transformers.rs", "crates/hyperswitch_connectors/src/connectors/finix/transformers/request.rs", "crates/hyperswitch_connectors/src/connectors/finix/transformers/response.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/router/src/types/api/connector_mapping.rs", "crates/router/src/types/connector_transformers.rs"], "types": ["crates/router/src/types/api/feature_matrix.rs"], "tests": ["config/deployments/integration_test.toml", "cypress-tests/cypress/e2e/configs/Payment/Finix.js", "cypress-tests/cypress/e2e/configs/Payment/Utils.js"], "config": ["config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml"], "other": ["api-reference/v1/openapi_spec_v1.json", "api-reference/v2/openapi_spec_v2.json"]}, "change_types": {"structs_added": 18, "functions_added": 39, "enums_added": 7, "fields_added": 566, "imports_added": 16, "conditionals_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This PR includes: - Implementation of ```Nomupay payout flows```. - The connector utilizes ```payout_method_id``` for subsequent payouts. - ```Cypress tests``` for payout using ```payout_method_id```. - modified josekit, for empty payload, "{}" changed to "". commit: https://github.com/sumanmaji4/josekit-rs/commit/5ab54876c29a84f86aef8c169413a46026883efe Connector docs: https://docs.nomupay.com/payouts/integration/api-reference/#tag/Transfer-Methods/operation/getSubAccountInAccounts
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/enums.rs` **2. Core Business Logic** - `crates/router/src/core/admin.rs` **3. External Connector Integration** - `crates/common_enums/src/connector_enums.rs` - `crates/connector_configs/src/connector.rs` - `crates/connector_configs/toml/development.toml` - ... and 10 more files **4. Type Definitions** - `crates/router/src/types/api.rs` - `crates/router/src/types/transformers.rs` **5. Tests** - `cypress-tests/cypress/e2e/configs/Payout/Nomupay.js` - `cypress-tests/cypress/e2e/configs/Payout/Utils.js` - `cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js` - ... and 3 more files **6. Configuration Files** - `config/development.toml` - `config/docker_compose.toml` **7. Other** - `Cargo.lock` - `api-reference-v2/openapi_spec.json` - `api-reference/openapi_spec.json` - ... and 2 more files **Code Patterns Applied:** - Define new data structures (21 changes) - Implement new functions (21 changes) - Extend existing types with new fields (412 changes) - Add conditional logic for feature flags or filtering (7 changes) **Detailed Identifier Changes:** Commit 501365c8: Files to modify: **crates/api_models/src/enums.rs** Modify existing code **crates/common_enums/src/connector_enums.rs** Modify existing code **crates/connector_configs/src/connector.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nomupay.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/constants.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations.rs** Modify existing code **crates/hyperswitch_interfaces/src/api/payouts.rs** Modify existing code **crates/hyperswitch_interfaces/src/api/payouts_v2.rs** Modify existing code **crates/router/src/core/admin.rs** Modify existing code **crates/router/src/types/api.rs** Modify existing code **crates/router/src/types/transformers.rs** Modify existing code **crates/router/tests/connectors/nomupay.rs** Modify existing code **crates/test_utils/src/connector_auth.rs** Modify existing code
{"pr_number": 6511, "pr_title": "feat(connector): [Nomupay] Implement nomupay payouts flows", "merged_at": "2025-02-25T20:23:58Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "user", "connector"]}, "hierarchy": {"api_models": ["crates/api_models/src/enums.rs"], "core_business": ["crates/router/src/core/admin.rs"], "connectors": ["crates/common_enums/src/connector_enums.rs", "crates/connector_configs/src/connector.rs", "crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/hyperswitch_connectors/Cargo.toml", "crates/hyperswitch_connectors/src/connectors/nomupay.rs", "crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs", "crates/hyperswitch_connectors/src/constants.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/router/tests/connectors/nomupay.rs", "crates/router/tests/connectors/sample_auth.toml", "crates/test_utils/src/connector_auth.rs"], "types": ["crates/router/src/types/api.rs", "crates/router/src/types/transformers.rs"], "tests": ["cypress-tests/cypress/e2e/configs/Payout/Nomupay.js", "cypress-tests/cypress/e2e/configs/Payout/Utils.js", "cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js", "cypress-tests/cypress/e2e/spec/Payout/00006-PayoutUsingPayoutMethodId.cy.js", "cypress-tests/cypress/support/commands.js", "loadtest/config/development.toml"], "config": ["config/development.toml", "config/docker_compose.toml"], "other": ["Cargo.lock", "api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "crates/hyperswitch_interfaces/src/api/payouts.rs", "crates/hyperswitch_interfaces/src/api/payouts_v2.rs"]}, "change_types": {"structs_added": 21, "functions_added": 21, "enums_added": 3, "fields_added": 412, "imports_added": 19, "conditionals_added": 7}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
Update connector creds for Novalnet
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Tests** - `.github/workflows/cypress-tests-runner.yml` **Code Patterns Applied:** - Extend existing types with new fields (1 changes)
{"pr_number": 7035, "pr_title": "ci: update cypress creds for Novalnet", "merged_at": "2025-01-15T08:41:29Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["connector"]}, "hierarchy": {"tests": [".github/workflows/cypress-tests-runner.yml"]}, "change_types": {"fields_added": 1}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> Added PayPal Redirect Payment Flow. First we Create an Order and then in the return_url, customer gets redirected. After that we Capture the funds. Note: We are getting a missing fields error from the connector, possibly because this particular payment method hasn't been enabled from the connector dashboard.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/connector_configs/toml/development.toml` - `crates/connector_configs/toml/production.toml` - `crates/connector_configs/toml/sandbox.toml` - ... and 2 more files **2. Tests** - `config/deployments/integration_test.toml` - `loadtest/config/development.toml` **3. Configuration Files** - `config/config.example.toml` - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - ... and 2 more files **Code Patterns Applied:** - Define new data structures (12 changes) - Implement new functions (1 changes) - Extend existing types with new fields (91 changes) **Detailed Identifier Changes:** Commit b0b71935: Files to modify: **crates/hyperswitch_connectors/src/connectors/fiserv.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs** Modify existing code
{"pr_number": 8669, "pr_title": "feat(connector): [FISERV] Added PayPal Redirect Payment Method", "merged_at": "2025-08-08T09:29:32Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/hyperswitch_connectors/src/connectors/fiserv.rs", "crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml"]}, "change_types": {"structs_added": 12, "functions_added": 1, "enums_added": 10, "fields_added": 91, "imports_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
Hotfix for https://github.com/juspay/hyperswitch/pull/7623
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs`
{"pr_number": 7675, "pr_title": "fix(connector): [CYBERSOURCE] change ucaf_collection_indicator for mastercard payments via netcetera", "merged_at": "2025-04-01T13:21:26Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> - Fixed spell checks - Added `routing_approach` field in routing events API response
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/routing.rs` **2. Core Business Logic** - `crates/router/src/core/payments/routing.rs` - `crates/router/src/core/routing/helpers.rs` **3. Other** - `crates/analytics/src/routing_events/events.rs` **Code Patterns Applied:** - Extend existing types with new fields (4 changes)
{"pr_number": 8227, "pr_title": "fix: Fixed spell check", "merged_at": "2025-06-06T11:47:33Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "connector"]}, "hierarchy": {"api_models": ["crates/api_models/src/routing.rs"], "core_business": ["crates/router/src/core/payments/routing.rs", "crates/router/src/core/routing/helpers.rs"], "other": ["crates/analytics/src/routing_events/events.rs"]}, "change_types": {"fields_added": 4}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> `Blik`, `Klarna`, `Bitpay` PMs added for connector `shift4`.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/shift4.rs` - `crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs` **2. Tests** - `config/deployments/integration_test.toml` - `loadtest/config/development.toml` **3. Configuration Files** - `config/config.example.toml` - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - ... and 2 more files **Code Patterns Applied:** - Define new data structures (2 changes) - Implement new functions (4 changes) - Extend existing types with new fields (18 changes) **Detailed Identifier Changes:** Commit 37a95e37: Files to modify: **crates/hyperswitch_connectors/src/connectors/shift4.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs** Modify existing code
{"pr_number": 8478, "pr_title": "feat(connector): [shift4] Blik, Klarna, Bitpay PMs added", "merged_at": "2025-07-03T14:19:13Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/shift4.rs", "crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml"]}, "change_types": {"structs_added": 2, "functions_added": 4, "fields_added": 18}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Template PR
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/payments/flows.rs` **2. External Connector Integration** - `crates/common_enums/src/connector_enums.rs` - `crates/hyperswitch_connectors/src/connectors.rs` - `crates/hyperswitch_connectors/src/connectors/coingate.rs` - ... and 7 more files **3. Type Definitions** - `crates/router/src/types/api.rs` - `crates/router/src/types/transformers.rs` **4. Tests** - `config/deployments/integration_test.toml` - `loadtest/config/development.toml` **5. Configuration Files** - `config/config.example.toml` - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - ... and 3 more files **Code Patterns Applied:** - Define new data structures (10 changes) - Implement new functions (78 changes) - Extend existing types with new fields (157 changes) **Detailed Identifier Changes:** Commit dddb1b06: Files to modify: **crates/common_enums/src/connector_enums.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/coingate.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations_v2.rs** Modify existing code **crates/hyperswitch_interfaces/src/configs.rs** Modify existing code **crates/router/src/connector.rs** Modify existing code **crates/router/src/core/payments/flows.rs** Modify existing code **crates/router/src/types/api.rs** Modify existing code **crates/router/src/types/transformers.rs** Modify existing code **crates/router/tests/connectors/coingate.rs** Modify existing code **crates/test_utils/src/connector_auth.rs** Modify existing code
{"pr_number": 7052, "pr_title": "feat(connector): [COINGATE] Add Template PR ", "merged_at": "2025-02-06T14:33:44Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"core_business": ["crates/router/src/core/payments/flows.rs"], "connectors": ["crates/common_enums/src/connector_enums.rs", "crates/hyperswitch_connectors/src/connectors.rs", "crates/hyperswitch_connectors/src/connectors/coingate.rs", "crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/hyperswitch_connectors/src/default_implementations_v2.rs", "crates/router/src/connector.rs", "crates/router/tests/connectors/coingate.rs", "crates/test_utils/src/connector_auth.rs", "scripts/add_connector.sh"], "types": ["crates/router/src/types/api.rs", "crates/router/src/types/transformers.rs"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml", "crates/hyperswitch_interfaces/src/configs.rs"]}, "change_types": {"structs_added": 10, "functions_added": 78, "enums_added": 2, "fields_added": 157, "imports_added": 19}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
Transaction Monitoring means to record all the transaction that are happening in the billing connectors and storing them in our database. So that we can use those to train our model and get insights from that data in revenue recovery flow. To support monitor the transaction happening in the billing connectors and to get maximum efficiency we need the fields in the issue which are billing address, retry count, subscription next billing date. To make this support for recurly we need invoice api call to recurly. **_BillingConnectorInvoiceSync_** will do that work. This PR contains the Connector Integration V2 Implementations of BillingConnectorInvoiceSync , BillingConnectorPaymentsSync and RecoveryRecordBack only for recurly. This PR also contains transaction monitoring support for recurly.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/configs.rs` - `crates/hyperswitch_domain_models/src/revenue_recovery.rs` - `crates/hyperswitch_domain_models/src/router_request_types/revenue_recovery.rs` - ... and 2 more files **2. Core Business Logic** - `crates/router/src/core/errors.rs` - `crates/router/src/core/revenue_recovery/types.rs` - `crates/router/src/core/webhooks/recovery_incoming.rs` **3. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs` - `crates/hyperswitch_connectors/src/connectors/recurly.rs` - `crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs` - ... and 6 more files **4. Type Definitions** - `crates/hyperswitch_interfaces/src/types.rs` - `crates/router/src/types/api.rs` **5. Tests** - `config/deployments/integration_test.toml` - `loadtest/config/development.toml` **6. Configuration Files** - `config/config.example.toml` - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - ... and 4 more files **7. Other** - `crates/hyperswitch_interfaces/src/api/revenue_recovery_v2.rs` - `crates/hyperswitch_interfaces/src/conversion_impls.rs` - `crates/hyperswitch_interfaces/src/webhooks.rs` **Code Patterns Applied:** - Define new data structures (8 changes) - Implement new functions (20 changes) - Extend existing types with new fields (126 changes) **Detailed Identifier Changes:** Commit bcc57ebb: Files to modify: **crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/recurly.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations_v2.rs** Modify existing code **crates/hyperswitch_connectors/src/types.rs** Modify existing code **crates/hyperswitch_domain_models/src/configs.rs** Modify existing code **crates/hyperswitch_domain_models/src/revenue_recovery.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_request_types/revenue_recovery.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_response_types/revenue_recovery.rs** Modify existing code **crates/hyperswitch_domain_models/src/types.rs** Modify existing code **crates/hyperswitch_interfaces/src/api/revenue_recovery_v2.rs** Modify existing code **crates/hyperswitch_interfaces/src/conversion_impls.rs** Modify existing code **crates/hyperswitch_interfaces/src/types.rs** Modify existing code **crates/hyperswitch_interfaces/src/webhooks.rs** Modify existing code **crates/router/src/configs/secrets_transformers.rs** Modify existing code **crates/router/src/configs/settings.rs** Modify existing code **crates/router/src/core/errors.rs** Modify existing code **crates/router/src/core/revenue_recovery/types.rs** Modify existing code **crates/router/src/core/webhooks/recovery_incoming.rs** Modify existing code **crates/router/src/types/api.rs** Modify existing code **crates/router/tests/connectors/main.rs** Modify existing code **crates/router/tests/connectors/recurly.rs** Modify existing code
{"pr_number": 7867, "pr_title": "feat(connector): [Recurly] add invoice sync support along with transaction monitoring ", "merged_at": "2025-05-02T12:12:23Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "connector"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/configs.rs", "crates/hyperswitch_domain_models/src/revenue_recovery.rs", "crates/hyperswitch_domain_models/src/router_request_types/revenue_recovery.rs", "crates/hyperswitch_domain_models/src/router_response_types/revenue_recovery.rs", "crates/hyperswitch_domain_models/src/types.rs"], "core_business": ["crates/router/src/core/errors.rs", "crates/router/src/core/revenue_recovery/types.rs", "crates/router/src/core/webhooks/recovery_incoming.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs", "crates/hyperswitch_connectors/src/connectors/recurly.rs", "crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs", "crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/hyperswitch_connectors/src/default_implementations_v2.rs", "crates/hyperswitch_connectors/src/types.rs", "crates/router/tests/connectors/main.rs", "crates/router/tests/connectors/recurly.rs"], "types": ["crates/hyperswitch_interfaces/src/types.rs", "crates/router/src/types/api.rs"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml", "crates/router/src/configs/secrets_transformers.rs", "crates/router/src/configs/settings.rs"], "other": ["crates/hyperswitch_interfaces/src/api/revenue_recovery_v2.rs", "crates/hyperswitch_interfaces/src/conversion_impls.rs", "crates/hyperswitch_interfaces/src/webhooks.rs"]}, "change_types": {"structs_added": 8, "functions_added": 20, "enums_added": 1, "fields_added": 126, "imports_added": 13}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
Described in #6508
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/payments/flows.rs` **2. External Connector Integration** - `crates/hyperswitch_connectors/src/default_implementations.rs` **3. Type Definitions** - `crates/router/src/types/api.rs` - `crates/router/src/types/api/payouts.rs` **4. Other** - `crates/hyperswitch_interfaces/src/api.rs` - `crates/hyperswitch_interfaces/src/api/payouts.rs` - `crates/hyperswitch_interfaces/src/api/payouts_v2.rs` **Code Patterns Applied:** **Detailed Identifier Changes:** Commit 6808272d: Files to modify: **crates/hyperswitch_connectors/src/default_implementations.rs** Modify existing code **crates/hyperswitch_interfaces/src/api.rs** Modify existing code **crates/hyperswitch_interfaces/src/api/payouts.rs** Modify existing code **crates/hyperswitch_interfaces/src/api/payouts_v2.rs** Modify existing code **crates/router/src/core/payments/flows.rs** Modify existing code **crates/router/src/types/api.rs** Modify existing code **crates/router/src/types/api/payouts.rs** Modify existing code
{"pr_number": 6481, "pr_title": "refactor: move Payout traits to hyperswitch_interfaces for connectors crate", "merged_at": "2024-11-12T11:24:53Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["connector"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments/flows.rs"], "connectors": ["crates/hyperswitch_connectors/src/default_implementations.rs"], "types": ["crates/router/src/types/api.rs", "crates/router/src/types/api/payouts.rs"], "other": ["crates/hyperswitch_interfaces/src/api.rs", "crates/hyperswitch_interfaces/src/api/payouts.rs", "crates/hyperswitch_interfaces/src/api/payouts_v2.rs"]}, "change_types": {"imports_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Network error code, network advice code and network error message should be consumed across connectors. **Stripe** - Stripe shares network adivice code and network decline code. [source](https://docs.stripe.com/api/errors#errors-network_advice_code) Network advice code: a 2 digit code which indicates the advice returned by the network on how to proceed with an error. Network decline code : a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed. **Adyen** - The Merchant Advice Code (MAC) can be returned for both approved and refused Mastercard payments. This code provides additional information about the type of transaction or the reason why the payment failed. If the payment failed, the MAC gives guidance on if and when you can retry the payment. refusalReasonRaw: the full raw response. For example: 51 : Insufficient funds/over credit limit. refusalCodeRaw (only available for Visa and Mastercard transactions through our own acquiring platform): the numeric part of the raw response. For example: 51. This represents the underlying scenario that caused the transaction to fail. Note: This fields are populated in prod based on request with adyen team. **Cybersource** & **BOA** - processorInformation.merchantAdvice.codeRaw ([source](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/processor-info-aa/processor-info-merchant-advice-code-raw.html)) processorInformation.responseCode ([source](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/processor-info-aa/processor-info-response-code.html)). **Globalpay** - payment method result & code : [source](https://developer.globalpay.com/resources/error-responses#payment-method-result--message) **Worldpay** - Refusal response code and refusal advice code [source](https://developer.worldpay.com/products/access/reference/refusal-response) Network error information availability across connectors and flows - present : network error related fields are populating - not present: flow is present but fields are not populating. - not availble: flow itself not available for a connector | Connector | Authorize response | Psync response | Webhook response | | ------------- | ------------- | ------------- | ----------| | Stripe | present | present | present | | adyen | present | not available | present | | cybersource | present | present | not available | | worldpay | present | not present | not present | | bank of america | present | present | not available | | globalpay | present | present | present |
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs` - `crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs` - `crates/hyperswitch_connectors/src/connectors/globalpay/response.rs` - ... and 5 more files **Code Patterns Applied:** - Define new data structures (2 changes) - Extend existing types with new fields (70 changes) **Detailed Identifier Changes:** Commit b83e044b: Files to modify: **crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/globalpay/response.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/worldpay/response.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs** Modify existing code **crates/router/src/connector/stripe.rs** Modify existing code **crates/router/src/connector/stripe/transformers.rs** Modify existing code
{"pr_number": 7760, "pr_title": "fix(connector): Add network error message support for payment connectors", "merged_at": "2025-04-11T10:49:15Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs", "crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs", "crates/hyperswitch_connectors/src/connectors/globalpay/response.rs", "crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/worldpay/response.rs", "crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs", "crates/router/src/connector/stripe.rs", "crates/router/src/connector/stripe/transformers.rs"]}, "change_types": {"structs_added": 2, "fields_added": 70, "imports_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> https://github.com/juspay/hyperswitch/pull/7978
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Database Layer (Queries & Schema)** - `crates/diesel_models/src/authentication.rs` **2. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/router_request_types/authentication.rs` - `crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs` - `crates/hyperswitch_domain_models/src/router_response_types.rs` **3. Core Business Logic** - `crates/router/src/core/authentication.rs` - `crates/router/src/core/authentication/utils.rs` - `crates/router/src/core/payments.rs` - ... and 7 more files **4. External Connector Integration** - `crates/router/src/connector/gpayments/gpayments_types.rs` - `crates/router/src/connector/netcetera/transformers.rs` - `crates/router/src/connector/threedsecureio/transformers.rs` **5. Type Definitions** - `crates/router/src/types/api/authentication.rs` - `crates/router/src/types/domain.rs` - `crates/router/src/types/transformers.rs` **6. Other** - `crates/hyperswitch_interfaces/src/authentication.rs` **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (8 changes) - Extend existing types with new fields (32 changes) - Add conditional logic for feature flags or filtering (4 changes) **Detailed Identifier Changes:** Commit 4383ecf1: Files to modify: **crates/diesel_models/src/authentication.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_request_types/authentication.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_response_types.rs** Modify existing code **crates/hyperswitch_interfaces/src/authentication.rs** Modify existing code **crates/router/src/connector/gpayments/gpayments_types.rs** Modify existing code **crates/router/src/connector/netcetera/transformers.rs** Modify existing code **crates/router/src/connector/threedsecureio/transformers.rs** Modify existing code **crates/router/src/core/authentication.rs** Modify existing code **crates/router/src/core/authentication/utils.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code **crates/router/src/core/payments/operations/payment_confirm.rs** Modify existing code **crates/router/src/core/payments/operations/payment_response.rs** Modify existing code **crates/router/src/core/payments/operations/payment_status.rs** Modify existing code **crates/router/src/core/payments/transformers.rs** Modify existing code **crates/router/src/core/payments/types.rs** Modify existing code **crates/router/src/core/unified_authentication_service/utils.rs** Modify existing code **crates/router/src/core/webhooks/incoming.rs** Modify existing code **crates/router/src/types/api/authentication.rs** Modify existing code **crates/router/src/types/domain.rs** Modify existing code **crates/router/src/types/transformers.rs** Modify existing code
{"pr_number": 8005, "pr_title": "refactor(authentication): moved cavv storing from table to temp locker", "merged_at": "2025-05-12T13:55:06Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"database": ["crates/diesel_models/src/authentication.rs"], "domain": ["crates/hyperswitch_domain_models/src/router_request_types/authentication.rs", "crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs", "crates/hyperswitch_domain_models/src/router_response_types.rs"], "core_business": ["crates/router/src/core/authentication.rs", "crates/router/src/core/authentication/utils.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/operations/payment_confirm.rs", "crates/router/src/core/payments/operations/payment_response.rs", "crates/router/src/core/payments/operations/payment_status.rs", "crates/router/src/core/payments/transformers.rs", "crates/router/src/core/payments/types.rs", "crates/router/src/core/unified_authentication_service/utils.rs", "crates/router/src/core/webhooks/incoming.rs"], "connectors": ["crates/router/src/connector/gpayments/gpayments_types.rs", "crates/router/src/connector/netcetera/transformers.rs", "crates/router/src/connector/threedsecureio/transformers.rs"], "types": ["crates/router/src/types/api/authentication.rs", "crates/router/src/types/domain.rs", "crates/router/src/types/transformers.rs"], "other": ["crates/hyperswitch_interfaces/src/authentication.rs"]}, "change_types": {"structs_added": 1, "functions_added": 8, "fields_added": 32, "imports_added": 5, "conditionals_added": 4}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
ArchiPEL requires one-way TLS in their UAT environment to verify incoming requests. To support this: A CA certificate must be provided and included with each request to enable proper server verification. NOTE: The PEM certificate must be converted to a JSON-safe string format (i.e., escaped \n as \\r\\n or \\n). **_(Please comment if you think there's any better way of doing this)_** - This PR ensures that the CA certificate is properly parsed and integrated into the TLS client setup, supporting ArchiPEL’s verification requirements. - This PR also adds wasm changes to add CA certificate PEM from the dashboard. - This PR also adds postman collection changes for archipel to accomodate this new change @gbague
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/payment_methods/cards.rs` **2. External Connector Integration** - `crates/connector_configs/toml/development.toml` - `crates/connector_configs/toml/production.toml` - `crates/connector_configs/toml/sandbox.toml` - ... and 3 more files **3. Utils** - `crates/common_utils/src/request.rs` **4. Other** - `crates/external_services/src/http_client.rs` - `crates/external_services/src/http_client/client.rs` - `crates/router/src/services/openidconnect.rs` - ... and 2 more files **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (2 changes) - Extend existing types with new fields (7 changes) - Add conditional logic for feature flags or filtering (3 changes) **Detailed Identifier Changes:** Commit e6558329: Files to modify: **crates/common_utils/src/request.rs** Modify existing code **crates/external_services/src/http_client.rs** Modify existing code **crates/external_services/src/http_client/client.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/archipel.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs** Modify existing code **crates/router/src/core/payment_methods/cards.rs** Modify existing code **crates/router/src/services/openidconnect.rs** Modify existing code
{"pr_number": 8128, "pr_title": "feat(core): add one-way TLS support with CA certificate for ArchiPEL UAT environment", "merged_at": "2025-05-25T15:58:06Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"core_business": ["crates/router/src/core/payment_methods/cards.rs"], "connectors": ["crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/hyperswitch_connectors/src/connectors/archipel.rs", "crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs", "crates/router/tests/connectors/sample_auth.toml"], "utils": ["crates/common_utils/src/request.rs"], "other": ["crates/external_services/src/http_client.rs", "crates/external_services/src/http_client/client.rs", "crates/router/src/services/openidconnect.rs", "postman/collection-dir/archipel/Flow Testcases/QuickStart/Payment Connector - Create/request.json", "postman/collection-json/archipel.postman_collection.json"]}, "change_types": {"structs_added": 1, "functions_added": 2, "fields_added": 7, "imports_added": 1, "conditionals_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This PR creates a new table named `themes` in the DB. This will be used to store the `theme_id` for any lineage of `tenant_id`, `org_id`, `merchant_id` and `profile_id`.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Database Layer (Queries & Schema)** - `crates/diesel_models/src/query/user.rs` - `crates/diesel_models/src/query/user/theme.rs` - `crates/diesel_models/src/schema.rs` - ... and 3 more files **2. Type Definitions** - `crates/common_utils/src/types.rs` - `crates/common_utils/src/types/theme.rs` **3. Other** - `crates/router/src/db.rs` - `crates/router/src/db/kafka_store.rs` - `crates/router/src/db/user.rs` - ... and 4 more files **Code Patterns Applied:** - Define new data structures (2 changes) - Implement new functions (17 changes) - Extend existing types with new fields (59 changes) - Add conditional logic for feature flags or filtering (2 changes) - Modify database queries (11 changes) **Detailed Identifier Changes:** Commit 29be1d4f: Files to modify: **crates/common_utils/src/types.rs** Modify existing code **crates/common_utils/src/types/theme.rs** Modify existing code **crates/diesel_models/src/query/user.rs** Modify existing code **crates/diesel_models/src/query/user/theme.rs** Modify existing code **crates/diesel_models/src/schema.rs** Modify existing code **crates/diesel_models/src/schema_v2.rs** Modify existing code **crates/diesel_models/src/user.rs** Modify existing code **crates/diesel_models/src/user/theme.rs** Modify existing code **crates/router/src/db.rs** Modify existing code **crates/router/src/db/kafka_store.rs** Modify existing code **crates/router/src/db/user.rs** Modify existing code **crates/router/src/db/user/theme.rs** Modify existing code **crates/storage_impl/src/mock_db.rs** Modify existing code
{"pr_number": 6533, "pr_title": "feat(themes): Setup themes table", "merged_at": "2024-11-14T09:16:40Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["merchant"]}, "hierarchy": {"database": ["crates/diesel_models/src/query/user.rs", "crates/diesel_models/src/query/user/theme.rs", "crates/diesel_models/src/schema.rs", "crates/diesel_models/src/schema_v2.rs", "crates/diesel_models/src/user.rs", "crates/diesel_models/src/user/theme.rs"], "types": ["crates/common_utils/src/types.rs", "crates/common_utils/src/types/theme.rs"], "other": ["crates/router/src/db.rs", "crates/router/src/db/kafka_store.rs", "crates/router/src/db/user.rs", "crates/router/src/db/user/theme.rs", "crates/storage_impl/src/mock_db.rs", "migrations/2024-11-06-121933_setup-themes-table/down.sql", "migrations/2024-11-06-121933_setup-themes-table/up.sql"]}, "change_types": {"structs_added": 2, "functions_added": 17, "enums_added": 1, "fields_added": 59, "imports_added": 18, "conditionals_added": 2, "database_queries": 11}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This PR adds payment methods list endpoint for payment methods endpoint for payment methods. This will be used to display the list of payment methods that are enabled by the merchant. <img width="1720" alt="Screenshot 2025-01-03 at 11 59 48 PM" src="https://github.com/user-attachments/assets/8302313f-0acb-41a5-a227-c8ee397d89f7" /> <!-- Provide links to the files with corresponding changes. Following are the paths where you can find config files: 1. `config` 2. `crates/router/src/configs` 3. `loadtest/config` --> ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one first so the PR can focus on the implementation (unless it is an obvious bug or documentation fix that will have little conversation). --> ## How did you test it? <!-- Did you write an integration/unit/API test to verify the code changes? Or did you test this change manually (provide relevant screenshots)? --> - Create a customer ```bash curl --location 'http://localhost:8080/v2/customers' \ --header 'x-profile-id: pro_Jl8KY80C28z1mRdXcDBT' \ --header 'Content-Type: application/json' \ --header 'api-key: dev_6BoCe4RXBXF6bxdXSvDilRNJzAyC44zmEzxrQrBAswLtV2wc91CNOGUTZ2ys5Ff0' \ --data-raw '{ "merchant_reference_id": "customer_1735122196", "name": "John Doe", "email": "guest@example.com", "phone": "999999999", "phone_country_code": "+65", "description": "First customer", "default_billing_address": { "line1": "1467", "line2": "Harrison Street", "line3": "Harrison Street", "city": "San Fransico", "state": "California", "zip": "94122", "country": "US", "first_name": "joseph", "last_name": "Doe" }, "default_shipping_address": { "line1": "1467", "line2": "Harrison Street", "line3": "Harrison Street", "city": "San Fransico", "state": "California", "zip": "94122", "country": "US", "first_name": "joseph", "last_name": "Doe" }, "metadata": { "udf1": "value1", "new_customer": "true", "login_date": "2019-09-10T10:11:12Z" } }' ``` - Create a payment method intent ```bash curl --location 'http://localhost:8080/v2/payment-methods/create-intent' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'X-Profile-Id: pro_Jl8KY80C28z1mRdXcDBT' \ --header 'api-key: dev_6BoCe4RXBXF6bxdXSvDilRNJzAyC44zmEzxrQrBAswLtV2wc91CNOGUTZ2ys5Ff0' \ --data '{ "customer_id": "12345_cus_0193f9043aae775099131fb81108488f" }' ``` - List the payment methods ```bash curl --location 'http://localhost:8080/v2/payment-methods/12345_pm_0193f99973757b30a97807211a19d8fc/list-enabled-payment-methods' \ --header 'api-key: dev_6BoCe4RXBXF6bxdXSvDilRNJzAyC44zmEzxrQrBAswLtV2wc91CNOGUTZ2ys5Ff0' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_Jl8KY80C28z1mRdXcDBT' ``` - Response ( given that stripe connector is created ) ```json { "payment_methods_enabled": [ { "payment_method_type": "card_redirect", "payment_method_subtype": "card_redirect", "required_fields": [] }, { "payment_method_type": "card", "payment_method_subtype": "credit", "required_fields": [ { "required_field": "payment_method_data.card.card_number", "display_name": "card_number", "field_type": "user_card_number", "value": null }, { "required_field": "payment_method_data.card.card_exp_year", "display_name": "card_exp_year", "field_type": "user_card_expiry_year", "value": null }, { "required_field": "payment_method_data.card.card_cvc", "display_name": "card_cvc", "field_type": "user_card_cvc", "value": null }, { "required_field": "payment_method_data.card.card_exp_month", "display_name": "card_exp_month", "field_type": "user_card_expiry_month", "value": null } ] }, { "payment_method_type": "card", "payment_method_subtype": "debit", "required_fields": [] } ], } ``` ## Checklist <!-- Put an `x` in the boxes that apply --> - [x] I formatted the code `cargo +nightly fmt --all` - [x] I addressed lints thrown by `cargo clippy` - [x] I reviewed the submitted code
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/admin.rs` - `crates/api_models/src/connector_enums.rs` - `crates/api_models/src/events.rs` - ... and 3 more files **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/merchant_connector_account.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/merchant_connector_account.rs` **4. Core Business Logic** - `crates/router/src/core/admin.rs` - `crates/router/src/core/apple_pay_certificates_migration.rs` - `crates/router/src/core/disputes.rs` - ... and 12 more files **5. External Connector Integration** - `crates/common_enums/src/connector_enums.rs` - `crates/router/src/configs/defaults/payment_connector_required_fields.rs` - `crates/router/src/db/merchant_connector_account.rs` **6. Type Definitions** - `crates/router/src/types/api/payment_methods.rs` **7. Utils** - `crates/common_utils/src/events.rs` - `crates/common_utils/src/id_type/global_id/payment_methods.rs` **8. Configuration Files** - `config/development.toml` - `config/payment_required_fields_v2.toml` - `crates/router/Cargo.toml` - ... and 3 more files **9. Other** - `api-reference-v2/api-reference/payment-methods/payment-method--payment-methods-list.mdx` - `api-reference-v2/mint.json` - `api-reference-v2/openapi_spec.json` - ... and 9 more files **Code Patterns Applied:** - Define new data structures (9 changes) - Implement new functions (32 changes) - Extend existing types with new fields (88 changes) **Detailed Identifier Changes:** Commit 6a1f5a88: Files to modify: **crates/api_models/src/admin.rs** Modify existing code **crates/api_models/src/connector_enums.rs** Modify existing code **crates/api_models/src/events.rs** Modify existing code **crates/api_models/src/events/payment.rs** Modify existing code **crates/api_models/src/payment_methods.rs** Modify existing code **crates/api_models/src/payments.rs** Modify existing code **crates/common_enums/src/connector_enums.rs** Modify existing code **crates/common_utils/src/events.rs** Modify existing code **crates/common_utils/src/id_type/global_id/payment_methods.rs** Modify existing code **crates/diesel_models/src/merchant_connector_account.rs** Modify existing code **crates/hyperswitch_domain_models/src/merchant_connector_account.rs** Modify existing code **crates/openapi/src/openapi.rs** Modify existing code **crates/openapi/src/openapi_v2.rs** Modify existing code **crates/openapi/src/routes.rs** Modify existing code **crates/openapi/src/routes/payment_method.rs** Modify existing code **crates/router/src/configs/defaults/payment_connector_required_fields.rs** Modify existing code **crates/router/src/configs/defaults/payout_required_fields.rs** Modify existing code **crates/router/src/configs/settings.rs** Modify existing code **crates/router/src/core/admin.rs** Modify existing code **crates/router/src/core/apple_pay_certificates_migration.rs** Modify existing code **crates/router/src/core/disputes.rs** Modify existing code **crates/router/src/core/payment_methods.rs** Modify existing code **crates/router/src/core/payment_methods/cards.rs** Modify existing code **crates/router/src/core/payment_methods/transformers.rs** Modify existing code **crates/router/src/core/payments/flows/session_flow.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code **crates/router/src/core/payments/payment_methods.rs** Modify existing code **crates/router/src/core/payouts/transformers.rs** Modify existing code **crates/router/src/core/relay.rs** Modify existing code **crates/router/src/core/relay/utils.rs** Modify existing code **crates/router/src/core/routing/helpers.rs** Modify existing code **crates/router/src/core/user/dashboard_metadata.rs** Modify existing code **crates/router/src/core/webhooks/incoming_v2.rs** Modify existing code **crates/router/src/db/merchant_connector_account.rs** Modify existing code **crates/router/src/routes/app.rs** Modify existing code **crates/router/src/routes/disputes.rs** Modify existing code **crates/router/src/routes/payment_methods.rs** Modify existing code **crates/router/src/routes/user.rs** Modify existing code **crates/router/src/types/api/payment_methods.rs** Modify existing code **crates/router_env/src/logger/config.rs** Modify existing code
{"pr_number": 6938, "pr_title": "feat(payment_methods_v2): add payment methods list endpoint", "merged_at": "2025-01-13T10:05:07Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs", "crates/api_models/src/connector_enums.rs", "crates/api_models/src/events.rs", "crates/api_models/src/events/payment.rs", "crates/api_models/src/payment_methods.rs", "crates/api_models/src/payments.rs"], "database": ["crates/diesel_models/src/merchant_connector_account.rs"], "domain": ["crates/hyperswitch_domain_models/src/merchant_connector_account.rs"], "core_business": ["crates/router/src/core/admin.rs", "crates/router/src/core/apple_pay_certificates_migration.rs", "crates/router/src/core/disputes.rs", "crates/router/src/core/payment_methods.rs", "crates/router/src/core/payment_methods/cards.rs", "crates/router/src/core/payment_methods/transformers.rs", "crates/router/src/core/payments/flows/session_flow.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/payment_methods.rs", "crates/router/src/core/payouts/transformers.rs", "crates/router/src/core/relay.rs", "crates/router/src/core/relay/utils.rs", "crates/router/src/core/routing/helpers.rs", "crates/router/src/core/user/dashboard_metadata.rs", "crates/router/src/core/webhooks/incoming_v2.rs"], "connectors": ["crates/common_enums/src/connector_enums.rs", "crates/router/src/configs/defaults/payment_connector_required_fields.rs", "crates/router/src/db/merchant_connector_account.rs"], "types": ["crates/router/src/types/api/payment_methods.rs"], "utils": ["crates/common_utils/src/events.rs", "crates/common_utils/src/id_type/global_id/payment_methods.rs"], "config": ["config/development.toml", "config/payment_required_fields_v2.toml", "crates/router/Cargo.toml", "crates/router/src/configs/defaults/payout_required_fields.rs", "crates/router/src/configs/settings.rs", "crates/router_env/src/logger/config.rs"], "other": ["api-reference-v2/api-reference/payment-methods/payment-method--payment-methods-list.mdx", "api-reference-v2/mint.json", "api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "crates/openapi/src/openapi.rs", "crates/openapi/src/openapi_v2.rs", "crates/openapi/src/routes.rs", "crates/openapi/src/routes/payment_method.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/disputes.rs", "crates/router/src/routes/payment_methods.rs", "crates/router/src/routes/user.rs"]}, "change_types": {"structs_added": 9, "functions_added": 32, "enums_added": 1, "fields_added": 88, "imports_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Deleting API Key needs Merchant ID. So, deleting it after deleting the merchant itself yields a error message in the response which goes like `"API key not provided or invalid API key used"`, but, its solely because the Merchant ID used is not authenticated because the Merchant ID is already deleted.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Other** - `postman/collection-dir/stripe/PaymentConnectors/.meta.json`
{"pr_number": 8339, "pr_title": "fix(postman): fix `stripe` test cases failures", "merged_at": "2025-06-13T08:20:44Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["merchant", "user"]}, "hierarchy": {"other": ["postman/collection-dir/stripe/PaymentConnectors/.meta.json"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> Add create and update, bulk update APIs for cards_info table. These APIs will be used to update card bin details stored in cards_info table.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/cards_info.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/cards_info.rs` - `crates/diesel_models/src/query/cards_info.rs` **3. Core Business Logic** - `crates/router/src/core/cards_info.rs` **4. Type Definitions** - `crates/router/src/types/storage/cards_info.rs` - `crates/router/src/types/transformers.rs` - `crates/router_env/src/logger/types.rs` **5. Utils** - `crates/router/src/routes/lock_utils.rs` **6. Other** - `crates/router/src/db/cards_info.rs` - `crates/router/src/db/kafka_store.rs` - `crates/router/src/routes/app.rs` - ... and 1 more files **Code Patterns Applied:** - Define new data structures (12 changes) - Implement new functions (32 changes) - Extend existing types with new fields (171 changes) - Modify database queries (1 changes) **Detailed Identifier Changes:** Commit 8e922d30: Files to modify: **crates/api_models/src/cards_info.rs** Modify existing code **crates/diesel_models/src/cards_info.rs** Modify existing code **crates/diesel_models/src/query/cards_info.rs** Modify existing code **crates/router/src/core/cards_info.rs** Modify existing code **crates/router/src/db/cards_info.rs** Modify existing code **crates/router/src/db/kafka_store.rs** Modify existing code **crates/router/src/routes/app.rs** Modify existing code **crates/router/src/routes/cards_info.rs** Modify existing code **crates/router/src/routes/lock_utils.rs** Modify existing code **crates/router/src/types/storage/cards_info.rs** Modify existing code **crates/router/src/types/transformers.rs** Modify existing code **crates/router_env/src/logger/types.rs** Modify existing code
{"pr_number": 7194, "pr_title": "feat(core): Add support for cards bin update", "merged_at": "2025-03-04T09:24:59Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user", "card"]}, "hierarchy": {"api_models": ["crates/api_models/src/cards_info.rs"], "database": ["crates/diesel_models/src/cards_info.rs", "crates/diesel_models/src/query/cards_info.rs"], "core_business": ["crates/router/src/core/cards_info.rs"], "types": ["crates/router/src/types/storage/cards_info.rs", "crates/router/src/types/transformers.rs", "crates/router_env/src/logger/types.rs"], "utils": ["crates/router/src/routes/lock_utils.rs"], "other": ["crates/router/src/db/cards_info.rs", "crates/router/src/db/kafka_store.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/cards_info.rs"]}, "change_types": {"structs_added": 12, "functions_added": 32, "enums_added": 1, "fields_added": 171, "imports_added": 15, "database_queries": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> In the CIT call, we store the stripe split payment details inside Mandate Metadata and during the MIT calls we retrieve the split payments data from there and use it in the MIT calls. And if the merchant sends split payment details again in the MIT call, we match it. If its the same we move forward. If different we throw an error.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/errors/types.rs` **2. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/errors/api_error_response.rs` **3. Core Business Logic** - `crates/router/src/core/errors/utils.rs` - `crates/router/src/core/payments/helpers.rs` **4. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/stripe.rs` - `crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs` **5. Type Definitions** - `crates/common_types/src/payments.rs` - `crates/common_utils/src/types.rs` **6. Other** - `crates/hyperswitch_interfaces/src/errors.rs` - `crates/router/src/compatibility/stripe/errors.rs` - `crates/storage_impl/src/errors.rs` **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (2 changes) - Extend existing types with new fields (17 changes) - Add conditional logic for feature flags or filtering (8 changes) **Detailed Identifier Changes:** Commit 17c30b61: Files to modify: **crates/api_models/src/errors/types.rs** Modify existing code **crates/common_types/src/payments.rs** Modify existing code **crates/common_utils/src/types.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/stripe.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs** Modify existing code **crates/hyperswitch_domain_models/src/errors/api_error_response.rs** Modify existing code **crates/hyperswitch_interfaces/src/errors.rs** Modify existing code **crates/router/src/compatibility/stripe/errors.rs** Modify existing code **crates/router/src/core/errors/utils.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code **crates/storage_impl/src/errors.rs** Modify existing code
{"pr_number": 8326, "pr_title": "fix(connector): [STRIPE] Retrieving Connect Account Id from Mandate Metadata in MITs", "merged_at": "2025-06-18T12:23:52Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/errors/types.rs"], "domain": ["crates/hyperswitch_domain_models/src/errors/api_error_response.rs"], "core_business": ["crates/router/src/core/errors/utils.rs", "crates/router/src/core/payments/helpers.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/stripe.rs", "crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"], "types": ["crates/common_types/src/payments.rs", "crates/common_utils/src/types.rs"], "other": ["crates/hyperswitch_interfaces/src/errors.rs", "crates/router/src/compatibility/stripe/errors.rs", "crates/storage_impl/src/errors.rs"]}, "change_types": {"structs_added": 1, "functions_added": 2, "fields_added": 17, "imports_added": 1, "conditionals_added": 8}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail -->
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/admin.rs` - `crates/api_models/src/lib.rs` - `crates/api_models/src/payments.rs` - ... and 1 more files **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/business_profile.rs` - `crates/diesel_models/src/payment_attempt.rs` - `crates/diesel_models/src/payment_intent.rs` - ... and 3 more files **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/business_profile.rs` - `crates/hyperswitch_domain_models/src/payments.rs` - `crates/hyperswitch_domain_models/src/payments/payment_attempt.rs` - ... and 1 more files **4. Core Business Logic** - `crates/router/src/core/admin.rs` - `crates/router/src/core/payments/helpers.rs` - `crates/router/src/core/payments/operations/payment_create.rs` - ... and 2 more files **5. Type Definitions** - `crates/common_utils/src/types.rs` - `crates/common_utils/src/types/primitive_wrappers.rs` - `crates/router/src/types/api/admin.rs` - ... and 1 more files **6. Utils** - `crates/router/src/utils/user/sample_data.rs` **7. Tests** - `crates/router/tests/payments.rs` - `crates/router/tests/payments2.rs` **8. Other** - `api-reference/openapi_spec.json` - `crates/storage_impl/src/mock_db/payment_attempt.rs` - `crates/storage_impl/src/payments/payment_attempt.rs` - ... and 2 more files **Code Patterns Applied:** - Define new data structures (3 changes) - Implement new functions (12 changes) - Extend existing types with new fields (157 changes) **Detailed Identifier Changes:** Commit e14d6c44: Files to modify: **crates/api_models/src/admin.rs** Modify existing code **crates/api_models/src/lib.rs** Modify existing code **crates/api_models/src/payments.rs** Modify existing code **crates/api_models/src/payments/trait_impls.rs** Modify existing code **crates/common_utils/src/types.rs** Modify existing code **crates/common_utils/src/types/primitive_wrappers.rs** Modify existing code **crates/diesel_models/src/business_profile.rs** Modify existing code **crates/diesel_models/src/payment_attempt.rs** Modify existing code **crates/diesel_models/src/payment_intent.rs** Modify existing code **crates/diesel_models/src/schema.rs** Modify existing code **crates/diesel_models/src/schema_v2.rs** Modify existing code **crates/diesel_models/src/user/sample_data.rs** Modify existing code **crates/hyperswitch_domain_models/src/business_profile.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments/payment_attempt.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments/payment_intent.rs** Modify existing code **crates/router/src/core/admin.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code **crates/router/src/core/payments/operations/payment_create.rs** Modify existing code **crates/router/src/core/payments/retry.rs** Modify existing code **crates/router/src/core/payments/transformers.rs** Modify existing code **crates/router/src/types/api/admin.rs** Modify existing code **crates/router/src/types/storage/payment_attempt.rs** Modify existing code **crates/router/src/utils/user/sample_data.rs** Modify existing code **crates/router/tests/payments.rs** Modify existing code **crates/router/tests/payments2.rs** Modify existing code **crates/storage_impl/src/mock_db/payment_attempt.rs** Modify existing code **crates/storage_impl/src/payments/payment_attempt.rs** Modify existing code
{"pr_number": 6607, "pr_title": "feat(core): api ,domain and diesel model changes for extended authorization", "merged_at": "2025-02-18T16:54:28Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs", "crates/api_models/src/lib.rs", "crates/api_models/src/payments.rs", "crates/api_models/src/payments/trait_impls.rs"], "database": ["crates/diesel_models/src/business_profile.rs", "crates/diesel_models/src/payment_attempt.rs", "crates/diesel_models/src/payment_intent.rs", "crates/diesel_models/src/schema.rs", "crates/diesel_models/src/schema_v2.rs", "crates/diesel_models/src/user/sample_data.rs"], "domain": ["crates/hyperswitch_domain_models/src/business_profile.rs", "crates/hyperswitch_domain_models/src/payments.rs", "crates/hyperswitch_domain_models/src/payments/payment_attempt.rs", "crates/hyperswitch_domain_models/src/payments/payment_intent.rs"], "core_business": ["crates/router/src/core/admin.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations/payment_create.rs", "crates/router/src/core/payments/retry.rs", "crates/router/src/core/payments/transformers.rs"], "types": ["crates/common_utils/src/types.rs", "crates/common_utils/src/types/primitive_wrappers.rs", "crates/router/src/types/api/admin.rs", "crates/router/src/types/storage/payment_attempt.rs"], "utils": ["crates/router/src/utils/user/sample_data.rs"], "tests": ["crates/router/tests/payments.rs", "crates/router/tests/payments2.rs"], "other": ["api-reference/openapi_spec.json", "crates/storage_impl/src/mock_db/payment_attempt.rs", "crates/storage_impl/src/payments/payment_attempt.rs", "migrations/2024-11-13-090548_add-extended-authorization-related-fields/down.sql", "migrations/2024-11-13-090548_add-extended-authorization-related-fields/up.sql"]}, "change_types": {"structs_added": 3, "functions_added": 12, "fields_added": 157, "imports_added": 9}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Renamed Connector Name from Bluecode to Calida. Payment Method Type Bluecode remains the same.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/connector_endpoints.rs` **2. Core Business Logic** - `crates/router/src/core/connector_validation.rs` **3. External Connector Integration** - `crates/common_enums/src/connector_enums.rs` - `crates/connector_configs/src/connector.rs` - `crates/connector_configs/toml/development.toml` - ... and 15 more files **4. Type Definitions** - `crates/router/src/types/api/feature_matrix.rs` **5. Tests** - `config/deployments/integration_test.toml` - `loadtest/config/development.toml` **6. Configuration Files** - `config/config.example.toml` - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - ... and 2 more files **7. Other** - `api-reference/v1/openapi_spec_v1.json` - `api-reference/v2/openapi_spec_v2.json` **Code Patterns Applied:** - Define new data structures (11 changes) - Implement new functions (2 changes) - Extend existing types with new fields (22 changes) **Detailed Identifier Changes:** Commit 04a14e39: Files to modify: **crates/common_enums/src/connector_enums.rs** Modify existing code **crates/connector_configs/src/connector.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/bluecode.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations_v2.rs** Modify existing code **crates/hyperswitch_domain_models/src/connector_endpoints.rs** Modify existing code **crates/payment_methods/src/configs/payment_connector_required_fields.rs** Modify existing code **crates/router/src/connector.rs** Modify existing code **crates/router/src/core/connector_validation.rs** Modify existing code **crates/router/src/types/api/connector_mapping.rs** Modify existing code **crates/router/src/types/api/feature_matrix.rs** Modify existing code **crates/router/src/types/connector_transformers.rs** Modify existing code **crates/router/tests/connectors/bluecode.rs** Modify existing code **crates/router/tests/connectors/main.rs** Modify existing code **crates/test_utils/src/connector_auth.rs** Modify existing code
{"pr_number": 9712, "pr_title": "fix(connector): [CALIDA] Changed Connector Name From Bluecode to Calida", "merged_at": "2025-10-07T16:39:34Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/connector_endpoints.rs"], "core_business": ["crates/router/src/core/connector_validation.rs"], "connectors": ["crates/common_enums/src/connector_enums.rs", "crates/connector_configs/src/connector.rs", "crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/hyperswitch_connectors/src/connectors.rs", "crates/hyperswitch_connectors/src/connectors/bluecode.rs", "crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/hyperswitch_connectors/src/default_implementations_v2.rs", "crates/payment_methods/src/configs/payment_connector_required_fields.rs", "crates/router/src/connector.rs", "crates/router/src/types/api/connector_mapping.rs", "crates/router/src/types/connector_transformers.rs", "crates/router/tests/connectors/bluecode.rs", "crates/router/tests/connectors/main.rs", "crates/router/tests/connectors/sample_auth.toml", "crates/test_utils/src/connector_auth.rs"], "types": ["crates/router/src/types/api/feature_matrix.rs"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml"], "other": ["api-reference/v1/openapi_spec_v1.json", "api-reference/v2/openapi_spec_v2.json"]}, "change_types": {"structs_added": 11, "functions_added": 2, "enums_added": 1, "fields_added": 22, "imports_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Currently we are creating the interfaces for CRUD operations for each resource in hyperswitch_domain_models which returns a result of Result<Resource, hyperswitch_domain_models::errors::StorageError> and we are implementing them in storage_impl which is expected to return hyperswitch_domain_models::errors::StorageError. Instead we are making the result in hyperswitch_domain_models to Result<Resource, Self::Error> by which anyone implementing the trait can pass their own error type, this way we can directly return storage_impl::errors::StorageError directly. So a conversion from DomainStorageError to StorageError is not needed. Datastorage error can be completely replaced with StorageError as both have conversion of ApplicationErrorResponse and other required errors
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/errors.rs` - `crates/hyperswitch_domain_models/src/payment_methods.rs` - `crates/hyperswitch_domain_models/src/payments/payment_attempt.rs` - ... and 3 more files **2. Core Business Logic** - `crates/router/src/core/errors.rs` - `crates/router/src/core/errors/user/sample_data.rs` - `crates/router/src/core/errors/utils.rs` - ... and 6 more files **3. Utils** - `crates/storage_impl/src/utils.rs` **4. Other** - `api-reference-v2/openapi_spec.json` - `api-reference/openapi_spec.json` - `crates/analytics/src/opensearch.rs` - ... and 21 more files **Code Patterns Applied:** - Implement new functions (4 changes) - Extend existing types with new fields (18 changes) - Add conditional logic for feature flags or filtering (1 changes) - Modify database queries (12 changes) **Detailed Identifier Changes:** Commit 80218d0f: Files to modify: **crates/analytics/src/opensearch.rs** Modify existing code **crates/hyperswitch_domain_models/src/errors.rs** Modify existing code **crates/hyperswitch_domain_models/src/payment_methods.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments/payment_attempt.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments/payment_intent.rs** Modify existing code **crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs** Modify existing code **crates/hyperswitch_domain_models/src/payouts/payouts.rs** Modify existing code **crates/payment_methods/src/state.rs** Modify existing code **crates/router/src/core/errors.rs** Modify existing code **crates/router/src/core/errors/user/sample_data.rs** Modify existing code **crates/router/src/core/errors/utils.rs** Modify existing code **crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code **crates/router/src/core/payments/operations/payment_status.rs** Modify existing code **crates/router/src/core/payouts/helpers.rs** Modify existing code **crates/router/src/core/payouts/validator.rs** Modify existing code **crates/router/src/db.rs** Modify existing code **crates/router/src/db/kafka_store.rs** Modify existing code **crates/router/src/db/user/sample_data.rs** Modify existing code **crates/router/src/events.rs** Modify existing code **crates/router/src/services.rs** Modify existing code **crates/storage_impl/src/database/store.rs** Modify existing code **crates/storage_impl/src/errors.rs** Modify existing code **crates/storage_impl/src/kv_router_store.rs** Modify existing code **crates/storage_impl/src/lib.rs** Modify existing code **crates/storage_impl/src/lookup.rs** Modify existing code **crates/storage_impl/src/mock_db.rs** Modify existing code **crates/storage_impl/src/mock_db/payment_attempt.rs** Modify existing code **crates/storage_impl/src/mock_db/payment_intent.rs** Modify existing code **crates/storage_impl/src/mock_db/payout_attempt.rs** Modify existing code **crates/storage_impl/src/mock_db/payouts.rs** Modify existing code **crates/storage_impl/src/payment_method.rs** Modify existing code **crates/storage_impl/src/payments/payment_attempt.rs** Modify existing code **crates/storage_impl/src/payments/payment_intent.rs** Modify existing code **crates/storage_impl/src/payouts/payout_attempt.rs** Modify existing code **crates/storage_impl/src/payouts/payouts.rs** Modify existing code **crates/storage_impl/src/utils.rs** Modify existing code
{"pr_number": 7537, "pr_title": "refactor(router): make error_type generic in domain_models inorder to avoid conversion of errors in storage_impl", "merged_at": "2025-03-21T14:08:47Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/errors.rs", "crates/hyperswitch_domain_models/src/payment_methods.rs", "crates/hyperswitch_domain_models/src/payments/payment_attempt.rs", "crates/hyperswitch_domain_models/src/payments/payment_intent.rs", "crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs", "crates/hyperswitch_domain_models/src/payouts/payouts.rs"], "core_business": ["crates/router/src/core/errors.rs", "crates/router/src/core/errors/user/sample_data.rs", "crates/router/src/core/errors/utils.rs", "crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations/payment_status.rs", "crates/router/src/core/payouts/helpers.rs", "crates/router/src/core/payouts/validator.rs"], "utils": ["crates/storage_impl/src/utils.rs"], "other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "crates/analytics/src/opensearch.rs", "crates/payment_methods/src/state.rs", "crates/router/src/db.rs", "crates/router/src/db/kafka_store.rs", "crates/router/src/db/user/sample_data.rs", "crates/router/src/events.rs", "crates/router/src/services.rs", "crates/storage_impl/src/database/store.rs", "crates/storage_impl/src/errors.rs", "crates/storage_impl/src/kv_router_store.rs", "crates/storage_impl/src/lib.rs", "crates/storage_impl/src/lookup.rs", "crates/storage_impl/src/mock_db.rs", "crates/storage_impl/src/mock_db/payment_attempt.rs", "crates/storage_impl/src/mock_db/payment_intent.rs", "crates/storage_impl/src/mock_db/payout_attempt.rs", "crates/storage_impl/src/mock_db/payouts.rs", "crates/storage_impl/src/payment_method.rs", "crates/storage_impl/src/payments/payment_attempt.rs", "crates/storage_impl/src/payments/payment_intent.rs", "crates/storage_impl/src/payouts/payout_attempt.rs", "crates/storage_impl/src/payouts/payouts.rs"]}, "change_types": {"functions_added": 4, "enums_added": 1, "fields_added": 18, "imports_added": 18, "conditionals_added": 1, "database_queries": 12}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This PR addresses the clippy lints occurring due to new rust version 1.88.0
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/admin.rs` - `crates/api_models/src/enums.rs` - `crates/api_models/src/payment_methods.rs` - ... and 1 more files **2. Database Layer (Queries & Schema)** - `crates/analytics/src/query.rs` - `crates/diesel_models/src/query/payment_attempt.rs` - `crates/diesel_models/src/refund.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/disputes.rs` - `crates/hyperswitch_domain_models/src/errors/api_error_response.rs` - `crates/hyperswitch_domain_models/src/payment_methods.rs` - ... and 2 more files **4. Core Business Logic** - `crates/external_services/src/aws_kms/core.rs` - `crates/payment_methods/src/core/migration.rs` - `crates/router/src/core/admin.rs` - ... and 29 more files **5. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/adyen.rs` - `crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs` - `crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs` - ... and 46 more files **6. Type Definitions** - `crates/common_utils/src/types.rs` - `crates/router/src/types/api.rs` - `crates/router/src/types/domain/user.rs` **7. Utils** - `crates/common_utils/src/link_utils.rs` - `crates/common_utils/src/new_type.rs` - `crates/common_utils/src/pii.rs` - ... and 7 more files **8. Configuration Files** - `Cargo.toml` - `crates/router/src/configs/settings.rs` **9. Other** - `crates/analytics/src/clickhouse.rs` - `crates/analytics/src/lib.rs` - `crates/analytics/src/opensearch.rs` - ... and 39 more files **Code Patterns Applied:** - Extend existing types with new fields (36 changes) - Modify database queries (7 changes) **Detailed Identifier Changes:** Commit 20b52f11: Files to modify: **crates/analytics/src/clickhouse.rs** Modify existing code **crates/analytics/src/lib.rs** Modify existing code **crates/analytics/src/opensearch.rs** Modify existing code **crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs** Modify existing code **crates/analytics/src/query.rs** Modify existing code **crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs** Modify existing code **crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs** Modify existing code **crates/analytics/src/sqlx.rs** Modify existing code **crates/api_models/src/admin.rs** Modify existing code **crates/api_models/src/enums.rs** Modify existing code **crates/api_models/src/payment_methods.rs** Modify existing code **crates/api_models/src/routing.rs** Modify existing code **crates/common_enums/src/enums/ui.rs** Modify existing code **crates/common_utils/src/link_utils.rs** Modify existing code **crates/common_utils/src/new_type.rs** Modify existing code **crates/common_utils/src/pii.rs** Modify existing code **crates/common_utils/src/types.rs** Modify existing code **crates/common_utils/src/validation.rs** Modify existing code **crates/common_utils/tests/percentage.rs** Modify existing code **crates/currency_conversion/src/conversion.rs** Modify existing code **crates/diesel_models/src/query/payment_attempt.rs** Modify existing code **crates/diesel_models/src/refund.rs** Modify existing code **crates/euclid_macros/src/inner/knowledge.rs** Modify existing code **crates/external_services/src/aws_kms/core.rs** Modify existing code **crates/external_services/src/grpc_client/dynamic_routing.rs** Modify existing code **crates/external_services/src/http_client/client.rs** Modify existing code **crates/hsdev/src/main.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/adyen.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/bluesnap.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/cryptopay.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/fiuu.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/getnet.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/gpayments.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/jpmorgan.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/klarna.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/netcetera.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nexinets.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nomupay.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/noon.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/novalnet.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/payeezy.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/paypal.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/santander.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/santander/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/stripe.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/tokenio.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/trustpay.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/worldpay/response.rs** Modify existing code **crates/hyperswitch_connectors/src/utils.rs** Modify existing code **crates/hyperswitch_domain_models/src/disputes.rs** Modify existing code **crates/hyperswitch_domain_models/src/errors/api_error_response.rs** Modify existing code **crates/hyperswitch_domain_models/src/payment_methods.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments/payment_intent.rs** Modify existing code **crates/hyperswitch_domain_models/src/refunds.rs** Modify existing code **crates/hyperswitch_interfaces/src/api.rs** Modify existing code **crates/hyperswitch_interfaces/src/events/routing_api_logs.rs** Modify existing code **crates/hyperswitch_interfaces/src/integrity.rs** Modify existing code **crates/hyperswitch_interfaces/src/webhooks.rs** Modify existing code **crates/masking/src/secret.rs** Modify existing code **crates/payment_methods/src/core/migration.rs** Modify existing code **crates/redis_interface/src/commands.rs** Modify existing code **crates/router/src/compatibility/wrap.rs** Modify existing code **crates/router/src/configs/settings.rs** Modify existing code **crates/router/src/connector/utils.rs** Modify existing code **crates/router/src/core/admin.rs** Modify existing code **crates/router/src/core/authentication/utils.rs** Modify existing code **crates/router/src/core/errors/user.rs** Modify existing code **crates/router/src/core/errors/utils.rs** Modify existing code **crates/router/src/core/files.rs** Modify existing code **crates/router/src/core/payment_link.rs** Modify existing code **crates/router/src/core/payment_link/validator.rs** Modify existing code **crates/router/src/core/payment_methods.rs** Modify existing code **crates/router/src/core/payment_methods/cards.rs** Modify existing code **crates/router/src/core/payment_methods/tokenize.rs** Modify existing code **crates/router/src/core/payment_methods/validator.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code **crates/router/src/core/payments/flows/authorize_flow.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code **crates/router/src/core/payments/routing/utils.rs** Modify existing code **crates/router/src/core/payments/types.rs** Modify existing code **crates/router/src/core/payout_link.rs** Modify existing code **crates/router/src/core/payouts.rs** Modify existing code **crates/router/src/core/payouts/helpers.rs** Modify existing code **crates/router/src/core/payouts/validator.rs** Modify existing code **crates/router/src/core/proxy.rs** Modify existing code **crates/router/src/core/recon.rs** Modify existing code **crates/router/src/core/revenue_recovery/types.rs** Modify existing code **crates/router/src/core/routing.rs** Modify existing code **crates/router/src/core/routing/helpers.rs** Modify existing code **crates/router/src/core/user_role/role.rs** Modify existing code **crates/router/src/core/utils.rs** Modify existing code **crates/router/src/core/utils/refunds_validator.rs** Modify existing code **crates/router/src/core/verification/utils.rs** Modify existing code **crates/router/src/core/webhooks/recovery_incoming.rs** Modify existing code **crates/router/src/db/address.rs** Modify existing code **crates/router/src/db/mandate.rs** Modify existing code **crates/router/src/db/merchant_account.rs** Modify existing code **crates/router/src/db/merchant_key_store.rs** Modify existing code **crates/router/src/db/organization.rs** Modify existing code **crates/router/src/db/reverse_lookup.rs** Modify existing code **crates/router/src/db/user/theme.rs** Modify existing code **crates/router/src/db/user_authentication_method.rs** Modify existing code **crates/router/src/db/user_key_store.rs** Modify existing code **crates/router/src/db/user_role.rs** Modify existing code **crates/router/src/middleware.rs** Modify existing code **crates/router/src/routes/dummy_connector/types.rs** Modify existing code **crates/router/src/routes/payment_methods.rs** Modify existing code **crates/router/src/services/api.rs** Modify existing code **crates/router/src/services/api/generic_link_response.rs** Modify existing code **crates/router/src/services/authentication.rs** Modify existing code **crates/router/src/services/authentication/blacklist.rs** Modify existing code **crates/router/src/services/authentication/detached.rs** Modify existing code **crates/router/src/types/api.rs** Modify existing code **crates/router/src/types/api/connector_onboarding/paypal.rs** Modify existing code **crates/router/src/types/domain/user.rs** Modify existing code **crates/router/src/utils/connector_onboarding.rs** Modify existing code **crates/router/src/utils/connector_onboarding/paypal.rs** Modify existing code **crates/router/src/utils/currency.rs** Modify existing code **crates/router/src/utils/user.rs** Modify existing code **crates/router/src/utils/user/theme.rs** Modify existing code **crates/router/src/utils/user_role.rs** Modify existing code **crates/router/tests/connectors/adyen.rs** Modify existing code **crates/router/tests/connectors/cybersource.rs** Modify existing code **crates/router/tests/connectors/dlocal.rs** Modify existing code **crates/router/tests/connectors/powertranz.rs** Modify existing code **crates/router/tests/connectors/stripe.rs** Modify existing code **crates/storage_impl/src/kv_router_store.rs** Modify existing code **crates/storage_impl/src/payment_method.rs** Modify existing code **crates/storage_impl/src/payments/payment_attempt.rs** Modify existing code **crates/storage_impl/src/payouts/payout_attempt.rs** Modify existing code **crates/storage_impl/src/redis/kv_store.rs** Modify existing code **crates/test_utils/src/newman_runner.rs** Modify existing code **crates/test_utils/tests/connectors/selenium.rs** Modify existing code
{"pr_number": 8498, "pr_title": "chore: address Rust 1.88.0 clippy lints", "merged_at": "2025-07-02T07:17:47Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs", "crates/api_models/src/enums.rs", "crates/api_models/src/payment_methods.rs", "crates/api_models/src/routing.rs"], "database": ["crates/analytics/src/query.rs", "crates/diesel_models/src/query/payment_attempt.rs", "crates/diesel_models/src/refund.rs"], "domain": ["crates/hyperswitch_domain_models/src/disputes.rs", "crates/hyperswitch_domain_models/src/errors/api_error_response.rs", "crates/hyperswitch_domain_models/src/payment_methods.rs", "crates/hyperswitch_domain_models/src/payments/payment_intent.rs", "crates/hyperswitch_domain_models/src/refunds.rs"], "core_business": ["crates/external_services/src/aws_kms/core.rs", "crates/payment_methods/src/core/migration.rs", "crates/router/src/core/admin.rs", "crates/router/src/core/authentication/utils.rs", "crates/router/src/core/errors/user.rs", "crates/router/src/core/errors/utils.rs", "crates/router/src/core/files.rs", "crates/router/src/core/payment_link.rs", "crates/router/src/core/payment_link/validator.rs", "crates/router/src/core/payment_methods.rs", "crates/router/src/core/payment_methods/cards.rs", "crates/router/src/core/payment_methods/tokenize.rs", "crates/router/src/core/payment_methods/validator.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/flows/authorize_flow.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/routing/utils.rs", "crates/router/src/core/payments/types.rs", "crates/router/src/core/payout_link.rs", "crates/router/src/core/payouts.rs", "crates/router/src/core/payouts/helpers.rs", "crates/router/src/core/payouts/validator.rs", "crates/router/src/core/proxy.rs", "crates/router/src/core/recon.rs", "crates/router/src/core/revenue_recovery/types.rs", "crates/router/src/core/routing.rs", "crates/router/src/core/routing/helpers.rs", "crates/router/src/core/user_role/role.rs", "crates/router/src/core/utils.rs", "crates/router/src/core/utils/refunds_validator.rs", "crates/router/src/core/verification/utils.rs", "crates/router/src/core/webhooks/recovery_incoming.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/adyen.rs", "crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs", "crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs", "crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs", "crates/hyperswitch_connectors/src/connectors/bluesnap.rs", "crates/hyperswitch_connectors/src/connectors/cryptopay.rs", "crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs", "crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs", "crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/fiuu.rs", "crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs", "crates/hyperswitch_connectors/src/connectors/getnet.rs", "crates/hyperswitch_connectors/src/connectors/gpayments.rs", "crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/jpmorgan.rs", "crates/hyperswitch_connectors/src/connectors/klarna.rs", "crates/hyperswitch_connectors/src/connectors/netcetera.rs", "crates/hyperswitch_connectors/src/connectors/nexinets.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nomupay.rs", "crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/noon.rs", "crates/hyperswitch_connectors/src/connectors/novalnet.rs", "crates/hyperswitch_connectors/src/connectors/payeezy.rs", "crates/hyperswitch_connectors/src/connectors/paypal.rs", "crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs", "crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs", "crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs", "crates/hyperswitch_connectors/src/connectors/santander.rs", "crates/hyperswitch_connectors/src/connectors/santander/transformers.rs", "crates/hyperswitch_connectors/src/connectors/stripe.rs", "crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs", "crates/hyperswitch_connectors/src/connectors/tokenio.rs", "crates/hyperswitch_connectors/src/connectors/trustpay.rs", "crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs", "crates/hyperswitch_connectors/src/connectors/worldpay/response.rs", "crates/hyperswitch_connectors/src/utils.rs", "crates/router/src/connector/utils.rs", "crates/router/src/routes/dummy_connector/types.rs", "crates/router/src/types/api/connector_onboarding/paypal.rs", "crates/router/src/utils/connector_onboarding.rs", "crates/router/src/utils/connector_onboarding/paypal.rs", "crates/router/tests/connectors/adyen.rs", "crates/router/tests/connectors/cybersource.rs", "crates/router/tests/connectors/dlocal.rs", "crates/router/tests/connectors/powertranz.rs", "crates/router/tests/connectors/stripe.rs", "crates/test_utils/tests/connectors/selenium.rs"], "types": ["crates/common_utils/src/types.rs", "crates/router/src/types/api.rs", "crates/router/src/types/domain/user.rs"], "utils": ["crates/common_utils/src/link_utils.rs", "crates/common_utils/src/new_type.rs", "crates/common_utils/src/pii.rs", "crates/common_utils/src/validation.rs", "crates/common_utils/tests/percentage.rs", "crates/router/src/utils/currency.rs", "crates/router/src/utils/user.rs", "crates/router/src/utils/user/theme.rs", "crates/router/src/utils/user_role.rs", "crates/test_utils/src/newman_runner.rs"], "config": ["Cargo.toml", "crates/router/src/configs/settings.rs"], "other": ["crates/analytics/src/clickhouse.rs", "crates/analytics/src/lib.rs", "crates/analytics/src/opensearch.rs", "crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs", "crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs", "crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs", "crates/analytics/src/sqlx.rs", "crates/common_enums/src/enums/ui.rs", "crates/currency_conversion/src/conversion.rs", "crates/euclid_macros/src/inner/knowledge.rs", "crates/external_services/src/grpc_client/dynamic_routing.rs", "crates/external_services/src/http_client/client.rs", "crates/hsdev/src/main.rs", "crates/hyperswitch_interfaces/src/api.rs", "crates/hyperswitch_interfaces/src/events/routing_api_logs.rs", "crates/hyperswitch_interfaces/src/integrity.rs", "crates/hyperswitch_interfaces/src/webhooks.rs", "crates/masking/src/secret.rs", "crates/redis_interface/src/commands.rs", "crates/router/src/compatibility/wrap.rs", "crates/router/src/db/address.rs", "crates/router/src/db/mandate.rs", "crates/router/src/db/merchant_account.rs", "crates/router/src/db/merchant_key_store.rs", "crates/router/src/db/organization.rs", "crates/router/src/db/reverse_lookup.rs", "crates/router/src/db/user/theme.rs", "crates/router/src/db/user_authentication_method.rs", "crates/router/src/db/user_key_store.rs", "crates/router/src/db/user_role.rs", "crates/router/src/middleware.rs", "crates/router/src/routes/payment_methods.rs", "crates/router/src/services/api.rs", "crates/router/src/services/api/generic_link_response.rs", "crates/router/src/services/authentication.rs", "crates/router/src/services/authentication/blacklist.rs", "crates/router/src/services/authentication/detached.rs", "crates/storage_impl/src/kv_router_store.rs", "crates/storage_impl/src/payment_method.rs", "crates/storage_impl/src/payments/payment_attempt.rs", "crates/storage_impl/src/payouts/payout_attempt.rs", "crates/storage_impl/src/redis/kv_store.rs"]}, "change_types": {"fields_added": 36, "database_queries": 7}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> The Sources API for Stripe Bank Transfer (Ach, Multibanco) got deprecated. They are supporting `/v1/payment_intents` now. Removed the pre processing implementations. Added new flow for Stripe Ach, and Multibanco bank transfer through payment_intents api.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/payments.rs` - `crates/router/src/core/payments/flows.rs` **2. External Connector Integration** - `crates/router/src/connector/stripe.rs` - `crates/router/src/connector/stripe/transformers.rs` **Code Patterns Applied:** - Define new data structures (3 changes) - Extend existing types with new fields (45 changes) **Detailed Identifier Changes:** Commit e9433d98: Files to modify: **crates/router/src/connector/stripe.rs** Modify existing code **crates/router/src/connector/stripe/transformers.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code **crates/router/src/core/payments/flows.rs** Modify existing code
{"pr_number": 7599, "pr_title": "refactor(connector): [STRIPE] Bank Transfer Api Refactor", "merged_at": "2025-03-27T12:05:05Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments.rs", "crates/router/src/core/payments/flows.rs"], "connectors": ["crates/router/src/connector/stripe.rs", "crates/router/src/connector/stripe/transformers.rs"]}, "change_types": {"structs_added": 3, "enums_added": 2, "fields_added": 45, "imports_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Previously, there was no support to add filters in global-search, hence only free-text search queries were supported. Because of this, the following query object was being mandatorily added. ```bash { "multi_match": { "type": "phrase", "query": "merchant_1726046328", "lenient": true } }, ``` Now, since adding filters is provided as a feature, it is no longer compulsary to have a free-text search query in addition to the filters applied. So if no free-text search query is being applied, the query object will have the following: ```bash { "multi_match": { "type": "phrase", "query": "", "lenient": true } }, ``` This empty string in the query is resulting in wrong data being fetched when we hit opensearch/elasticsearch using the `/search` API. Made changes to incorporate free-text search query into the opensearch query only when free-text search query is non-empty. Now, search will happen only based on filters as expected, when filters are provided and free-text search query is empty.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Other** - `crates/analytics/src/opensearch.rs` **Code Patterns Applied:** - Add conditional logic for feature flags or filtering (1 changes)
{"pr_number": 6685, "pr_title": "fix(opensearch): handle empty free-text query search in global search", "merged_at": "2024-11-29T10:12:34Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"other": ["crates/analytics/src/opensearch.rs"]}, "change_types": {"conditionals_added": 1}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> This PR includes - HubSpot proxy integration for `prod_intent` triggered from the dashboard - New CRM interface with two implementations: NoCrm and HubspotProxy. - Includes refactoring to move `http_client send_request` and `client` from the `router` module to `external_services` to support this integration.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/user/dashboard_metadata.rs` **2. Core Business Logic** - `crates/router/src/core/admin.rs` - `crates/router/src/core/connector_onboarding/paypal.rs` - `crates/router/src/core/recon.rs` - ... and 2 more files **3. Type Definitions** - `crates/hyperswitch_interfaces/src/types.rs` - `crates/router/src/services/email/types.rs` **4. Utils** - `crates/common_utils/src/consts.rs` - `crates/router/src/utils/user.rs` **5. Configuration Files** - `config/config.example.toml` - `config/deployments/env_specific.toml` - `crates/external_services/Cargo.toml` - ... and 4 more files **6. Other** - `Cargo.lock` - `crates/external_services/src/crm.rs` - `crates/external_services/src/http_client.rs` - ... and 16 more files **Code Patterns Applied:** - Define new data structures (6 changes) - Implement new functions (27 changes) - Extend existing types with new fields (84 changes) - Add conditional logic for feature flags or filtering (6 changes) **Detailed Identifier Changes:** Commit 67f38f86: Files to modify: **crates/api_models/src/user/dashboard_metadata.rs** Modify existing code **crates/common_utils/src/consts.rs** Modify existing code **crates/external_services/src/crm.rs** Modify existing code **crates/external_services/src/http_client.rs** Modify existing code **crates/external_services/src/http_client/client.rs** Modify existing code **crates/external_services/src/http_client/metrics.rs** Modify existing code **crates/external_services/src/http_client/request.rs** Modify existing code **crates/external_services/src/hubspot_proxy.rs** Modify existing code **crates/external_services/src/lib.rs** Modify existing code **crates/hyperswitch_interfaces/src/crm.rs** Modify existing code **crates/hyperswitch_interfaces/src/errors.rs** Modify existing code **crates/hyperswitch_interfaces/src/lib.rs** Modify existing code **crates/hyperswitch_interfaces/src/types.rs** Modify existing code **crates/router/src/configs/defaults.rs** Modify existing code **crates/router/src/configs/secrets_transformers.rs** Modify existing code **crates/router/src/configs/settings.rs** Modify existing code **crates/router/src/consts.rs** Modify existing code **crates/router/src/core/admin.rs** Modify existing code **crates/router/src/core/connector_onboarding/paypal.rs** Modify existing code **crates/router/src/core/recon.rs** Modify existing code **crates/router/src/core/user.rs** Modify existing code **crates/router/src/core/user/dashboard_metadata.rs** Modify existing code **crates/router/src/routes/app.rs** Modify existing code **crates/router/src/routes/metrics.rs** Modify existing code **crates/router/src/services/api.rs** Modify existing code **crates/router/src/services/api/client.rs** Modify existing code **crates/router/src/services/api/request.rs** Modify existing code **crates/router/src/services/email/types.rs** Modify existing code **crates/router/src/services/openidconnect.rs** Modify existing code **crates/router/src/utils/user.rs** Modify existing code **crates/router/src/workflows/api_key_expiry.rs** Modify existing code
{"pr_number": 7798, "pr_title": "chore(users): add hubspot tracking to prod intent", "merged_at": "2025-05-13T12:33:04Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/user/dashboard_metadata.rs"], "core_business": ["crates/router/src/core/admin.rs", "crates/router/src/core/connector_onboarding/paypal.rs", "crates/router/src/core/recon.rs", "crates/router/src/core/user.rs", "crates/router/src/core/user/dashboard_metadata.rs"], "types": ["crates/hyperswitch_interfaces/src/types.rs", "crates/router/src/services/email/types.rs"], "utils": ["crates/common_utils/src/consts.rs", "crates/router/src/utils/user.rs"], "config": ["config/config.example.toml", "config/deployments/env_specific.toml", "crates/external_services/Cargo.toml", "crates/router/Cargo.toml", "crates/router/src/configs/defaults.rs", "crates/router/src/configs/secrets_transformers.rs", "crates/router/src/configs/settings.rs"], "other": ["Cargo.lock", "crates/external_services/src/crm.rs", "crates/external_services/src/http_client.rs", "crates/external_services/src/http_client/client.rs", "crates/external_services/src/http_client/metrics.rs", "crates/external_services/src/http_client/request.rs", "crates/external_services/src/hubspot_proxy.rs", "crates/external_services/src/lib.rs", "crates/hyperswitch_interfaces/src/crm.rs", "crates/hyperswitch_interfaces/src/errors.rs", "crates/hyperswitch_interfaces/src/lib.rs", "crates/router/src/consts.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/metrics.rs", "crates/router/src/services/api.rs", "crates/router/src/services/api/client.rs", "crates/router/src/services/api/request.rs", "crates/router/src/services/openidconnect.rs", "crates/router/src/workflows/api_key_expiry.rs"]}, "change_types": {"structs_added": 6, "functions_added": 27, "enums_added": 2, "fields_added": 84, "imports_added": 46, "conditionals_added": 6}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
This new Kafka Event consume the revenue recovery related events which will be constructed from both `RecoveryPaymentIntent` and `RecoveryPaymentAttempt` in revenue recovery flow. The events form Kafka will be picked up by vector and this be eventually batched and pushed to s3 based on the set config. They file path will look like this `merchant_id/Year/month/timestamp.csv`. The events will be recorded at two places. `Webhook Flow`(External Payments done by billing processor) and `Internal Proxy Flow`(Internal Done by Hyperswitch as a part of retrying). The event structure is mentioned in the kafka message in code. The estimated size of each event is around 1000bytes. We want to keep the config at 1000 batches and one day(86400s) timeout in vector. So that vector collects all the events till the end of the time out or till it hits 1000 events and push them to s3 file in the designated file path in a csv format in the order mentioned in the config. Based on the above config vector needs 10mb size buffer to support this. S3 auth will be done using the IAM Instance profile which will be taken care off at the time of the deployment.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/payments.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/types.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/lib.rs` - `crates/hyperswitch_domain_models/src/payments.rs` - `crates/hyperswitch_domain_models/src/payments/payment_attempt.rs` - ... and 1 more files **4. Core Business Logic** - `crates/router/src/core/payments/transformers.rs` - `crates/router/src/core/revenue_recovery/types.rs` - `crates/router/src/core/webhooks/recovery_incoming.rs` **5. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs` - `crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs` **6. Configuration Files** - `config/config.example.toml` - `config/deployments/env_specific.toml` - `config/development.toml` - ... and 2 more files **7. Other** - `api-reference/v2/openapi_spec_v2.json` - `crates/openapi/src/openapi_v2.rs` - `crates/router/src/events.rs` - ... and 3 more files **Code Patterns Applied:** - Define new data structures (2 changes) - Implement new functions (8 changes) - Extend existing types with new fields (164 changes) - Add conditional logic for feature flags or filtering (6 changes) **Detailed Identifier Changes:** Commit 17d34a29: Files to modify: **crates/api_models/src/payments.rs** Modify existing code **crates/diesel_models/src/types.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs** Modify existing code **crates/hyperswitch_domain_models/src/lib.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments/payment_attempt.rs** Modify existing code **crates/hyperswitch_domain_models/src/revenue_recovery.rs** Modify existing code **crates/openapi/src/openapi_v2.rs** Modify existing code **crates/router/src/core/payments/transformers.rs** Modify existing code **crates/router/src/core/revenue_recovery/types.rs** Modify existing code **crates/router/src/core/webhooks/recovery_incoming.rs** Modify existing code **crates/router/src/events.rs** Modify existing code **crates/router/src/services/kafka.rs** Modify existing code **crates/router/src/services/kafka/revenue_recovery.rs** Modify existing code **crates/storage_impl/src/errors.rs** Modify existing code
{"pr_number": 8285, "pr_title": "feat(recovery-events): add revenue recovery topic and vector config to push these events to s3", "merged_at": "2025-07-25T12:00:14Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "database": ["crates/diesel_models/src/types.rs"], "domain": ["crates/hyperswitch_domain_models/src/lib.rs", "crates/hyperswitch_domain_models/src/payments.rs", "crates/hyperswitch_domain_models/src/payments/payment_attempt.rs", "crates/hyperswitch_domain_models/src/revenue_recovery.rs"], "core_business": ["crates/router/src/core/payments/transformers.rs", "crates/router/src/core/revenue_recovery/types.rs", "crates/router/src/core/webhooks/recovery_incoming.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs", "crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs"], "config": ["config/config.example.toml", "config/deployments/env_specific.toml", "config/development.toml", "config/docker_compose.toml", "config/vector.yaml"], "other": ["api-reference/v2/openapi_spec_v2.json", "crates/openapi/src/openapi_v2.rs", "crates/router/src/events.rs", "crates/router/src/services/kafka.rs", "crates/router/src/services/kafka/revenue_recovery.rs", "crates/storage_impl/src/errors.rs"]}, "change_types": {"structs_added": 2, "functions_added": 8, "fields_added": 164, "imports_added": 6, "conditionals_added": 6}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> add merchant_configuration_id in netcetera metadata and make other merchant configurations optional Main PR - https://github.com/juspay/hyperswitch/pull/7347 Clippy Successful Locally <img width="906" alt="image" src="https://github.com/user-attachments/assets/85ba726c-dd13-4071-8025-edab3485a230" />
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/payments/helpers.rs` - `crates/router/src/core/payments/operations/payment_confirm.rs` **2. External Connector Integration** - `crates/connector_configs/src/common_config.rs` - `crates/connector_configs/src/connector.rs` - `crates/connector_configs/toml/development.toml` - ... and 3 more files **Code Patterns Applied:** - Extend existing types with new fields (17 changes) **Detailed Identifier Changes:** Commit 2515d75f: Files to modify: **crates/connector_configs/src/common_config.rs** Modify existing code **crates/connector_configs/src/connector.rs** Modify existing code **crates/router/src/connector/netcetera/transformers.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code **crates/router/src/core/payments/operations/payment_confirm.rs** Modify existing code
{"pr_number": 7348, "pr_title": "feat(router): add merchant_configuration_id in netcetera metadata and make other merchant configurations optional", "merged_at": "2025-02-21T17:32:29Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["merchant", "user"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations/payment_confirm.rs"], "connectors": ["crates/connector_configs/src/common_config.rs", "crates/connector_configs/src/connector.rs", "crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/router/src/connector/netcetera/transformers.rs"]}, "change_types": {"fields_added": 17}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Introduced` /v2/configs` and `/v2/health` endpoints and for v2
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/health_check.rs` **2. Core Business Logic** - `crates/router/src/core/health_check.rs` **3. Configuration Files** - `crates/router/src/routes/configs.rs` **4. Other** - `crates/router/src/routes/app.rs` - `crates/router/src/routes/health.rs` - `crates/storage_impl/src/errors.rs` **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (4 changes) - Extend existing types with new fields (3 changes) - Add conditional logic for feature flags or filtering (1 changes) **Detailed Identifier Changes:** Commit 8bbb7684: Files to modify: **crates/api_models/src/health_check.rs** Modify existing code **crates/router/src/core/health_check.rs** Modify existing code **crates/router/src/routes/app.rs** Modify existing code **crates/router/src/routes/configs.rs** Modify existing code **crates/router/src/routes/health.rs** Modify existing code **crates/storage_impl/src/errors.rs** Modify existing code
{"pr_number": 8835, "pr_title": "feat(v2): introduce configs and health endpoints for v2", "merged_at": "2025-08-08T12:56:47Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["connector"]}, "hierarchy": {"api_models": ["crates/api_models/src/health_check.rs"], "core_business": ["crates/router/src/core/health_check.rs"], "config": ["crates/router/src/routes/configs.rs"], "other": ["crates/router/src/routes/app.rs", "crates/router/src/routes/health.rs", "crates/storage_impl/src/errors.rs"]}, "change_types": {"structs_added": 1, "functions_added": 4, "enums_added": 1, "fields_added": 3, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> In the case of debit routing flow, the routing output (`CallConnectorType`) will include both the connector and its associated card network. In our current implementation, we simply iterate over the connector list and pass the connector. With the updated requirement, we will also need to pass the corresponding card network for each connector in the case of debit routing.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/payments.rs` - `crates/router/src/core/payments/retry.rs` - `crates/router/src/core/routing/helpers.rs` **Code Patterns Applied:** - Extend existing types with new fields (3 changes)
{"pr_number": 8220, "pr_title": "feat(router): add retry support for debit routing", "merged_at": "2025-06-16T11:50:20Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments.rs", "crates/router/src/core/payments/retry.rs", "crates/router/src/core/routing/helpers.rs"]}, "change_types": {"fields_added": 3}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
Cybersource throws error if state length exceeds 20 characters, to fix this this PR addes truncation of state at Hyperswitch end
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs` **2. Utils** - `crates/scheduler/src/utils.rs` **Code Patterns Applied:** - Implement new functions (2 changes) - Extend existing types with new fields (3 changes)
{"pr_number": 7343, "pr_title": "fix(cybersource): Add truncation logic for administrative area", "merged_at": "2025-02-25T06:44:26Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "card"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"], "utils": ["crates/scheduler/src/utils.rs"]}, "change_types": {"functions_added": 2, "fields_added": 3}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
This PR introduces below changes around Worldpay connector
To implement this **payment** feature, you'll need to modify these architectural layers: **1. Database Layer (Queries & Schema)** - `crates/diesel_models/src/capture.rs` - `crates/diesel_models/src/kv.rs` - `crates/diesel_models/src/payment_attempt.rs` - ... and 5 more files **2. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/payments/payment_attempt.rs` **3. Core Business Logic** - `crates/router/src/core/payments/operations/payment_response.rs` - `crates/router/src/core/payments/transformers.rs` - `crates/router/src/core/refunds.rs` - ... and 1 more files **4. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs` - `crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs` - `crates/router/src/configs/defaults/payment_connector_required_fields.rs` **5. Type Definitions** - `crates/common_utils/src/types.rs` - `crates/router/src/types/storage/payment_attempt.rs` **6. Utils** - `crates/router/src/utils/user/sample_data.rs` **7. Tests** - `cypress-tests/cypress/e2e/configs/Payment/WorldPay.js` **8. Other** - `crates/router/src/db/capture.rs` - `crates/router/src/db/refund.rs` - `crates/storage_impl/src/payments/payment_attempt.rs` - ... and 5 more files **Code Patterns Applied:** - Extend existing types with new fields (222 changes) **Detailed Identifier Changes:** Commit fa09db15: Files to modify: **crates/common_utils/src/types.rs** Modify existing code **crates/diesel_models/src/capture.rs** Modify existing code **crates/diesel_models/src/kv.rs** Modify existing code **crates/diesel_models/src/payment_attempt.rs** Modify existing code **crates/diesel_models/src/query/capture.rs** Modify existing code **crates/diesel_models/src/refund.rs** Modify existing code **crates/diesel_models/src/schema.rs** Modify existing code **crates/diesel_models/src/schema_v2.rs** Modify existing code **crates/diesel_models/src/user/sample_data.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments/payment_attempt.rs** Modify existing code **crates/router/src/configs/defaults/payment_connector_required_fields.rs** Modify existing code **crates/router/src/core/payments/operations/payment_response.rs** Modify existing code **crates/router/src/core/payments/transformers.rs** Modify existing code **crates/router/src/core/refunds.rs** Modify existing code **crates/router/src/core/webhooks/incoming.rs** Modify existing code **crates/router/src/db/capture.rs** Modify existing code **crates/router/src/db/refund.rs** Modify existing code **crates/router/src/types/storage/payment_attempt.rs** Modify existing code **crates/router/src/utils/user/sample_data.rs** Modify existing code **crates/storage_impl/src/payments/payment_attempt.rs** Modify existing code
{"pr_number": 7017, "pr_title": "refactor(schema): add a new column for storing large connector transaction IDs", "merged_at": "2025-02-12T08:49:11Z", "intent": {"feature_type": "payment", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"database": ["crates/diesel_models/src/capture.rs", "crates/diesel_models/src/kv.rs", "crates/diesel_models/src/payment_attempt.rs", "crates/diesel_models/src/query/capture.rs", "crates/diesel_models/src/refund.rs", "crates/diesel_models/src/schema.rs", "crates/diesel_models/src/schema_v2.rs", "crates/diesel_models/src/user/sample_data.rs"], "domain": ["crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"], "core_business": ["crates/router/src/core/payments/operations/payment_response.rs", "crates/router/src/core/payments/transformers.rs", "crates/router/src/core/refunds.rs", "crates/router/src/core/webhooks/incoming.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs", "crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs", "crates/router/src/configs/defaults/payment_connector_required_fields.rs"], "types": ["crates/common_utils/src/types.rs", "crates/router/src/types/storage/payment_attempt.rs"], "utils": ["crates/router/src/utils/user/sample_data.rs"], "tests": ["cypress-tests/cypress/e2e/configs/Payment/WorldPay.js"], "other": ["crates/router/src/db/capture.rs", "crates/router/src/db/refund.rs", "crates/storage_impl/src/payments/payment_attempt.rs", "migrations/2025-01-09-135057_add_processor_transaction_data/down.sql", "migrations/2025-01-09-135057_add_processor_transaction_data/up.sql", "v2_migrations/2024-08-28-081721_add_v2_columns/up.sql", "v2_migrations/2024-11-08-081847_drop_v1_columns/down.sql", "v2_migrations/2024-11-08-081847_drop_v1_columns/up.sql"]}, "change_types": {"fields_added": 222}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
This PR contains the docker compose file changes for stable release. The PRs included in this file are
To implement this **unknown** feature, you'll need to modify these architectural layers: **1. Configuration Files** - `docker-compose.yml` **2. Other** - `README.md` - `docs/one_click_setup.md` - `docs/try_local_system.md` - ... and 4 more files **Code Patterns Applied:** - Extend existing types with new fields (24 changes) - Add conditional logic for feature flags or filtering (18 changes)
{"pr_number": 7894, "pr_title": "chore(docker): docker compose changes for stable release", "merged_at": "2025-04-29T08:00:26Z", "intent": {"feature_type": "unknown", "action": "unknown", "entities": []}, "hierarchy": {"config": ["docker-compose.yml"], "other": ["README.md", "docs/one_click_setup.md", "docs/try_local_system.md", "scripts/docker_output.sh", "scripts/poststart_hook.sh", "scripts/prestart_hook.sh", "scripts/setup.sh"]}, "change_types": {"fields_added": 24, "conditionals_added": 18}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
Add new field_type `UserBsbNumber`, `UserBankSortCode` and `UserBankRoutingNumber` for `payment_connector_required_fields`
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/enums.rs` **2. External Connector Integration** - `crates/router/src/configs/defaults/payment_connector_required_fields.rs` **3. Other** - `api-reference-v2/openapi_spec.json` - `api-reference/openapi_spec.json` **Code Patterns Applied:** - Extend existing types with new fields (6 changes) **Detailed Identifier Changes:** Commit 6f841458: Files to modify: **crates/api_models/src/enums.rs** Modify existing code **crates/router/src/configs/defaults/payment_connector_required_fields.rs** Modify existing code
{"pr_number": 6758, "pr_title": "refactor(payment_methods): Add new field_type UserBsbNumber, UserBankSortCode and UserBankRoutingNumber for payment_connector_required_fields", "merged_at": "2024-12-10T11:54:21Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/enums.rs"], "connectors": ["crates/router/src/configs/defaults/payment_connector_required_fields.rs"], "other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json"]}, "change_types": {"fields_added": 6}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
Adds fix for stopping multiple event locking idempotent logs Fix on top of previous PR - https://github.com/juspay/hyperswitch/pull/7579 What got missed in the previous PR? - We should be searching by merchant ID and idempotent event ID instead of searching by merchant ID and event ID [outgoing.rs](https://github.com/juspay/hyperswitch/blob/a4a564fee2782947e3d75ed20d4b18f9b45e7e8a/crates/router/src/core/webhooks/outgoing.rs#L158-L167) Since Event ID would be randomly generated each time, but idempotent event ID remains the same when inserting the event for the first time.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Database Layer (Queries & Schema)** - `crates/diesel_models/src/query/events.rs` **2. Core Business Logic** - `crates/router/src/core/webhooks/outgoing.rs` **3. Other** - `crates/router/src/db/events.rs` - `crates/router/src/db/kafka_store.rs` **Code Patterns Applied:** - Implement new functions (10 changes) - Extend existing types with new fields (211 changes) - Modify database queries (2 changes) **Detailed Identifier Changes:** Commit 312c7337: Files to modify: **crates/diesel_models/src/query/events.rs** Modify existing code **crates/router/src/core/webhooks/outgoing.rs** Modify existing code **crates/router/src/db/events.rs** Modify existing code **crates/router/src/db/kafka_store.rs** Modify existing code
{"pr_number": 8034, "pr_title": "fix(core): add fix for stopping multiple event locking idempotent logs", "merged_at": "2025-08-05T14:04:00Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["merchant", "user", "webhook"]}, "hierarchy": {"database": ["crates/diesel_models/src/query/events.rs"], "core_business": ["crates/router/src/core/webhooks/outgoing.rs"], "other": ["crates/router/src/db/events.rs", "crates/router/src/db/kafka_store.rs"]}, "change_types": {"functions_added": 10, "fields_added": 211, "imports_added": 7, "database_queries": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> So previously we were only inserting in dynamic_routing_stats table, after this change we will be doing an Upsert operation instead of directly performing an insert operation.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Database Layer (Queries & Schema)** - `crates/diesel_models/src/dynamic_routing_stats.rs` - `crates/diesel_models/src/query/dynamic_routing_stats.rs` **2. Core Business Logic** - `crates/router/src/core/routing/helpers.rs` **3. Type Definitions** - `crates/router/src/types/storage/dynamic_routing_stats.rs` **4. Other** - `crates/router/src/db/dynamic_routing_stats.rs` **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (10 changes) - Extend existing types with new fields (65 changes) - Add conditional logic for feature flags or filtering (1 changes) - Modify database queries (4 changes) **Detailed Identifier Changes:** Commit 68aac34e: Files to modify: **crates/diesel_models/src/dynamic_routing_stats.rs** Modify existing code **crates/diesel_models/src/query/dynamic_routing_stats.rs** Modify existing code **crates/router/src/core/routing/helpers.rs** Modify existing code **crates/router/src/db/dynamic_routing_stats.rs** Modify existing code **crates/router/src/types/storage/dynamic_routing_stats.rs** Modify existing code
{"pr_number": 7398, "pr_title": "refactor(dynamic_routing): change insert operation to upsert for dynamic_routing_stats", "merged_at": "2025-03-21T12:28:00Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"database": ["crates/diesel_models/src/dynamic_routing_stats.rs", "crates/diesel_models/src/query/dynamic_routing_stats.rs"], "core_business": ["crates/router/src/core/routing/helpers.rs"], "types": ["crates/router/src/types/storage/dynamic_routing_stats.rs"], "other": ["crates/router/src/db/dynamic_routing_stats.rs"]}, "change_types": {"structs_added": 1, "functions_added": 10, "fields_added": 65, "imports_added": 5, "conditionals_added": 1, "database_queries": 4}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> this pr reverts wasm changes for the payload connector that was introduced in https://github.com/juspay/hyperswitch/pull/8597
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/connector_configs/toml/development.toml` - `crates/connector_configs/toml/production.toml` - `crates/connector_configs/toml/sandbox.toml`
{"pr_number": 8818, "pr_title": "chore(env): revert wasm changes for payload connector", "merged_at": "2025-08-01T10:36:57Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user", "connector"]}, "hierarchy": {"connectors": ["crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> Reverts [https://github.com/juspay/hyperswitch/pull/6403](https://github.com/juspay/hyperswitch/pull/6403) When global filters are applied on the dashboard, these filters are being sent to both Payment Attempt and Payment Intent related metrics. Initially backend support was not present for capturing these filters and adding to the queries, for Payment Intent related metrics, but for the new Analytics V2 dashboard, since the Sessionizer Tables are being used, all these filter fields are supported in the Sessionizer Payment Intents table. When backend support was added to apply these filters for the new dashboard, the old dashboard started breaking, as the filter fields are not present in the existing Payment Intents table. FE stopped sending these filters to Payment Intent metrics on the old dashboard, and so adding these filters back to PaymentIntentFilters to support the filters on the new Analytics V2 dashboard. The additional filters added: - connector - authentication_type - payment_method - payment_method_type - card_network - merchant_id - card_last_4 - card_issuer - error_reason
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/analytics/payment_intents.rs` **2. Core Business Logic** - `crates/analytics/src/payment_intents/core.rs` **3. Type Definitions** - `crates/analytics/src/payment_intents/types.rs` **4. Utils** - `crates/analytics/src/utils.rs` **5. Other** - `crates/analytics/src/payment_intents/filters.rs` - `crates/analytics/src/payment_intents/metrics.rs` - `crates/analytics/src/payment_intents/metrics/payment_intent_count.rs` - ... and 13 more files **Code Patterns Applied:** - Extend existing types with new fields (45 changes) - Add conditional logic for feature flags or filtering (9 changes) **Detailed Identifier Changes:** Commit ce95b653: Files to modify: **crates/analytics/src/payment_intents/core.rs** Modify existing code **crates/analytics/src/payment_intents/filters.rs** Modify existing code **crates/analytics/src/payment_intents/metrics.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/payment_intent_count.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/payments_success_rate.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/total_smart_retries.rs** Modify existing code **crates/analytics/src/payment_intents/types.rs** Modify existing code **crates/analytics/src/sqlx.rs** Modify existing code **crates/analytics/src/utils.rs** Modify existing code **crates/api_models/src/analytics/payment_intents.rs** Modify existing code
{"pr_number": 6492, "pr_title": "feat(analytics): revert remove additional filters from PaymentIntentFilters", "merged_at": "2024-11-08T16:07:08Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"api_models": ["crates/api_models/src/analytics/payment_intents.rs"], "core_business": ["crates/analytics/src/payment_intents/core.rs"], "types": ["crates/analytics/src/payment_intents/types.rs"], "utils": ["crates/analytics/src/utils.rs"], "other": ["crates/analytics/src/payment_intents/filters.rs", "crates/analytics/src/payment_intents/metrics.rs", "crates/analytics/src/payment_intents/metrics/payment_intent_count.rs", "crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs", "crates/analytics/src/payment_intents/metrics/payments_success_rate.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs", "crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs", "crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs", "crates/analytics/src/payment_intents/metrics/total_smart_retries.rs", "crates/analytics/src/sqlx.rs"]}, "change_types": {"fields_added": 45, "imports_added": 2, "conditionals_added": 9}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This PR bumps the Minimum Supported Rust Version (MSRV) from Rust 1.80 to 1.85. Clippy Warning Fixes: 1. Replace repeat().take() with repeat_n() - More concise iterator creation 2. Replace map_or(true, ...) with is_none_or(...) - Modern idiomatic Option handling
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/merchant_connector_account.rs` **2. Core Business Logic** - `crates/router/src/core/payment_methods/cards.rs` - `crates/router/src/core/payments/payment_methods.rs` - `crates/router/src/core/payments/routing.rs` - ... and 2 more files **3. Utils** - `crates/router/src/utils/user_role.rs` - `crates/storage_impl/src/utils.rs` **4. Configuration Files** - `.deepsource.toml` - `Cargo.toml` **5. Other** - `INSTALL_dependencies.sh` - `crates/analytics/src/search.rs` - `crates/euclid/src/backend/vir_interpreter.rs` - ... and 3 more files **Code Patterns Applied:** - Add conditional logic for feature flags or filtering (1 changes) - Modify database queries (21 changes) **Detailed Identifier Changes:** Commit 1d8290ce: Files to modify: **crates/analytics/src/search.rs** Modify existing code **crates/euclid/src/backend/vir_interpreter.rs** Modify existing code **crates/euclid/src/dssa/state_machine.rs** Modify existing code **crates/hyperswitch_domain_models/src/merchant_connector_account.rs** Modify existing code **crates/router/src/core/payment_methods/cards.rs** Modify existing code **crates/router/src/core/payments/payment_methods.rs** Modify existing code **crates/router/src/core/payments/routing.rs** Modify existing code **crates/router/src/core/user_role/role.rs** Modify existing code **crates/router/src/core/webhooks/incoming.rs** Modify existing code **crates/router/src/db/dispute.rs** Modify existing code **crates/router/src/db/refund.rs** Modify existing code **crates/router/src/utils/user_role.rs** Modify existing code **crates/storage_impl/src/utils.rs** Modify existing code
{"pr_number": 9390, "pr_title": "build: bump MSRV to 1.85.0", "merged_at": "2025-09-16T07:03:28Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/merchant_connector_account.rs"], "core_business": ["crates/router/src/core/payment_methods/cards.rs", "crates/router/src/core/payments/payment_methods.rs", "crates/router/src/core/payments/routing.rs", "crates/router/src/core/user_role/role.rs", "crates/router/src/core/webhooks/incoming.rs"], "utils": ["crates/router/src/utils/user_role.rs", "crates/storage_impl/src/utils.rs"], "config": [".deepsource.toml", "Cargo.toml"], "other": ["INSTALL_dependencies.sh", "crates/analytics/src/search.rs", "crates/euclid/src/backend/vir_interpreter.rs", "crates/euclid/src/dssa/state_machine.rs", "crates/router/src/db/dispute.rs", "crates/router/src/db/refund.rs"]}, "change_types": {"conditionals_added": 1, "database_queries": 21}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Added cypress for ACI. Following bugs were detected while adding cypress, this PR includes the fix for those as well: 1. `card_network` is required field only for network_token and not for normal card_payment, so made the field optional and populated missing error only for network_token flow. 2. When clicked technical_error after redirection, on returning back server was throwing 500 because the code for technical_error was not included in `aci/aci_result_codes.rs`. 3. Some fields are optional in capture response, handled it by making them optional. 4. For Void flow, separate `try_from` was not there previously and one for `Capture` was getting used up. This was causing incorrect status mapping for `Void`.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/aci/aci_result_codes.rs` - `crates/hyperswitch_connectors/src/connectors/aci/transformers.rs` **2. Tests** - `cypress-tests/cypress/e2e/configs/Payment/Aci.js` - `cypress-tests/cypress/support/redirectionHandler.js` **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (3 changes) - Extend existing types with new fields (235 changes) **Detailed Identifier Changes:** Commit 1c52f699: Files to modify: **crates/hyperswitch_connectors/src/connectors/aci/aci_result_codes.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/aci/transformers.rs** Modify existing code
{"pr_number": 9502, "pr_title": "feat(connector): [ACI] cypress added", "merged_at": "2025-09-29T09:09:41Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "token"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/aci/aci_result_codes.rs", "crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"], "tests": ["cypress-tests/cypress/e2e/configs/Payment/Aci.js", "cypress-tests/cypress/support/redirectionHandler.js"]}, "change_types": {"structs_added": 1, "functions_added": 3, "enums_added": 1, "fields_added": 235}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Previously we were using payment get to find whether attempt is present in db or not, but for the first invoice webhook there won't be any attempt present in db and recently we added a validation to use payment get only in case of attempt is present. This PR solves this issue by invoking payment get attempt list instead of payment get. Also for stripe billing / stripe connector_transaction_id remains same instead charge id keeps changing , so we added a support for this by checking if charge id is present we compare charge id if not we check for connector transaction id.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/payments.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/payment_attempt.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/payments.rs` - `crates/hyperswitch_domain_models/src/payments/payment_attempt.rs` - `crates/hyperswitch_domain_models/src/revenue_recovery.rs` - ... and 1 more files **4. Core Business Logic** - `crates/router/src/core/payments/transformers.rs` - `crates/router/src/core/routing/helpers.rs` - `crates/router/src/core/webhooks/recovery_incoming.rs` **5. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs` - `crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs` - `crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs` **6. Other** - `api-reference/README.md` - `api-reference/v2/openapi_spec_v2.json` **Code Patterns Applied:** - Implement new functions (1 changes) - Extend existing types with new fields (17 changes) - Modify database queries (2 changes) **Detailed Identifier Changes:** Commit fc72c3ee: Files to modify: **crates/api_models/src/payments.rs** Modify existing code **crates/diesel_models/src/payment_attempt.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments/payment_attempt.rs** Modify existing code **crates/hyperswitch_domain_models/src/revenue_recovery.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_response_types/revenue_recovery.rs** Modify existing code **crates/router/src/core/payments/transformers.rs** Modify existing code **crates/router/src/core/routing/helpers.rs** Modify existing code **crates/router/src/core/webhooks/recovery_incoming.rs** Modify existing code
{"pr_number": 8393, "pr_title": "feat(revenue_recovery): Invoke attempt list instead of payment get in recovery webhooks flow", "merged_at": "2025-06-20T09:01:12Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "connector"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "database": ["crates/diesel_models/src/payment_attempt.rs"], "domain": ["crates/hyperswitch_domain_models/src/payments.rs", "crates/hyperswitch_domain_models/src/payments/payment_attempt.rs", "crates/hyperswitch_domain_models/src/revenue_recovery.rs", "crates/hyperswitch_domain_models/src/router_response_types/revenue_recovery.rs"], "core_business": ["crates/router/src/core/payments/transformers.rs", "crates/router/src/core/routing/helpers.rs", "crates/router/src/core/webhooks/recovery_incoming.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs", "crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs", "crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs"], "other": ["api-reference/README.md", "api-reference/v2/openapi_spec_v2.json"]}, "change_types": {"functions_added": 1, "fields_added": 17, "database_queries": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
add add metadata keys for coingate in ConfigMetadata struct
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/connector_configs/src/connector.rs` **Code Patterns Applied:** - Extend existing types with new fields (3 changes)
{"pr_number": 7655, "pr_title": "refactor(connector): [Coingate] add add metadata keys for coingate in ConfigMetadata struct ", "merged_at": "2025-03-28T11:12:41Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "connector"]}, "hierarchy": {"connectors": ["crates/connector_configs/src/connector.rs"]}, "change_types": {"fields_added": 3}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> Some connectors, like Adyen, do not support a refund sync API, so we need to rely on refund webhooks for the status. To address this, support for relay refund webhooks is being added. To support this use case, a new webhook endpoint needs to be introduced for relay webhooks: /webhooks/relay/{merchant_id}/{connector_id_or_name} Once the webhook is identified as a relay webhook, it should be handled based on the flow type, such as refunds, payments, etc. For now, only support for relay refund webhooks has been added.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/webhooks.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/query/relay.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/relay.rs` **4. Core Business Logic** - `crates/router/src/core/webhooks/incoming.rs` - `crates/router/src/core/webhooks/incoming_v2.rs` **5. Type Definitions** - `crates/router/src/types/transformers.rs` - `crates/router_env/src/logger/types.rs` **6. Utils** - `crates/common_utils/src/id_type/relay.rs` - `crates/router/src/routes/lock_utils.rs` **7. Other** - `crates/router/src/db/relay.rs` - `crates/router/src/lib.rs` - `crates/router/src/routes.rs` - ... and 4 more files **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (13 changes) - Extend existing types with new fields (58 changes) - Add conditional logic for feature flags or filtering (2 changes) - Modify database queries (2 changes) **Detailed Identifier Changes:** Commit d850f17b: Files to modify: **crates/api_models/src/webhooks.rs** Modify existing code **crates/common_utils/src/id_type/relay.rs** Modify existing code **crates/diesel_models/src/query/relay.rs** Modify existing code **crates/hyperswitch_domain_models/src/relay.rs** Modify existing code **crates/router/src/core/webhooks/incoming.rs** Modify existing code **crates/router/src/core/webhooks/incoming_v2.rs** Modify existing code **crates/router/src/db/relay.rs** Modify existing code **crates/router/src/lib.rs** Modify existing code **crates/router/src/routes.rs** Modify existing code **crates/router/src/routes/app.rs** Modify existing code **crates/router/src/routes/lock_utils.rs** Modify existing code **crates/router/src/routes/webhooks.rs** Modify existing code **crates/router/src/types/transformers.rs** Modify existing code **crates/router_env/src/logger/types.rs** Modify existing code
{"pr_number": 6974, "pr_title": "feat(router): add support for relay refund incoming webhooks", "merged_at": "2025-01-10T08:07:42Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/webhooks.rs"], "database": ["crates/diesel_models/src/query/relay.rs"], "domain": ["crates/hyperswitch_domain_models/src/relay.rs"], "core_business": ["crates/router/src/core/webhooks/incoming.rs", "crates/router/src/core/webhooks/incoming_v2.rs"], "types": ["crates/router/src/types/transformers.rs", "crates/router_env/src/logger/types.rs"], "utils": ["crates/common_utils/src/id_type/relay.rs", "crates/router/src/routes/lock_utils.rs"], "other": ["crates/router/src/db/relay.rs", "crates/router/src/lib.rs", "crates/router/src/routes.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/webhooks.rs", "migrations/2025-01-07-105739_create_index_for_relay/down.sql", "migrations/2025-01-07-105739_create_index_for_relay/up.sql"]}, "change_types": {"structs_added": 1, "functions_added": 13, "fields_added": 58, "imports_added": 3, "conditionals_added": 2, "database_queries": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Currently manual retry is enabled through request. We need to make it profile configurable such that the merchant/SDK doesn't need to send it for each request - `is_manual_retry` is enabled through profile with this pr - if it is enabled, it lets merchant do multiple confirm with the same client_secret/payment_id - This helps in manually retrying the payment with other payment method if the current one fails - the behaviour in the core is changed, the condition is not based on profile config rather than request - the response is populated as well based on profile config
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/enums.rs` **2. Core Business Logic** - `crates/router/src/core/payments.rs` - `crates/router/src/core/payments/helpers.rs` - `crates/router/src/core/payments/operations/payment_approve.rs` - ... and 16 more files **Code Patterns Applied:** - Implement new functions (2 changes) - Extend existing types with new fields (18 changes) - Add conditional logic for feature flags or filtering (1 changes) **Detailed Identifier Changes:** Commit 59870a96: Files to modify: **crates/api_models/src/enums.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code **crates/router/src/core/payments/operations/payment_approve.rs** Modify existing code **crates/router/src/core/payments/operations/payment_cancel.rs** Modify existing code **crates/router/src/core/payments/operations/payment_cancel_post_capture.rs** Modify existing code **crates/router/src/core/payments/operations/payment_capture.rs** Modify existing code **crates/router/src/core/payments/operations/payment_complete_authorize.rs** Modify existing code **crates/router/src/core/payments/operations/payment_confirm.rs** Modify existing code **crates/router/src/core/payments/operations/payment_create.rs** Modify existing code **crates/router/src/core/payments/operations/payment_post_session_tokens.rs** Modify existing code **crates/router/src/core/payments/operations/payment_reject.rs** Modify existing code **crates/router/src/core/payments/operations/payment_session.rs** Modify existing code **crates/router/src/core/payments/operations/payment_start.rs** Modify existing code **crates/router/src/core/payments/operations/payment_status.rs** Modify existing code **crates/router/src/core/payments/operations/payment_update.rs** Modify existing code **crates/router/src/core/payments/operations/payment_update_metadata.rs** Modify existing code **crates/router/src/core/payments/operations/payments_incremental_authorization.rs** Modify existing code **crates/router/src/core/payments/operations/tax_calculation.rs** Modify existing code **crates/router/src/core/payments/transformers.rs** Modify existing code
{"pr_number": 9302, "pr_title": "refactor(core): accept manual retry from profile ", "merged_at": "2025-09-11T14:32:09Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/enums.rs"], "core_business": ["crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations/payment_approve.rs", "crates/router/src/core/payments/operations/payment_cancel.rs", "crates/router/src/core/payments/operations/payment_cancel_post_capture.rs", "crates/router/src/core/payments/operations/payment_capture.rs", "crates/router/src/core/payments/operations/payment_complete_authorize.rs", "crates/router/src/core/payments/operations/payment_confirm.rs", "crates/router/src/core/payments/operations/payment_create.rs", "crates/router/src/core/payments/operations/payment_post_session_tokens.rs", "crates/router/src/core/payments/operations/payment_reject.rs", "crates/router/src/core/payments/operations/payment_session.rs", "crates/router/src/core/payments/operations/payment_start.rs", "crates/router/src/core/payments/operations/payment_status.rs", "crates/router/src/core/payments/operations/payment_update.rs", "crates/router/src/core/payments/operations/payment_update_metadata.rs", "crates/router/src/core/payments/operations/payments_incremental_authorization.rs", "crates/router/src/core/payments/operations/tax_calculation.rs", "crates/router/src/core/payments/transformers.rs"]}, "change_types": {"functions_added": 2, "fields_added": 18, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Add mandates support for fiuu
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/payments/operations/payment_create.rs` **2. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/fiuu.rs` - `crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs` - `crates/hyperswitch_connectors/src/utils.rs` **3. Tests** - `config/deployments/integration_test.toml` - `cypress-tests/cypress/e2e/PaymentUtils/Fiuu.js` - `cypress-tests/cypress/support/commands.js` **4. Configuration Files** - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - `config/development.toml` - ... and 1 more files **Code Patterns Applied:** - Define new data structures (4 changes) - Implement new functions (7 changes) - Extend existing types with new fields (342 changes) - Add conditional logic for feature flags or filtering (3 changes) **Detailed Identifier Changes:** Commit 4647a2f6: Files to modify: **crates/hyperswitch_connectors/src/connectors/fiuu.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/utils.rs** Modify existing code **crates/router/src/configs/defaults.rs** Modify existing code **crates/router/src/core/payments/operations/payment_create.rs** Modify existing code
{"pr_number": 6361, "pr_title": "feat(connector): [Fiuu] Add support for cards recurring payments", "merged_at": "2024-10-25T13:24:25Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments/operations/payment_create.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/fiuu.rs", "crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs", "crates/hyperswitch_connectors/src/utils.rs"], "tests": ["config/deployments/integration_test.toml", "cypress-tests/cypress/e2e/PaymentUtils/Fiuu.js", "cypress-tests/cypress/support/commands.js"], "config": ["config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "crates/router/src/configs/defaults.rs"]}, "change_types": {"structs_added": 4, "functions_added": 7, "enums_added": 2, "fields_added": 342, "imports_added": 3, "conditionals_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Passing shopperReference as "Moto" if paymentChannel is being sent as Moto
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs`
{"pr_number": 9134, "pr_title": "feat(connector): [ADYEN] Add Support for MOTO Payments", "merged_at": "2025-09-03T13:23:03Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> - Built an interface for Contract based routing - Integrated Contract based routing with hyperswitch - Built new APIs for contract routing config setup - Refactored some existing dynamic routing code
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/events/routing.rs` - `crates/api_models/src/routing.rs` **2. Core Business Logic** - `crates/router/src/core/errors.rs` - `crates/router/src/core/metrics.rs` - `crates/router/src/core/payments.rs` - ... and 4 more files **3. Other** - `.github/CODEOWNERS` - `api-reference/openapi_spec.json` - `crates/external_services/build.rs` - ... and 11 more files **Code Patterns Applied:** - Define new data structures (8 changes) - Implement new functions (42 changes) - Extend existing types with new fields (225 changes) - Add conditional logic for feature flags or filtering (19 changes) - Modify database queries (2 changes) **Detailed Identifier Changes:** Commit 60ddddf2: Files to modify: **crates/api_models/src/events/routing.rs** Modify existing code **crates/api_models/src/routing.rs** Modify existing code **crates/external_services/build.rs** Modify existing code **crates/external_services/src/grpc_client/dynamic_routing.rs** Modify existing code **crates/external_services/src/grpc_client/dynamic_routing/contract_routing_client.rs** Modify existing code **crates/external_services/src/grpc_client/dynamic_routing/elimination_rate_client.rs** Modify existing code **crates/openapi/src/openapi.rs** Modify existing code **crates/openapi/src/routes/routing.rs** Modify existing code **crates/router/src/core/errors.rs** Modify existing code **crates/router/src/core/metrics.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code **crates/router/src/core/payments/operations/payment_response.rs** Modify existing code **crates/router/src/core/payments/routing.rs** Modify existing code **crates/router/src/core/routing.rs** Modify existing code **crates/router/src/core/routing/helpers.rs** Modify existing code **crates/router/src/routes/app.rs** Modify existing code **crates/router/src/routes/metrics/bg_metrics_collector.rs** Modify existing code **crates/router/src/routes/routing.rs** Modify existing code **crates/storage_impl/src/redis/cache.rs** Modify existing code **crates/storage_impl/src/redis/pub_sub.rs** Modify existing code
{"pr_number": 6761, "pr_title": "feat(routing): Contract based routing integration ", "merged_at": "2025-02-06T14:35:08Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "connector"]}, "hierarchy": {"api_models": ["crates/api_models/src/events/routing.rs", "crates/api_models/src/routing.rs"], "core_business": ["crates/router/src/core/errors.rs", "crates/router/src/core/metrics.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/operations/payment_response.rs", "crates/router/src/core/payments/routing.rs", "crates/router/src/core/routing.rs", "crates/router/src/core/routing/helpers.rs"], "other": [".github/CODEOWNERS", "api-reference/openapi_spec.json", "crates/external_services/build.rs", "crates/external_services/src/grpc_client/dynamic_routing.rs", "crates/external_services/src/grpc_client/dynamic_routing/contract_routing_client.rs", "crates/external_services/src/grpc_client/dynamic_routing/elimination_rate_client.rs", "crates/openapi/src/openapi.rs", "crates/openapi/src/routes/routing.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/metrics/bg_metrics_collector.rs", "crates/router/src/routes/routing.rs", "crates/storage_impl/src/redis/cache.rs", "crates/storage_impl/src/redis/pub_sub.rs", "proto/contract_routing.proto"]}, "change_types": {"structs_added": 8, "functions_added": 42, "enums_added": 4, "fields_added": 225, "imports_added": 15, "conditionals_added": 19, "database_queries": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
Add Payu Connector to the cypress test suits - PayU doesn't support mandates so tests are skipped accordingly - PayU doesn't support three_ds
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Tests** - `cypress-tests/cypress/e2e/configs/Payment/Payu.js` - `cypress-tests/cypress/e2e/configs/Payment/Utils.js` **Code Patterns Applied:** - Extend existing types with new fields (565 changes)
{"pr_number": 8567, "pr_title": "ci(cypress): add payu connector", "merged_at": "2025-07-08T12:28:51Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "refund"]}, "hierarchy": {"tests": ["cypress-tests/cypress/e2e/configs/Payment/Payu.js", "cypress-tests/cypress/e2e/configs/Payment/Utils.js"]}, "change_types": {"fields_added": 565}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> this pr addresses an issue where hyperswitch sdk did not return required fields resulting in transactions to not happen.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/payment_methods/src/configs/payment_connector_required_fields.rs`
{"pr_number": 8941, "pr_title": "fix(connector): update required fields for xendit", "merged_at": "2025-08-13T15:17:43Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/payment_methods/src/configs/payment_connector_required_fields.rs"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
1. Added config `skip_status_screen` in payment links to decide whether to skip status screen after payment completion - If config is true user will be redirected to return url directly - If config is false,or not passed redirect user to status screen and then to return url `(default flow)` 2. Added config `background_color` to customize background color for payment links 3. Added config `payment_button_text_color` to customize text color for payment button in payment link
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/admin.rs` - `crates/api_models/src/payments.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/business_profile.rs` - `crates/diesel_models/src/payment_intent.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/lib.rs` **4. Core Business Logic** - `crates/router/src/core/payment_link.rs` - `crates/router/src/core/payment_link/payment_link_initiate/payment_link.js` - `crates/router/src/core/payments/transformers.rs` **5. Type Definitions** - `crates/router/src/types/transformers.rs` **6. Other** - `api-reference-v2/openapi_spec.json` - `api-reference/openapi_spec.json` **Code Patterns Applied:** - Extend existing types with new fields (47 changes) - Add conditional logic for feature flags or filtering (1 changes) **Detailed Identifier Changes:** Commit 0dd62e86: Files to modify: **crates/api_models/src/admin.rs** Modify existing code **crates/api_models/src/payments.rs** Modify existing code **crates/diesel_models/src/business_profile.rs** Modify existing code **crates/diesel_models/src/payment_intent.rs** Modify existing code **crates/hyperswitch_domain_models/src/lib.rs** Modify existing code **crates/router/src/core/payment_link.rs** Modify existing code **crates/router/src/core/payments/transformers.rs** Modify existing code **crates/router/src/types/transformers.rs** Modify existing code
{"pr_number": 7340, "pr_title": "feat(payments): [Payment links] add configs for payment link", "merged_at": "2025-02-27T13:32:06Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs", "crates/api_models/src/payments.rs"], "database": ["crates/diesel_models/src/business_profile.rs", "crates/diesel_models/src/payment_intent.rs"], "domain": ["crates/hyperswitch_domain_models/src/lib.rs"], "core_business": ["crates/router/src/core/payment_link.rs", "crates/router/src/core/payment_link/payment_link_initiate/payment_link.js", "crates/router/src/core/payments/transformers.rs"], "types": ["crates/router/src/types/transformers.rs"], "other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json"]}, "change_types": {"fields_added": 47, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Fixes this issue: [https://github.com/juspay/hyperswitch-cloud/issues/7580](https://github.com/juspay/hyperswitch-cloud/issues/7580) - `first_attempt` filter takes in `true` or `false` as variants. - But while it is getting applied in the query, it is being converted into a string: `'true'` or `'false'` This works on latest clickhouse versions, but fails on the older clickhouse versions, with the error: ```error DB::Exception: Cannot convert string false to type Bool: While processing (first_attempt IN ('false')) ``` Now, internally converting `'true'` to `'1'` and `'false'` to `'0'` to fix the issue, and this gets accepted in both the versions. The query which was previously running was: ```bash SELECT connector, status, sum(sign_flag) as count, first_attempt, min(created_at) as start_bucket, max(created_at) as end_bucket FROM sessionizer_payment_attempts WHERE ( first_attempt IN ('false') AND organization_id = 'org_id' AND created_at >= '1731803400' AND created_at <= '1732577400' ) GROUP BY connector, status, first_attempt HAVING sum(sign_flag) >= '1' ``` Now the query which will run is: ```bash SELECT connector, status, sum(sign_flag) as count, first_attempt, min(created_at) as start_bucket, max(created_at) as end_bucket FROM sessionizer_payment_attempts WHERE ( first_attempt IN ('0') AND organization_id = 'org_id' AND created_at >= '1731803400' AND created_at <= '1732577400' ) GROUP BY connector, status, first_attempt HAVING sum(sign_flag) >= '1' ```
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Database Layer (Queries & Schema)** - `crates/analytics/src/query.rs`
{"pr_number": 6667, "pr_title": "fix(analytics): fix first_attempt filter value parsing for Payments", "merged_at": "2024-11-29T10:11:16Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"database": ["crates/analytics/src/query.rs"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> This PR addresses the clippy lints occurring due to new rust version 1.85.0 https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
To implement this **validation** feature, you'll need to modify these architectural layers: **1. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/customer.rs` - `crates/hyperswitch_domain_models/src/errors/api_error_response.rs` **2. Core Business Logic** - `crates/router/src/core/admin.rs` - `crates/router/src/core/customers.rs` - `crates/router/src/core/payment_methods.rs` - ... and 7 more files **3. Type Definitions** - `crates/router/src/compatibility/stripe/payment_intents/types.rs` - `crates/router/src/compatibility/stripe/setup_intents/types.rs` - `crates/router/src/types/api/admin.rs` **4. Other** - `crates/router/src/services/authorization/roles.rs` **Code Patterns Applied:** - Extend existing types with new fields (5 changes) **Detailed Identifier Changes:** Commit 38bb7676: Files to modify: **crates/hyperswitch_domain_models/src/customer.rs** Modify existing code **crates/hyperswitch_domain_models/src/errors/api_error_response.rs** Modify existing code **crates/router/src/compatibility/stripe/payment_intents/types.rs** Modify existing code **crates/router/src/compatibility/stripe/setup_intents/types.rs** Modify existing code **crates/router/src/core/admin.rs** Modify existing code **crates/router/src/core/customers.rs** Modify existing code **crates/router/src/core/payment_methods.rs** Modify existing code **crates/router/src/core/payment_methods/cards.rs** Modify existing code **crates/router/src/core/payments/operations/payment_complete_authorize.rs** Modify existing code **crates/router/src/core/payments/operations/payment_create.rs** Modify existing code **crates/router/src/core/payments/operations/payment_update.rs** Modify existing code **crates/router/src/core/payments/tokenization.rs** Modify existing code **crates/router/src/core/payments/transformers.rs** Modify existing code **crates/router/src/core/payouts/helpers.rs** Modify existing code **crates/router/src/services/authorization/roles.rs** Modify existing code **crates/router/src/types/api/admin.rs** Modify existing code
{"pr_number": 7376, "pr_title": "chore: address Rust 1.85.0 clippy lints", "merged_at": "2025-03-05T11:22:58Z", "intent": {"feature_type": "validation", "action": "add_feature", "entities": []}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/customer.rs", "crates/hyperswitch_domain_models/src/errors/api_error_response.rs"], "core_business": ["crates/router/src/core/admin.rs", "crates/router/src/core/customers.rs", "crates/router/src/core/payment_methods.rs", "crates/router/src/core/payment_methods/cards.rs", "crates/router/src/core/payments/operations/payment_complete_authorize.rs", "crates/router/src/core/payments/operations/payment_create.rs", "crates/router/src/core/payments/operations/payment_update.rs", "crates/router/src/core/payments/tokenization.rs", "crates/router/src/core/payments/transformers.rs", "crates/router/src/core/payouts/helpers.rs"], "types": ["crates/router/src/compatibility/stripe/payment_intents/types.rs", "crates/router/src/compatibility/stripe/setup_intents/types.rs", "crates/router/src/types/api/admin.rs"], "other": ["crates/router/src/services/authorization/roles.rs"]}, "change_types": {"fields_added": 5}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Updated open-api spec for Intelligent routing
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `api-reference/intelligent-router-api-reference/contract-routing/fetch-contract-scores-for-an-entity.mdx` **2. Configuration Files** - `api-reference/hyperswitch_intelligent_router_open_api_spec.yml` **3. Other** - `api-reference/intelligent-router-api-reference/contract-routing/invalidate-contract-information-for-an-entity.mdx` - `api-reference/intelligent-router-api-reference/contract-routing/update-contract-information-for-an-entity.mdx` - `api-reference/intelligent-router-api-reference/static-routing/create-a-routing-rule.mdx` - ... and 2 more files **Code Patterns Applied:** - Extend existing types with new fields (702 changes)
{"pr_number": 7777, "pr_title": "docs: Updated open-api spec for Intelligent routing", "merged_at": "2025-04-23T14:01:26Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"core_business": ["api-reference/intelligent-router-api-reference/contract-routing/fetch-contract-scores-for-an-entity.mdx"], "config": ["api-reference/hyperswitch_intelligent_router_open_api_spec.yml"], "other": ["api-reference/intelligent-router-api-reference/contract-routing/invalidate-contract-information-for-an-entity.mdx", "api-reference/intelligent-router-api-reference/contract-routing/update-contract-information-for-an-entity.mdx", "api-reference/intelligent-router-api-reference/static-routing/create-a-routing-rule.mdx", "api-reference/intelligent-router-api-reference/static-routing/evaluate-routing-rule.mdx", "api-reference/mint.json"]}, "change_types": {"fields_added": 702}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
Hotfix for https://github.com/juspay/hyperswitch/pull/7072
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js` - `crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js` **Code Patterns Applied:** - Extend existing types with new fields (6 changes)
{"pr_number": 7086, "pr_title": "refactor(payment-link): use shouldRemoveBeforeUnloadEvents flag for handling removal of beforeunload events through SDK", "merged_at": "2025-01-22T07:30:59Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"core_business": ["crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js", "crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js"]}, "change_types": {"fields_added": 6}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> refactor ctp flow to fetch mca_id and get the connector creds instead of connector_name ## How did you test it? <!-- Did you write an integration/unit/API test to verify the code changes? Or did you test this change manually (provide relevant screenshots)? --> Add config to make the merchant eligible for authentication service ```shell curl --location 'http://localhost:8080/configs/' \ --header 'Content-Type: application/json' \ --header 'api-key: test_admin' \ --data '{ "key": "merchants_eligible_for_authentication_service", "value": "[\"sahkal\", \"cewqcewc\", \"dqwdwljildwduoqwhduwqcqwjd\"]" }' ``` Create merchant connector account for Ctp_mastercard ```shell curl --location 'http://localhost:8080/account/dqwdwljildwduoqwhduwqcqwjd/connectors' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: test_admin' \ --data ' { "connector_type": "authentication_processor", "connector_name": "ctp_mastercard", "connector_account_details": { "auth_type": "HeaderKey", "api_key": "API-KEY" }, "test_mode": true, "disabled": false, "payment_methods_enabled": [ { "payment_method": "card", "payment_method_types": [ { "payment_method_type": "credit", "card_networks": [ "Visa", "Mastercard" ], "minimum_amount": 1, "maximum_amount": 68607706, "recurring_enabled": true, "installment_payment_enabled": true }, { "payment_method_type": "debit", "card_networks": [ "Visa", "Mastercard" ], "minimum_amount": 1, "maximum_amount": 68607706, "recurring_enabled": true, "installment_payment_enabled": true } ] } ], "business_country": "US", "business_label": "default", "metadata": { "dpa_id": "b6e06cc6-3018-4c4c-bbf5-9fb232615090", "dpa_name": "TestMerchant", "locale": "en_AU", "card_brands": ["mastercard", "visa"], "acquirer_bin": "545301", "acquirer_merchant_id": "SRC3DS", "merchant_category_code": "0001", "merchant_country_code": "US" } } ' ``` Adyen ```shell curl --location 'http://localhost:8080/account/dqwdwljildwduoqwhduwqcqwjd/connectors' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: test_admin' \ --data ' { "connector_type": "payment_processor", "connector_name": "adyen", "connector_account_details": { "auth_type": "SignatureKey", "api_key": "API-KEY", "key1": "KEY-1", "api_secret": "API-SECRET" }, "test_mode": true, "disabled": false, "payment_methods_enabled": [ { "payment_method": "card", "payment_method_types": [ { "payment_method_type": "credit", "card_networks": [ "Visa", "Mastercard" ], "minimum_amount": 1, "maximum_amount": 68607706, "recurring_enabled": true, "installment_payment_enabled": true }, { "payment_method_type": "debit", "card_networks": [ "Visa", "Mastercard" ], "minimum_amount": 1, "maximum_amount": 68607706, "recurring_enabled": true, "installment_payment_enabled": true } ] } ], "metadata": { "city": "NY", "unit": "245", "live_endpoint_prefix": "vsfbjh" }, "connector_webhook_details": { "merchant_secret": "MERCHANT SECRET" }, "business_country": "US", "business_label": "default" } ' ``` update business profile with ctp_mastercard mca_id ```shell curl --location 'http://localhost:8080/account/dqwdwljildwduoqwhduwqcqwjd/business_profile/pro_KCTRv8sFQfC0r65CZxrn' \ --header 'Content-Type: application/json' \ --header 'api-key: test_admin' \ --data '{ "is_click_to_pay_enabled": true, "authentication_product_ids": {"click_to_pay": "mca_XAXUpel8ABbpoGNF8lGz"} }' ``` do payments create ```shell curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_fQsdc9JbERQ7CWvmguo84XDROuXOD1oK9sdfCJXOko3SossoI4zdxpJkOIPmojwn' \ --data '{ "amount": 1130, "currency": "USD", "confirm": false, "return_url": "https://hyperswitch.io" } ' ``` do payments confirm ```shell curl --location 'http://localhost:8080/payments/pay_Ft9Ke5Lun924OCJa7yll/confirm' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: pk_dev_1f712ac5fd7f4d8c91da6a627862a4f0' \ --data ' { "payment_method": "card", "payment_method_type": "debit", "client_secret": "pay_Ft9Ke5Lun924OCJa7yll_secret_po1FVW5adQWFolWJUhMb", "ctp_service_details" : { "merchant_transaction_id": "0a4e0d3.34f4a04b.803eb38b0a56f082296538d4a70c064a6b320639", "correlation_id": "34f4a04b.bcd1ac39-e0f3-479e-b3ee-703ade0c66dc", "x_src_flow_id" : "34f4a04b.bcd1ac39-e0f3-479e-b3ee-703ade0c66dc.1727438793" }, "browser_info": { "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8", "color_depth": 24, "java_enabled":true, "java_script_enabled": true, "language": "en-GB", "screen_height": 1440, "screen_width": 2560, "time_zone": -330, "user_agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Mobile Safari/537.36" } }' ``` Expected Response ```shell { "payment_id": "pay_Ft9Ke5Lun924OCJa7yll", "merchant_id": "dqwdwljildwduoqwhduwqcqwjd", "status": "failed", "amount": 1130, "net_amount": 1130, "shipping_cost": null, "amount_capturable": 0, "amount_received": null, "connector": "adyen", "client_secret": "pay_Ft9Ke5Lun924OCJa7yll_secret_po1FVW5adQWFolWJUhMb", "created": "2024-12-18T13:00:47.663Z", "currency": "USD", "customer_id": null, "customer": null, "description": null, "refunds": null, "disputes": null, "mandate_id": null, "mandate_data": null, "setup_future_usage": null, "off_session": null, "capture_on": null, "capture_method": null, "payment_method": "card", "payment_method_data": null, "payment_token": null, "shipping": null, "billing": null, "order_details": null, "email": null, "name": null, "phone": null, "return_url": "https://hyperswitch.io/", "authentication_type": "no_three_ds", "statement_descriptor_name": null, "statement_descriptor_suffix": null, "next_action": null, "cancellation_reason": null, "error_code": "2", "error_message": "Refused", "unified_code": "UE_9000", "unified_message": "Something went wrong", "payment_experience": null, "payment_method_type": "debit", "connector_label": null, "business_country": null, "business_label": "default", "business_sub_label": null, "allowed_payment_method_types": null, "ephemeral_key": null, "manual_retry_allowed": true, "connector_transaction_id": "KN8X64SH6PRRVS65", "frm_message": null, "metadata": null, "connector_metadata": null, "feature_metadata": null, "reference_id": null, "payment_link": null, "profile_id": "pro_KCTRv8sFQfC0r65CZxrn", "surcharge_details": null, "attempt_count": 1, "merchant_decision": null, "merchant_connector_id": "mca_L6N77PiH3BI2BTPwkZPL", "incremental_authorization_allowed": false, "authorization_count": null, "incremental_authorizations": null, "external_authentication_details": null, "external_3ds_authentication_attempted": false, "expires_on": "2024-12-18T13:15:47.663Z", "fingerprint": null, "browser_info": { "language": "en-GB", "time_zone": -330, "ip_address": "::1", "user_agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Mobile Safari/537.36", "color_depth": 24, "java_enabled": true, "screen_width": 2560, "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8", "screen_height": 1440, "java_script_enabled": true }, "payment_method_id": null, "payment_method_status": null, "updated": "2024-12-18T13:04:08.461Z", "split_payments": null, "frm_metadata": null, "merchant_order_reference_id": null, "order_tax_amount": null, "connector_mandate_id": null } ``` ## Checklist <!-- Put an `x` in the boxes that apply --> - [x] I formatted the code `cargo +nightly fmt --all` - [x] I addressed lints thrown by `cargo clippy` - [x] I reviewed the submitted code - [ ] I added unit tests for my changes where possible
To implement this **payment** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/admin.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/business_profile.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/business_profile.rs` - `crates/hyperswitch_domain_models/src/merchant_connector_account.rs` **4. Core Business Logic** - `crates/router/src/core/admin.rs` - `crates/router/src/core/payments.rs` - `crates/router/src/core/payments/helpers.rs` - ... and 5 more files **5. Type Definitions** - `crates/common_types/src/payments.rs` - `crates/router/src/types/api/admin.rs` **6. Other** - `crates/common_enums/src/enums.rs` - `crates/router/src/consts.rs` **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (6 changes) - Extend existing types with new fields (41 changes) - Add conditional logic for feature flags or filtering (2 changes) **Detailed Identifier Changes:** Commit e9fcfc45: Files to modify: **crates/api_models/src/admin.rs** Modify existing code **crates/common_enums/src/enums.rs** Modify existing code **crates/common_types/src/payments.rs** Modify existing code **crates/diesel_models/src/business_profile.rs** Modify existing code **crates/hyperswitch_domain_models/src/business_profile.rs** Modify existing code **crates/hyperswitch_domain_models/src/merchant_connector_account.rs** Modify existing code **crates/router/src/consts.rs** Modify existing code **crates/router/src/core/admin.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code **crates/router/src/core/payments/operations.rs** Modify existing code **crates/router/src/core/payments/operations/payment_confirm.rs** Modify existing code **crates/router/src/core/unified_authentication_service.rs** Modify existing code **crates/router/src/core/unified_authentication_service/types.rs** Modify existing code **crates/router/src/core/unified_authentication_service/utils.rs** Modify existing code **crates/router/src/types/api/admin.rs** Modify existing code
{"pr_number": 6859, "pr_title": "refactor(router): refactor ctp flow to fetch mca_id and get the connector creds instead of connector_name", "merged_at": "2025-01-20T12:02:06Z", "intent": {"feature_type": "payment", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs"], "database": ["crates/diesel_models/src/business_profile.rs"], "domain": ["crates/hyperswitch_domain_models/src/business_profile.rs", "crates/hyperswitch_domain_models/src/merchant_connector_account.rs"], "core_business": ["crates/router/src/core/admin.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations.rs", "crates/router/src/core/payments/operations/payment_confirm.rs", "crates/router/src/core/unified_authentication_service.rs", "crates/router/src/core/unified_authentication_service/types.rs", "crates/router/src/core/unified_authentication_service/utils.rs"], "types": ["crates/common_types/src/payments.rs", "crates/router/src/types/api/admin.rs"], "other": ["crates/common_enums/src/enums.rs", "crates/router/src/consts.rs"]}, "change_types": {"structs_added": 1, "functions_added": 6, "enums_added": 1, "fields_added": 41, "imports_added": 5, "conditionals_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Template new connection integration `celero`
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/configs.rs` **2. Core Business Logic** - `crates/router/src/core/connector_validation.rs` **3. External Connector Integration** - `crates/common_enums/src/connector_enums.rs` - `crates/connector_configs/src/connector.rs` - `crates/hyperswitch_connectors/src/connectors.rs` - ... and 9 more files **4. Type Definitions** - `crates/router/src/types/api.rs` - `crates/router/src/types/transformers.rs` **5. Tests** - `config/deployments/integration_test.toml` - `loadtest/config/development.toml` **6. Configuration Files** - `config/config.example.toml` - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - ... and 2 more files **7. Other** - `api-reference/v1/openapi_spec_v1.json` - `api-reference/v2/openapi_spec_v2.json` **Code Patterns Applied:** - Define new data structures (10 changes) - Implement new functions (78 changes) - Extend existing types with new fields (157 changes) **Detailed Identifier Changes:** Commit dfed2be2: Files to modify: **crates/common_enums/src/connector_enums.rs** Modify existing code **crates/connector_configs/src/connector.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/celero.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/celero/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations_v2.rs** Modify existing code **crates/hyperswitch_domain_models/src/configs.rs** Modify existing code **crates/router/src/connector.rs** Modify existing code **crates/router/src/core/connector_validation.rs** Modify existing code **crates/router/src/types/api.rs** Modify existing code **crates/router/src/types/transformers.rs** Modify existing code **crates/router/tests/connectors/celero.rs** Modify existing code **crates/router/tests/connectors/main.rs** Modify existing code **crates/test_utils/src/connector_auth.rs** Modify existing code
{"pr_number": 8489, "pr_title": "feat(connector): [Celero] add Connector Template Code", "merged_at": "2025-07-07T11:57:07Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/configs.rs"], "core_business": ["crates/router/src/core/connector_validation.rs"], "connectors": ["crates/common_enums/src/connector_enums.rs", "crates/connector_configs/src/connector.rs", "crates/hyperswitch_connectors/src/connectors.rs", "crates/hyperswitch_connectors/src/connectors/celero.rs", "crates/hyperswitch_connectors/src/connectors/celero/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/hyperswitch_connectors/src/default_implementations_v2.rs", "crates/router/src/connector.rs", "crates/router/tests/connectors/celero.rs", "crates/router/tests/connectors/main.rs", "crates/test_utils/src/connector_auth.rs", "scripts/add_connector.sh"], "types": ["crates/router/src/types/api.rs", "crates/router/src/types/transformers.rs"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml"], "other": ["api-reference/v1/openapi_spec_v1.json", "api-reference/v2/openapi_spec_v2.json"]}, "change_types": {"structs_added": 10, "functions_added": 78, "enums_added": 2, "fields_added": 157, "imports_added": 19}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This PR resolves the v2 warnings generated in crates common_utils, api_models, hyperswitch_domain_models, diesel_models, kgraph_utils, storage_impl, hyperswitch_connectors, payment_methods.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/admin.rs` - `crates/api_models/src/refunds.rs` - `crates/api_models/src/tokenization.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/query/tokenization.rs` - `crates/diesel_models/src/tokenization.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/business_profile.rs` - `crates/hyperswitch_domain_models/src/customer.rs` - `crates/hyperswitch_domain_models/src/merchant_connector_account.rs` - ... and 8 more files **4. Core Business Logic** - `crates/payment_methods/src/core/migration.rs` - `crates/payment_methods/src/core/migration/payment_methods.rs` - `crates/router/src/core/customers.rs` - ... and 9 more files **5. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/chargebee.rs` - `crates/hyperswitch_connectors/src/connectors/razorpay.rs` - `crates/hyperswitch_connectors/src/connectors/recurly.rs` - ... and 4 more files **6. Utils** - `crates/common_utils/src/id_type/global_id/token.rs` - `crates/common_utils/src/tokenization.rs` - `crates/kgraph_utils/src/mca.rs` - ... and 1 more files **7. Other** - `crates/payment_methods/src/controller.rs` - `crates/payment_methods/src/state.rs` - `crates/router/src/db/kafka_store.rs` - ... and 8 more files **Code Patterns Applied:** - Extend existing types with new fields (39 changes) **Detailed Identifier Changes:** Commit d2d4f3d1: Files to modify: **crates/api_models/src/admin.rs** Modify existing code **crates/api_models/src/refunds.rs** Modify existing code **crates/api_models/src/tokenization.rs** Modify existing code **crates/common_utils/src/id_type/global_id/token.rs** Modify existing code **crates/common_utils/src/tokenization.rs** Modify existing code **crates/diesel_models/src/query/tokenization.rs** Modify existing code **crates/diesel_models/src/tokenization.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/chargebee.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/razorpay.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/recurly.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/stripebilling.rs** Modify existing code **crates/hyperswitch_connectors/src/types.rs** Modify existing code **crates/hyperswitch_domain_models/src/business_profile.rs** Modify existing code **crates/hyperswitch_domain_models/src/customer.rs** Modify existing code **crates/hyperswitch_domain_models/src/merchant_connector_account.rs** Modify existing code **crates/hyperswitch_domain_models/src/network_tokenization.rs** Modify existing code **crates/hyperswitch_domain_models/src/payment_methods.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments/payment_attempt.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments/payment_intent.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_data.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_request_types.rs** Modify existing code **crates/hyperswitch_domain_models/src/tokenization.rs** Modify existing code **crates/kgraph_utils/src/mca.rs** Modify existing code **crates/payment_methods/src/configs/payment_connector_required_fields.rs** Modify existing code **crates/payment_methods/src/controller.rs** Modify existing code **crates/payment_methods/src/core/migration.rs** Modify existing code **crates/payment_methods/src/core/migration/payment_methods.rs** Modify existing code **crates/payment_methods/src/helpers.rs** Modify existing code **crates/payment_methods/src/state.rs** Modify existing code **crates/router/src/core/customers.rs** Modify existing code **crates/router/src/core/payment_methods.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code **crates/router/src/core/payments/operations/payment_capture_v2.rs** Modify existing code **crates/router/src/core/payments/operations/payment_confirm_intent.rs** Modify existing code **crates/router/src/core/payments/operations/payment_create_intent.rs** Modify existing code **crates/router/src/core/payments/operations/payment_get.rs** Modify existing code **crates/router/src/core/payments/operations/payment_session_intent.rs** Modify existing code **crates/router/src/core/payments/vault_session.rs** Modify existing code **crates/router/src/core/payouts.rs** Modify existing code **crates/router/src/db/kafka_store.rs** Modify existing code **crates/storage_impl/src/customers.rs** Modify existing code **crates/storage_impl/src/lib.rs** Modify existing code **crates/storage_impl/src/mock_db/payment_intent.rs** Modify existing code **crates/storage_impl/src/payment_method.rs** Modify existing code **crates/storage_impl/src/payments/payment_attempt.rs** Modify existing code **crates/storage_impl/src/payments/payment_intent.rs** Modify existing code **crates/storage_impl/src/payouts/payouts.rs** Modify existing code **crates/storage_impl/src/tokenization.rs** Modify existing code
{"pr_number": 8373, "pr_title": "chore: resolve warnings in v2", "merged_at": "2025-06-22T11:59:35Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "connector"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs", "crates/api_models/src/refunds.rs", "crates/api_models/src/tokenization.rs"], "database": ["crates/diesel_models/src/query/tokenization.rs", "crates/diesel_models/src/tokenization.rs"], "domain": ["crates/hyperswitch_domain_models/src/business_profile.rs", "crates/hyperswitch_domain_models/src/customer.rs", "crates/hyperswitch_domain_models/src/merchant_connector_account.rs", "crates/hyperswitch_domain_models/src/network_tokenization.rs", "crates/hyperswitch_domain_models/src/payment_methods.rs", "crates/hyperswitch_domain_models/src/payments.rs", "crates/hyperswitch_domain_models/src/payments/payment_attempt.rs", "crates/hyperswitch_domain_models/src/payments/payment_intent.rs", "crates/hyperswitch_domain_models/src/router_data.rs", "crates/hyperswitch_domain_models/src/router_request_types.rs", "crates/hyperswitch_domain_models/src/tokenization.rs"], "core_business": ["crates/payment_methods/src/core/migration.rs", "crates/payment_methods/src/core/migration/payment_methods.rs", "crates/router/src/core/customers.rs", "crates/router/src/core/payment_methods.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations/payment_capture_v2.rs", "crates/router/src/core/payments/operations/payment_confirm_intent.rs", "crates/router/src/core/payments/operations/payment_create_intent.rs", "crates/router/src/core/payments/operations/payment_get.rs", "crates/router/src/core/payments/operations/payment_session_intent.rs", "crates/router/src/core/payments/vault_session.rs", "crates/router/src/core/payouts.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/chargebee.rs", "crates/hyperswitch_connectors/src/connectors/razorpay.rs", "crates/hyperswitch_connectors/src/connectors/recurly.rs", "crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs", "crates/hyperswitch_connectors/src/connectors/stripebilling.rs", "crates/hyperswitch_connectors/src/types.rs", "crates/payment_methods/src/configs/payment_connector_required_fields.rs"], "utils": ["crates/common_utils/src/id_type/global_id/token.rs", "crates/common_utils/src/tokenization.rs", "crates/kgraph_utils/src/mca.rs", "crates/payment_methods/src/helpers.rs"], "other": ["crates/payment_methods/src/controller.rs", "crates/payment_methods/src/state.rs", "crates/router/src/db/kafka_store.rs", "crates/storage_impl/src/customers.rs", "crates/storage_impl/src/lib.rs", "crates/storage_impl/src/mock_db/payment_intent.rs", "crates/storage_impl/src/payment_method.rs", "crates/storage_impl/src/payments/payment_attempt.rs", "crates/storage_impl/src/payments/payment_intent.rs", "crates/storage_impl/src/payouts/payouts.rs", "crates/storage_impl/src/tokenization.rs"]}, "change_types": {"fields_added": 39, "imports_added": 59}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This pull request updates the API endpoint configuration in the `dashboard.toml` file. The only change is the `api_url` value, which now points to port 8080 instead of 9000. Earlier PR for reference : https://github.com/juspay/hyperswitch/pull/9243
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Configuration Files** - `config/dashboard.toml`
{"pr_number": 9334, "pr_title": "fix: fix api url in dashboard configuration", "merged_at": "2025-09-10T10:38:50Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"config": ["config/dashboard.toml"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> This PR involves the following changes in payment methods v2 code: - Renames the `payment_method` field to `payment_method_type`, and `payment_method_type` to `payment_method_subtype`. This change affect the database columns itself, the diesel models, the domain models and the API models. - Updates the `payment_method_data` field in the domain model to have the concrete type wrapped by `EncryptedJsonType`, instead of the existing `serde_json::Value` type. - The `EncryptedJsonType` was also introduced in this PR. It adds support to use a concrete type in domain models, while handling the JSON serialization and deserialization before encryption and after decryption of data, respectively. In addition, this PR removes the `PaymentMethodList` struct from the API models, which isn't being used anywhere. By the way, I'm open to better name suggestions for the newly introduced things!
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/events.rs` - `crates/api_models/src/events/payment.rs` - `crates/api_models/src/payment_methods.rs` - ... and 1 more files **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/payment_method.rs` - `crates/diesel_models/src/schema_v2.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/payment_methods.rs` - `crates/hyperswitch_domain_models/src/type_encryption.rs` **4. Core Business Logic** - `crates/router/src/core/customers.rs` - `crates/router/src/core/locker_migration.rs` - `crates/router/src/core/payment_methods.rs` - ... and 8 more files **5. Type Definitions** - `crates/router/src/types/api/mandates.rs` - `crates/router/src/types/api/payment_methods.rs` - `crates/router/src/types/domain/types.rs` - ... and 1 more files **6. Configuration Files** - `crates/openapi/Cargo.toml` **7. Other** - `api-reference-v2/openapi_spec.json` - `api-reference/openapi_spec.json` - `crates/openapi/src/openapi.rs` - ... and 4 more files **Code Patterns Applied:** - Define new data structures (3 changes) - Implement new functions (19 changes) - Extend existing types with new fields (147 changes) - Add conditional logic for feature flags or filtering (6 changes) - Modify database queries (4 changes) **Detailed Identifier Changes:** Commit 11e92413: Files to modify: **crates/api_models/src/events.rs** Modify existing code **crates/api_models/src/events/payment.rs** Modify existing code **crates/api_models/src/payment_methods.rs** Modify existing code **crates/api_models/src/payments.rs** Modify existing code **crates/diesel_models/src/payment_method.rs** Modify existing code **crates/diesel_models/src/schema_v2.rs** Modify existing code **crates/hyperswitch_domain_models/src/payment_methods.rs** Modify existing code **crates/hyperswitch_domain_models/src/type_encryption.rs** Modify existing code **crates/openapi/src/openapi.rs** Modify existing code **crates/openapi/src/openapi_v2.rs** Modify existing code **crates/router/src/core/customers.rs** Modify existing code **crates/router/src/core/locker_migration.rs** Modify existing code **crates/router/src/core/payment_methods.rs** Modify existing code **crates/router/src/core/payment_methods/cards.rs** Modify existing code **crates/router/src/core/payment_methods/surcharge_decision_configs.rs** Modify existing code **crates/router/src/core/payment_methods/transformers.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code **crates/router/src/core/payments/operations/payment_confirm.rs** Modify existing code **crates/router/src/core/payments/tokenization.rs** Modify existing code **crates/router/src/core/pm_auth.rs** Modify existing code **crates/router/src/routes/payment_methods.rs** Modify existing code **crates/router/src/types/api/mandates.rs** Modify existing code **crates/router/src/types/api/payment_methods.rs** Modify existing code **crates/router/src/types/domain/types.rs** Modify existing code **crates/router/src/types/transformers.rs** Modify existing code
{"pr_number": 6555, "pr_title": "refactor(payment_methods_v2): rename `payment_method` and `payment_method_type` fields and use concrete type for `payment_method_data`", "merged_at": "2024-11-19T16:05:19Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment"]}, "hierarchy": {"api_models": ["crates/api_models/src/events.rs", "crates/api_models/src/events/payment.rs", "crates/api_models/src/payment_methods.rs", "crates/api_models/src/payments.rs"], "database": ["crates/diesel_models/src/payment_method.rs", "crates/diesel_models/src/schema_v2.rs"], "domain": ["crates/hyperswitch_domain_models/src/payment_methods.rs", "crates/hyperswitch_domain_models/src/type_encryption.rs"], "core_business": ["crates/router/src/core/customers.rs", "crates/router/src/core/locker_migration.rs", "crates/router/src/core/payment_methods.rs", "crates/router/src/core/payment_methods/cards.rs", "crates/router/src/core/payment_methods/surcharge_decision_configs.rs", "crates/router/src/core/payment_methods/transformers.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations/payment_confirm.rs", "crates/router/src/core/payments/tokenization.rs", "crates/router/src/core/pm_auth.rs"], "types": ["crates/router/src/types/api/mandates.rs", "crates/router/src/types/api/payment_methods.rs", "crates/router/src/types/domain/types.rs", "crates/router/src/types/transformers.rs"], "config": ["crates/openapi/Cargo.toml"], "other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "crates/openapi/src/openapi.rs", "crates/openapi/src/openapi_v2.rs", "crates/router/src/routes/payment_methods.rs", "v2_migrations/2024-08-23-112510_payment_methods_v2_db_changes/down.sql", "v2_migrations/2024-08-23-112510_payment_methods_v2_db_changes/up.sql"]}, "change_types": {"structs_added": 3, "functions_added": 19, "fields_added": 147, "imports_added": 3, "conditionals_added": 6, "database_queries": 4}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Currently, `subscription/create`, `/subscription`, and `/subscription/:id/update` accept amount and currency as input parameters(this pr removes that). Retrieved the amount and currency from the `get_subscription_estimate` from item_price_id.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/subscription.rs` **2. Core Business Logic** - `crates/router/src/core/subscription.rs` - `crates/router/src/core/subscription/invoice_handler.rs` **Code Patterns Applied:** - Extend existing types with new fields (10 changes) **Detailed Identifier Changes:** Commit c2c48940: Files to modify: **crates/api_models/src/subscription.rs** Modify existing code **crates/router/src/core/subscription.rs** Modify existing code **crates/router/src/core/subscription/invoice_handler.rs** Modify existing code
{"pr_number": 9835, "pr_title": "feat(subscription): Add estimate to subscriptions flow and remove amount and currency", "merged_at": "2025-10-16T10:36:29Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/subscription.rs"], "core_business": ["crates/router/src/core/subscription.rs", "crates/router/src/core/subscription/invoice_handler.rs"]}, "change_types": {"fields_added": 10}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
Logging x-request-id for failed requests
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Tests** - `cypress-tests/cypress/e2e/configs/Payment/Stripe.js` - `cypress-tests/cypress/support/commands.js` **2. Other** - `.github/data/cards_info.csv` - `postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json` - `postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario10-Create a mandate and recurring payment/Payments - Create/request.json` - ... and 43 more files **Code Patterns Applied:** - Extend existing types with new fields (8 changes) - Add conditional logic for feature flags or filtering (93 changes)
{"pr_number": 7118, "pr_title": "ci(cypress): log `x-request-id` for failed requests", "merged_at": "2025-01-30T18:37:25Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user"]}, "hierarchy": {"tests": ["cypress-tests/cypress/e2e/configs/Payment/Stripe.js", "cypress-tests/cypress/support/commands.js"], "other": [".github/data/cards_info.csv", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario10-Create a mandate and recurring payment/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario11-Refund recurring payment/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario2-Create a payment and Confirm/Payments - Confirm/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario22- Update Amount/Payments - Confirm/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario23-Add card flow/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario26-Create payment without customer_id and with billing address and shipping address/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario27-Confirm a payment with requires_customer_action status/Payments - Confirm/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario28-Create payment with payment method billing/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario29-Update payment with payment method billing/Payments - Update/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario2a-Create payment with confirm false card holder name null/Payments - Confirm/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario2b-Create payment with confirm false card holder name empty/Payments - Confirm/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario30-Pass payment method billing in Confirm/Payments - Confirm/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario31-Ensure API Contract for Payment Method Data/Payments - Card Payment Method Invalid Card CVC/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario31-Ensure API Contract for Payment Method Data/Payments - Card Payment Method Invalid Expiry month/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario31-Ensure API Contract for Payment Method Data/Payments - Card Payment Method Invalid Expiry year/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario31-Ensure API Contract for Payment Method Data/Payments - Card Payment Method Success/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario32-Check is payment checks are populated/Payments - cvv check fails/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario32-Check is payment checks are populated/Payments - payment check populated for successful payment without billing/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario32-Check is payment checks are populated/Payments - successful payment with billing/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario4a-Create payment with manual_multiple capture/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario9a-Partial refund/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/QuickStart/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp Year)/request.json", "postman/collection-dir/stripe/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp month)/request.json", "postman/collection-dir/stripe/Flow Testcases/Variation Cases/Scenario10-Refund exceeds amount captured/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Payments - Create/request.json", "postman/collection-dir/stripe/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Payments - Create/request.json", "postman/collection-dir/stripe/PaymentMethods/PaymentMethods - Create/request.json", "postman/collection-dir/stripe/PaymentMethods/Payments - Create/request.json", "postman/collection-dir/stripe/Payments/Payments - Create Again/request.json", "postman/collection-dir/stripe/Payments/Payments - Create Yet Again/request.json", "postman/collection-dir/stripe/Payments/Payments - Create/request.json", "postman/collection-dir/stripe/Payments/Payments - Update/request.json", "postman/collection-dir/stripe/QuickStart/Payments - Create-copy/request.json", "postman/collection-dir/stripe/QuickStart/Payments - Create/request.json", "postman/collection-dir/stripe/Refunds/Payments - Create/request.json"]}, "change_types": {"fields_added": 8, "conditionals_added": 93}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> add wasm changes for ctp_mastercard connector
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/connector_configs/src/common_config.rs` - `crates/connector_configs/src/connector.rs` - `crates/connector_configs/toml/development.toml` - ... and 1 more files **Code Patterns Applied:** - Extend existing types with new fields (10 changes) **Detailed Identifier Changes:** Commit b301d092: Files to modify: **crates/connector_configs/src/common_config.rs** Modify existing code **crates/connector_configs/src/connector.rs** Modify existing code
{"pr_number": 6838, "pr_title": "chore(wasm): add wasm changes for ctp_mastercard connector", "merged_at": "2024-12-17T12:22:34Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["connector", "card"]}, "hierarchy": {"connectors": ["crates/connector_configs/src/common_config.rs", "crates/connector_configs/src/connector.rs", "crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/sandbox.toml"]}, "change_types": {"fields_added": 10}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
This PR introduces a new variant - `ReconOps` in the `PermissionGroup` enum for deserializing the custom recon related roles in the existing DB. **Why?** In `PermissionGroup` enum, `ReconOps` was recently renamed to `ReconOpsManage`. These values are serialized and stored in DB in case custom roles are created. For existing custom recon related roles, this would be stored as `recon_ops` in the DB. Application would expect this to be `recon_ops_manage` leading to deserialization failures. This cannot be solved using serde's alias or strum's serialize attributes. **Why?** using strum's serialize attribute will expect the DB to always have `recon_ops` - application will always store this as `recon_ops_manage` in the new builds. Serde's alias attribute is not taken into account for DB enums or texts - which depends on FromStr impls. **Solution** - Add a dummy variant `ReconOps` and treat it as `ReconOpsManage` in the application. - Run migrations in DB once this build is rolled out - Delete the redundant variants once the data is migrated
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Other** - `crates/common_enums/src/enums.rs` - `crates/router/src/services/authorization/info.rs` - `crates/router/src/services/authorization/permission_groups.rs`
{"pr_number": 6767, "pr_title": "refactor(enums): recon - include ReconOps variant in PermissionsGroup for backwards compatibility with data in DB", "merged_at": "2024-12-10T12:03:38Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"other": ["crates/common_enums/src/enums.rs", "crates/router/src/services/authorization/info.rs", "crates/router/src/services/authorization/permission_groups.rs"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
added the assertion for connector_mandate_id in mandates and zero auth mandates test cases
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Tests** - `cypress-tests/cypress/e2e/spec/Payment/00019-MandatesUsingPMID.cy.js` - `cypress-tests/cypress/support/commands.js` **Code Patterns Applied:** - Add conditional logic for feature flags or filtering (4 changes)
{"pr_number": 7474, "pr_title": "ci(cypress): add assertion for `connector_mandate_id`", "merged_at": "2025-03-12T10:01:36Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user", "connector"]}, "hierarchy": {"tests": ["cypress-tests/cypress/e2e/spec/Payment/00019-MandatesUsingPMID.cy.js", "cypress-tests/cypress/support/commands.js"]}, "change_types": {"conditionals_added": 4}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> - Added `Vault` as a connector type - Added connector template code for VGS vault
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/enums.rs` **2. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/configs.rs` **3. Core Business Logic** - `crates/router/src/core/admin.rs` **4. External Connector Integration** - `crates/common_enums/src/connector_enums.rs` - `crates/connector_configs/src/connector.rs` - `crates/hyperswitch_connectors/src/connectors.rs` - ... and 11 more files **5. Type Definitions** - `crates/router/src/types/api.rs` - `crates/router/src/types/transformers.rs` **6. Tests** - `loadtest/config/development.toml` **7. Configuration Files** - `config/config.example.toml` - `config/development.toml` - `config/docker_compose.toml` **8. Other** - `api-reference-v2/openapi_spec.json` - `api-reference/openapi_spec.json` - `crates/common_enums/src/enums.rs` **Code Patterns Applied:** - Define new data structures (10 changes) - Implement new functions (80 changes) - Extend existing types with new fields (159 changes) - Add conditional logic for feature flags or filtering (1 changes) **Detailed Identifier Changes:** Commit 89b421f8: Files to modify: **crates/api_models/src/enums.rs** Modify existing code **crates/common_enums/src/connector_enums.rs** Modify existing code **crates/common_enums/src/enums.rs** Modify existing code **crates/connector_configs/src/connector.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/vgs.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations_v2.rs** Modify existing code **crates/hyperswitch_domain_models/src/configs.rs** Modify existing code **crates/router/src/connector.rs** Modify existing code **crates/router/src/core/admin.rs** Modify existing code **crates/router/src/types/api.rs** Modify existing code **crates/router/src/types/transformers.rs** Modify existing code **crates/router/tests/connectors/main.rs** Modify existing code **crates/router/tests/connectors/vgs.rs** Modify existing code **crates/test_utils/src/connector_auth.rs** Modify existing code
{"pr_number": 7814, "pr_title": "feat(router): Add support for Vault in connector_accounts endpoint", "merged_at": "2025-05-15T11:57:04Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "connector"]}, "hierarchy": {"api_models": ["crates/api_models/src/enums.rs"], "domain": ["crates/hyperswitch_domain_models/src/configs.rs"], "core_business": ["crates/router/src/core/admin.rs"], "connectors": ["crates/common_enums/src/connector_enums.rs", "crates/connector_configs/src/connector.rs", "crates/hyperswitch_connectors/src/connectors.rs", "crates/hyperswitch_connectors/src/connectors/vgs.rs", "crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/hyperswitch_connectors/src/default_implementations_v2.rs", "crates/router/src/connector.rs", "crates/router/tests/connectors/main.rs", "crates/router/tests/connectors/vgs.rs", "crates/test_utils/src/connector_auth.rs", "migrations/2025-05-08-062918_add-vault-processor-in-connector-type/down.sql", "migrations/2025-05-08-062918_add-vault-processor-in-connector-type/up.sql", "scripts/add_connector.sh"], "types": ["crates/router/src/types/api.rs", "crates/router/src/types/transformers.rs"], "tests": ["loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/development.toml", "config/docker_compose.toml"], "other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "crates/common_enums/src/enums.rs"]}, "change_types": {"structs_added": 10, "functions_added": 80, "enums_added": 3, "fields_added": 159, "imports_added": 19, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Currently we have apple pay certificates being stored in the `metadata` as well as `connector_wallet_details` when a merchant connector account is created. During the session call we try to get the certificates from the `connector_wallet_details` if it fails we try to get it from `metadata`. Currently when apple pay certificates are being updated with the merchant connector update call only the metadata is being updated. Because of this `connector_wallet_details` will still have the old data using which we make the session call. In order to fix it, this pr contains the changes to get the `apple pay certificates` from the `metadata` only as it will have the latest updated data. In subsequent pr mca update inconsistency will be handled.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/payments/flows/session_flow.rs` - `crates/router/src/core/payments/helpers.rs` **Detailed Identifier Changes:** Commit 51b6cdfa: Files to modify: **crates/router/src/core/payments/flows/session_flow.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code
{"pr_number": 6514, "pr_title": "fix(router): get apple pay certificates only from metadata during the session call", "merged_at": "2024-11-08T11:59:23Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments/flows/session_flow.rs", "crates/router/src/core/payments/helpers.rs"]}, "change_types": {}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This PR updates our Rust dependencies to compatible versions (not major version bumps). Additionally, this PR addresses a couple of deprecation warnings in the `time` crate that were arising in our `cards` crate. ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one first so the PR can focus on the implementation (unless it is an obvious bug or documentation fix that will have little conversation). --> Keeping up-to-date with newer version of dependencies. ## How did you test it? <!-- Did you write an integration/unit/API test to verify the code changes? Or did you test this change manually (provide relevant screenshots)? --> Performed sanity testing with Postman. Additionally, all CI checks are expected to pass. I've confirmed that the code builds on the MSRV toolchain as well. <img width="418" alt="Screenshot of successful compilation with the 1.80.0 Rust toolchain" src="https://github.com/user-attachments/assets/ffc51d59-47ea-4ffc-8cfa-ed50a95ce929" /> ## Checklist <!-- Put an `x` in the boxes that apply --> - [x] I formatted the code `cargo +nightly fmt --all` - [x] I addressed lints thrown by `cargo clippy` - [x] I reviewed the submitted code - [ ] I added unit tests for my changes where possible
To implement this **payment** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/Cargo.toml` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/Cargo.toml` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/Cargo.toml` **4. Core Business Logic** - `crates/router/src/core/payment_methods/vault.rs` - `crates/router/src/core/tokenization.rs` **5. External Connector Integration** - `crates/connector_configs/Cargo.toml` - `crates/hyperswitch_connectors/Cargo.toml` **6. Type Definitions** - `crates/common_types/Cargo.toml` **7. Utils** - `crates/common_utils/Cargo.toml` - `crates/kgraph_utils/Cargo.toml` - `crates/test_utils/Cargo.toml` **8. Configuration Files** - `Cargo.toml` - `crates/analytics/Cargo.toml` - `crates/cards/Cargo.toml` - ... and 22 more files **9. Other** - `Cargo.lock` - `crates/cards/src/lib.rs` **Code Patterns Applied:** - Implement new functions (1 changes) **Detailed Identifier Changes:** Commit 9a9fb3de: Files to modify: **crates/cards/src/lib.rs** Modify existing code **crates/router/src/core/payment_methods/vault.rs** Modify existing code **crates/router/src/core/tokenization.rs** Modify existing code
{"pr_number": 8164, "pr_title": "build(deps): bump dependencies to compatible versions", "merged_at": "2025-05-31T21:43:26Z", "intent": {"feature_type": "payment", "action": "add_feature", "entities": ["user", "card"]}, "hierarchy": {"api_models": ["crates/api_models/Cargo.toml"], "database": ["crates/diesel_models/Cargo.toml"], "domain": ["crates/hyperswitch_domain_models/Cargo.toml"], "core_business": ["crates/router/src/core/payment_methods/vault.rs", "crates/router/src/core/tokenization.rs"], "connectors": ["crates/connector_configs/Cargo.toml", "crates/hyperswitch_connectors/Cargo.toml"], "types": ["crates/common_types/Cargo.toml"], "utils": ["crates/common_utils/Cargo.toml", "crates/kgraph_utils/Cargo.toml", "crates/test_utils/Cargo.toml"], "config": ["Cargo.toml", "crates/analytics/Cargo.toml", "crates/cards/Cargo.toml", "crates/common_enums/Cargo.toml", "crates/config_importer/Cargo.toml", "crates/currency_conversion/Cargo.toml", "crates/drainer/Cargo.toml", "crates/euclid/Cargo.toml", "crates/euclid_macros/Cargo.toml", "crates/euclid_wasm/Cargo.toml", "crates/events/Cargo.toml", "crates/external_services/Cargo.toml", "crates/hsdev/Cargo.toml", "crates/hyperswitch_constraint_graph/Cargo.toml", "crates/hyperswitch_interfaces/Cargo.toml", "crates/masking/Cargo.toml", "crates/openapi/Cargo.toml", "crates/payment_methods/Cargo.toml", "crates/pm_auth/Cargo.toml", "crates/redis_interface/Cargo.toml", "crates/router/Cargo.toml", "crates/router_derive/Cargo.toml", "crates/router_env/Cargo.toml", "crates/scheduler/Cargo.toml", "crates/storage_impl/Cargo.toml"], "other": ["Cargo.lock", "crates/cards/src/lib.rs"]}, "change_types": {"functions_added": 1, "imports_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Add UPI Collect support to dummy_connector 1. To simulate a failure case, use: failure@upi 2. To test a successful case, use success@upi. You will be redirected to a screen that simulates the waiting screen. 3. Any other vpa data will result in an invalid VPA data error > Note : The waiting screen does not include a timer. > Note: Unlike the actual UPI Collect flow, this simulation does not involve webhooks ## How did you test it? <!-- Did you write an integration/unit/API test to verify the code changes? Or did you test this change manually (provide relevant screenshots)? --> <details> <summary>Success</summary> 1. Create a upi collect payment with stripe_test (dummy connector) ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_U9IBMuzndIcvICSELvrPGsmmi7jTWK1pOXMXKL4KpLbr4Gtg175t3UXukjU0U1w6' \ --data-raw '{ "amount": 10, "currency": "EUR", "confirm": true, "capture_method": "automatic", "authentication_type": "three_ds", "billing": { "address": { "line1": "1467", "line2": "Harrison Street", "line3": "Harrison Street", "city": "San Fransico", "state": "Ceutâ", "zip": "94122", "country": "ES", "first_name": "joseph", "last_name": "Doe" }, "email": "mauro.morandi@nexi.it", "phone": { "number": "9123456789", "country_code": "+91" } }, "payment_method": "upi", "payment_method_type": "upi_collect", "payment_method_data": { "upi": { "upi_collect": { "vpa_id": "success@upi" } } }, "return_url": "https://hyperswitch.io" }' ``` Response ``` {"payment_id":"pay_0HqygbvFE9WNt5oCM1Ra","merchant_id":"postman_merchant_GHAction_fbbf6c87-c0b3-4b76-84b3-b0bb04059ba3","status":"requires_customer_action","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":10,"amount_received":null,"connector":"stripe_test","client_secret":"pay_0HqygbvFE9WNt5oCM1Ra_secret_xrD43aZQm90PFglQ2pbm","created":"2025-05-13T11:54:31.629Z","currency":"EUR","customer_id":null,"customer":null,"description":null,"refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"automatic","payment_method":"upi","payment_method_data":{"upi":{"upi_collect":{"vpa_id":"su*****@upi"}},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"ES","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"Ceutâ","first_name":"joseph","last_name":"Doe"},"phone":{"number":"9123456789","country_code":"+91"},"email":"mauro.morandi@nexi.it"},"order_details":null,"email":null,"name":null,"phone":null,"return_url":"https://hyperswitch.io/","authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":{"type":"redirect_to_url","redirect_to_url":"http://localhost:8080/payments/redirect/pay_0HqygbvFE9WNt5oCM1Ra/postman_merchant_GHAction_fbbf6c87-c0b3-4b76-84b3-b0bb04059ba3/pay_0HqygbvFE9WNt5oCM1Ra_1"},"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"upi_collect","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":null,"connector_transaction_id":"pay_DPbMTZqgNL64ZcCzvSKy","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":null,"payment_link":null,"profile_id":"pro_ZLINwcXdgJlnx7VtnbTb","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_DGAdDTRmgnYhkSx7lYO9","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-05-13T12:09:31.629Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-05-13T11:54:32.743Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":null,"force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null} ``` </details> <details> <summary>Failure</summary> 1. Create a upi collect payment with stripe_test (dummy connector) ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_U9IBMuzndIcvICSELvrPGsmmi7jTWK1pOXMXKL4KpLbr4Gtg175t3UXukjU0U1w6' \ --data-raw '{ "amount": 10, "currency": "EUR", "confirm": true, "capture_method": "automatic", "authentication_type": "three_ds", "billing": { "address": { "line1": "1467", "line2": "Harrison Street", "line3": "Harrison Street", "city": "San Fransico", "state": "Ceutâ", "zip": "94122", "country": "ES", "first_name": "joseph", "last_name": "Doe" }, "email": "mauro.morandi@nexi.it", "phone": { "number": "9123456789", "country_code": "+91" } }, "payment_method": "upi", "payment_method_type": "upi_collect", "payment_method_data": { "upi": { "upi_collect": { "vpa_id": "failure@upi" } } }, "return_url": "https://hyperswitch.io" }' ``` Response ``` {"payment_id":"pay_agk2kqjZCJ6ji1XLXXsN","merchant_id":"postman_merchant_GHAction_fbbf6c87-c0b3-4b76-84b3-b0bb04059ba3","status":"failed","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":0,"amount_received":null,"connector":"stripe_test","client_secret":"pay_agk2kqjZCJ6ji1XLXXsN_secret_W4bCEQCHfSPHBx5zr8U4","created":"2025-05-13T10:42:14.250Z","currency":"EUR","customer_id":null,"customer":null,"description":null,"refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"automatic","payment_method":"upi","payment_method_data":{"upi":{"upi_collect":{"vpa_id":"fa*****@upi"}},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"ES","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"Ceutâ","first_name":"joseph","last_name":"Doe"},"phone":{"number":"9123456789","country_code":"+91"},"email":"mauro.morandi@nexi.it"},"order_details":null,"email":null,"name":null,"phone":null,"return_url":"https://hyperswitch.io/","authentication_type":"three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":"DC_06","error_message":"Payment is not successful","unified_code":"UE_9000","unified_message":"Something went wrong","payment_experience":null,"payment_method_type":"upi_collect","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":true,"connector_transaction_id":null,"frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":null,"payment_link":null,"profile_id":"pro_ZLINwcXdgJlnx7VtnbTb","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_DGAdDTRmgnYhkSx7lYO9","incremental_authorization_allowed":false,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-05-13T10:57:14.250Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-05-13T10:42:15.342Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":null,"force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null} ``` </details> <details> <summary>Invalid Data</summary> 1. Create a upi collect payment with stripe_test (dummy connector) ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_U9IBMuzndIcvICSELvrPGsmmi7jTWK1pOXMXKL4KpLbr4Gtg175t3UXukjU0U1w6' \ --data-raw '{ "amount": 10, "currency": "EUR", "confirm": true, "capture_method": "automatic", "authentication_type": "three_ds", "billing": { "address": { "line1": "1467", "line2": "Harrison Street", "line3": "Harrison Street", "city": "San Fransico", "state": "Ceutâ", "zip": "94122", "country": "ES", "first_name": "joseph", "last_name": "Doe" }, "email": "mauro.morandi@nexi.it", "phone": { "number": "9123456789", "country_code": "+91" } }, "payment_method": "upi", "payment_method_type": "upi_collect", "payment_method_data": { "upi": { "upi_collect": { "vpa_id": "failureupi" } } }, "return_url": "https://hyperswitch.io" }' ``` Response ``` {"payment_id":"pay_TA9zg7M8Uvdr2Hd72ZrE","merchant_id":"postman_merchant_GHAction_fbbf6c87-c0b3-4b76-84b3-b0bb04059ba3","status":"failed","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":0,"amount_received":null,"connector":"stripe_test","client_secret":"pay_TA9zg7M8Uvdr2Hd72ZrE_secret_nrYJW0BNRtZbPZiZwrCx","created":"2025-05-13T10:43:19.791Z","currency":"EUR","customer_id":null,"customer":null,"description":null,"refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"automatic","payment_method":"upi","payment_method_data":{"upi":{"upi_collect":{"vpa_id":"********pi"}},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"ES","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"Ceutâ","first_name":"joseph","last_name":"Doe"},"phone":{"number":"9123456789","country_code":"+91"},"email":"mauro.morandi@nexi.it"},"order_details":null,"email":null,"name":null,"phone":null,"return_url":"https://hyperswitch.io/","authentication_type":"three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":"DC_08","error_message":"Payment declined: Invalid Upi id","unified_code":"UE_9000","unified_message":"Something went wrong","payment_experience":null,"payment_method_type":"upi_collect","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":true,"connector_transaction_id":null,"frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":null,"payment_link":null,"profile_id":"pro_ZLINwcXdgJlnx7VtnbTb","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_DGAdDTRmgnYhkSx7lYO9","incremental_authorization_allowed":false,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-05-13T10:58:19.791Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-05-13T10:43:20.767Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":null,"force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null} ``` </details> ## Sanity <details> <summary>Card test </summary> ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_U9IBMuzndIcvICSELvrPGsmmi7jTWK1pOXMXKL4KpLbr4Gtg175t3UXukjU0U1w6' \ --data-raw '{ "amount": 10, "currency": "EUR", "confirm": true, "capture_method": "automatic", "billing": { "address": { "line1": "1467", "line2": "Harrison Street", "line3": "Harrison Street", "city": "San Fransico", "state": "Ceutâ", "zip": "94122", "country": "ES", "first_name": "joseph", "last_name": "Doe" }, "email": "mauro.morandi@nexi.it", "phone": { "number": "9123456789", "country_code": "+91" } }, "payment_method": "card", "payment_method_type": "credit", "payment_method_data": { "card": { "card_number": "4242424242424242", "card_exp_month": "12", "card_exp_year": "49", "card_holder_name": "Joseph", "card_cvc": "123" } } ,"return_url": "https://hyperswitch.io" }' ``` Response ``` {"payment_id":"pay_OaUBGJbTMxaNfxrysssW","merchant_id":"postman_merchant_GHAction_fbbf6c87-c0b3-4b76-84b3-b0bb04059ba3","status":"succeeded","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":0,"amount_received":10,"connector":"stripe_test","client_secret":"pay_OaUBGJbTMxaNfxrysssW_secret_Oa7Ay6atjfCldbuCejzO","created":"2025-05-13T10:45:25.009Z","currency":"EUR","customer_id":null,"customer":null,"description":null,"refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"automatic","payment_method":"card","payment_method_data":{"card":{"last4":"4242","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"424242","card_extended_bin":null,"card_exp_month":"12","card_exp_year":"49","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"ES","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"Ceutâ","first_name":"joseph","last_name":"Doe"},"phone":{"number":"9123456789","country_code":"+91"},"email":"mauro.morandi@nexi.it"},"order_details":null,"email":null,"name":null,"phone":null,"return_url":"https://hyperswitch.io/","authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"pay_qwFoLJPAFDlMtcVsqjEM","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":null,"payment_link":null,"profile_id":"pro_ZLINwcXdgJlnx7VtnbTb","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_DGAdDTRmgnYhkSx7lYO9","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-05-13T11:00:25.009Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-05-13T10:45:26.127Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null} ``` </details> ## Checklist <!-- Put an `x` in the boxes that apply --> - [x] I formatted the code `cargo +nightly fmt --all` - [x] I addressed lints thrown by `cargo clippy` - [ ] I reviewed the submitted code - [ ] I added unit tests for my changes where possible
To implement this **payment** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/router/src/connector/dummyconnector.rs` - `crates/router/src/connector/dummyconnector/transformers.rs` - `crates/router/src/routes/dummy_connector/consts.rs` - ... and 2 more files **Code Patterns Applied:** - Define new data structures (3 changes) - Implement new functions (5 changes) - Extend existing types with new fields (19 changes) - Add conditional logic for feature flags or filtering (1 changes) **Detailed Identifier Changes:** Commit 32df4012: Files to modify: **crates/router/src/connector/dummyconnector.rs** Modify existing code **crates/router/src/connector/dummyconnector/transformers.rs** Modify existing code **crates/router/src/routes/dummy_connector/consts.rs** Modify existing code **crates/router/src/routes/dummy_connector/types.rs** Modify existing code **crates/router/src/routes/dummy_connector/utils.rs** Modify existing code
{"pr_number": 8014, "pr_title": "feat(router): [dummy_connector] add upi collect ", "merged_at": "2025-05-15T11:52:15Z", "intent": {"feature_type": "payment", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/router/src/connector/dummyconnector.rs", "crates/router/src/connector/dummyconnector/transformers.rs", "crates/router/src/routes/dummy_connector/consts.rs", "crates/router/src/routes/dummy_connector/types.rs", "crates/router/src/routes/dummy_connector/utils.rs"]}, "change_types": {"structs_added": 3, "functions_added": 5, "enums_added": 5, "fields_added": 19, "imports_added": 2, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Refactor network tokenization flow for v2 payment method. 1. moved the network tokenization req, response types from domain to router types, since the types are not generic for Hyperswitch but req and response types of token service. 2. replaced hanging functions to impl based in the flow 3. Update ListCustomerPaymentMethod response and Payment Method response with network token details.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/payment_methods.rs` **2. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/lib.rs` - `crates/hyperswitch_domain_models/src/network_tokenization.rs` - `crates/hyperswitch_domain_models/src/payment_method_data.rs` - ... and 2 more files **3. Core Business Logic** - `crates/router/src/core/errors.rs` - `crates/router/src/core/payment_methods.rs` - `crates/router/src/core/payment_methods/network_tokenization.rs` - ... and 4 more files **4. Type Definitions** - `crates/router/src/types/api/payment_methods.rs` - `crates/router/src/types/domain.rs` - `crates/router/src/types/payment_methods.rs` **Code Patterns Applied:** - Define new data structures (24 changes) - Implement new functions (10 changes) - Extend existing types with new fields (129 changes) - Add conditional logic for feature flags or filtering (2 changes) **Detailed Identifier Changes:** Commit bba414cd: Files to modify: **crates/api_models/src/payment_methods.rs** Modify existing code **crates/hyperswitch_domain_models/src/lib.rs** Modify existing code **crates/hyperswitch_domain_models/src/network_tokenization.rs** Modify existing code **crates/hyperswitch_domain_models/src/payment_method_data.rs** Modify existing code **crates/hyperswitch_domain_models/src/payment_methods.rs** Modify existing code **crates/hyperswitch_domain_models/src/vault.rs** Modify existing code **crates/router/src/core/errors.rs** Modify existing code **crates/router/src/core/payment_methods.rs** Modify existing code **crates/router/src/core/payment_methods/network_tokenization.rs** Modify existing code **crates/router/src/core/payment_methods/tokenize.rs** Modify existing code **crates/router/src/core/payment_methods/transformers.rs** Modify existing code **crates/router/src/core/payment_methods/vault.rs** Modify existing code **crates/router/src/core/payments/operations/payment_response.rs** Modify existing code **crates/router/src/types/api/payment_methods.rs** Modify existing code **crates/router/src/types/domain.rs** Modify existing code **crates/router/src/types/payment_methods.rs** Modify existing code
{"pr_number": 7309, "pr_title": "refactor(payment_methods_v2): refactor network tokenization flow for v2", "merged_at": "2025-03-12T22:03:23Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "token"]}, "hierarchy": {"api_models": ["crates/api_models/src/payment_methods.rs"], "domain": ["crates/hyperswitch_domain_models/src/lib.rs", "crates/hyperswitch_domain_models/src/network_tokenization.rs", "crates/hyperswitch_domain_models/src/payment_method_data.rs", "crates/hyperswitch_domain_models/src/payment_methods.rs", "crates/hyperswitch_domain_models/src/vault.rs"], "core_business": ["crates/router/src/core/errors.rs", "crates/router/src/core/payment_methods.rs", "crates/router/src/core/payment_methods/network_tokenization.rs", "crates/router/src/core/payment_methods/tokenize.rs", "crates/router/src/core/payment_methods/transformers.rs", "crates/router/src/core/payment_methods/vault.rs", "crates/router/src/core/payments/operations/payment_response.rs"], "types": ["crates/router/src/types/api/payment_methods.rs", "crates/router/src/types/domain.rs", "crates/router/src/types/payment_methods.rs"]}, "change_types": {"structs_added": 24, "functions_added": 10, "enums_added": 3, "fields_added": 129, "imports_added": 12, "conditionals_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> On successful redirection on CARDS3ds Friction , eps bank redirect, even when fully captured the status is `partially_captured`
To implement this **payment** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs` - `crates/hyperswitch_connectors/src/utils.rs` **Code Patterns Applied:** - Implement new functions (1 changes) - Extend existing types with new fields (5 changes)
{"pr_number": 8956, "pr_title": "fix(stripe): partial capture issue when fully captured on redirection flow like card3ds , eps bank redirect", "merged_at": "2025-08-14T11:44:01Z", "intent": {"feature_type": "payment", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs", "crates/hyperswitch_connectors/src/utils.rs"]}, "change_types": {"functions_added": 1, "fields_added": 5}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
Exposed endpoints for auth analytics under profile, merchant and org access levels.
To implement this **authentication** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/analytics/src/auth_events/core.rs` **2. Other** - `crates/analytics/src/auth_events/filters.rs` - `crates/analytics/src/auth_events/metrics.rs` - `crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs` - ... and 13 more files **Code Patterns Applied:** - Implement new functions (9 changes) - Extend existing types with new fields (64 changes) - Modify database queries (1 changes) **Detailed Identifier Changes:** Commit e638f239: Files to modify: **crates/analytics/src/auth_events/core.rs** Modify existing code **crates/analytics/src/auth_events/filters.rs** Modify existing code **crates/analytics/src/auth_events/metrics.rs** Modify existing code **crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs** Modify existing code **crates/analytics/src/auth_events/metrics/authentication_count.rs** Modify existing code **crates/analytics/src/auth_events/metrics/authentication_error_message.rs** Modify existing code **crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs** Modify existing code **crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs** Modify existing code **crates/analytics/src/auth_events/metrics/authentication_funnel.rs** Modify existing code **crates/analytics/src/auth_events/metrics/authentication_success_count.rs** Modify existing code **crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs** Modify existing code **crates/analytics/src/auth_events/metrics/challenge_flow_count.rs** Modify existing code **crates/analytics/src/auth_events/metrics/challenge_success_count.rs** Modify existing code **crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs** Modify existing code **crates/analytics/src/auth_events/metrics/frictionless_success_count.rs** Modify existing code **crates/analytics/src/lib.rs** Modify existing code **crates/router/src/analytics.rs** Modify existing code
{"pr_number": 8335, "pr_title": "refactor: exposed auth analytics at merchant,org and profile levels", "merged_at": "2025-07-01T12:31:34Z", "intent": {"feature_type": "authentication", "action": "add_feature", "entities": ["merchant", "user", "order"]}, "hierarchy": {"core_business": ["crates/analytics/src/auth_events/core.rs"], "other": ["crates/analytics/src/auth_events/filters.rs", "crates/analytics/src/auth_events/metrics.rs", "crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs", "crates/analytics/src/auth_events/metrics/authentication_count.rs", "crates/analytics/src/auth_events/metrics/authentication_error_message.rs", "crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs", "crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs", "crates/analytics/src/auth_events/metrics/authentication_funnel.rs", "crates/analytics/src/auth_events/metrics/authentication_success_count.rs", "crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs", "crates/analytics/src/auth_events/metrics/challenge_flow_count.rs", "crates/analytics/src/auth_events/metrics/challenge_success_count.rs", "crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs", "crates/analytics/src/auth_events/metrics/frictionless_success_count.rs", "crates/analytics/src/lib.rs", "crates/router/src/analytics.rs"]}, "change_types": {"functions_added": 9, "fields_added": 64, "database_queries": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
This PR enables processing payment transactions via Adyen using network tokens and NTI
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Tests** - `config/deployments/integration_test.toml` **2. Configuration Files** - `config/config.example.toml` - `config/deployments/sandbox.toml` - `config/development.toml` - ... and 1 more files
{"pr_number": 8082, "pr_title": "chore: add adyen to network_tokenization_supported_connectors list across different environments", "merged_at": "2025-05-30T14:10:07Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "token"]}, "hierarchy": {"tests": ["config/deployments/integration_test.toml"], "config": ["config/config.example.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
add client_secret auth auth type for list_blocked_payment_methods
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/blocklist.rs` **2. Other** - `api-reference/v1/openapi_spec_v1.json` - `api-reference/v2/openapi_spec_v2.json` - `crates/router/src/routes/blocklist.rs` - ... and 1 more files **Code Patterns Applied:** - Implement new functions (1 changes) - Extend existing types with new fields (3 changes)
{"pr_number": 9475, "pr_title": "feat(core): add client_auth auth type for list_blocked_payment_methods", "merged_at": "2025-09-22T18:44:08Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "card"]}, "hierarchy": {"api_models": ["crates/api_models/src/blocklist.rs"], "other": ["api-reference/v1/openapi_spec_v1.json", "api-reference/v2/openapi_spec_v2.json", "crates/router/src/routes/blocklist.rs", "crates/router/src/services/authentication.rs"]}, "change_types": {"functions_added": 1, "fields_added": 3, "imports_added": 1}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
1. This commit changes how the client secret is generated 2. Change how client secret is made in Create Payment Intent Old `{Payment_id}_secret_{Secret}` `eg : pay_U42c409qyHwOkWo3vK60_secret_el9ksDkiB8hi6j9N78yo` New `cs_{Secret}` `eg: cs_0195d2be95ba7ef1a05066e163295562` 3. Client secret validation in the root level #7487 ``` &auth::V2ClientAuth(common_utils::types::authentication::ResourceId::Payment( global_payment_id, )), ``` 3. And removes client secret from PaymentIntent, PaymentIntentNew, HeaderResponse 4. update authentication logic for global_payment_id in V2ClientAuth
To implement this **payment** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/payments.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/payment_intent.rs` - `crates/diesel_models/src/schema_v2.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/payments.rs` - `crates/hyperswitch_domain_models/src/payments/payment_intent.rs` **4. Core Business Logic** - `crates/router/src/core/payments.rs` - `crates/router/src/core/payments/helpers.rs` - `crates/router/src/core/payments/operations/payment_confirm_intent.rs` - ... and 9 more files **5. Type Definitions** - `crates/common_utils/src/types.rs` - `crates/router/src/types/transformers.rs` **6. Utils** - `crates/common_utils/src/id_type/global_id/payment.rs` **7. Other** - `api-reference-v2/openapi_spec.json` - `crates/router/src/services/authentication.rs` - `v2_migrations/2025-03-25-090538_remove_client_secret_from_payment_intents/down.sql` - ... and 1 more files **Code Patterns Applied:** - Implement new functions (11 changes) - Extend existing types with new fields (7 changes) **Detailed Identifier Changes:** Commit 5730ddfc: Files to modify: **crates/api_models/src/payments.rs** Modify existing code **crates/common_utils/src/id_type/global_id/payment.rs** Modify existing code **crates/common_utils/src/types.rs** Modify existing code **crates/diesel_models/src/payment_intent.rs** Modify existing code **crates/diesel_models/src/schema_v2.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments/payment_intent.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code **crates/router/src/core/payments/operations/payment_confirm_intent.rs** Modify existing code **crates/router/src/core/payments/operations/payment_create_intent.rs** Modify existing code **crates/router/src/core/payments/operations/payment_get_intent.rs** Modify existing code **crates/router/src/core/payments/operations/payment_post_session_tokens.rs** Modify existing code **crates/router/src/core/payments/operations/payment_session_intent.rs** Modify existing code **crates/router/src/core/payments/operations/payment_start.rs** Modify existing code **crates/router/src/core/payments/operations/payment_update.rs** Modify existing code **crates/router/src/core/payments/operations/payment_update_intent.rs** Modify existing code **crates/router/src/core/payments/payment_methods.rs** Modify existing code **crates/router/src/core/payments/transformers.rs** Modify existing code **crates/router/src/services/authentication.rs** Modify existing code **crates/router/src/types/transformers.rs** Modify existing code
{"pr_number": 7648, "pr_title": "feat: remove client_secret from payment_intent and update related code", "merged_at": "2025-04-10T13:34:30Z", "intent": {"feature_type": "payment", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "database": ["crates/diesel_models/src/payment_intent.rs", "crates/diesel_models/src/schema_v2.rs"], "domain": ["crates/hyperswitch_domain_models/src/payments.rs", "crates/hyperswitch_domain_models/src/payments/payment_intent.rs"], "core_business": ["crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations/payment_confirm_intent.rs", "crates/router/src/core/payments/operations/payment_create_intent.rs", "crates/router/src/core/payments/operations/payment_get_intent.rs", "crates/router/src/core/payments/operations/payment_post_session_tokens.rs", "crates/router/src/core/payments/operations/payment_session_intent.rs", "crates/router/src/core/payments/operations/payment_start.rs", "crates/router/src/core/payments/operations/payment_update.rs", "crates/router/src/core/payments/operations/payment_update_intent.rs", "crates/router/src/core/payments/payment_methods.rs", "crates/router/src/core/payments/transformers.rs"], "types": ["crates/common_utils/src/types.rs", "crates/router/src/types/transformers.rs"], "utils": ["crates/common_utils/src/id_type/global_id/payment.rs"], "other": ["api-reference-v2/openapi_spec.json", "crates/router/src/services/authentication.rs", "v2_migrations/2025-03-25-090538_remove_client_secret_from_payment_intents/down.sql", "v2_migrations/2025-03-25-090538_remove_client_secret_from_payment_intents/up.sql"]}, "change_types": {"functions_added": 11, "fields_added": 7}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> disable sprite. closes #7184
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Tests** - `.github/workflows/cypress-tests-runner.yml` **Code Patterns Applied:** - Extend existing types with new fields (2 changes)
{"pr_number": 7183, "pr_title": "ci: disable stripe in cypress", "merged_at": "2025-02-04T10:41:55Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"tests": [".github/workflows/cypress-tests-runner.yml"]}, "change_types": {"fields_added": 2}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> In customer payment method list api, card scheme and card network are showing different value for co-branded card it they are saved with both the network, to fix this issue, both these fields are now fetching the data from the card locker Note: This PR is hotfix against [#6849](https://github.com/juspay/hyperswitch/pull/6849)
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Database Layer (Queries & Schema)** - `crates/diesel_models/src/payment_method.rs` **2. Core Business Logic** - `crates/router/src/core/payment_methods/cards.rs` - `crates/router/src/core/payments/tokenization.rs` **Code Patterns Applied:** - Extend existing types with new fields (16 changes)
{"pr_number": 6867, "pr_title": "fix(payment_methods): card_network and card_scheme should be consistent", "merged_at": "2024-12-18T07:42:26Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "user"]}, "hierarchy": {"database": ["crates/diesel_models/src/payment_method.rs"], "core_business": ["crates/router/src/core/payment_methods/cards.rs", "crates/router/src/core/payments/tokenization.rs"]}, "change_types": {"fields_added": 16}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> Added GooglePay Payment Method in Fiserv Connector. Added the Connector Level Decryption Flow. The Hyperswitch end decryption flow of Fiserv still remains undone.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/connector_configs/toml/development.toml` - `crates/connector_configs/toml/production.toml` - `crates/connector_configs/toml/sandbox.toml` - ... and 2 more files **2. Tests** - `config/deployments/integration_test.toml` **3. Configuration Files** - `config/config.example.toml` - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - ... and 2 more files **Code Patterns Applied:** - Define new data structures (6 changes) - Implement new functions (1 changes) - Extend existing types with new fields (41 changes) - Add conditional logic for feature flags or filtering (3 changes) **Detailed Identifier Changes:** Commit b5586b68: Files to modify: **crates/hyperswitch_connectors/src/connectors/fiserv.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs** Modify existing code
{"pr_number": 8658, "pr_title": "feat(connector): [FISERV] Added GooglePay Payment Method - Connector Decryption Flow", "merged_at": "2025-07-29T08:13:32Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/hyperswitch_connectors/src/connectors/fiserv.rs", "crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs"], "tests": ["config/deployments/integration_test.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml"]}, "change_types": {"structs_added": 6, "functions_added": 1, "fields_added": 41, "imports_added": 1, "conditionals_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
# Migrate Nix Configuration to rust-flake
To implement this **connector_integration** feature, you'll need to modify these architectural layers: **1. Other** - `.gitignore` - `flake.lock` - `flake.nix` - ... and 4 more files
{"pr_number": 8503, "pr_title": "refactor(nix): Migrate from cargo2nix to rust-flake", "merged_at": "2025-07-15T08:20:23Z", "intent": {"feature_type": "connector_integration", "action": "add_feature", "entities": []}, "hierarchy": {"other": [".gitignore", "flake.lock", "flake.nix", "nix/modules/flake/devshell.nix", "nix/modules/flake/git-hooks.nix", "nix/modules/flake/rust.nix", "nix/modules/flake/services.nix"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
- Integrate proxy_payments api to process tracker passive_churn workflow, to initiate a MIT payment via PT. - This PR also includes another api integration to the same workflow , the update_payments api to update the `payment_transmission` and the active_attempt_id, when the payment is a retryable payment
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/payments.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/types.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/lib.rs` - `crates/hyperswitch_domain_models/src/router_data.rs` **4. Core Business Logic** - `crates/router/src/core/passive_churn_recovery.rs` - `crates/router/src/core/passive_churn_recovery/types.rs` - `crates/router/src/core/payments/operations/payment_update_intent.rs` **5. Other** - `crates/common_enums/src/enums.rs` - `crates/router/src/workflows/passive_churn_recovery_workflow.rs` **Code Patterns Applied:** - Implement new functions (8 changes) - Extend existing types with new fields (64 changes) **Detailed Identifier Changes:** Commit ba3ad87e: Files to modify: **crates/api_models/src/payments.rs** Modify existing code **crates/common_enums/src/enums.rs** Modify existing code **crates/diesel_models/src/types.rs** Modify existing code **crates/hyperswitch_domain_models/src/lib.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_data.rs** Modify existing code **crates/router/src/core/passive_churn_recovery.rs** Modify existing code **crates/router/src/core/passive_churn_recovery/types.rs** Modify existing code **crates/router/src/core/payments/operations/payment_update_intent.rs** Modify existing code **crates/router/src/workflows/passive_churn_recovery_workflow.rs** Modify existing code
{"pr_number": 7480, "pr_title": "refactor(process_tracker): Integrate proxy_payments api to process tracker workflow", "merged_at": "2025-03-17T05:23:14Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "database": ["crates/diesel_models/src/types.rs"], "domain": ["crates/hyperswitch_domain_models/src/lib.rs", "crates/hyperswitch_domain_models/src/router_data.rs"], "core_business": ["crates/router/src/core/passive_churn_recovery.rs", "crates/router/src/core/passive_churn_recovery/types.rs", "crates/router/src/core/payments/operations/payment_update_intent.rs"], "other": ["crates/common_enums/src/enums.rs", "crates/router/src/workflows/passive_churn_recovery_workflow.rs"]}, "change_types": {"functions_added": 8, "fields_added": 64, "imports_added": 4}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
Implement 3ds decision manager flow for V2 and use it in payments flows.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/payments.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/payment_attempt.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/payments.rs` - `crates/hyperswitch_domain_models/src/payments/payment_attempt.rs` - `crates/hyperswitch_domain_models/src/payments/payment_intent.rs` **4. Core Business Logic** - `crates/router/src/core/admin.rs` - `crates/router/src/core/payments.rs` - `crates/router/src/core/payments/conditional_configs.rs` - ... and 5 more files **5. Other** - `api-reference-v2/openapi_spec.json` **Code Patterns Applied:** - Implement new functions (5 changes) - Extend existing types with new fields (48 changes) - Add conditional logic for feature flags or filtering (2 changes) **Detailed Identifier Changes:** Commit 52ae92bc: Files to modify: **crates/api_models/src/payments.rs** Modify existing code **crates/diesel_models/src/payment_attempt.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments/payment_attempt.rs** Modify existing code **crates/hyperswitch_domain_models/src/payments/payment_intent.rs** Modify existing code **crates/router/src/core/admin.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code **crates/router/src/core/payments/conditional_configs.rs** Modify existing code **crates/router/src/core/payments/operations.rs** Modify existing code **crates/router/src/core/payments/operations/payment_confirm_intent.rs** Modify existing code **crates/router/src/core/payments/operations/payment_update_intent.rs** Modify existing code **crates/router/src/core/payments/routing.rs** Modify existing code **crates/router/src/core/payments/transformers.rs** Modify existing code
{"pr_number": 7089, "pr_title": "feat(core): 3ds decision manager for v2", "merged_at": "2025-02-12T14:07:35Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "database": ["crates/diesel_models/src/payment_attempt.rs"], "domain": ["crates/hyperswitch_domain_models/src/payments.rs", "crates/hyperswitch_domain_models/src/payments/payment_attempt.rs", "crates/hyperswitch_domain_models/src/payments/payment_intent.rs"], "core_business": ["crates/router/src/core/admin.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/conditional_configs.rs", "crates/router/src/core/payments/operations.rs", "crates/router/src/core/payments/operations/payment_confirm_intent.rs", "crates/router/src/core/payments/operations/payment_update_intent.rs", "crates/router/src/core/payments/routing.rs", "crates/router/src/core/payments/transformers.rs"], "other": ["api-reference-v2/openapi_spec.json"]}, "change_types": {"functions_added": 5, "fields_added": 48, "imports_added": 1, "conditionals_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
Add newer payment methods for `multisafepay` connector - Trustly - WeChatPay - Alipay
To implement this **payment** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/multisafepay.rs` - `crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs` **2. Tests** - `config/deployments/integration_test.toml` **3. Configuration Files** - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - `config/development.toml` **Code Patterns Applied:** - Define new data structures (3 changes) - Extend existing types with new fields (12 changes) **Detailed Identifier Changes:** Commit 01bd8316: Files to modify: **crates/hyperswitch_connectors/src/connectors/multisafepay.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs** Modify existing code
{"pr_number": 8465, "pr_title": "feat(connector): `multisafepay` added payment methods | TRUSTLY | WeChatpay | Alipay", "merged_at": "2025-07-02T07:12:31Z", "intent": {"feature_type": "payment", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/multisafepay.rs", "crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs"], "tests": ["config/deployments/integration_test.toml"], "config": ["config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml"]}, "change_types": {"structs_added": 3, "fields_added": 12}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Fixed ideal giropay country currency config
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Tests** - `config/deployments/integration_test.toml` - `loadtest/config/development.toml` **2. Configuration Files** - `config/config.example.toml` - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - ... and 2 more files
{"pr_number": 9552, "pr_title": "Fix: Ideal Giropay Country Currency Config", "merged_at": "2025-09-29T09:09:41Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> This PR 1. Adds workflows to sync dispute with the connector to add new records 2. Introduce force_sync in the current dispute-sync API to update the dispute status from connector 3. Integrate dispute list, dispute sync, accept liability, submit evidence, file upload and file retrieve flows Solution for Dispute List Add new dispute records to hyperswitch > Create a connector dispute list api > Store connectors that support only dispute list API in config (.toml) > Within the Profile request, define the polling interval for the connector and store it > While creating the MCA > If dispute list is not supported by the connector - normal flow > If dispute list is supported by the connector - step 4 > Create a Fetch dispute task in process tracker > With respect to the time interval process tracker will trigger the connector dispute list api call > The list returned by the connector dispute list api > For each of the Dispute in the list, a Process Dispute task to will be added to Process Tracker > Process Dispute task will handle the disputes similar to incoming webhooks - adding the records to the dispute table. > Note: If Dispute already present in the db dispute list will not add/ update it Note: Fetch dispute API is temporarily added for certification process and will be removed
To implement this **payment** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/admin.rs` - `crates/api_models/src/disputes.rs` - `crates/api_models/src/events/dispute.rs` - ... and 2 more files **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/business_profile.rs` - `crates/diesel_models/src/schema.rs` - `crates/diesel_models/src/schema_v2.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/business_profile.rs` - `crates/hyperswitch_domain_models/src/connector_endpoints.rs` - `crates/hyperswitch_domain_models/src/merchant_connector_account.rs` - ... and 4 more files **4. Core Business Logic** - `crates/router/src/core/admin.rs` - `crates/router/src/core/disputes.rs` - `crates/router/src/core/disputes/transformers.rs` - ... and 6 more files **5. External Connector Integration** - `crates/common_enums/src/connector_enums.rs` - `crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs` - `crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs` - ... and 3 more files **6. Type Definitions** - `crates/common_types/src/consts.rs` - `crates/common_types/src/primitive_wrappers.rs` - `crates/hyperswitch_interfaces/src/types.rs` - ... and 6 more files **7. Utils** - `crates/scheduler/src/utils.rs` **8. Tests** - `config/deployments/integration_test.toml` - `loadtest/config/development.toml` **9. Configuration Files** - `config/config.example.toml` - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - ... and 4 more files **10. Other** - `api-reference/v1/openapi_spec_v1.json` - `api-reference/v2/openapi_spec_v2.json` - `crates/common_enums/src/enums.rs` - ... and 17 more files **Code Patterns Applied:** - Define new data structures (23 changes) - Implement new functions (86 changes) - Extend existing types with new fields (524 changes) - Add conditional logic for feature flags or filtering (10 changes) - Modify database queries (1 changes) **Detailed Identifier Changes:** Commit 640d0552: Files to modify: **crates/api_models/src/admin.rs** Modify existing code **crates/api_models/src/disputes.rs** Modify existing code **crates/api_models/src/events/dispute.rs** Modify existing code **crates/api_models/src/files.rs** Modify existing code **crates/api_models/src/webhooks.rs** Modify existing code **crates/common_enums/src/connector_enums.rs** Modify existing code **crates/common_enums/src/enums.rs** Modify existing code **crates/common_types/src/consts.rs** Modify existing code **crates/common_types/src/primitive_wrappers.rs** Modify existing code **crates/diesel_models/src/business_profile.rs** Modify existing code **crates/diesel_models/src/schema.rs** Modify existing code **crates/diesel_models/src/schema_v2.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations_v2.rs** Modify existing code **crates/hyperswitch_connectors/src/types.rs** Modify existing code **crates/hyperswitch_domain_models/src/business_profile.rs** Modify existing code **crates/hyperswitch_domain_models/src/connector_endpoints.rs** Modify existing code **crates/hyperswitch_domain_models/src/merchant_connector_account.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_flow_types/dispute.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_request_types.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_response_types.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_response_types/disputes.rs** Modify existing code **crates/hyperswitch_interfaces/src/api/disputes.rs** Modify existing code **crates/hyperswitch_interfaces/src/api/disputes_v2.rs** Modify existing code **crates/hyperswitch_interfaces/src/disputes.rs** Modify existing code **crates/hyperswitch_interfaces/src/types.rs** Modify existing code **crates/openapi/src/routes/disputes.rs** Modify existing code **crates/router/src/bin/scheduler.rs** Modify existing code **crates/router/src/configs/secrets_transformers.rs** Modify existing code **crates/router/src/configs/settings.rs** Modify existing code **crates/router/src/consts.rs** Modify existing code **crates/router/src/core/admin.rs** Modify existing code **crates/router/src/core/disputes.rs** Modify existing code **crates/router/src/core/disputes/transformers.rs** Modify existing code **crates/router/src/core/errors/utils.rs** Modify existing code **crates/router/src/core/files.rs** Modify existing code **crates/router/src/core/files/helpers.rs** Modify existing code **crates/router/src/core/utils.rs** Modify existing code **crates/router/src/core/webhooks.rs** Modify existing code **crates/router/src/core/webhooks/incoming.rs** Modify existing code **crates/router/src/db/events.rs** Modify existing code **crates/router/src/events/api_logs.rs** Modify existing code **crates/router/src/routes/app.rs** Modify existing code **crates/router/src/routes/disputes.rs** Modify existing code **crates/router/src/routes/files.rs** Modify existing code **crates/router/src/types.rs** Modify existing code **crates/router/src/types/api/admin.rs** Modify existing code **crates/router/src/types/api/disputes.rs** Modify existing code **crates/router/src/types/api/disputes_v2.rs** Modify existing code **crates/router/src/types/api/files.rs** Modify existing code **crates/router/src/types/domain.rs** Modify existing code **crates/router/src/workflows.rs** Modify existing code **crates/router/src/workflows/dispute_list.rs** Modify existing code **crates/router/src/workflows/outgoing_webhook_retry.rs** Modify existing code **crates/router/src/workflows/process_dispute.rs** Modify existing code **crates/scheduler/src/utils.rs** Modify existing code
{"pr_number": 8830, "pr_title": "feat(router): [worldpayvantiv] add dispute list sync and implement dispute", "merged_at": "2025-08-06T10:14:56Z", "intent": {"feature_type": "payment", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs", "crates/api_models/src/disputes.rs", "crates/api_models/src/events/dispute.rs", "crates/api_models/src/files.rs", "crates/api_models/src/webhooks.rs"], "database": ["crates/diesel_models/src/business_profile.rs", "crates/diesel_models/src/schema.rs", "crates/diesel_models/src/schema_v2.rs"], "domain": ["crates/hyperswitch_domain_models/src/business_profile.rs", "crates/hyperswitch_domain_models/src/connector_endpoints.rs", "crates/hyperswitch_domain_models/src/merchant_connector_account.rs", "crates/hyperswitch_domain_models/src/router_flow_types/dispute.rs", "crates/hyperswitch_domain_models/src/router_request_types.rs", "crates/hyperswitch_domain_models/src/router_response_types.rs", "crates/hyperswitch_domain_models/src/router_response_types/disputes.rs"], "core_business": ["crates/router/src/core/admin.rs", "crates/router/src/core/disputes.rs", "crates/router/src/core/disputes/transformers.rs", "crates/router/src/core/errors/utils.rs", "crates/router/src/core/files.rs", "crates/router/src/core/files/helpers.rs", "crates/router/src/core/utils.rs", "crates/router/src/core/webhooks.rs", "crates/router/src/core/webhooks/incoming.rs"], "connectors": ["crates/common_enums/src/connector_enums.rs", "crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs", "crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/hyperswitch_connectors/src/default_implementations_v2.rs", "crates/hyperswitch_connectors/src/types.rs"], "types": ["crates/common_types/src/consts.rs", "crates/common_types/src/primitive_wrappers.rs", "crates/hyperswitch_interfaces/src/types.rs", "crates/router/src/types.rs", "crates/router/src/types/api/admin.rs", "crates/router/src/types/api/disputes.rs", "crates/router/src/types/api/disputes_v2.rs", "crates/router/src/types/api/files.rs", "crates/router/src/types/domain.rs"], "utils": ["crates/scheduler/src/utils.rs"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml", "crates/router/src/configs/secrets_transformers.rs", "crates/router/src/configs/settings.rs"], "other": ["api-reference/v1/openapi_spec_v1.json", "api-reference/v2/openapi_spec_v2.json", "crates/common_enums/src/enums.rs", "crates/hyperswitch_interfaces/src/api/disputes.rs", "crates/hyperswitch_interfaces/src/api/disputes_v2.rs", "crates/hyperswitch_interfaces/src/disputes.rs", "crates/openapi/src/routes/disputes.rs", "crates/router/src/bin/scheduler.rs", "crates/router/src/consts.rs", "crates/router/src/db/events.rs", "crates/router/src/events/api_logs.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/disputes.rs", "crates/router/src/routes/files.rs", "crates/router/src/workflows.rs", "crates/router/src/workflows/dispute_list.rs", "crates/router/src/workflows/outgoing_webhook_retry.rs", "crates/router/src/workflows/process_dispute.rs", "migrations/2025-07-14-add_dispute_polling_interval_to_business_profile/down.sql", "migrations/2025-07-14-add_dispute_polling_interval_to_business_profile/up.sql"]}, "change_types": {"structs_added": 23, "functions_added": 86, "enums_added": 2, "fields_added": 524, "imports_added": 23, "conditionals_added": 10, "database_queries": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}