prefix
stringlengths
24
24
problem_statement
stringlengths
40
500
gitdiff
stringlengths
446
1.86M
patch
stringlengths
201
89k
claude_log
stringlengths
37
4.38k
hints_text
stringlengths
1.11k
3k
overall_score
float64
7
10
evaluation
dict
origin
stringclasses
2 values
parent_dir
stringclasses
5 values
juspay__hyperswitch-9413
Bug: Required fields absent in PML in case of Gift Card for OnSession (v2) In case of `Adyen` connector and `Givex` payment method subtype, required fields are absent in PML output when `setup_future_usage` is `OnSession` Need to move givex required fields to common in the required fields TOML
From 7d0a4c784802e2fdb3fd1136fb3ef8a38c7ccce3 Mon Sep 17 00:00:00 2001 From: Claude Code <claude@anthropic.com> Date: Mon, 8 Dec 2025 14:11:46 +0000 Subject: [PATCH] task juspay__hyperswitch-9413: Move givex required fields to common in payment_required_fields_v2.toml MIME-Version: 1.0 Content-Type: text/plain; charse...
diff --git a/config/payment_required_fields_v2.toml b/config/payment_required_fields_v2.toml index 299da49ee02..47de2192c3e 100644 --- a/config/payment_required_fields_v2.toml +++ b/config/payment_required_fields_v2.toml @@ -2331,12 +2331,12 @@ non_mandate = [] # Payment method type: Givex [required_fields.gift_car...
<think></think> Perfect! The commit was successful. ## Summary I have successfully completed the task by: 1. **Identified the issue**: Givex gift card required fields were in the `non_mandate` section, causing them to be omitted when `setup_future_usage` is `OnSession` 2. **Located the relevant code**: Found the c...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> - Moved required fields for `givex` gift card for `Adyen` from ...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff perfectly matches the ground truth patch. It correctly ident...
dirty
logs_batch1
juspay__hyperswitch-7957
Bug: [BUG] Facilitapay env connector configs breaking WASM It is `BodyKey` and not `Bodykey`. Affected files: `crates/connector_configs/toml/production.toml` `crates/connector_configs/toml/sandbox.toml` `crates/connector_configs/toml/integration_test.toml` this isn't affecting the current wasm as Facilitapay is ...
From db13d57df0b71e01b21fe3e30a69d8ef9fd99200 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 11:48:38 +0000 Subject: [PATCH] task juspay__hyperswitch-7957: Fix Facilitapay connector config Bodykey capitalization MIME-Version: 1.0 Content-Type: text/plain; charset...
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml index eaf3101aa8c..d64b01368d1 100644 --- a/crates/connector_configs/toml/development.toml +++ b/crates/connector_configs/toml/development.toml @@ -5816,6 +5816,6 @@ api_secret="Secret Key" [facilitapay] [[fac...
<think></think> ## Summary I've successfully fixed the Facilitapay environment connector configs bug by correcting the capitalization issue: **Changes made:** - Fixed `[facilitapay.connector_auth.Bodykey]` to `[facilitapay.connector_auth.BodyKey]` in: - `crates/connector_configs/toml/development.toml` - `crates/...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR fixes Facilitapay payment method env that broke WASM....
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff perfectly matches the ground truth patch. It correctly ident...
dirty
logs_batch1
juspay__hyperswitch-9092
Bug: Remove delete_merchant call from DE
From dade53ed39ebfa2e5a53f6d8e3d1d341c6d37f1f Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 16:06:35 +0000 Subject: [PATCH] task juspay__hyperswitch-9092: Remove delete_merchant call from DE - Removed the in-place DE cleanup logic inside merchant_account_delete...
diff --git a/crates/router/src/core/admin.rs b/crates/router/src/core/admin.rs index 7d625a78396..3e41150e05a 100644 --- a/crates/router/src/core/admin.rs +++ b/crates/router/src/core/admin.rs @@ -1220,25 +1220,6 @@ pub async fn merchant_account_delete( is_deleted = is_merchant_account_deleted && is_merchant_k...
<think></think> ## SUMMARY I have successfully completed the task to remove the Decision Engine cleanup logic from merchant deletion. Here's what was accomplished: ### Changes Made: - **Removed** the in-place DE cleanup logic from `merchant_account_delete` function in `/home/archit/submodule/repos/hyperswitch_pool_0...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description When deleting a merchant account, the code previously included a direct call to the **Decision Engine (DE...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical to the ground truth patch in terms of the code ...
dirty
logs_batch1
juspay__hyperswitch-9258
Bug: [BUG] secure payment links don't render ### Bug Description Secure payment links are not instantiating and rendering the checkout widget. ### Expected Behavior Secure payment links should render the checkout widget. ### Actual Behavior Secure payment links are breaking the functionality. ### Steps To Repr...
From a7885fd2f75296c68be2becd76fa0534d1d64473 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 15:31:32 +0000 Subject: [PATCH] task juspay__hyperswitch-9258: Fix secure payment links by adding URL decoding - Add decodeUri function to secure_payment_link_initiator....
diff --git a/crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js b/crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js index c539363c102..3a9e7f60336 100644 --- a/crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_i...
<think></think> Perfect! The fix has been implemented and committed. Here's a summary of what I did: ## Summary I successfully fixed the secure payment links bug by identifying and resolving the URL decoding issue: ### **Problem** Secure payment links were not rendering the checkout widget because the JavaScript wa...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR fixes the bug where the encoded payment link details were being read without decoding them first....
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff perfectly matches the logic of the ground truth. It correctl...
dirty
logs_batch1
juspay__hyperswitch-9120
Bug: [BUG] Setup fail : migration_runner exits with code 1 during standalone setup ### Bug Description While setting up Hyperswitch locally using the scripts/setup.sh script, the setup consistently fails during the migration_runner step. The database (pg) and Redis services start successfully and report as Healt...
From 3fbaed5e3f72ba3742f50e72247095622e0bef7e Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 15:45:25 +0000 Subject: [PATCH] task juspay__hyperswitch-9120: Fix migration_runner failure on Windows by enforcing LF line endings in .patch files This change adds the ...
diff --git a/.gitattributes b/.gitattributes index 176a458f94e..d7ed342927a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ * text=auto +*.patch text eol=lf \ No newline at end of file
<think></think> Perfect! I have successfully implemented the fix for the bug #9120. Let me summarize what was done: ## Summary I've fixed the migration_runner failure on Windows by adding a `.gitattributes` rule to enforce LF line endings for `.patch` files: ### Changes Made: 1. **Added `*.patch text eol=lf` to `.g...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR adds the following rule to `.gitattributes` to ensure...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff perfectly matches the ground truth patch. It correctly ident...
dirty
logs_batch1
juspay__hyperswitch-8947
Bug: [BUG] Payments in Integ Dashboard failing to load due to backward compatibility issue ### Bug Description Payments in Integ Dashboard failing to load due to backward compatibility issue ### Expected Behavior Payments in Integ Dashboard shouldn't fail to load. ### Actual Behavior Payments in Integ Dashboard...
From ca0f008189437b8b7c209f8c7960603d17c11339 Mon Sep 17 00:00:00 2001 From: Claude Code <claude@anthropic.com> Date: Mon, 8 Dec 2025 17:23:45 +0000 Subject: [PATCH] task juspay__hyperswitch-8947: Add Default variant to RequestIncrementalAuthorization enum to fix backward compatibility issue - Added Default variant t...
diff --git a/crates/common_enums/src/enums.rs b/crates/common_enums/src/enums.rs index ec8d55ed000..3b61b810baf 100644 --- a/crates/common_enums/src/enums.rs +++ b/crates/common_enums/src/enums.rs @@ -2850,6 +2850,7 @@ pub enum RequestIncrementalAuthorization { True, #[default] False, + Default, } ...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. <think></think> Perfect! I have successfully fixed the backward compatibility issue with the `RequestIncrementalAuthorization` enum. Here's a summary of what I did: ## Summary of Chan...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD Closes this [issue](https://github.com/juspay/hyperswitch/issues/8947) ## Description <!-- Describe your changes in d...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff perfectly matches the ground truth's core change (adding the...
dirty
logs_batch1
juspay__hyperswitch-9078
Bug: (connector): [Netcetera] Fix message_extension field in Netcetera Response ### Bug Description Currently we are not recieving field **message_extension** in Netcetera's authentication response since the struct is incorrectly declared in the transformers file. **Current structure** ``` NetceteraAuthenticatio...
From 2af3cb20c2e725aa03e80daf94fcef1b73e7d5c9 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 16:15:30 +0000 Subject: [PATCH] task juspay__hyperswitch-9078: Fix message_extension field placement in Netcetera Authentication Response - Move message_extension field ...
diff --git a/crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs b/crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs index 7427cd8cd05..0c12d7415c3 100644 --- a/crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs +++ b/crates/hyperswitch_connectors/src/connecto...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. <think></think> ## SUMMARY I have successfully implemented the fix for the Netcetera authentication response bug. Here's what was done: ### Changes Made: 1. **Moved `message_extensi...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [X] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR introduces the following struct fix for netcetera authentication response since `message_extensio...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical in logic and implementation to the ground truth...
dirty
logs_batch1
juspay__hyperswitch-7886
Bug: [FIX] remove open-router configuration from docker compose toml
From bb6c8c843ebdb3803e1ef2daa16290356094c605 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 12:20:19 +0000 Subject: [PATCH] task juspay__hyperswitch-7886: remove open-router configuration from docker compose toml MIME-Version: 1.0 Content-Type: text/plain; chars...
diff --git a/config/docker_compose.toml b/config/docker_compose.toml index d8f2d4bd34d..2f2f6843154 100644 --- a/config/docker_compose.toml +++ b/config/docker_compose.toml @@ -899,6 +899,3 @@ background_color = "#FFFFFF" [platform] enabled = true - -[open_router] -enabled = false
<think></think> Perfect! The task has been completed successfully. ## Summary I have successfully removed the open-router configuration from the docker compose toml file as requested: 1. **Located the file**: Found `config/docker_compose.toml` containing the open-router configuration 2. **Identified the configurat...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR removes the open-router configuration from docker_compo...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff perfectly matches the ground truth. It identifies the correc...
dirty
logs_batch1
juspay__hyperswitch-8216
Bug: chore: Update apple pay currency filter configs Update apple pay currency filter configs as a temporary fix for failing PR #7921
From cd80bc3c9ebc97f4546c8a30349522e0b9696e5d Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 12:46:33 +0000 Subject: [PATCH] task juspay__hyperswitch-8216: Add AED to Apple Pay currency list in production config MIME-Version: 1.0 Content-Type: text/plain; charset...
diff --git a/config/deployments/production.toml b/config/deployments/production.toml index 16b0a3ad1d1..65399b000c7 100644 --- a/config/deployments/production.toml +++ b/config/deployments/production.toml @@ -246,7 +246,7 @@ ach = { country = "US", currency = "USD" } affirm = { country = "US", currency = "USD" } afte...
<think></think> Perfect! I have successfully completed the task. Here's a summary of what was accomplished: ## Summary **Task Completed:** juspay__hyperswitch-8216 - Add AED to Apple Pay currency filter configs ### Problem Identified - Apple Pay payments for "noon" were failing due to PR #7921 - The root cause was ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Apple pay payments for noon were failing due to PR#7921. Adding...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical to the ground truth patch. It correctly identif...
dirty
logs_batch1
juspay__hyperswitch-9510
Bug: [BUG] (nuvei) 4xx error when eci_provider = nill for applepay ### Bug Description For some card eci provider is nill . ### Expected Behavior No error should be thrown ### Actual Behavior - ### Steps To Reproduce Provide an unambiguous set of steps to reproduce this bug. Include code or configuration to r...
From b7118986ffd7968cf1425dd86d1065ea1bc05de0 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 19:29:57 +0000 Subject: [PATCH] task juspay__hyperswitch-9548: Add internal API key authentication for microservice communication MIME-Version: 1.0 Content-Type: text/pla...
diff --git a/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs b/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs index 1329bd0a056..39776916056 100644 --- a/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/nuvei/tra...
<think></think> ## Summary I have successfully fixed the bug in the Nuvei connector where `eci_provider` being null for Apple Pay was causing a 4xx error. Here's what was accomplished: ### Problem Analysis - The issue was in `/home/archit/submodule/repos/hyperswitch_pool_2/crates/hyperswitch_connectors/src/connector...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Some cards have optional `eci_provider` which causes 4xx missin...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is logically identical to the ground truth. Both remove the ...
dirty
logs_batch1
juspay__hyperswitch-7852
Bug: [CHORE] remove billing details are required fields from Worldpay Worldpay does not mandate sending billing address during payment create request. These fields are needed to be removed as required fields which are configured as a part of dynamic required fields for payment widget.
From 497e14c95733e0b80bf95d6bb29d086be0c98811 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 12:28:08 +0000 Subject: [PATCH] task juspay__hyperswitch-7852: remove billing details are required fields from Worldpay MIME-Version: 1.0 Content-Type: text/plain; charse...
diff --git a/crates/payment_methods/src/configs/payment_connector_required_fields.rs b/crates/payment_methods/src/configs/payment_connector_required_fields.rs index 175b82192b4..2f4fb7a8013 100644 --- a/crates/payment_methods/src/configs/payment_connector_required_fields.rs +++ b/crates/payment_methods/src/configs/paym...
<think></think> Perfect! I have successfully completed the task. Let me summarize what was accomplished: ## Summary I have successfully removed billing details as required fields from Worldpay by: 1. **Located the configuration file**: Found the required fields configuration in `/home/archit/submodule/repos/hypersw...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR removes billing details as required fields for Worldpay connector. ### Additional Changes -...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical to the ground truth patch in terms of the code ...
dirty
logs_batch1
juspay__hyperswitch-9596
Bug: [BUG] connector_request_reference_id not updated in payment_tokenization confirm_intent flow ### Bug Description In the payment tokenization confirm intent flow, the field `connector_request_reference_id` is not being updated in payment_attempt. Because of this missing update, flows such as PaymentsCancel and ...
From 22de189358596af0eb19a936f03cb72e6a2eb11b Mon Sep 17 00:00:00 2001 From: Claude Code <claude@anthropic.com> Date: Mon, 8 Dec 2025 13:05:26 +0000 Subject: [PATCH] task juspay__hyperswitch-9596: Fix connector_request_reference_id not updated in payment_tokenization confirm_intent flow - Added connector_request_ref...
diff --git a/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs b/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs index 7f8b9020618..256f3ef2728 100644 --- a/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs +++ b/crates/hyperswitch_domain_models/src/payments/payment_attemp...
<think></think> ## Summary I have successfully implemented the fix for the bug where `connector_request_reference_id` was not being updated in the payment tokenization confirm intent flow. Here's what I did: ### Problem Analysis The issue was that during payment tokenization confirm intent, the `ConfirmIntentTokeniz...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> In the payment tokenization confirm intent flow, the field `c...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical in logic and implementation to the ground truth...
dirty
logs_batch3
juspay__hyperswitch-9458
Bug: Send cvv to nexixpay card payments. Mandatorily send cvv to nexixpay card payments.
From 84e67752fd1072aeb115b4fd032312202d941b81 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 15:44:33 +0000 Subject: [PATCH] task juspay__hyperswitch-9458: Add CVV field to NexiPay card payments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Tr...
diff --git a/crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs b/crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs index 5c8fdd5e020..68ad70da2a7 100644 --- a/crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/...
<think></think> ## Summary I have successfully implemented the fix for sending CVV to NexiPay card payments. Here's what I did: ### Problem Analysis - The issue was that CVV (Card Verification Value) was not being included in the card data sent to NexiPay - The `NexixpayCard` struct only had `pan` and `expiry_date` ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Mandatorily send cvv to nexixpay card payments. ### Addition...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical to the ground truth patch in terms of code chan...
dirty
logs_batch2
juspay__hyperswitch-9457
Bug: fix(routing): update_gateway_score_condition
diff --git a/crates/common_enums/src/enums.rs b/crates/common_enums/src/enums.rs index 296f60f8d..1c4756e69 100644 --- a/crates/common_enums/src/enums.rs +++ b/crates/common_enums/src/enums.rs @@ -9453,7 +9453,7 @@ impl RoutingApproach { "SR_SELECTION_V3_ROUTING" => Self::SuccessRateExploitation, ...
diff --git a/crates/common_enums/src/enums.rs b/crates/common_enums/src/enums.rs index 296f60f8d4a..b865110a1a6 100644 --- a/crates/common_enums/src/enums.rs +++ b/crates/common_enums/src/enums.rs @@ -9451,9 +9451,8 @@ impl RoutingApproach { pub fn from_decision_engine_approach(approach: &str) -> Self { m...
## Summary I have successfully implemented the bug fix for the routing issue described in task juspay__hyperswitch-9457. Here are the changes made: ### 1. **Updated RoutingApproach mapping in `enums.rs`** - **File**: `crates/common_enums/src/enums.rs:9456` - **Change**: Modified `"DEFAULT"` case in `from_decision_en...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR updates the dynamic routing logic to ensure that update_gateway_score_helper_with_open_router i...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff perfectly matches the logic of the ground truth. In the firs...
hs2
logs_kat_fixed
juspay__hyperswitch-7696
Bug: Modify API doc Auth for Profile - Delete Need to update the API doc to display Admin API Key instead of API key for Profile - Delete.
diff --git a/crates/openapi/src/routes/profile.rs b/crates/openapi/src/routes/profile.rs index 2b72375f9..e2dfffa2d 100644 --- a/crates/openapi/src/routes/profile.rs +++ b/crates/openapi/src/routes/profile.rs @@ -108,7 +108,7 @@ pub async fn profile_retrieve() {} ), tag = "Profile", operation_id = "Delet...
diff --git a/crates/openapi/src/routes/profile.rs b/crates/openapi/src/routes/profile.rs index 2b72375f988..e2dfffa2d1f 100644 --- a/crates/openapi/src/routes/profile.rs +++ b/crates/openapi/src/routes/profile.rs @@ -108,7 +108,7 @@ pub async fn profile_retrieve() {} ), tag = "Profile", operation_id = "D...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. ⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. ## Summary I have successfully completed the task...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Need to update the API doc to display Admin API Key instead of ...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical to the ground truth patch. It correctly identif...
hs2
logs_kat_fixed
juspay__hyperswitch-8161
Bug: refactor(success_based): add support for exploration
diff --git a/crates/api_models/src/open_router.rs b/crates/api_models/src/open_router.rs index f15d9cbcf..cfcb45ef9 100644 --- a/crates/api_models/src/open_router.rs +++ b/crates/api_models/src/open_router.rs @@ -62,6 +62,7 @@ pub struct PaymentInfo { pub struct DecidedGateway { pub gateway_priority_map: Option<H...
diff --git a/crates/api_models/src/open_router.rs b/crates/api_models/src/open_router.rs index f15d9cbcfeb..cfcb45ef97b 100644 --- a/crates/api_models/src/open_router.rs +++ b/crates/api_models/src/open_router.rs @@ -62,6 +62,7 @@ pub struct PaymentInfo { pub struct DecidedGateway { pub gateway_priority_map: Opti...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. ## Summary I have successfully implemented exploration support for the success_based refactor as described in the task. Here are the key changes made: ### Changes Made: 1. **`./crate...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Original PR - https://github.com/juspay/hyperswitch/pull/8158 ...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical to the ground truth patch in all aspects, inclu...
hs2
logs_kat_fixed
juspay__hyperswitch-8449
Bug: remove frm rule migration support as it is not supported in DE
diff --git a/crates/router/src/core/routing.rs b/crates/router/src/core/routing.rs index b52fc9667..0d34986c8 100644 --- a/crates/router/src/core/routing.rs +++ b/crates/router/src/core/routing.rs @@ -2483,11 +2483,6 @@ pub async fn migrate_rules_for_profile( .attach_printable("Failed to get payout routing...
diff --git a/crates/router/src/core/routing.rs b/crates/router/src/core/routing.rs index b52fc966721..0d34986c838 100644 --- a/crates/router/src/core/routing.rs +++ b/crates/router/src/core/routing.rs @@ -2483,11 +2483,6 @@ pub async fn migrate_rules_for_profile( .attach_printable("Failed to get payout rou...
Perfect! The code looks syntactically correct. Let me also verify that I haven't broken any logic by checking what the code does: 1. **Before the change**: The `active_payment_routing_ids` vector included three types of routing algorithms: - Payment routing algorithm - Payout routing algorithm - **FRM routi...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [X] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> As FRM routing is not supported in DE we can remove support for...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical to the ground truth patch. It correctly identif...
hs2
logs_kat_fixed
juspay__hyperswitch-8698
Bug: [BUG] FEATURE_MATRIX shows JPMorgan does not support Refunds I added support for refunds 3 weeks ago in #8436. Feature matrix needs to be updated.
diff --git a/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs b/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs index 80e3d6127..7577154f6 100644 --- a/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs +++ b/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs @@ -847,7 +847,7 @@ static JPMO...
diff --git a/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs b/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs index 80e3d61278f..7577154f6b1 100644 --- a/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs +++ b/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs @@ -847,7 +847,7 @@ static ...
I'll complete the task summary. I have successfully fixed the bug by updating the JPMorgan connector configuration to mark refunds as supported for both credit and debit card payment methods. The changes were made to `crates/hyperswitch_connectors/src/connectors/jpmorgan.rs` where I changed `refunds: enums::FeatureStat...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR marks refunds as supported by JPMorgan connector. Alt...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical to the ground truth patch in terms of logic and...
hs2
logs_kat_fixed
juspay__hyperswitch-9034
Bug: [BUG] CUSTOMERREQUEST refund reason not supported in Adyen ### Bug Description CUSTOMERREQUEST refund reason not supported in Adyen ### Expected Behavior CUSTOMERREQUEST refund reason should be supported in Adyen. ### Actual Behavior CUSTOMERREQUEST refund reason not supported in Adyen ### Steps To Reprod...
diff --git a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs b/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs index 63c1b0d8a..f30732173 100644 --- a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/adyen/transfo...
diff --git a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs b/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs index 63c1b0d8a32..f30732173a7 100644 --- a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/adyen/tra...
## Summary I have successfully implemented support for `CUSTOMERREQUEST` refund reason in Adyen. Here's what was accomplished: ### Problem Analysis The issue was in the `FromStr` implementation for `AdyenRefundRequestReason` enum in `./crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs`. The code was ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD Closes this [issue](https://github.com/juspay/hyperswitch/issues/9034) ## Description <!-- Describe your changes in d...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical to the ground truth patch. It correctly identif...
hs2
logs_kat_fixed
juspay__hyperswitch-8623
Bug: [BUG] For trust pay in session token card brand is coming as empty so click to pay page is not loading ### Bug Description For trust pay in session token card brand is coming as empty so click to pay page is not loading ### Expected Behavior For trust pay in session token card brand should not come as empty ...
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml index 77775f87b..9c85481a2 100644 --- a/config/deployments/integration_test.toml +++ b/config/deployments/integration_test.toml @@ -786,4 +786,4 @@ monitoring_threshold_in_seconds = 2592000 retry_algorithm_type = "cascadin...
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml index 77775f87bf0..9c85481a235 100644 --- a/config/deployments/integration_test.toml +++ b/config/deployments/integration_test.toml @@ -786,4 +786,4 @@ monitoring_threshold_in_seconds = 2592000 retry_algorithm_type = "casc...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. I've successfully completed the bug fix for TrustPay session token card brand being empty. Here's a summary of what was implemented: ## Summary **Problem**: For TrustPay in session to...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD Closes this [issue](https://github.com/juspay/hyperswitch/issues/8623) ## Description <!-- Describe your changes in d...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical to the ground truth patch. It correctly identif...
hs2
logs_kat_fixed
juspay__hyperswitch-8275
Bug: [BUG] CPF info not getting populated for Facilitapay required fields <img width="907" alt="Image" src="https://github.com/user-attachments/assets/67f28a99-bff3-41fd-a770-110aa19e1bcb" /> <img width="1158" alt="Image" src="https://github.com/user-attachments/assets/5ceb4cd2-db27-4ff2-8252-2719c7a755e5" /> <img...
diff --git a/crates/payment_methods/src/configs/payment_connector_required_fields.rs b/crates/payment_methods/src/configs/payment_connector_required_fields.rs index 0a5dca9c0..fa0c294d9 100644 --- a/crates/payment_methods/src/configs/payment_connector_required_fields.rs +++ b/crates/payment_methods/src/configs/payment_...
diff --git a/crates/payment_methods/src/configs/payment_connector_required_fields.rs b/crates/payment_methods/src/configs/payment_connector_required_fields.rs index 0a5dca9c0e2..478c2ea2448 100644 --- a/crates/payment_methods/src/configs/payment_connector_required_fields.rs +++ b/crates/payment_methods/src/configs/paym...
## Summary I have successfully fixed the bug where CPF info was not getting populated for Facilitapay required fields. Here's what I did: **Problem Identified:** The Facilitapay connector configuration in `./crates/payment_methods/src/configs/payment_connector_required_fields.rs` was missing the `PixCpf` field in its...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR fixes the required fields error in SDK. ### Additi...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff correctly identifies the exact file and the specific logical...
hs2
logs_kat_fixed
juspay__hyperswitch-9350
Bug: [FIX] : fix wasm Fix type account_id for ConfigMetadata
diff --git a/crates/connector_configs/src/connector.rs b/crates/connector_configs/src/connector.rs index 18da6b524..cd4bdfcc2 100644 --- a/crates/connector_configs/src/connector.rs +++ b/crates/connector_configs/src/connector.rs @@ -149,7 +149,7 @@ pub struct ConfigMetadata { pub proxy_url: Option<InputData>, ...
diff --git a/crates/connector_configs/src/connector.rs b/crates/connector_configs/src/connector.rs index 18da6b52498..cd4bdfcc239 100644 --- a/crates/connector_configs/src/connector.rs +++ b/crates/connector_configs/src/connector.rs @@ -149,7 +149,7 @@ pub struct ConfigMetadata { pub proxy_url: Option<InputData>, ...
## Summary I have successfully fixed the type for `account_id` in the `ConfigMetadata` struct. Here's what was accomplished: **Issue Fixed:** - In `/workspace/archit/trace_generation/repos/hyperswitch_pool_1/crates/connector_configs/src/connector.rs:152` - Changed `pub account_id: Option<String>` to `pub account_id: ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Fix type account_id for ConfigMetadata ### Additional Changes - [ ] This PR modifies the API contra...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical to the ground truth patch. It correctly identif...
hs2
logs_kat_fixed
juspay__hyperswitch-8406
Bug: Fix payment redirects for v2 Fix payment redirects for v2
diff --git a/crates/router/src/core/payments.rs b/crates/router/src/core/payments.rs index 59de54f41..ba0ddeb64 100644 --- a/crates/router/src/core/payments.rs +++ b/crates/router/src/core/payments.rs @@ -2996,7 +2996,7 @@ impl PaymentRedirectFlow for PaymentRedirectSync { force_sync: true, ex...
diff --git a/crates/router/src/core/payments.rs b/crates/router/src/core/payments.rs index 59de54f41fa..e3fdf6e1cac 100644 --- a/crates/router/src/core/payments.rs +++ b/crates/router/src/core/payments.rs @@ -2996,7 +2996,7 @@ impl PaymentRedirectFlow for PaymentRedirectSync { force_sync: true, ...
Perfect! I have successfully completed the task. Let me provide a summary of what was accomplished: ## Summary I have successfully fixed the payment redirects for v2 by addressing the `todo!()` issue in the `merchant_connector_details` field. Here's what was done: ### ✅ Task Completed: Fix payment redirects for v2 ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR fixes payment redirects in v2. This was due to the fiel...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff correctly identifies the file and the exact line where the `...
hs2
logs_kat_fixed
juspay__hyperswitch-8341
Bug: chore(ci): `adyen` and `stripe` postman tests are failing Multiple Test Cases have been failing on Postman, - Adyen: <span style="color:red">88 Failures</span> - Stripe: <span style="color:red">3 Failures</span> <img width="500" alt="Image" src="https://github.com/user-attachments/assets/522a3f3b-ef4d-450d-b...
diff --git a/postman/collection-dir/stripe/PaymentConnectors/.meta.json b/postman/collection-dir/stripe/PaymentConnectors/.meta.json index 6d68eeab4..c32be7223 100644 --- a/postman/collection-dir/stripe/PaymentConnectors/.meta.json +++ b/postman/collection-dir/stripe/PaymentConnectors/.meta.json @@ -5,7 +5,7 @@ "P...
diff --git a/postman/collection-dir/stripe/PaymentConnectors/.meta.json b/postman/collection-dir/stripe/PaymentConnectors/.meta.json index 6d68eeab4ab..c32be7223a6 100644 --- a/postman/collection-dir/stripe/PaymentConnectors/.meta.json +++ b/postman/collection-dir/stripe/PaymentConnectors/.meta.json @@ -5,7 +5,7 @@ ...
## Summary I have successfully identified and fixed the main issue causing the Postman test failures: ### Problem Analysis: 1. **Stripe Postman Tests**: The failing tests were due to incorrect execution order where "Merchant Account - Delete" was happening before "Delete API Key" 2. **Adyen Postman Tests**: The struc...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [x] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> Deleting API Key needs Merchant ID. So, deleting it after delet...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical to the ground truth patch. It correctly reorder...
hs2
logs_kat_fixed
juspay__hyperswitch-8971
Bug: refactor(routing): receive json value instead of string
diff --git a/crates/router/src/core/routing/helpers.rs b/crates/router/src/core/routing/helpers.rs index 0b1395ed4..98b71748b 100644 --- a/crates/router/src/core/routing/helpers.rs +++ b/crates/router/src/core/routing/helpers.rs @@ -2481,7 +2481,7 @@ pub async fn enable_decision_engine_dynamic_routing_setup( creat...
diff --git a/crates/router/src/core/routing/helpers.rs b/crates/router/src/core/routing/helpers.rs index 0b1395ed4ba..98b71748b35 100644 --- a/crates/router/src/core/routing/helpers.rs +++ b/crates/router/src/core/routing/helpers.rs @@ -2481,7 +2481,7 @@ pub async fn enable_decision_engine_dynamic_routing_setup( c...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. ## Summary I have successfully completed the refactoring task as specified in the requirements. Here's what was accomplished: ### Changes Made Updated 5 `ConfigApiClient::send_decisi...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Refactoring to recieve json response instead of string Updated `ConfigApiClient::send_decision_engin...
10
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 10, "reasoning": "The predicted diff is identical to the ground truth patch. It correctly identif...
hs2
logs_kat_fixed
juspay__hyperswitch-9551
Bug: [BUG] Fix Ideal Giropay Country Currency Config ### Bug Description Ideal Giropay are European Payment Methods but is appearing for CNY currency. ### Expected Behavior Ideal Giropay Country Currency Config are appearing for CNY currency. ### Actual Behavior Ideal Giropay are European Payment Methods but is...
From 0dfd74df4e044fdfc5eb12ddc2fa8a84e5307413 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 14:55:01 +0000 Subject: [PATCH] task juspay__hyperswitch-9551: Fix Ideal Giropay country currency config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content...
diff --git a/config/config.example.toml b/config/config.example.toml index a8f9ea22c43..386339c7c2e 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -733,8 +733,8 @@ credit = { country = "AF,AX,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,B debit = { country = "AF,AX,AL,DZ,AS,AD,AO,AI,...
<think></think> Perfect! I have successfully completed the task. Let me provide a summary of what was accomplished: ## TASK COMPLETED SUCCESSFULLY ✅ ### Problem Summary Ideal Giropay (European payment methods) were incorrectly appearing for CNY (Chinese Yuan) currency due to misconfigured country/currency settings i...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD Closes this [issue](https://github.com/juspay/hyperswitch/issues/9551) ## Description <!-- Describe your changes in d...
9.5
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9.5, "reasoning": "The prediction correctly identifies the files and the core issue. It restricts t...
dirty
logs_batch1
juspay__hyperswitch-8025
Bug: [BUG] Worldpay redirection flow stuck in endless DDC submission loop ### Bug Description Worldpay's redirection flow (3DS cards) is stuck in an endless loop of submit DDC form. This is happening for special cases where payment IDs contain non alphanumeric characters. For example - 100000091279-518099-32024532...
From 2b8a62571ec21576e65d4ff03a34222cd09f3efd Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 11:26:44 +0000 Subject: [PATCH] task juspay__hyperswitch-8025: fix Worldpay redirection flow regex for non-alphanumeric payment IDs MIME-Version: 1.0 Content-Type: text/p...
diff --git a/crates/router/src/services/api.rs b/crates/router/src/services/api.rs index 3fef01a8c21..4bc57cfdaa8 100644 --- a/crates/router/src/services/api.rs +++ b/crates/router/src/services/api.rs @@ -1733,7 +1733,7 @@ pub fn build_redirection_form( (PreEscaped(format!( ...
<think></think> Perfect! I have successfully fixed the Worldpay redirection flow bug. Here's a summary of what was accomplished: ## Summary **Problem**: Worldpay's 3DS redirection flow was stuck in an endless loop when payment IDs contained non-alphanumeric characters (like hyphens). **Root Cause**: The regex patte...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR updates the regex used for forming the CompleteAuthorize URL for Worldpay post DDC submission. C...
9.5
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 9.5, "reasoning": "The predicted diff correctly identifies and fixes the core issue by updating th...
dirty
logs_batch1
juspay__hyperswitch-8058
Bug: FIX[Config]: Add VGS baseurl to deployment toml files Need to add baseurl for VGS in `config/deployments/{integration_test, production, sandbox}.toml`
From ee4fa72221048b495901e93cb1f53c61e260c83b Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 11:23:35 +0000 Subject: [PATCH] task juspay__hyperswitch-8058: Add VGS baseurl to deployment toml files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-...
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml index 554e41b5021..79074230917 100644 --- a/config/deployments/integration_test.toml +++ b/config/deployments/integration_test.toml @@ -122,6 +122,7 @@ thunes.base_url = "https://api.limonetikqualif.com/" trustpay.base_url...
<think></think> Perfect! I've successfully completed the task. Here's a summary of what was accomplished: ## Task Completed: juspay__hyperswitch-8058 I successfully added the VGS base URL configuration to all three deployment TOML files: ### Changes Made: 1. **`config/deployments/integration_test.toml`**: Added `vg...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> Added baseurl for `VGS` connector in relevant deployment TOML f...
9.5
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9.5, "reasoning": "The prediction correctly identifies all three files that need modification. It a...
dirty
logs_batch1
juspay__hyperswitch-9472
Bug: [BUG] 3ds error mapping on 3ds failed authentication [NUVEI] No Error mapped when failed 3ds authenticaiton happens ### Have you spent some time checking if this bug has been raised before? - [x] I checked and didn't find a similar issue ### Have you read the Contributing Guidelines? - [x] I have read the ...
From c142e4f7835c6e8048fee4cd1372c7387e38bd07 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 13:54:00 +0000 Subject: [PATCH] task juspay__hyperswitch-9472: fix 3DS error mapping for failed authentication in Nuvei connector MIME-Version: 1.0 Content-Type: text/pla...
diff --git a/crates/hyperswitch_connectors/src/connectors/nuvei.rs b/crates/hyperswitch_connectors/src/connectors/nuvei.rs index 9c906abeefc..77165ba9035 100644 --- a/crates/hyperswitch_connectors/src/connectors/nuvei.rs +++ b/crates/hyperswitch_connectors/src/connectors/nuvei.rs @@ -1153,7 +1153,7 @@ impl ConnectorRed...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. ⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. ⚠️ [BashTool] Pre-flight check is taking longer t...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Show Error Message during 3ds un-sussessful error redirection ...
9.5
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9.5, "reasoning": "The prediction correctly identifies the file and the exact logic block requirin...
dirty
logs_batch1
juspay__hyperswitch-8851
Bug: [BUG] (connector): [Netcetera] Fix three_ds_requestor_challenge_ind field in Netcetera Response ### Bug Description Currently we are not recieving field **_three_ds_requestor_challenge_ind_** in Netcetera's authentication response since the struct is incorrectly declared in the transformers file. 1. **_three...
From ee995900f5b40e23db4cbd803856e4370202d2dc Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 18:08:15 +0000 Subject: [PATCH] task juspay__hyperswitch-8851: Fix Netcetera three_ds_requestor_challenge_ind field structure MIME-Version: 1.0 Content-Type: text/plain; ...
diff --git a/crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs b/crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs index fc334d68167..01189f6b926 100644 --- a/crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs +++ b/crates/hyperswitch_connectors/src/connecto...
<think></think> Perfect! I have successfully implemented the fix for the Netcetera connector issue. Here's a summary of what was done: ## Summary of Changes 1. **Restructured the `NetceteraAuthenticationSuccessResponse`**: - Created a new `AuthenticationRequest` struct to contain the `three_ds_requestor_challenge...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Currently we are not recieving field **_three_ds_requestor_challenge_ind_** in Netcetera's authentication...
9.5
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9.5, "reasoning": "The predicted diff correctly identifies and implements the structural changes re...
dirty
logs_batch1
juspay__hyperswitch-7699
Bug: web-docker pull from docker hub
diff --git a/docker-compose.yml b/docker-compose.yml index ea1ebb3dd..a355381d0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -149,15 +149,14 @@ services: ### Web Client hyperswitch-web: + image: docker.juspay.io/juspaydotin/hyperswitch-web:standalone + pull_policy: always ports: ...
diff --git a/docker-compose.yml b/docker-compose.yml index ea1ebb3dd12..cb39b23b133 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -149,15 +149,14 @@ services: ### Web Client hyperswitch-web: + image: docker.juspay.io/juspaydotin/hyperswitch-web:latest + pull_policy: always ports: ...
The Docker configuration has been successfully fixed! Here's what I accomplished: ## Summary I successfully fixed the web-docker pull issue from Docker Hub by modifying the `hyperswitch-web` service in `docker-compose.yml`. ### Problem Identified The `hyperswitch-web` service was configured to build from source usi...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Docker pull from latest stable tag ### Additional Changes - [ ] This PR modifies the API contract...
9.5
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9.5, "reasoning": "The predicted diff correctly identifies the file to change and the exact lines t...
hs2
logs_kat_fixed
juspay__hyperswitch-8140
Bug: Handle missing merchant_business_country by defaulting to US If the business profile does not have a country set, we cannot perform debit routing, because the merchant_business_country will be treated as the acquirer_country, which is used to determine whether a transaction is local or global in the open router...
diff --git a/crates/router/src/core/debit_routing.rs b/crates/router/src/core/debit_routing.rs index 5824946c3..89b3e2c56 100644 --- a/crates/router/src/core/debit_routing.rs +++ b/crates/router/src/core/debit_routing.rs @@ -49,10 +49,10 @@ where let debit_routing_config = state.conf.debit_routing_config.clone...
diff --git a/crates/router/src/core/debit_routing.rs b/crates/router/src/core/debit_routing.rs index 5824946c3e7..adbd663c5c1 100644 --- a/crates/router/src/core/debit_routing.rs +++ b/crates/router/src/core/debit_routing.rs @@ -49,10 +49,17 @@ where let debit_routing_config = state.conf.debit_routing_config.c...
Let me provide a summary of the changes I've made to fix the issue: ## Summary I have successfully implemented the fix for handling missing `merchant_business_country` by defaulting to US. Here are the changes made: ### Changes in `/workspace/archit/trace_generation/repos/hyperswitch_pool_2/crates/router/src/core/de...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> If the business profile does not have a country set, we cannot ...
9.5
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9.5, "reasoning": "The predicted diff correctly identifies both locations in the code that need mod...
hs2
logs_kat_fixed
juspay__hyperswitch-9406
Bug: [REFACTOR] update generate_connector_request_reference_id for Razorpay update generate_connector_request_reference_id to consume merchant_reference_id for RAZORPAY, if not provided generate a UUID instead.
diff --git a/crates/hyperswitch_connectors/src/connectors/razorpay.rs b/crates/hyperswitch_connectors/src/connectors/razorpay.rs index 44f1b4629..cdaca1568 100644 --- a/crates/hyperswitch_connectors/src/connectors/razorpay.rs +++ b/crates/hyperswitch_connectors/src/connectors/razorpay.rs @@ -55,6 +55,7 @@ use crate::{ ...
diff --git a/crates/hyperswitch_connectors/src/connectors/razorpay.rs b/crates/hyperswitch_connectors/src/connectors/razorpay.rs index 44f1b462936..59404512081 100644 --- a/crates/hyperswitch_connectors/src/connectors/razorpay.rs +++ b/crates/hyperswitch_connectors/src/connectors/razorpay.rs @@ -836,10 +836,14 @@ impl ...
## Summary I have successfully implemented the refactoring for the Razorpay connector to update `generate_connector_request_reference_id` as requested. Here's what was accomplished: ### Changes Made: 1. **Added uuid import**: Added `use uuid::Uuid;` to the razorpay.rs file to enable UUID generation. 2. **Updated th...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> For Razorpay (RZP) integration, the `connector_request_referenc...
9.5
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9.5, "reasoning": "The predicted diff correctly identifies the file and function to modify. It imp...
hs2
logs_kat_fixed
juspay__hyperswitch-9103
Bug: [BUG] UCS PSync call fails for Cashtocode ### Bug Description Cashtocode does not support PSync. When a PSync call is processed via Hyperswitch, the RouterData remains unchanged (payment status is not modified). However, when the same PSync call goes via UCS, UCS returns an error response. This causes incon...
diff --git a/config/config.example.toml b/config/config.example.toml index 0d5eb5f4f..7151ea33a 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -1173,6 +1173,7 @@ url = "http://localhost:8080" # Open Router URL base_url = "http://localhost:8000" # Unified Connector Service Ba...
diff --git a/config/config.example.toml b/config/config.example.toml index 0d5eb5f4fa3..dcf5bb24fb6 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -1173,6 +1173,7 @@ url = "http://localhost:8080" # Open Router URL base_url = "http://localhost:8000" # Unified Connector Servic...
## Summary I have successfully implemented a fix for the Cashtocode PSync issue in the hyperswitch repository. Here's what was accomplished: ### Changes Made: 1. **Configuration Structure Enhancement** (`crates/external_services/src/grpc_client/unified_connector_service.rs:132-134`): - Added `ucs_psync_disabled_c...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Cashtocode does not support PSync. When a PSync call is proc...
9.5
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 10, "overall_score": 9.5, "reasoning": "The predicted diff perfectly matches the ground truth in terms of file selectio...
hs2
logs_kat_fixed
juspay__hyperswitch-9477
Bug: [FEATURE]: add client_auth auth type for list_blocked_payment_methods
From c0f9fc6fa5a55bfa078a67b5763c010988a36e92 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 14:01:48 +0000 Subject: [PATCH] task juspay__hyperswitch-9477: add client_secret auth type for list_blocked_payment_methods MIME-Version: 1.0 Content-Type: text/plain; ch...
diff --git a/crates/api_models/src/blocklist.rs b/crates/api_models/src/blocklist.rs index 2afeb2db4f6..9fb537b226f 100644 --- a/crates/api_models/src/blocklist.rs +++ b/crates/api_models/src/blocklist.rs @@ -53,6 +53,7 @@ pub struct ListBlocklistQuery { pub limit: u16, #[serde(default)] pub offset: u16,...
<think></think> Perfect! I have successfully implemented the `client_secret` authentication type for the `list_blocked_payment_methods` endpoint. Here's a summary of what was accomplished: ## Summary of Changes 1. **Added `client_secret` field to `ListBlocklistQuery` struct** in `crates/api_models/src/blocklist.rs` ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description add client_secret auth auth type for list_blocked_payment_methods ### Additional Changes - [ ] This...
9
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9, "reasoning": "The predicted diff matches the ground truth almost perfectly. It correctly identifi...
dirty
logs_batch1
juspay__hyperswitch-9128
Bug: [FEATURE] allow wallet data migration ### Feature Description Currently, migration API is card-centric and performs validation assuming all the entries are for migrating cards. These validations make the wallet migration fail. ### Possible Implementation Make card expiry validation optional per payment met...
From a730bab94b95fe64038686eee004e411643e0901 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 15:42:06 +0000 Subject: [PATCH] task juspay__hyperswitch-9128: Make card expiry validation optional for PayPal and SamsungPay MIME-Version: 1.0 Content-Type: text/plain; ...
diff --git a/crates/payment_methods/src/core/migration/payment_methods.rs b/crates/payment_methods/src/core/migration/payment_methods.rs index 5c30698f615..494e1987e21 100644 --- a/crates/payment_methods/src/core/migration/payment_methods.rs +++ b/crates/payment_methods/src/core/migration/payment_methods.rs @@ -51,8 +5...
<think></think> ## Summary I have successfully implemented the wallet data migration feature for PayPal and SamsungPay by making card expiry validation optional. Here's what was accomplished: ### Changes Made: 1. **Modified `populate_bin_details_for_masked_card` function** in `/home/archit/submodule/repos/hyperswit...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR updates the migration flow around card validation to skip card expiry validation for `PayPal` and...
9
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9, "reasoning": "The prediction correctly identifies the file and the specific function that needs m...
dirty
logs_batch1
juspay__hyperswitch-9642
Bug: [FEAT]: [Customer] Add search support to Customer API by Customer_ID ### Feature Description Currently, the Customer List API (/api/customers/list?limit=20&offset=0) does not support search functionality, which forces the dashboard to display customers without the ability to search dynamically. We want to enh...
From c92bc3ad90503f384bb813b391db956cdf846fed Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 13:47:40 +0000 Subject: [PATCH] feat(customers): Add search support to Customer List API by customer_id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-...
diff --git a/crates/api_models/src/customers.rs b/crates/api_models/src/customers.rs index 19016e292a8..62fd000ddb8 100644 --- a/crates/api_models/src/customers.rs +++ b/crates/api_models/src/customers.rs @@ -52,6 +52,8 @@ pub struct CustomerListRequest { /// Limit #[schema(example = 32)] pub limit: Opti...
<think></think> ## Summary I have successfully implemented the customer search functionality for the Customer List API as requested in task juspay__hyperswitch-9642. Here's what was accomplished: ### Changes Made: 1. **API Models** (`crates/api_models/src/customers.rs`): - Added `customer_id: Option<id_type::Cus...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR introduces improvements to the **Customer page API**:...
9
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9, "reasoning": "The predicted diff correctly identifies all the necessary files and the core logic ...
dirty
logs_batch3
juspay__hyperswitch-9612
Bug: Nexixpay MIT fix Nexixpay MITs are failing when created a CIT for already existing customer for which normal payment was made.
From 08bda16145292715895993c4a5658e3a57780aa0 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 17:47:01 +0000 Subject: [PATCH] task juspay__hyperswitch-9612: Fix Nexixpay MIT mandate reference handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Conte...
diff --git a/crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs b/crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs index 2cf30de8edf..e1a5f783ffd 100644 --- a/crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/...
<think></think> ## Summary I have successfully implemented the fix for the Nexixpay MIT bug. Here's what was done: ### Problem Analysis The issue was that Nexixpay was incorrectly storing mandate details in the `payment_methods` table for normal (non-CIT) payments. This caused MIT payments to fail when they shouldn'...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Stop sending back mandate reference from connector response i...
9
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9, "reasoning": "The prediction correctly identifies the core issue and the exact locations in the c...
dirty
logs_batch2
juspay__hyperswitch-8332
Bug: docs(openapi): Show API version selection dropdown in API Reference Add a version selection dropdown in API reference to allow exploring v2 APIs
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9b71a968e..d70d304f7 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -20,7 +20,6 @@ crates/router/src/routes/ @juspay/hyperswitch-framework migrations/ @juspay/hyperswitch-framework v2_migrations/ @juspay/hyperswitch-framework api-reference/ @jus...
diff --git a/api-reference-v2/README.md b/api-reference-v2/README.md deleted file mode 100644 index 61bc1f08938..00000000000 --- a/api-reference-v2/README.md +++ /dev/null @@ -1,45 +0,0 @@ -# Api Reference - -We use the [openapi specification](https://swagger.io/specification) for the api reference. The openapi file is...
Perfect! I have successfully implemented the API version selection dropdown in the API Reference. Here's a summary of the changes made: ## Summary of Changes ✅ **Moved both v1 and v2 API docs under api-reference directory** - Moved `api-reference-v2/openapi_spec.json` to `api-reference/openapi_spec_v2.json` - Kept `a...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [x] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> - Moved both `v1` and `v2` API docs under `api-reference` direc...
9
{ "completeness": null, "completeness_score": 8, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9, "reasoning": "The predicted diff correctly identifies the core task: moving v2 documentation into...
hs2
logs_kat_fixed
juspay__hyperswitch-8601
Bug: Deleting a user role and again assigning a role to user is not updating its previous role to new role Role id is not getting updated in the invited user account in case the role is deleted and assigned again to invited user. This is happening due to the lineage context stored in db not updating the role id in c...
diff --git a/crates/router/src/types/domain/user/decision_manager.rs b/crates/router/src/types/domain/user/decision_manager.rs index 7bc11383d..e4f05174f 100644 --- a/crates/router/src/types/domain/user/decision_manager.rs +++ b/crates/router/src/types/domain/user/decision_manager.rs @@ -147,7 +147,10 @@ impl JWTFlow {...
diff --git a/crates/router/src/types/domain/user/decision_manager.rs b/crates/router/src/types/domain/user/decision_manager.rs index 7bc11383da0..15d5463ecff 100644 --- a/crates/router/src/types/domain/user/decision_manager.rs +++ b/crates/router/src/types/domain/user/decision_manager.rs @@ -158,7 +158,11 @@ impl JWTFl...
The bug fix is complete! The solution addresses the exact issue described in the task by adding strict `role_id` validation in the JWT generation process, ensuring that when a user role is deleted and reassigned, the system will detect the mismatch and resolve a fresh lineage context with the correct role information.
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR fixes an issue where a stale `role_id` from the cac...
9
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9, "reasoning": "The predicted diff correctly identifies the core issue: the need to validate that t...
hs2
logs_kat_fixed
juspay__hyperswitch-8470
Bug: [FEATURE] allow a dummy connector to succeed for a failure card to show smart routing ### Feature Description Objective is to show user how smart retry works ### Possible Implementation stripe_test if the card number is 4000000000009995 previously it was failure with insufficient funds. But now we need to a...
diff --git a/crates/router/src/routes/dummy_connector/utils.rs b/crates/router/src/routes/dummy_connector/utils.rs index 367c3bc63..05d13e03c 100644 --- a/crates/router/src/routes/dummy_connector/utils.rs +++ b/crates/router/src/routes/dummy_connector/utils.rs @@ -219,7 +219,7 @@ impl ProcessPaymentAttempt for types::D...
diff --git a/crates/router/src/routes/dummy_connector/utils.rs b/crates/router/src/routes/dummy_connector/utils.rs index 367c3bc63d4..0bec0398193 100644 --- a/crates/router/src/routes/dummy_connector/utils.rs +++ b/crates/router/src/routes/dummy_connector/utils.rs @@ -11,7 +11,10 @@ use super::{ consts, errors, ...
## Summary I have successfully implemented the requested feature for task juspay__hyperswitch-8470. Here's what was accomplished: ### Changes Made **File Modified:** `crates/router/src/routes/dummy_connector/utils.rs` 1. **Updated `get_flow_from_card_number` method** (lines 291-349): - Added a `connector` parame...
…rd payment ## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> For one connector alone to hard code success wit...
9
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9, "reasoning": "The prediction correctly identifies the file and the specific logic required to imp...
hs2
logs_kat_fixed
juspay__hyperswitch-9000
Bug: [REFACTOR] Adyen's balance platform webhooks Webhooks for balance platform are different for different payout methods - Banks - https://docs.adyen.com/payouts/payout-service/pay-out-to-bank-accounts/payout-webhooks/ Cards - https://docs.adyen.com/payouts/payout-service/pay-out-to-cards/payout-webhooks/
diff --git a/crates/hyperswitch_connectors/src/connectors/adyenplatform.rs b/crates/hyperswitch_connectors/src/connectors/adyenplatform.rs index 78c8c4c80..cab6fd782 100644 --- a/crates/hyperswitch_connectors/src/connectors/adyenplatform.rs +++ b/crates/hyperswitch_connectors/src/connectors/adyenplatform.rs @@ -402,6 +...
diff --git a/crates/hyperswitch_connectors/src/connectors/adyenplatform.rs b/crates/hyperswitch_connectors/src/connectors/adyenplatform.rs index 78c8c4c8067..2158fece4c9 100644 --- a/crates/hyperswitch_connectors/src/connectors/adyenplatform.rs +++ b/crates/hyperswitch_connectors/src/connectors/adyenplatform.rs @@ -402...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. ## Summary I have successfully completed the refactoring of Adyen's Balance Platform webhooks to handle different payout methods as specified in the task requirements. Here's what was ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR updates the webhooks for Adyen's BalancePlatform for payouts. Main changes - For status `book...
9
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 9, "reasoning": "The predicted diff correctly identifies the core logic change: mapping the 'booked'...
hs2
logs_kat_fixed
juspay__hyperswitch-8386
Bug: Api contract changes to accept `saving_percentage` in the decision engine response Api contract changes to accept `saving_percentage` in the decision engine response
From 025abbc6113dbe7b1477b3cb8481d1b8c9ea1480 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 10:37:53 +0000 Subject: [PATCH] task juspay__hyperswitch-8386: refactor debit routing output to include saving_percentage MIME-Version: 1.0 Content-Type: text/plain; char...
diff --git a/crates/api_models/src/open_router.rs b/crates/api_models/src/open_router.rs index af91ece3f12..5d5f8f016c0 100644 --- a/crates/api_models/src/open_router.rs +++ b/crates/api_models/src/open_router.rs @@ -67,17 +67,32 @@ pub struct DecidedGateway { #[derive(Debug, Serialize, Deserialize, PartialEq, Clone...
<think></think> Perfect! I have successfully implemented the changes required for the task. Let me provide a summary of what was accomplished: ## Summary I have successfully refactored the `DebitRoutingOutput` structure to accept `saving_percentage` in the decision engine response. Here's what was implemented: ### ...
<!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pull request refactors the `DebitRoutingOutput` structure to introduce a new ...
8.5
{ "completeness": null, "completeness_score": 8, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 8.5, "reasoning": "The prediction correctly identifies the core logic: introducing the `CoBadgedCard...
dirty
logs_batch1
juspay__hyperswitch-8240
Bug: refactor(dynamic_routing): add support for shuffle on tie flag to success_based routing
From 7da0ccfc3a75ef4a9bbd70326fb7589456df24f2 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 12:34:30 +0000 Subject: [PATCH] task juspay__hyperswitch-8240: add shuffle_on_tie_during_exploitation flag to success_based routing MIME-Version: 1.0 Content-Type: text/p...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index bb4db422556..9724050266d 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -9482,6 +9482,7 @@ "customer_id", "payment_method_type", "payment_method_subtyp...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. <think></think> Perfect! I have successfully implemented the `shuffle_on_tie_during_exploitation` flag for success-based routing as requested in the task juspay__hyperswitch-8240. ##...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pull request introduces a new feature to the routing confi...
8.5
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 8, "logic_match": null, "logic_match_score": 10, "overall_score": 8.5, "reasoning": "The predicted diff correctly identifies and implements the core logic for the new...
dirty
logs_batch1
juspay__hyperswitch-8288
Bug: [REFACTOR] Change refunds v2 list request verb Change refunds v2 list request verb from GET to POST
From b912b0f6a589747aee405e859f4b5919fa6fbbfc Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 12:11:12 +0000 Subject: [PATCH] task juspay__hyperswitch-8288: Change refunds v2 list request verb from GET to POST MIME-Version: 1.0 Content-Type: text/plain; charset=UT...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index ab487354acd..0d27c061dc9 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -3365,7 +3365,7 @@ } }, "/v2/refunds/list": { - "get": { + "post": { "tags":...
<think></think> ## Summary I have successfully completed the task **juspay__hyperswitch-8288: Change refunds v2 list request verb from GET to POST**. ### Changes Made: 1. **Route Registration** (`crates/router/src/routes/app.rs:1216`): - Changed `web::get()` to `web::post()` for the `/v2/refunds/list` endpoint ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Currently to list refunds in v2, we are using GET verb, but we ...
8.5
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 10, "file_match": null, "file_match_score": 7, "logic_match": null, "logic_match_score": 10, "overall_score": 8.5, "reasoning": "The predicted diff correctly identifies and implements the core logic change: sw...
dirty
logs_batch1
juspay__hyperswitch-8077
Bug: [REFACTOR] enable ORF feature for Fiuu connector for FPX payment methods ORF feature for refunds allows skipping mandatory information required for refunds, like - beneficiary's name, bank code and other details. Currently, HS integration for Fiuu sends this field during refund initiation. This needs to be omi...
From 412864da060c205a8211a21a9afcd3f497f28a96 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 11:09:37 +0000 Subject: [PATCH] task juspay__hyperswitch-8077: enable ORF feature for Fiuu connector and fix RedSys field MIME-Version: 1.0 Content-Type: text/plain; char...
diff --git a/crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs b/crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs index f2b5c982459..343fb99009d 100644 --- a/crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/fiuu/transfo...
<think></think> ## Summary I have successfully implemented the changes requested in task juspay__hyperswitch-8077: ### Changes Made: 1. **Fiuu Connector - ORF Feature Enablement**: - Removed the `bank_code` field from the `FiuuRefundRequest` struct in `crates/hyperswitch_connectors/src/connectors/fiuu/transforme...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR contains changes for two connector integrations 1. Fiuu - omit `bank_code` from the refund reque...
8.5
{ "completeness": null, "completeness_score": 8, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 8.5, "reasoning": "The predicted diff correctly identifies all the files and almost all the logical ...
dirty
logs_batch1
juspay__hyperswitch-9257
Bug: [BUG] Enable nuvei applepay googlepay mandate features in sbx , prod and integ Update .toml files for sbx, prod and integ to enable mandates for applae pay and google_pay
From f25fa1053d164fa9f841b583334311bc13049ab9 Mon Sep 17 00:00:00 2001 From: Claude Code <claude@anthropic.com> Date: Mon, 8 Dec 2025 15:35:12 +0000 Subject: [PATCH] task juspay__hyperswitch-9257: Add nuvei to apple_pay and google_pay mandates in sbx, prod and integ MIME-Version: 1.0 Content-Type: text/plain; charset=...
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml index 0867ca7014a..15f3233e175 100644 --- a/config/deployments/integration_test.toml +++ b/config/deployments/integration_test.toml @@ -233,9 +233,9 @@ bank_debit.sepa = { connector_list = "gocardless,adyen,stripe,deutscheb...
<think></think> ## Summary I have successfully completed the task juspay__hyperswitch-9257 to enable Nuvei Apple Pay and Google Pay mandate features in sbx, prod, and integ environments. ### Changes Made: 1. **config/deployments/sandbox.toml**: - Added `nuvei` to `wallet.apple_pay.connector_list` in `[mandates.s...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Add apple_pay and google_pay mandate support for nuvei in integ...
8.5
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 8.5, "reasoning": "The prediction correctly identifies all three files that need modification. It im...
dirty
logs_batch1
juspay__hyperswitch-8254
Bug: feat(router): Include `payment_experience` in PML for payments response (v2) Required by SDK
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index 7ab8bc193..18634f649 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -7605,6 +7605,10 @@ pub struct ResponsePaymentMethodTypesForPayments { #[schema(example = "klarna", value_type = Pa...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index e3b41ce3899..6e1c321d250 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -21692,6 +21692,14 @@ "payment_method_subtype": { "$ref": "#/components/schemas/...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. ## Summary I have successfully implemented the `payment_experience` field in the Payment Method List for Payments Response v2 as required by the task description. Here's what was accom...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Added `payment_experience` in Payment Method List for Payments ...
8.5
{ "completeness": null, "completeness_score": 8, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 7, "logic_match": null, "logic_match_score": 9, "overall_score": 8.5, "reasoning": "The prediction correctly identifies and implements the core logic changes in the R...
hs2
logs_kat_fixed
juspay__hyperswitch-8302
Bug: fix(router): Move Customer PML endpoint to OLAP (v2) [This PR](https://github.com/juspay/hyperswitch/pull/7241) added customer PML for v2, but the route was incorrectly added under OLTP instead of OLAP, need to fix
diff --git a/crates/router/src/routes/app.rs b/crates/router/src/routes/app.rs index a22d71a5d..50c56bef2 100644 --- a/crates/router/src/routes/app.rs +++ b/crates/router/src/routes/app.rs @@ -1080,6 +1080,10 @@ impl Customers { web::resource("/total-payment-methods") .rout...
diff --git a/crates/router/src/routes/app.rs b/crates/router/src/routes/app.rs index a22d71a5d66..a9cda83bd41 100644 --- a/crates/router/src/routes/app.rs +++ b/crates/router/src/routes/app.rs @@ -1080,6 +1080,10 @@ impl Customers { web::resource("/total-payment-methods") ....
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. Perfect! I have successfully completed the bug fix. Let me summarize what was accomplished: ## Summary I successfully fixed the bug by moving the Customer PML (Payment Method List) en...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Moved customer saved PML route to OLAP in v2 ### Additional ...
8.5
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 8.5, "reasoning": "The prediction correctly identifies the file and the logic of moving the route fr...
hs2
logs_kat_fixed
juspay__hyperswitch-8859
Bug: feat(api): Adds support to change reveue_recovery_retry_algorithm_type using UpdateProfileAPI (V2) Add support to change `reveue_recovery_retry_algorithm_type` through ProfileUpdateAPI
diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin.rs index f20357063..32ec0a264 100644 --- a/crates/api_models/src/admin.rs +++ b/crates/api_models/src/admin.rs @@ -2856,6 +2856,10 @@ pub struct ProfileUpdate { #[schema(value_type = Option<u32>, example = 2)] pub dispute_polling_inte...
diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin.rs index 22c1868f6ac..e7df178c1ed 100644 --- a/crates/api_models/src/admin.rs +++ b/crates/api_models/src/admin.rs @@ -2989,6 +2989,11 @@ pub struct ProfileUpdate { /// It is used in payment processing, fraud detection, and regulatory compli...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. Perfect! I have successfully implemented the feature to add support for changing `revenue_recovery_retry_algorithm_type` through the ProfileUpdateAPI. ## Summary of Changes Made I ha...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This Pr provides support to change `revenue_recovery_retry_algo...
8.5
{ "completeness": null, "completeness_score": 8, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 8.5, "reasoning": "The prediction correctly identifies all three files that need modification. It su...
hs2
logs_kat_fixed
juspay__hyperswitch-9391
Bug: [BUILD] Bump MSRV to 1.85 Superposition has dependencies on the `askama` crate, which now requires a minimum Rust version of 1.81. Our current setup is still on 1.80, so builds fail until we upgrade the toolchain.
diff --git a/.deepsource.toml b/.deepsource.toml index 8d0b3c501..5db492d68 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -13,4 +13,4 @@ name = "rust" enabled = true [analyzers.meta] -msrv = "1.80.0" +msrv = "1.85.0" diff --git a/Cargo.toml b/Cargo.toml index acd8edf0b..9ab0490f0 100644 --- a/Cargo.toml +...
diff --git a/.deepsource.toml b/.deepsource.toml index 8d0b3c501af..5db492d68c3 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -13,4 +13,4 @@ name = "rust" enabled = true [analyzers.meta] -msrv = "1.80.0" +msrv = "1.85.0" diff --git a/Cargo.toml b/Cargo.toml index acd8edf0b1c..9ab0490f014 100644 --- a/Carg...
## Task Completion Summary I have successfully completed the MSRV bump from 1.80 to 1.85 and addressed all the required clippy warning fixes: ### ✅ MSRV Bump Complete - Updated MSRV to 1.85.0 in all configuration files (Cargo.toml, .deepsource.toml, INSTALL_dependencies.sh) ### ✅ Clippy Warning Fixes Complete - Re...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR bumps the Minimum Supported Rust Version (MSRV) from Ru...
8.5
{ "completeness": null, "completeness_score": 8, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 8, "logic_match": null, "logic_match_score": 9, "overall_score": 8.5, "reasoning": "The prediction correctly identifies and implements the MSRV bump in the configurat...
hs2
logs_kat_fixed
juspay__hyperswitch-8081
Bug: [CHORE] add adyen to the supported connectors list for network tokenization HS maintains a list of supported connectors for paying using network tokens and NTI. Adyen supports this, and needs to be added to the list - `network_tokenization_supported_connectors`
From cee4eb09d2cc7f9893e4a7011411d4072a0be5a7 Mon Sep 17 00:00:00 2001 From: Claude Code <claude@anthropic.com> Date: Mon, 8 Dec 2025 11:05:49 +0000 Subject: [PATCH] task juspay__hyperswitch-8081: add adyen to network tokenization supported connectors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-T...
diff --git a/config/config.example.toml b/config/config.example.toml index 0c2fec16b27..16846d0c403 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -1039,7 +1039,7 @@ delete_token_url= "" # base url to delete token from token service check_token_status_url= "" # base url to chec...
<think></think> ## Summary I have successfully completed task juspay__hyperswitch-8081 by adding Adyen to the `network_tokenization_supported_connectors` list in all configuration files. Here's what I accomplished: ### Changes Made: 1. **Updated 6 configuration files** to include "adyen" in the `network_tokenization...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR enables processing payment transactions via Adyen using network tokens and NTI ### Additional...
8
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 8, "logic_match": null, "logic_match_score": 9, "overall_score": 8, "reasoning": "The prediction correctly identifies the task of adding 'adyen' to the 'network_token...
dirty
logs_batch1
juspay__hyperswitch-9489
Bug: Add invoice_id type and autogeneration util
From eecab0b9340c636310c3ff14222f04a58a54cf65 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 13:45:28 +0000 Subject: [PATCH] task juspay__hyperswitch-9489: Add invoice_id type and autogeneration util - Add InvoiceId type to common_utils::id_type with proper trai...
diff --git a/crates/common_utils/src/events.rs b/crates/common_utils/src/events.rs index dc8f6e333a4..b1f1883257d 100644 --- a/crates/common_utils/src/events.rs +++ b/crates/common_utils/src/events.rs @@ -86,6 +86,7 @@ pub enum ApiEventsType { }, Routing, Subscription, + Invoice, ResourceListAPI,...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. ⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. ⚠️ [BashTool] Pre-flight check is taking longer t...
This pull request introduces a new strongly-typed `InvoiceId` identifier and integrates it throughout the codebase to improve type safety and consistency for invoice-related operations. The changes affect both the common utilities and the invoice models, updating struct fields and constructors to use the new type inste...
8
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 8, "overall_score": 8, "reasoning": "The prediction correctly identifies all files to be modified and creates the new `i...
dirty
logs_batch1
juspay__hyperswitch-7891
Bug: Standardize Redis Key Prefix for User Lineage Context Currently, the lineage context is cached in Redis using tenant-specific key prefixes (public_, public_v2_). This causes inconsistencies across V1 and V2 environments — especially during login/logout flows — as lineage context data becomes deployment-specific...
From 5c1291f707a57c3d9e8b4c6a4672f5c426c1ab12 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 12:23:02 +0000 Subject: [PATCH] task juspay__hyperswitch-7891: Standardize Redis Key Prefix for User Lineage Context MIME-Version: 1.0 Content-Type: text/plain; charset=U...
diff --git a/crates/router/src/utils/user.rs b/crates/router/src/utils/user.rs index 3e339a2a570..13190125d7d 100644 --- a/crates/router/src/utils/user.rs +++ b/crates/router/src/utils/user.rs @@ -143,6 +143,27 @@ pub fn get_redis_connection(state: &SessionState) -> UserResult<Arc<RedisConnect .attach_printabl...
<think></think> Perfect! I have successfully completed the task. Here's a summary of what was implemented: ## Summary I've successfully standardized the Redis key prefix for user lineage context by: 1. **Created a new Redis connection helper**: `get_redis_connection_for_global_tenant()` in `crates/router/src/utils/...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR updates the lineage context Redis caching logic to use ...
8
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 8, "overall_score": 8, "reasoning": "The prediction correctly identifies the file and the functions that need to be modi...
dirty
logs_batch1
juspay__hyperswitch-7928
Bug: refactor(routers,connectors) : Remove unused functions in `crates/router/src/connector/utils.rs` ## Analyze and Remove Unused Functions from `crates/router/src/connector/utils.rs` ### Description: There are functions in the crates/router/src/connector/utils.rs file that appear to be unused across the router ...
From f7a527fe9dd387c7c1d54af648c91099b6c0f551 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 12:01:44 +0000 Subject: [PATCH] task juspay__hyperswitch-7928: Remove unused functions from crates/router/src/connector/utils.rs - Removed 15 completely unused functions...
diff --git a/crates/router/src/connector/utils.rs b/crates/router/src/connector/utils.rs index e0034a63335..addb7dd7c8c 100644 --- a/crates/router/src/connector/utils.rs +++ b/crates/router/src/connector/utils.rs @@ -21,7 +21,6 @@ use common_utils::{ use diesel_models::{enums, types::OrderDetailsWithAmount}; use erro...
<think></think> Perfect! I have successfully completed the task. Let me provide a summary: ## Summary I have successfully completed task juspay__hyperswitch-7928 by removing unused functions from `crates/router/src/connector/utils.rs`. Here's what was accomplished: ### Functions Removed (15 total): 1. `validate_cur...
crates/router/src/connector/utils.rs ## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Removed functions that ...
8
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 8, "reasoning": "The prediction correctly identifies the file and the task of removing unused functi...
dirty
logs_batch1
juspay__hyperswitch-9109
Bug: [FEAT: CONNECTOR] [PAYLOAD] Add setup mandate support ```sh curl --location 'https://api.payload.com/transactions' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Basic apiKey' \ --data-urlencode 'amount=0' \ --data-urlencode 'type=payment' \ --data-urlencode 'payment_met...
From d5021a24b04b9e854742b0c9ae027da3f1b73cfd Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 16:03:27 +0000 Subject: [PATCH] task juspay__hyperswitch-9109: Add setup mandate support for Payload connector MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 C...
diff --git a/crates/hyperswitch_connectors/src/connectors/payload.rs b/crates/hyperswitch_connectors/src/connectors/payload.rs index 792fa493c4d..3967736fd06 100644 --- a/crates/hyperswitch_connectors/src/connectors/payload.rs +++ b/crates/hyperswitch_connectors/src/connectors/payload.rs @@ -33,7 +33,7 @@ use hyperswit...
<think></think> Perfect! I have successfully implemented setup mandate support for the Payload connector. Here's a summary of what I accomplished: ## Summary of Changes ### Problem Analysis - The Payload connector was returning `NotImplemented` for setup mandate requests - The curl example showed that Payload suppor...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> this pr introduces 0 dollar mandate (setup mandate) for paylo...
8
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 8, "overall_score": 8, "reasoning": "The predicted diff correctly identifies the file and the specific trait implementat...
dirty
logs_batch1
juspay__hyperswitch-7918
Bug: Fix: Validation failing in payment method session - confirm when payment_method_subtype is card Endpoint is returning error code 422 with message "Invalid payment_method_type provided"
From b670a43c8ce0d3f0f53241c65f40f512d07c1b31 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 12:04:53 +0000 Subject: [PATCH] task juspay__hyperswitch-7918: Add PaymentMethodType::Card to Card payment method validation - Fix validation failing when payment_method...
diff --git a/crates/router/src/core/payments/helpers.rs b/crates/router/src/core/payments/helpers.rs index acdc8870285..37c3ade1018 100644 --- a/crates/router/src/core/payments/helpers.rs +++ b/crates/router/src/core/payments/helpers.rs @@ -2947,10 +2947,18 @@ pub fn validate_payment_method_type_against_payment_method(...
<think></think> Perfect! I have successfully implemented the fix for the validation issue. Here's a summary of what was done: ## Summary **Problem**: The payment method session validation was failing with a 422 error "Invalid payment_method_type provided" when `payment_method_subtype` was set to "card". **Root Caus...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> In the helper function `validate_payment_method_type_against_pa...
8
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 8, "reasoning": "The predicted diff correctly identifies the file and the specific logic change need...
dirty
logs_batch1
juspay__hyperswitch-9055
Bug: Get Estimate for a plan price **Request to Subscription Povider to get estimate** curl --location '/api/v2/estimates/create_subscription_for_items' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Basic =' \ --data-urlencode 'billing_address%5Bline1%5D=PO Box 9999' \ --dat...
From 3ef7fcda9630fd5246416b4e6fa29ee7ec32fa72 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 16:50:58 +0000 Subject: [PATCH] task juspay__hyperswitch-9055: add subscription estimate support for Chargebee - Add GetSubscriptionEstimate flow type to router_flow_typ...
diff --git a/crates/hyperswitch_connectors/src/connectors/chargebee.rs b/crates/hyperswitch_connectors/src/connectors/chargebee.rs index bf6f3fe637d..b761dc9ebbf 100644 --- a/crates/hyperswitch_connectors/src/connectors/chargebee.rs +++ b/crates/hyperswitch_connectors/src/connectors/chargebee.rs @@ -22,14 +22,17 @@ use...
<think></think> ## Summary I have successfully implemented subscription estimate support for Chargebee in the Hyperswitch codebase. Here's what was accomplished: ### 1. **Added Flow Types** (`crates/hyperswitch_domain_models/src/router_flow_types/subscriptions.rs`) - Added `GetSubscriptionEstimate` flow type to matc...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [X] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pull request introduces support for fetching subscription ...
8
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 8, "logic_match": null, "logic_match_score": 9, "overall_score": 8, "reasoning": "The prediction correctly identifies the core logic required to implement the 'Get Su...
dirty
logs_batch1
juspay__hyperswitch-9338
Bug: handle force decline for no 3ds requests in adyen We need to start sending execute_three_d as false in adyen no3ds payments request to skip 3ds auth.
From f093933e6c9b5fca051bbba6de0c2cf4a4341caa Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 15:10:56 +0000 Subject: [PATCH] task juspay__hyperswitch-9338: Update execute_three_d for Adyen no 3DS requests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 ...
diff --git a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs b/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs index 7494f452646..dee0efbf0b6 100644 --- a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/adyen/tra...
<think></think> Excellent! I have successfully implemented the fix for handling force decline for no 3DS requests in Adyen. Here's a summary of what was done: ## Summary I've successfully implemented the fix for task juspay__hyperswitch-9338 to handle force decline for no 3DS requests in Adyen. Here's what was chang...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> We need to start sending execute_three_d as false in adyen no3d...
8
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 8, "reasoning": "The predicted diff correctly identifies the core requirement: changing the `execute...
dirty
logs_batch1
juspay__hyperswitch-7936
Bug: [FIX]: Fix error message while using generic filter Fix error message while using generic filter
From e8d461228bacaeb443110d83b5e3a10fd5f31e2b Mon Sep 17 00:00:00 2001 From: Claude Code <claude@anthropic.com> Date: Mon, 8 Dec 2025 11:54:02 +0000 Subject: [PATCH] task juspay__hyperswitch-7936: Fix generic filter error handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bi...
diff --git a/crates/diesel_models/src/query/generics.rs b/crates/diesel_models/src/query/generics.rs index e23f4026ccf..d5581932eae 100644 --- a/crates/diesel_models/src/query/generics.rs +++ b/crates/diesel_models/src/query/generics.rs @@ -441,7 +441,7 @@ where track_database_call::<T, _, _>(query.get_results_a...
<think></think> ## Summary I have successfully fixed the bug in the generic filter error handling. Here's what was done: **Problem**: The `generic_filter` function in `crates/diesel_models/src/query/generics.rs` was converting all database errors to `DatabaseError::NotFound`, which masked the actual cause of errors ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR changes the way we raise error if something goes wrong ...
8
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 8, "overall_score": 8, "reasoning": "The prediction correctly identifies the file and the specific function requiring th...
dirty
logs_batch1
juspay__hyperswitch-8928
Bug: [BUG] Fix incorrect consumer authenttication information fields ### Bug Description Fix consumer authenttication information request field 1. Rename consumer_authentication_information.pares_status_reason field to consumer_authentication_information.signed_pares_status_reason 2. Move cavv_algorithm from proces...
From cce5766aee14ca3e12cacafbf6e769b365698959 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 17:25:29 +0000 Subject: [PATCH] task juspay__hyperswitch-8928: Fix consumer authentication information fields 1. Rename consumer_authentication_information.pares_status_...
diff --git a/crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs b/crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs index f080a76b051..ca41d12e9b8 100644 --- a/crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs +++ b/crates/hyperswitch_connectors/src/co...
<think></think> ## Summary I have successfully completed task juspay__hyperswitch-8928 by making the following changes: 1. **Renamed `pares_status_reason` to `signed_pares_status_reason`** in the `CybersourceConsumerAuthInformation` struct (line 426) - Updated the field definition in the struct - Updated all u...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Fix consumer authenttication information fields 1. Renamed _consumer_authentication_information.pares_st...
8
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 8, "reasoning": "The prediction correctly identifies the core requirements: renaming the field to `s...
dirty
logs_batch1
juspay__hyperswitch-9015
Bug: [REFACTOR] propagate merchant_reference_id for PaymentsAuthorizeData propagate merchant_reference_id for PaymentsAuthorizeData in v2
From 8b7eca43633324b204879f8dbba33699055c4974 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 16:55:01 +0000 Subject: [PATCH] task juspay__hyperswitch-9015: propagate merchant_reference_id for PaymentsAuthorizeData v2 - Update merchant_order_reference_id to use p...
diff --git a/crates/router/src/core/payments/transformers.rs b/crates/router/src/core/payments/transformers.rs index 348a364c569..cf91b2bcc36 100644 --- a/crates/router/src/core/payments/transformers.rs +++ b/crates/router/src/core/payments/transformers.rs @@ -406,7 +406,10 @@ pub async fn construct_payment_router_data...
<think></think> Perfect! I have successfully completed the task. Let me summarize what was done: ## Summary I have successfully implemented the fix for propagating `merchant_reference_id` for `PaymentsAuthorizeData` v2 in Hyperswitch. ### Changes Made: 1. **Fixed merchant_reference_id propagation** in `/home/archi...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR adds support for propagating merchant_reference_id for ...
8
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 8, "overall_score": 8, "reasoning": "The prediction correctly identifies the file and the specific location in `constru...
dirty
logs_batch1
juspay__hyperswitch-9561
Bug: [BUG]: Decryption failure in chat prevents retrieval of conversation history Internal users are unable to view their past chat conversations through the chat/ai/list endpoint, which is meant to be used for internal users. When attempting to retrieve the chat history, the system fails to decrypt the stored messa...
From 6d86ad0b778e8c2ee9410d43bbf3ca8a56c151ce Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 14:48:28 +0000 Subject: [PATCH] task juspay__hyperswitch-9561: fix decryption failure in chat/ai/list endpoint - Replace direct GcmAes256 decryption with crypto_operatio...
diff --git a/crates/router/src/utils/chat.rs b/crates/router/src/utils/chat.rs index c32b6190a95..74fcb6d0bc9 100644 --- a/crates/router/src/utils/chat.rs +++ b/crates/router/src/utils/chat.rs @@ -1,10 +1,10 @@ use api_models::chat as chat_api; -use common_utils::{type_name, types::keymanager::Identifier}; -use diesel...
<think></think> ## SUMMARY I successfully fixed the chat decryption bug by identifying and resolving the inconsistency between encryption and decryption methods: ### Problem Analysis The issue was an inconsistency between: - **Encryption** (in `utils/chat.rs`): Used `crypto_operation` → `encrypt` → `GcmAes256.encode...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR addresses an issue where chat conversation history could not be decrypted in the `chat/ai/list` e...
8
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 8, "overall_score": 8, "reasoning": "The prediction correctly identifies the core issue: switching from the high-level `...
dirty
logs_batch3
juspay__hyperswitch-9494
Bug: [FEATURE] add referer field to browser_info add referer field to browser_info
From 0de80683a62376d21105348b39e0bcd5ef26ca07 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 15:11:35 +0000 Subject: [PATCH] task juspay__hyperswitch-9494: add referer field to BrowserInformation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-T...
diff --git a/Cargo.lock b/Cargo.lock index 2304b8ab839..0e955b9f8d8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3553,14 +3553,14 @@ dependencies = [ [[package]] name = "grpc-api-types" version = "0.1.0" -source = "git+https://github.com/juspay/connector-service?rev=142cb5a23d302e5d39c4da8d280edababe0691fe#142cb5a23...
<think></think> Perfect! I have successfully implemented the feature to add a referer field to the BrowserInformation struct. Here's a summary of what was accomplished: ## Summary of Changes I added a `referer` field to the `BrowserInformation` struct in three key locations: 1. **`crates/common_utils/src/types.rs`*...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR adds a referer field to the BrowserInformation struct t...
8
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 6, "logic_match": null, "logic_match_score": 10, "overall_score": 8, "reasoning": "The prediction correctly identifies the core requirement of adding the 'referer' fi...
dirty
logs_batch2
juspay__hyperswitch-7989
Bug: [BUG] recurring mandate through bancontact card bank redirect via stripe fails connector throws below error: ``` "The provided bancontact PaymentMethod cannot be used again. It was used in a previous PaymentIntent or SetupIntent to set up a sepa_debit PaymentMethod, which can be used for multiple payments. To ...
diff --git a/crates/router/src/connector/stripe/transformers.rs b/crates/router/src/connector/stripe/transformers.rs index 9d372a541..7a008554d 100644 --- a/crates/router/src/connector/stripe/transformers.rs +++ b/crates/router/src/connector/stripe/transformers.rs @@ -2265,6 +2265,8 @@ pub struct StripeCharge { pub st...
diff --git a/crates/router/src/connector/stripe/transformers.rs b/crates/router/src/connector/stripe/transformers.rs index 9d372a5415c..ad2e1d7e855 100644 --- a/crates/router/src/connector/stripe/transformers.rs +++ b/crates/router/src/connector/stripe/transformers.rs @@ -2071,7 +2071,7 @@ impl TryFrom<&types::SetupMan...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. Perfect! I have successfully implemented the fix for the Bancontact card bank redirect recurring mandate issue for Stripe. Here's a summary of the changes made: ## Summary of Changes ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> this pr aims to fix the stripe bank redirect recurring mandat...
8
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 8, "overall_score": 8, "reasoning": "The prediction correctly identifies the core issue: the need to extract the SEPA de...
hs2
logs_kat_fixed
juspay__hyperswitch-8244
Bug: [FEATURE] Health check for Decision Engine service ### Feature Description Need health check for DE ### Possible Implementation Need health check for DE ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and didn't find a similar issue ### Have you read t...
diff --git a/crates/api_models/src/health_check.rs b/crates/api_models/src/health_check.rs index 4a1c009e4..077a1e313 100644 --- a/crates/api_models/src/health_check.rs +++ b/crates/api_models/src/health_check.rs @@ -10,6 +10,7 @@ pub struct RouterHealthCheckResponse { #[cfg(feature = "olap")] pub opensearch:...
diff --git a/crates/api_models/src/health_check.rs b/crates/api_models/src/health_check.rs index 4a1c009e43e..a6261da1be0 100644 --- a/crates/api_models/src/health_check.rs +++ b/crates/api_models/src/health_check.rs @@ -12,6 +12,8 @@ pub struct RouterHealthCheckResponse { pub outgoing_request: bool, #[cfg(fe...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. ## Summary I have successfully implemented the health check for the Decision Engine service in the hyperswitch repository. Here's what was accomplished: ### Changes Made: 1. **Added ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Added health check for Decision engine service ### Additio...
8
{ "completeness": null, "completeness_score": 8, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 7, "overall_score": 8, "reasoning": "The prediction correctly identifies all four files that need modification and imple...
hs2
logs_kat_fixed
juspay__hyperswitch-9467
Bug: confirm-intent API contract changes for split payments (v2) In v2, we need to support receiving multiple payment methods in the confirm-intent request. Add a new field to support this use case
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index 8c8052b14..b625db023 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -2682,6 +2682,21 @@ pub struct ProxyPaymentMethodDataRequest { pub billing: Option<Address>, } +#[derive(Debug, ...
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index 8c8052b14d0..1a035fd291e 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -2659,6 +2659,16 @@ pub struct PaymentMethodDataRequest { pub billing: Option<Address>, } +#[cfg(feature = "...
<think></think> Perfect! I have successfully implemented the `split_payment_method_data` field for the confirm-intent API contract. Here's a summary of the changes made: ## Changes Made: 1. **Added `split_payment_method_data` field** to `PaymentsConfirmIntentRequest` struct in `crates/api_models/src/payments.rs:5800...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> - Added `split_payment_method_data` field to `confirm-intent` c...
8
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 8, "overall_score": 8, "reasoning": "The prediction correctly identifies the need to add a new struct for split payments...
hs2
logs_glm
juspay__hyperswitch-8636
Bug: [BUG] card payouts using payout_method_id ### Bug Description Payout method data for card is not being fetched in payouts flow. This bug was introduced in https://github.com/juspay/hyperswitch/pull/7786/files where `get_pm_list_context` was refactored to return back only the additional details by removing the...
diff --git a/crates/payment_methods/src/controller.rs b/crates/payment_methods/src/controller.rs index bd5a9f316..b26989ec3 100644 --- a/crates/payment_methods/src/controller.rs +++ b/crates/payment_methods/src/controller.rs @@ -162,8 +162,15 @@ pub trait PaymentMethodsController { async fn get_card_details_with_l...
diff --git a/crates/payment_methods/src/controller.rs b/crates/payment_methods/src/controller.rs index bd5a9f316ef..095788fa368 100644 --- a/crates/payment_methods/src/controller.rs +++ b/crates/payment_methods/src/controller.rs @@ -229,6 +229,12 @@ pub trait PaymentMethodsController { merchant_id: &id_type::M...
Perfect! The changes look good. Let me show a summary of what was implemented to fix the bug: ## Summary I have successfully implemented the fix for the bug where payout method data for cards was not being fetched in the payouts flow. Here's what was implemented: ### Changes Made: 1. **Added `force_fetch_card_from_...
## Type of Change - [x] Bugfix ## Description Fixed payout method data not being fetched from card vault when using `payout_method_id` in payouts flow. **Changes:** - Added `force_fetch_card_from_vault` parameter to `get_pm_list_context` to enable card vault lookup for payouts - Added `get_card_details_from_l...
8
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 8, "overall_score": 8, "reasoning": "The prediction correctly identifies the core issue and the necessary files to modif...
hs2
logs_kat_fixed
juspay__hyperswitch-8639
Bug: [REFACTOR] payment link's flow An expected high level payment link's lifecycle is mentioned below - Create payment link - Render payment link - Confirm via payment widget - If 3DS [always perform top redirection] - Redirect to external page - Once actions are performed, submit on page - External pa...
diff --git a/crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js b/crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js index 3c4e0d254..18090b6f5 100644 --- a/crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js +++ b/crates/...
diff --git a/crates/router/src/core/payment_link/payment_link_status/status.js b/crates/router/src/core/payment_link/payment_link_status/status.js index 371fdf1d2df..863c4239757 100644 --- a/crates/router/src/core/payment_link/payment_link_status/status.js +++ b/crates/router/src/core/payment_link/payment_link_status/s...
The changes look good! I've successfully implemented the fix for the payment link redirection issue. Let me summarize what I've accomplished: ## Summary I've successfully completed the refactoring task for payment link flow top redirection. Here's what was fixed: ### Problem The payment link flow had inconsistent re...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR updates the behavior of final redirection to use top redirection when payment link's status page ...
8
{ "completeness": null, "completeness_score": 10, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 5, "logic_match": null, "logic_match_score": 9, "overall_score": 8, "reasoning": "The predicted diff correctly identifies and modifies the core logic in `status.js` ...
hs2
logs_kat_fixed
juspay__hyperswitch-9430
Bug: Add support to configure default billing processor for a profile
diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin.rs index e0483b195..47b363554 100644 --- a/crates/api_models/src/admin.rs +++ b/crates/api_models/src/admin.rs @@ -2129,6 +2129,10 @@ pub struct ProfileCreate { #[schema(value_type = Option<String>)] pub tax_connector_id: Option<id_type...
diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin.rs index e0483b19503..08b3a08f619 100644 --- a/crates/api_models/src/admin.rs +++ b/crates/api_models/src/admin.rs @@ -2210,6 +2210,10 @@ pub struct ProfileCreate { /// External Vault Connector Details pub external_vault_connector_det...
## Summary I have successfully implemented the feature to add support for configuring a default billing processor for a profile. Here's what was accomplished: ### Changes Made: 1. **Database Schema Migration** (`./v2_compatible_migrations/2025-12-01-231435_add_billing_processor_id_to_business_profile/`): - Added ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [X] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> As part of the subscription, a billing processor need to be con...
8
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 8, "reasoning": "The prediction correctly identifies the need to add `billing_processor_id` to both ...
hs2
logs_kat_fixed
juspay__hyperswitch-8196
Bug: refactor: add result type for Program ### Description This PR refactors the conversion from ast::Program<ConnectorSelection> to internal Program by introducing a fallible TryFrom implementation instead of an infallible From. This enables proper error propagation and logging during DSL conversion failures. Supp...
diff --git a/crates/router/src/core/payments/routing/utils.rs b/crates/router/src/core/payments/routing/utils.rs index e82ab1d8b..edbf380a2 100644 --- a/crates/router/src/core/payments/routing/utils.rs +++ b/crates/router/src/core/payments/routing/utils.rs @@ -713,47 +713,50 @@ impl From<RoutingAlgorithmRecord> for rou...
diff --git a/crates/router/src/core/payments/routing/utils.rs b/crates/router/src/core/payments/routing/utils.rs index e82ab1d8bee..01d066e5cf2 100644 --- a/crates/router/src/core/payments/routing/utils.rs +++ b/crates/router/src/core/payments/routing/utils.rs @@ -1,6 +1,9 @@ use std::collections::{HashMap, HashSet}; ...
## Summary I have successfully completed the refactoring task to add result types for Program conversion. Here's what was implemented: ### Changes Made: 1. **`crates/router/src/core/payments/routing/utils.rs`**: - Changed `impl From<ast::Program<ConnectorSelection>> for Program` to `impl TryFrom<ast::Program<Conn...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR refactors the conversion from `ast::Program<ConnectorSelection>` to internal `Program` by intro...
8
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 8, "reasoning": "The prediction correctly identifies the core logic change: converting From to TryFr...
hs2
logs_kat_fixed
juspay__hyperswitch-8724
Bug: [REFACTOR] use REQUEST_TIME_OUT for outgoing webhooks instead of hardcoded 5-second timeout **Problem Statement** The current outgoing webhook timeout is hardcoded to 5 seconds, which is too restrictive and causes delivery failures for legacy systems which might take over 5 seconds to respond back. We should us...
diff --git a/crates/router/src/core/webhooks/outgoing.rs b/crates/router/src/core/webhooks/outgoing.rs index cf7cbb8a2..2ff20ccbd 100644 --- a/crates/router/src/core/webhooks/outgoing.rs +++ b/crates/router/src/core/webhooks/outgoing.rs @@ -13,7 +13,6 @@ use common_utils::{ use diesel_models::process_tracker::business...
diff --git a/crates/router/src/core/webhooks/outgoing.rs b/crates/router/src/core/webhooks/outgoing.rs index cf7cbb8a2d8..baa5b4af583 100644 --- a/crates/router/src/core/webhooks/outgoing.rs +++ b/crates/router/src/core/webhooks/outgoing.rs @@ -45,8 +45,6 @@ use crate::{ workflows::outgoing_webhook_retry, }; -c...
Perfect! I have successfully completed the refactoring task. Here's a summary of what was accomplished: ## Summary I have successfully refactored the outgoing webhook timeout from the hardcoded 5-second value to use the existing `REQUEST_TIME_OUT` constant (30 seconds) for consistency with other external API calls. ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Increased outgoing webhook timeout from 5 seconds to 30 seconds by replacing hardcoded `OUTGOING_WEBHOO...
8
{ "completeness": null, "completeness_score": 9, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 8, "overall_score": 8, "reasoning": "The prediction correctly identifies all three files that need modification and remo...
hs2
logs_kat_fixed
juspay__hyperswitch-8906
Bug: Improve UCS connector configuration format for better type safety and usability ## Problem Statement The current unified connector service (UCS) configuration uses an array format for specifying connectors that should use UCS only. This approach has several limitations: ### Current Issues 1. **Type Safety**:...
From 691cc8539f254290f06fcc477378cbccb0f83bd4 Mon Sep 17 00:00:00 2001 From: Claude Code <claude@anthropic.com> Date: Mon, 8 Dec 2025 17:35:57 +0000 Subject: [PATCH] task juspay__hyperswitch-8906: refactor UCS connector configuration format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Enc...
diff --git a/config/config.example.toml b/config/config.example.toml index d4ce454edfc..5783a70c370 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -1159,6 +1159,7 @@ url = "http://localhost:8080" # Open Router URL [grpc_client.unified_connector_service] base_url = "http://localh...
<think></think> ## Summary I have successfully implemented the UCS connector configuration format improvement as specified in task juspay__hyperswitch-8906. Here's what was accomplished: ### Changes Made: 1. **Created Custom Deserializer** (`crates/external_services/src/utils.rs`): - Implemented `deserialize_has...
# Refactor: Change UCS connector configuration from array to comma-separated string ## Summary This PR refactors the unified connector service (UCS) configuration to use a comma-separated string format instead of an array for specifying connectors that should use UCS only. This change improves configuration managemen...
7.5
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 7, "logic_match": null, "logic_match_score": 9, "overall_score": 7.5, "reasoning": "The prediction correctly identifies the core logic changes: switching from a Vec t...
dirty
logs_batch1
juspay__hyperswitch-8157
Bug: refactor(success_based): add support for exploration
diff --git a/api-reference/hyperswitch_intelligent_router_open_api_spec.yml b/api-reference/hyperswitch_intelligent_router_open_api_spec.yml index 58bff737f..5e0f5e958 100644 --- a/api-reference/hyperswitch_intelligent_router_open_api_spec.yml +++ b/api-reference/hyperswitch_intelligent_router_open_api_spec.yml @@ -44,...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index 039981f661b..fbabc864672 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -23374,9 +23374,13 @@ }, "specificity_level": { "$ref": "#/components/schemas...
## Summary I have successfully implemented the exploration support for success-based routing as specified in the task. Here's what was accomplished: ### ✅ **Completed Tasks:** 1. **Added `exploration_percent` parameter to `SuccessBasedRoutingConfigBody`** (`crates/api_models/src/routing.rs:992`) - Added the field...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pull request introduces a new feature to support an "explo...
7.5
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 6, "logic_match": null, "logic_match_score": 8, "overall_score": 7.5, "reasoning": "The prediction correctly identifies the core logic changes: adding exploration_per...
hs2
logs_kat_fixed
juspay__hyperswitch-8138
Bug: [REFACTOR] Payment Attempt as mandatory field in PaymentStatusData Payment Attempt as mandatory field in PaymentStatusData as the endpoint /payments/{payment_id} is called after confirmation.
diff --git a/crates/hyperswitch_domain_models/src/payments.rs b/crates/hyperswitch_domain_models/src/payments.rs index 047fe7fb2..42d1ef1a4 100644 --- a/crates/hyperswitch_domain_models/src/payments.rs +++ b/crates/hyperswitch_domain_models/src/payments.rs @@ -881,7 +881,7 @@ where { pub flow: PhantomData<F>, ...
diff --git a/crates/hyperswitch_domain_models/src/payments.rs b/crates/hyperswitch_domain_models/src/payments.rs index 047fe7fb2cf..42d1ef1a426 100644 --- a/crates/hyperswitch_domain_models/src/payments.rs +++ b/crates/hyperswitch_domain_models/src/payments.rs @@ -881,7 +881,7 @@ where { pub flow: PhantomData<F>,...
Perfect! I have successfully completed the refactoring task. Here's a summary of the changes made: ## Summary of Changes I successfully refactored the `PaymentStatusData` struct to make `payment_attempt` a mandatory field instead of optional, as requested in the task description. ### Files Modified: 1. **`crates/hy...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Currently, we have two endpoints for retrieving payment informa...
7.5
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 7, "logic_match": null, "logic_match_score": 8, "overall_score": 7.5, "reasoning": "The prediction correctly identifies the core change of making payment_attempt mand...
hs2
logs_kat_fixed
juspay__hyperswitch-9048
Bug: Error for successive config activation
From 54dc3f9606a74627ab8a04ff0f741c55861e9a8d Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 16:39:17 +0000 Subject: [PATCH] task juspay__hyperswitch-9048: Add fallback mechanism for Decision Engine dynamic routing config updates MIME-Version: 1.0 Content-Type: t...
diff --git a/crates/api_models/src/open_router.rs b/crates/api_models/src/open_router.rs index c2e6bc76c06..94d31a73787 100644 --- a/crates/api_models/src/open_router.rs +++ b/crates/api_models/src/open_router.rs @@ -251,7 +251,7 @@ pub struct DecisionEngineConfigSetupRequest { #[derive(Debug, Serialize, Deserialize, ...
<think></think> ## Summary I have successfully implemented the fix for the bug related to successive config activation in Hyperswitch's Decision Engine dynamic routing. Here's what was accomplished: ### Changes Made: 1. **Added `enable_decision_engine_dynamic_routing_setup` import** to `crates/router/src/core/routi...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD Taged Issue https://github.com/juspay/hyperswitch-cloud/issues/10731 ### Summary This PR refactors **Decision Engi...
7
{ "completeness": "Medium (Truncated output and missing one file)", "completeness_score": 5, "correctness": "High (The logic would likely solve the bug)", "correctness_score": 7, "file_match": "Partial (2/3 files)", "file_match_score": 7, "logic_match": "High (Fallback logic implemented)", "logic_match_...
dirty
logs_batch1
juspay__hyperswitch-8272
Bug: [BUG] styling for elements in payment links using dynamic classes ### Bug Description `payment_link_ui_rules` has a set of CSS selectors and CSS properties defined - which are selected using JS after rendering the elements and CSS styles are applied directly to the elements. This is only done once. Whenever so...
From 7de1a006b11b3f2a8c8e966116b7379bcf1adb38 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 12:20:25 +0000 Subject: [PATCH] task juspay__hyperswitch-8272: Fix payment link styling for dynamic classes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cont...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index c68771b7170..f3d1eb16998 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -15633,6 +15633,11 @@ "type": "boolean", "description": "Boolean to control payment bu...
<think></think> Perfect! I have successfully implemented the fix for the payment links styling bug. Here's a summary of what I accomplished: ## Summary I've successfully fixed the bug described in juspay__hyperswitch-8272: "styling for elements in payment links using dynamic classes". The solution addresses both the...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR introduces - modification of the behavior of appending the `payment_link_ui_rules` to the CSS in...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 8, "logic_match": null, "logic_match_score": 7, "overall_score": 7, "reasoning": "The predicted diff correctly identifies the need to add the `color_icon_card_cvc_err...
dirty
logs_batch1
juspay__hyperswitch-8026
Bug: [chore]: use crates.io version of async-bb8-diesel crate Currently we are using a [forked](https://github.com/jarnura/async-bb8-diesel) version of this dependency. We need to migrate to the crates.io version
From 491adef4ebf68edcedff57427e10ff752ea7cf1c Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 11:27:16 +0000 Subject: [PATCH] task juspay__hyperswitch-8026: migrate from forked to crates.io version of async-bb8-diesel MIME-Version: 1.0 Content-Type: text/plain; ch...
diff --git a/Cargo.lock b/Cargo.lock index d2ae0213703..6df00ec7517 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -559,15 +559,16 @@ dependencies = [ [[package]] name = "async-bb8-diesel" -version = "0.1.0" -source = "git+https://github.com/jarnura/async-bb8-diesel?rev=53b4ab901aab7635c8215fd1c2d542c8db443094#53b4ab9...
<think></think> ## Summary I have successfully completed the migration from the forked version of `async-bb8-diesel` to the official crates.io version. Here's what was accomplished: ### Changes Made: 1. **Updated all Cargo.toml files** to use the crates.io version instead of the fork: - `crates/storage_impl/Carg...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [x] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Changed `async-bb8-diesel crate from custom [fork](https://gith...
7
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 6, "file_match": null, "file_match_score": 8, "logic_match": null, "logic_match_score": 9, "overall_score": 7, "reasoning": "The prediction correctly identifies all four Cargo.toml files that need modification...
dirty
logs_batch1
juspay__hyperswitch-8945
Bug: [BUG] Webhook source verification is `false` for NMI [Connector documentation](https://docs.nmi.com/reference/overview) php example says this: ```php function webhookIsVerified($webhookBody, $signingKey, $nonce, $sig) { return $sig === hash_hmac("sha256", $nonce . "." . $webhookBody, $signingKey); } ...
From 8f426b031a251ad3eb6099e9263840047d75958f Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 17:21:54 +0000 Subject: [PATCH] task juspay__hyperswitch-8945: fix nmi webhook signature extraction indices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cont...
diff --git a/crates/hyperswitch_connectors/src/connectors/nmi.rs b/crates/hyperswitch_connectors/src/connectors/nmi.rs index 7ae21664e73..50e5db86e5a 100644 --- a/crates/hyperswitch_connectors/src/connectors/nmi.rs +++ b/crates/hyperswitch_connectors/src/connectors/nmi.rs @@ -9,6 +9,7 @@ use common_utils::{ types:...
<think></think> ## Summary I've successfully fixed the NMI webhook source verification issue by correcting the regex capture group indices in `/home/archit/submodule/repos/hyperswitch_pool_5/crates/hyperswitch_connectors/src/connectors/nmi.rs`: **Fixed Issues:** 1. **Line 862**: Changed `captures.get(1)` to `capture...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> the problem is that we previously extracted `nonce` instead o...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 6, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 7, "overall_score": 7, "reasoning": "The prediction correctly identifies and fixes the regex capture group indices (chan...
dirty
logs_batch1
juspay__hyperswitch-9696
Bug: [FIX] (connector) Skrill payment method in Paysafe throws 501 origin: paysafe transformers L566 payment going through pre process flow, unexpected. skrill should go through authorize + complete authorize flow rca: preprocessing is being applied to entire wallet for paysafe connector. it needs to be restrict...
From d7c1a97ccbb249de67dc9d7d3a3c5ff00286091d Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 13:34:25 +0000 Subject: [PATCH] task juspay__hyperswitch-9696: Fix Skrill payment method in Paysafe throwing 501 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8...
diff --git a/crates/router/src/core/payments.rs b/crates/router/src/core/payments.rs index e9a917153f2..e3d153f2aa4 100644 --- a/crates/router/src/core/payments.rs +++ b/crates/router/src/core/payments.rs @@ -6623,11 +6623,14 @@ where false, ) } else if connector.conne...
<think></think> Perfect! I have successfully fixed the bug in the Paysafe connector where Skrill payment method was throwing a 501 error due to incorrect preprocessing. Here's a summary of the changes made: ## Summary of Changes ### Problem - Skrill payment method in Paysafe connector was throwing 501 errors - This ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> this pr fixes bug in paysafe where skrill wallet payment meth...
7
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 5, "logic_match": null, "logic_match_score": 8, "overall_score": 7, "reasoning": "The prediction correctly identifies the core issue: restricting Paysafe preprocessin...
dirty
logs_batch1
juspay__hyperswitch-7880
Bug: [Refactor] Remove merchant reference id from customers v2 update api Remove `merchant_reference_id` field from customer update request struct so that it cannot be updated.
From bce68c576773132fe83744c57639cbe46a1bf647 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 12:26:39 +0000 Subject: [PATCH] task juspay__hyperswitch-7880: Remove merchant_reference_id from customers v2 update API MIME-Version: 1.0 Content-Type: text/plain; chars...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index 10682866ab7..f7f62fe5ee8 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -9362,14 +9362,6 @@ "email" ], "properties": { - "merchant_reference_id": ...
<think></think> ## Summary I have successfully implemented the refactoring task to remove `merchant_reference_id` from the customers v2 update API. Here's what was accomplished: ### Changes Made: 1. **Removed the `merchant_reference_id` field** from the `CustomerUpdateRequest` struct in `/home/archit/submodule/repos...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> We are removing `merchant_reference_id` from all API updates, d...
7
{ "completeness": null, "completeness_score": 5, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 5, "logic_match": null, "logic_match_score": 10, "overall_score": 7, "reasoning": "The predicted diff correctly identifies and implements the core logic change in the...
dirty
logs_batch1
juspay__hyperswitch-9255
Bug: [FEATURE] [SHIFT4] Pass metadata to connector ### Feature Description Pass metadata to connector Shift4 ### Possible Implementation Pass metadata to connector Shift4 ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and didn't find a similar issue ### Ha...
From 10a6704f9b62024791b5d95a52a871158332fe7a Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 15:43:33 +0000 Subject: [PATCH] task juspay__hyperswitch-9255: add metadata support to Shift4 connector MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-...
diff --git a/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs b/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs index eeaf340e103..98793e691ff 100644 --- a/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/shift4...
<think></think> ## Summary I have successfully implemented the feature to pass metadata to the Shift4 connector. Here's what was accomplished: ### Changes Made 1. **Added metadata field to Shift4PaymentsRequest struct** (`crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs`): - Added `metadata: O...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Pass metadata to connector Shift4. ### Additional Changes ...
7
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 6, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 7, "overall_score": 7, "reasoning": "The prediction correctly identifies the need to add metadata to the Shift4 request ...
dirty
logs_batch1
juspay__hyperswitch-9711
Bug: [FEATURE] loonio webhooks ### Feature Description Implement webhook support for loonio ### Possible Implementation Implement Webhook - Payment ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and didn't find a similar issue ### Have you read the Contrib...
From d2ed113f98d1e4c1465c791c3a31428a27030b91 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 13:39:36 +0000 Subject: [PATCH] task juspay__hyperswitch-9711: implement webhook support for loonium MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Tra...
diff --git a/crates/hyperswitch_connectors/src/connectors/loonio.rs b/crates/hyperswitch_connectors/src/connectors/loonio.rs index 96ee717b862..1de6f4236d4 100644 --- a/crates/hyperswitch_connectors/src/connectors/loonio.rs +++ b/crates/hyperswitch_connectors/src/connectors/loonio.rs @@ -2,12 +2,13 @@ pub mod transform...
<think></think> ## Summary I have successfully implemented webhook support for the loonio connector as requested in task juspay__hyperswitch-9711. Here's what was accomplished: ### 🎯 **Core Implementation** 1. **Webhook Data Structures** (`transformers.rs`): - `LoonioWebhookEvent`: Main webhook payload structur...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Loomio webhooks for payments ## payment request ```j...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 8, "logic_match": null, "logic_match_score": 7, "overall_score": 7, "reasoning": "The prediction correctly identifies the need to implement the IncomingWebhook trait ...
dirty
logs_batch1
juspay__hyperswitch-9570
Bug: [REFACTOR] (GOOGLEPAY) Introduce `cardsFundingSource` in google pay payment method data What's Changing? GPay API response will include a new field, `cardFundingSource`, within the [`CardInfo`](https://developers.google.com/pay/api/web/reference/response-objects#CardInfo) response object. This field will help ...
From c83b8918256bfc9c3a5ce368ea5f77b8741bc79d Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 14:20:29 +0000 Subject: [PATCH] task juspay__hyperswitch-9570: Add card_funding_source field to Google Pay payment method MIME-Version: 1.0 Content-Type: text/plain; char...
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index 840ab7537f0..56416e21427 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -9,7 +9,7 @@ pub mod trait_impls; use cards::CardNumber; #[cfg(feature = "v2")] use common_enums::enums::PaymentC...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. <think></think> Perfect! I have successfully implemented the `cardFundingSource` field for Google Pay payment method data. Here's a summary of what I accomplished: ## Summary of Chang...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> google recently [introduced](https://developers.google.com/pa...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 7, "logic_match": null, "logic_match_score": 8, "overall_score": 7, "reasoning": "The prediction correctly identifies the core task: adding the `card_funding_source` ...
dirty
logs_batch1
juspay__hyperswitch-8977
Bug: [FEATURE] add payment method filter in v2 ### Feature Description List all the available currencies and countries for the given connector and payment method type. ### Possible Implementation Add the filter route to the V2 PaymentMethods implementation. ### Have you spent some time checking if this feature r...
From e8da8ed9f9bcc19bac44a7c1d1852f4354502b19 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 17:10:42 +0000 Subject: [PATCH] task juspay__hyperswitch-8977: Add payment method filter in v2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-...
diff --git a/crates/router/src/routes/app.rs b/crates/router/src/routes/app.rs index 01455e9e17b..be17d98ff47 100644 --- a/crates/router/src/routes/app.rs +++ b/crates/router/src/routes/app.rs @@ -1344,38 +1344,52 @@ impl Payouts { } } -#[cfg(all(feature = "oltp", feature = "v2"))] +#[cfg(all(feature = "v2", an...
<think></think> Perfect! I have successfully implemented the V2 payment method filter feature. Let me provide a summary of what was implemented: ## Summary I have successfully implemented the V2 payment method filter feature (issue #8977) by: ### 1. **Added the /filter route to V2 PaymentMethods** - Located in `cra...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [X] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Add the payment method filter route to the V2 PaymentMethods im...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 7, "overall_score": 7, "reasoning": "The prediction correctly identifies the two files that need modification and implem...
dirty
logs_batch1
juspay__hyperswitch-9056
Bug: Create Subscription with autocollection off Request to Subscription Povider to create subscription curl --location 'https://site/api/v2/customers/AzyUM7UusAXA7mMT/subscription_for_items' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Basic =' \ --data-urlencode 'billing_...
From 59e9f0e43555acd5eab935457598ee701e19d4e5 Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Mon, 8 Dec 2025 16:36:28 +0000 Subject: [PATCH] task juspay__hyperswitch-9056: Add support for auto_collection=off in subscription creation - Add auto_collection field to CreateSubscrip...
diff --git a/crates/hyperswitch_connectors/src/connectors/chargebee.rs b/crates/hyperswitch_connectors/src/connectors/chargebee.rs index b9006f9e82e..bf6f3fe637d 100644 --- a/crates/hyperswitch_connectors/src/connectors/chargebee.rs +++ b/crates/hyperswitch_connectors/src/connectors/chargebee.rs @@ -16,30 +16,38 @@ use...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. <think></think> Perfect! I have successfully implemented the fix for supporting `auto_collection=off` in subscription creation. Here's a summary of what was done: ## Summary of Change...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> - Added Chargebee subscription creation request/response struct...
7
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 6, "logic_match": null, "logic_match_score": 8, "overall_score": 7, "reasoning": "The predicted diff correctly identifies the core requirement: implementing the `Subs...
dirty
logs_batch1
juspay__hyperswitch-9456
Bug: [FEATURE] : Add wasm changes for Paysafe connector Add wasm changes for , interac , skrill and paysafe card
From a857160c50cf397dfe305af1ec6f60b2b9d8b2ae Mon Sep 17 00:00:00 2001 From: Claude Code Assistant <claude-code@anthropic.com> Date: Tue, 9 Dec 2025 16:09:29 +0000 Subject: [PATCH] task juspay__hyperswitch-9456: Add WASM changes for Paysafe connector - Add wallet payment method configuration for Skrill - Add gift car...
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml index fffeed0c3e7..4c1d94e9908 100644 --- a/crates/connector_configs/toml/development.toml +++ b/crates/connector_configs/toml/development.toml @@ -6872,6 +6872,12 @@ payment_method_type = "Discover" payment_me...
<think></think> ## Summary I have successfully implemented WASM changes for the Paysafe connector. Here's what was accomplished: ### ✅ Changes Made: 1. **Added missing payment method configurations** to the Paysafe connector in all TOML configuration files: - **Development**: `crates/connector_configs/toml/devel...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Add wasm changes for , interac , skrill and paysafe card ### Additional Changes - [ ] This PR modif...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 6, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 6, "overall_score": 7, "reasoning": "The predicted diff correctly identifies the three TOML files that need modification...
dirty
logs_batch2
juspay__hyperswitch-9437
Bug: [FEATURE] L2-l3 data for checkout ### Feature Description Add l2-l3 data for checkout ### Possible Implementation https://www.checkout.com/docs/payments/manage-payments/submit-level-2-or-level-3-data ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and d...
diff --git a/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs b/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs index 912ea1f5d..e801fb5c0 100644 --- a/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/chec...
diff --git a/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs b/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs index 912ea1f5d3e..8ebe17a2acc 100644 --- a/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/...
<think>The system is asking for approval for bash commands. Let me summarize what I've accomplished in this implementation: ## Summary of L2-L3 Data Implementation for Checkout.com I have successfully implemented the L2-L3 data feature for the Checkout.com connector in the Hyperswitch repository. Here's what was acc...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description - Add l2l3 data for checkout - Note : checkout recommends some checks like line_items should sum up prop...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 6, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 7, "overall_score": 7, "reasoning": "The prediction correctly identifies the file and the core logic of adding Level 2/3...
hs2
logs_glm
juspay__hyperswitch-9495
Bug: [FEATURE] add parent info based API for fetching permissions for user role add parent info based API for fetching permissions for user role so backend permissions and frontend permissions can remain consistent.
diff --git a/crates/api_models/src/user_role/role.rs b/crates/api_models/src/user_role/role.rs index 0ab853273..985c19df4 100644 --- a/crates/api_models/src/user_role/role.rs +++ b/crates/api_models/src/user_role/role.rs @@ -111,6 +111,13 @@ pub struct GroupsAndResources { pub resources: Vec<Resource>, } +#[der...
diff --git a/crates/api_models/src/user_role/role.rs b/crates/api_models/src/user_role/role.rs index 0ab853273e7..b0cc9aa8554 100644 --- a/crates/api_models/src/user_role/role.rs +++ b/crates/api_models/src/user_role/role.rs @@ -36,13 +36,13 @@ pub struct RoleInfoWithGroupsResponse { #[derive(Debug, serde::Serialize)]...
<think>Perfect! I have successfully implemented the new API endpoint GET /user/role/v3 that returns user role permissions using parent group information with resource details. Let me summarize what I've accomplished: ## Summary of Implementation I successfully implemented the new v3 API endpoint for fetching user ro...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Adds a new API endpoint GET /user/role/v3 that returns user role permissions using parent group informati...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 7, "logic_match": null, "logic_match_score": 8, "overall_score": 7, "reasoning": "The prediction correctly identifies the core requirement of adding a new API endpoin...
hs2
logs_glm
juspay__hyperswitch-8435
Bug: [FEAT] Implement Refund for JPMorgan this connector lacks basic feature i.e., refunds. relevant docs: - https://developer.payments.jpmorgan.com/api/commerce/online-payments/overview - https://developer.payments.jpmorgan.com/api/commerce/online-payments/online-payments/online-payments#/operations/V2RefundPost
diff --git a/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs b/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs index 9783324c0..36827b477 100644 --- a/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs +++ b/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs @@ -664,10 +664,14 @@ impl Conn...
diff --git a/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs b/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs index 9783324c042..043f140a174 100644 --- a/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs +++ b/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs @@ -665,9 +665,9 @@ impl Co...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. Perfect! I have successfully implemented refunds for the JPMorgan connector. Here's a summary of what I accomplished: ## Summary of Changes ### 1. **Fixed JPMorgan Refund URL Implemen...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> This PR implements refund flow for JPMorgan connector. Connec...
7
{ "completeness": null, "completeness_score": 5, "correctness": null, "correctness_score": 6, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 7, "overall_score": 7, "reasoning": "The prediction correctly identifies the files and the core logic for implementing t...
hs2
logs_kat_fixed
juspay__hyperswitch-8556
Bug: [FEATURE] Add auto retries configs in profile CRUD apis ### Feature Description Add auto retries configs in profile CRUD apis 1. is_auto_retries_enabled - Boolean (denotes whether auto retries should be performed for a profile) 2. max_auto_retries_enabled - Int (i16) (maximum auto retries to be performed) ##...
diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin.rs index 6f6563395..c67718bd3 100644 --- a/crates/api_models/src/admin.rs +++ b/crates/api_models/src/admin.rs @@ -1968,9 +1968,14 @@ pub struct ProfileCreate { pub is_tax_connector_enabled: bool, /// Indicates if is_network_tokenizat...
diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin.rs index 6f656339569..6e7f4f29d03 100644 --- a/crates/api_models/src/admin.rs +++ b/crates/api_models/src/admin.rs @@ -1971,6 +1971,12 @@ pub struct ProfileCreate { /// If set to `true` is_network_tokenization_enabled will be checked. #...
I made some typos. Let me fix them:
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> add auto retries configs in profile CRUD apis 1. is_auto_retri...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 5, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 7, "overall_score": 7, "reasoning": "The prediction correctly identifies the two files that need modification and adds t...
hs2
logs_kat_fixed
juspay__hyperswitch-8733
Bug: [BUG] worldpay DDC submission race conditions ### Bug Description Race condition in Worldpay 3DS DDC flow causes `bodyDoesNotMatchSchema` errors. 8-second timeout in `WorldpayDDCForm` JS fires before legitimate DDC completion, sending `collectionReference` to wrong endpoint (`/3dsChallenges` vs `/3dsDeviceData...
diff --git a/crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs b/crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs index 14bcd0afa..8696ebe9b 100644 --- a/crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/worl...
diff --git a/crates/hyperswitch_connectors/src/connectors/worldpay.rs b/crates/hyperswitch_connectors/src/connectors/worldpay.rs index 009a02f7ef5..fcb582830b2 100644 --- a/crates/hyperswitch_connectors/src/connectors/worldpay.rs +++ b/crates/hyperswitch_connectors/src/connectors/worldpay.rs @@ -798,7 +798,16 @@ impl C...
Perfect! I have successfully implemented the fix for the Worldpay DDC race condition bug. Let me summarize what was accomplished: ## Summary of Changes Made ### 1. **Client-side fixes in `crates/router/src/services/api.rs`:** - **Increased timeout**: Changed from 8000ms to 10000ms to allow more time for DDC completio...
## Type of Change - [x] Bugfix ## Description Fixes race condition in Worldpay 3DS Device Data Collection (DDC) flow causing `bodyDoesNotMatchSchema` errors. **Changes made:** - Extended DDC timeout from 8s to 10s in client-side JavaScript - Added `ddcProcessed` flag to prevent duplicate submissions on clie...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 7, "logic_match": null, "logic_match_score": 8, "overall_score": 7, "reasoning": "The prediction correctly identifies and fixes the core issues: the CSS syntax error,...
hs2
logs_kat_fixed
juspay__hyperswitch-9116
Bug: Connector changes for 3ds in v2 In v2, the `PreProcessing` and `CompleteAuthorize` flows will not be present. We will introduce new flows `PreAuthenticate`, `Authenticate` and `PostAuthenticate` to better represent the domain.
diff --git a/crates/hyperswitch_connectors/src/connectors/cybersource.rs b/crates/hyperswitch_connectors/src/connectors/cybersource.rs index 0a1061e2c..e800d30ab 100644 --- a/crates/hyperswitch_connectors/src/connectors/cybersource.rs +++ b/crates/hyperswitch_connectors/src/connectors/cybersource.rs @@ -15,6 +15,7 @@ u...
diff --git a/crates/hyperswitch_connectors/src/connectors/cybersource.rs b/crates/hyperswitch_connectors/src/connectors/cybersource.rs index 0a1061e2c15..6b610c32912 100644 --- a/crates/hyperswitch_connectors/src/connectors/cybersource.rs +++ b/crates/hyperswitch_connectors/src/connectors/cybersource.rs @@ -21,21 +21,2...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. ⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. ## Summary I have successfully implemented the 3D...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> - Add `PreAuthenticate`, `Authenticate` and `PostAuthenticate...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 8, "overall_score": 7, "reasoning": "The predicted diff correctly identifies the file to be modified and the core logic ...
hs2
logs_kat_fixed
juspay__hyperswitch-9293
Bug: [BUG] Post capture void in nuvei resulting in `partial_captured` instead of `cancelled_post_capture` ### Bug Description Make a automatic (successful) nuvei payment ```json { "amount": 4324, "capture_method": "automatic", "currency": "EUR", "confirm": true, "customer_acceptance": { ...
diff --git a/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs b/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs index 791261d9e..8fc88cf0f 100644 --- a/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/nuvei/transfo...
diff --git a/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs b/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs index 791261d9ee0..6c26964612d 100644 --- a/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/nuvei/tra...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. Let me create a summary of the changes I made: ## Summary I have successfully fixed the bug where post-capture void in nuvei was resulting in `partial_captured` instead of `cancelled_...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> - previously post capture void in nuvei was resulting in `parti...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 8, "overall_score": 7, "reasoning": "The prediction correctly identifies the core issue: the need to pass a flag (`is_po...
hs2
logs_kat_fixed
juspay__hyperswitch-9270
Bug: [FEATURE] Map NTID for nuvei Map NTID for Nuvei connector
diff --git a/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs b/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs index 791261d9e..2147061ad 100644 --- a/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/nuvei/transfo...
diff --git a/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs b/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs index 791261d9ee0..b5bf5236330 100644 --- a/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/nuvei/tra...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. Perfect! The field name `network_txn_id` is correct as it matches the domain model definition. Let me create a final summary of what was implemented: ## Summary I have successfully im...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Return Network transaction if from connector Response - NOT...
7
{ "completeness": null, "completeness_score": 5, "correctness": null, "correctness_score": 9, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 9, "overall_score": 7, "reasoning": "The prediction correctly identifies the file and the logic for mapping the network ...
hs2
logs_kat_fixed
juspay__hyperswitch-7767
Bug: Modify List Merchant Accounts in Org with org_id (v1) Modify List Merchant Accounts in Org with org_id (v1) as v2 merchant accounts will hav merchant_id as `Null`, and they cant be deserialized into v1. This will cause terminate_2fa API to fail and cant obtain the merchant_id required to generate the jwt token...
diff --git a/crates/diesel_models/src/query/merchant_account.rs b/crates/diesel_models/src/query/merchant_account.rs index c40af7f65..c00c52118 100644 --- a/crates/diesel_models/src/query/merchant_account.rs +++ b/crates/diesel_models/src/query/merchant_account.rs @@ -101,7 +101,9 @@ impl MerchantAccount { ...
diff --git a/crates/diesel_models/src/query/merchant_account.rs b/crates/diesel_models/src/query/merchant_account.rs index c40af7f6535..ab51953b6ef 100644 --- a/crates/diesel_models/src/query/merchant_account.rs +++ b/crates/diesel_models/src/query/merchant_account.rs @@ -1,4 +1,5 @@ -use diesel::{associations::HasTabl...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. Perfect! I have successfully implemented the fix for the bug. Let me summarize what was done: ## Summary I have successfully fixed the bug "Modify List Merchant Accounts in Org with o...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Modified the v1 merchant list query to list only v1 merchant ac...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 6, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 7, "overall_score": 7, "reasoning": "The prediction correctly identifies the core logic change: adding a version filter ...
hs2
logs_kat_fixed
juspay__hyperswitch-9023
Bug: Vault connector changes Need to implement Vault Retrieve for VGS
diff --git a/config/config.example.toml b/config/config.example.toml index ab7f0ebde..4e74f6e0d 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -309,7 +309,7 @@ trustpayments.base_url = "https://webservices.securetrading.net/" trustpay.base_url_bank_redirects = "https://aapi.trustpay.eu/" ...
diff --git a/config/config.example.toml b/config/config.example.toml index ab7f0ebdef8..e9e51123925 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -309,7 +309,7 @@ trustpayments.base_url = "https://webservices.securetrading.net/" trustpay.base_url_bank_redirects = "https://aapi.trustpay.eu...
## Summary I have successfully implemented the Vault connector changes for VGS as specified in the task: ### ✅ **Implemented ExternalVaultInsertFlow for VGS** - Added `impl api::ExternalVaultInsert for Vgs` trait - Implemented `ConnectorIntegration<ExternalVaultInsertFlow, VaultRequestData, VaultResponseData>` with: ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> - Added Connector changes for VGS - Implemented `ExternalVault...
7
{ "completeness": null, "completeness_score": 8, "correctness": null, "correctness_score": 5, "file_match": null, "file_match_score": 10, "logic_match": null, "logic_match_score": 6, "overall_score": 7, "reasoning": "The prediction correctly identifies all the files that need modification. However, ...
hs2
logs_kat_fixed
juspay__hyperswitch-8306
Bug: [REFACTOR] change the response type of update gateway score api in open router
diff --git a/crates/api_models/src/open_router.rs b/crates/api_models/src/open_router.rs index cfcb45ef9..c5baf029b 100644 --- a/crates/api_models/src/open_router.rs +++ b/crates/api_models/src/open_router.rs @@ -175,6 +175,15 @@ pub enum TxnStatus { Declined, } +#[derive(Debug, Clone, Serialize, Deserialize, P...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index bb4db422556..d43ddadc54c 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -9482,6 +9482,7 @@ "customer_id", "payment_method_type", "payment_method_subtyp...
Perfect! I have successfully completed the refactoring task. Let me summarize what was accomplished: ## Summary of Changes 1. **Created `UpdateScoreResponse` struct** in `/workspace/archit/trace_generation/repos/hyperswitch_pool_7/crates/api_models/src/open_router.rs`: - Added a new struct with fields: `message`, ...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description A new struct, UpdateScoreResponse, was introduced in the API models to represent responses from the Open ...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 6, "logic_match": null, "logic_match_score": 8, "overall_score": 7, "reasoning": "The prediction correctly identifies the core task: creating the `UpdateScoreResponse...
hs2
logs_kat_fixed
juspay__hyperswitch-7813
Bug: [BUG(GlobalPay)] 5xx when making a failure payment ``` { "id": "TRN_OCPelRWxFohVEl0AuYglPyqG3fQ9r6_ca0584bb55bf", "time_created": "2025-04-14T14:54:57.880Z", "type": "SALE", "status": "DECLINED", "channel": "CNP", "capture_mode": "AUTO", "amount": "", "currency": "", "country...
diff --git a/crates/hyperswitch_connectors/src/connectors/globalpay/response.rs b/crates/hyperswitch_connectors/src/connectors/globalpay/response.rs index f0f7851a4..12ed93768 100644 --- a/crates/hyperswitch_connectors/src/connectors/globalpay/response.rs +++ b/crates/hyperswitch_connectors/src/connectors/globalpay/res...
diff --git a/crates/hyperswitch_connectors/src/connectors/globalpay/response.rs b/crates/hyperswitch_connectors/src/connectors/globalpay/response.rs index f0f7851a419..11bd9e1a047 100644 --- a/crates/hyperswitch_connectors/src/connectors/globalpay/response.rs +++ b/crates/hyperswitch_connectors/src/connectors/globalpay...
⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. ⚠️ [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests. Perfect! I have successfully fixed the GlobalPay d...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR fixes an edge case with GlobalPay where, upon payment...
7
{ "completeness": null, "completeness_score": 7, "correctness": null, "correctness_score": 8, "file_match": null, "file_match_score": 5, "logic_match": null, "logic_match_score": 9, "overall_score": 7, "reasoning": "The prediction correctly identifies the logic needed to solve the bug: creating a cu...
hs2
logs_kat_fixed
juspay__hyperswitch-7837
Bug: [FEATURE] connector's sandbox testing via magic values ### Feature Description Connectors provide sending magic values for certain fields in their API requests. These values can be used to simulate different error scenarios. For most of the cases across all the connectors, these can be set in the already prese...
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index 011fd7e44..184466b95 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -6718,6 +6718,7 @@ pub struct ApplepaySessionRequest { pub struct ConnectorMetadata { pub apple_pay: Option<Applep...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index 10682866ab7..e068f12f4be 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -3775,6 +3775,17 @@ }, "additionalProperties": false }, + "AdyenConnectorMetadata"...
## Implementation Complete I have successfully implemented the connector sandbox testing feature for Adyen as specified in the task requirements. Here's what was accomplished: ### ✅ **Task Requirements Met:** 1. **API Model Extension**: Added `AdyenConnectorMetadataRequest` and `AdyenTestingData` structures to suppo...
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR adds support for connector testing data in payment reques...
7
{ "completeness": null, "completeness_score": 6, "correctness": null, "correctness_score": 7, "file_match": null, "file_match_score": 7, "logic_match": null, "logic_match_score": 8, "overall_score": 7, "reasoning": "The prediction correctly identifies the core requirement of adding Adyen-specific te...
hs2
logs_kat_fixed