repo stringclasses 1
value | instance_id stringlengths 22 24 | problem_statement stringlengths 30 24.1k | patch stringlengths 0 1.9M | test_patch stringclasses 1
value | created_at stringdate 2022-11-25 05:12:07 2025-06-13 10:24:29 | hints_text stringlengths 11 235k | base_commit stringlengths 40 40 | test_instructions stringlengths 0 232k | filenames listlengths 0 300 |
|---|---|---|---|---|---|---|---|---|---|
juspay/hyperswitch | juspay__hyperswitch-8343 | Bug: Fix(CI): Update api-reference path in `pr_labeler`
PR #8333 modified the `api-reference` folder structure. Need to update it in `pr_labeler` job | 2025-06-13T10:24:29Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [x] CI/CD
## Description
<!-- Describe your changes in detail -->
- Updated OpenAPI spec path in `pr_labeler` CI job
- Modified ... | 07c93f183b13b0bfd2fbcdede33906852b0fca79 | [] | |||
juspay/hyperswitch | 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 6d68eeab4ab..c32be7223a6 100644
--- a/postman/collection-dir/stripe/PaymentConnectors/.meta.json
+++ b/postman/collection-dir/stripe/PaymentConnectors/.meta.json
@@ -5,7 +5,7 @@
... | 2025-06-13T04:05:49Z | ## 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... | 953bace38c1509c95fc8c1e2426fda72c65e3bf8 |
<img width="864" alt="image" src="https://github.com/user-attachments/assets/86d7ab3a-46b4-4476-804f-b200b3d67a05" />
The Remaining failures are because of outdated certificates and their keys. Once we update that it will be like the following
<img width="493" alt="image" src="https://github.com/user-attachment... | [
"postman/collection-dir/stripe/PaymentConnectors/.meta.json"
] | |
juspay/hyperswitch | juspay__hyperswitch-8338 | Bug: fix(analytics): refactor auth analytics to support profile,org and merchant level auth
### Feature Description
Exposed the auth analytics under profile, merchant and org levels
### Possible Implementation
Expose different endpoints for auth analytics sankey
### Have you spent some time checking if this feat... | diff --git a/crates/analytics/src/auth_events/core.rs b/crates/analytics/src/auth_events/core.rs
index 41b7b724954..011633dce3d 100644
--- a/crates/analytics/src/auth_events/core.rs
+++ b/crates/analytics/src/auth_events/core.rs
@@ -27,7 +27,7 @@ use crate::{
#[instrument(skip_all)]
pub async fn get_metrics(
poo... | 2025-06-12T13:12:53Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [x] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
Exposed endpoints for auth analytics under profile, merchant and org access levels.
### Additional C... | d305fad2e6c403fde11b9eea785fddefbf3477df | [
"crates/analytics/src/auth_events/core.rs",
"crates/analytics/src/auth_events/filters.rs",
"crates/analytics/src/auth_events/metrics.rs",
"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs",
"crates/analytics/src/auth_events/metrics/authentication_count.rs",
"crates/analytics/src/au... | ||
juspay/hyperswitch | 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/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... | 2025-06-12T09:49:44Z | ## 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... | 61c2e2c75fabdb03c5599df97240a030cb7b5b6a |
Executed:
```bash
cargo run -p openapi --features v1
```
and verified `openapi_spec_v1.json` generated
How the version dropdown looks like:
<img width="599" alt="image" src="https://github.com/user-attachments/assets/41d0c676-9a80-4a7e-ac33-9f56d9f18703" />
| [
"api-reference-v2/README.md",
"api-reference-v2/assets/images/image.png",
"api-reference-v2/essentials/error_codes.mdx",
"api-reference-v2/essentials/go-live.mdx",
"api-reference-v2/essentials/rate_limit.mdx",
"api-reference-v2/favicon.png",
"api-reference-v2/introduction.mdx",
"api-reference-v2/logo/... | |
juspay/hyperswitch | juspay__hyperswitch-8379 | Bug: [FEATURE] Add v2 kafka events for payment_intent, payment_attempt and refund
| diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs
index 7b14351a49a..ca382fa1479 100644
--- a/crates/api_models/src/payments.rs
+++ b/crates/api_models/src/payments.rs
@@ -5560,25 +5560,24 @@ impl From<&PaymentsRequest> for PaymentsCreateIntentRequest {
billing: request.bil... | 2025-06-12T06:01:54Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
<!-- Describe your changes in detail -->
Added payment_intent payment_attempt and refund kafka events fo... | 7b2919b46fda92aad14980280bc46c2c23d81086 |
Made a payment and refund and verified if proper events are logged into Kafka.
<img width="1728" alt="Screenshot 2025-06-12 at 9 48 33 AM" src="https://github.com/user-attachments/assets/91286bfd-8c83-4cb4-85cb-a672efb81daa" />
<img width="1728" alt="Screenshot 2025-06-12 at 9 48 18 AM" src="https://github.com/... | [
"crates/api_models/src/payments.rs",
"crates/common_enums/src/enums.rs",
"crates/hyperswitch_domain_models/src/payments.rs",
"crates/masking/src/secret.rs",
"crates/masking/src/serde.rs",
"crates/router/src/core/payments/transformers.rs",
"crates/router/src/services/kafka/payment_attempt.rs",
"crates/... | |
juspay/hyperswitch | juspay__hyperswitch-8324 | Bug: [REFACTOR] Refactor routing events core
### Feature Description
Refactor routing events core to include a framework for routing events
### Possible Implementation
Refactor routing events core to include a framework for routing events
### Have you spent some time checking if this feature request has been rai... | diff --git a/crates/api_models/src/open_router.rs b/crates/api_models/src/open_router.rs
index 33719e8a41b..af91ece3f12 100644
--- a/crates/api_models/src/open_router.rs
+++ b/crates/api_models/src/open_router.rs
@@ -58,14 +58,14 @@ pub struct PaymentInfo {
// cardSwitchProvider: Option<Secret<String>>,
}
-#[de... | 2025-06-11T13:58:14Z | ## 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 -->
- Refactored routing events in dynamic_routing core.
- have al... | 1ed2f210b2fec95696b98cfbe67c620c8fe716ff |
SR routing dynamo-
<img width="1490" alt="image" src="https://github.com/user-attachments/assets/4877f130-136f-4d75-bb71-fe8a17445e52" />
Elimination and Contract based on dynamo -
<img width="1728" alt="image" src="https://github.com/user-attachments/assets/ab090dae-8abb-4b02-99ce-a5a50aa9bf7d" />
<img width... | [
"crates/api_models/src/open_router.rs",
"crates/api_models/src/routing.rs",
"crates/router/src/core/errors.rs",
"crates/router/src/core/payments/routing.rs",
"crates/router/src/core/payments/routing/utils.rs",
"crates/router/src/core/routing/helpers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8318 | Bug: [FEATURE] include connector_customer creation during payment methods migration
### Feature Description
`connector_customer` is a map of merchant_connector_id (key) and connector_customer_id (value) in `customers` table which stores the customer's ID created at connector's end.
This is usually populated as a p... | diff --git a/crates/api_models/src/payment_methods.rs b/crates/api_models/src/payment_methods.rs
index 6b0e9dcb38d..5ecd2f71ef7 100644
--- a/crates/api_models/src/payment_methods.rs
+++ b/crates/api_models/src/payment_methods.rs
@@ -16,12 +16,10 @@ use masking::PeekInterface;
use serde::de;
use utoipa::{schema, ToSch... | 2025-06-11T12:24:41Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
This PR introduces populating `connector_customer` field in `customers` table during payment method migra... | 0eab55d17aef3caa160878bc9b2be29deb37711d | Steps for testing -
1. Create a merchant account
2. Create a merchant's connector account
<details>
<summary>3. Run /migrate-form API</summary>
cURL
curl --location --request POST 'http://localhost:8080/payment_methods/migrate-batch' \
--header 'api-key: test_admin' \
--form 'm... | [
"crates/api_models/src/payment_methods.rs",
"crates/common_types/src/customers.rs",
"crates/router/src/compatibility/stripe/customers.rs",
"crates/router/src/core/customers.rs",
"crates/router/src/routes/customers.rs",
"crates/router/src/routes/payment_methods.rs",
"crates/router/src/types/api/payment_m... | |
juspay/hyperswitch | juspay__hyperswitch-8306 | Bug: [REFACTOR] change the response type of update gateway score api in open router
| 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... | 2025-06-10T13:16:06Z | ## 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 ... | 67a42f0c27157f876698982a6b5f0a1cd3e15ffb |
Cannot be tested until open_router is enabled in runtime.
Tested locally - Response is getting deserialized

| [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/open_router.rs",
"crates/router/src/core/payments/routing.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8297 | Bug: [FEATURE] add Click To Pay feature for Trustpay Connector
### Feature Description
add Click To Pay feature for Trustpay Connector
### Possible Implementation
add Click To Pay feature for Trustpay Connector
### Have you spent some time checking if this feature request has been raised before?
- [x] I checked... | diff --git a/crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs b/crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
index f59cbe3313d..de40805ad4e 100644
--- a/crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
+++ b/crates/hyperswitch_connectors/src/connectors/... | 2025-06-10T10:07:34Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Closes this [issue](https://github.com/juspay/hyperswitch/issues/8297)
## Description
<!-- Describe your changes in d... | bc767b9131e2637ce90997da9018085d2dadb80b |
Postman Test
1. Payment Connector - Create (Trustpay)
Request:
```
curl --location 'http://localhost:8080/account/merchant_1749546439/connectors' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: {{api-key}}' \
--data '{
"connector_type": "paym... | [
"crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs",
"crates/hyperswitch_connectors/src/utils.rs"
] | |
juspay/hyperswitch | 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 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")
.... | 2025-06-10T08:28:04Z | ## 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 ... | 713c85d25d29259672da6efbfed0862e843ec542 |
Verified as working. No change in response.
| [
"crates/router/src/routes/app.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8298 | Bug: [REFCTOR]: Move CustomerAcceptance type to `common_types`
`CustomerAcceptance` is currently defined separately in `api_models` and `hyperswitch_domain_models`. These types are exactly the same, so they can be moved to `common_types`.
Additionally, in V2, we can use this strict type in `diesel_models` as well,... | diff --git a/Cargo.lock b/Cargo.lock
index 42add100ade..d6037be06fd 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1794,8 +1794,10 @@ dependencies = [
"common_utils",
"diesel",
"euclid",
+ "masking",
"serde",
"serde_json",
+ "time",
"utoipa",
]
diff --git a/crates/api_models/src/mandates.rs b/crates/api_mo... | 2025-06-10T07:59:02Z | ## 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 -->
- Moved `CustomerAcceptance`, `AcceptanceType`, `OnlineMandate`... | 7338a8db8562bae749e32437fa36d8f036655fcd |
V1 Payments Create + Confirm
Request:
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_YYBHtW1Ed85InL1L2TfWTZRUY7LCQxWotVQnOt5WjlMF6pMzEakhdpCzkj1AYaIa' \
--data-raw '{
"amount": 180000,
... | [
"Cargo.lock",
"crates/api_models/src/mandates.rs",
"crates/api_models/src/payments.rs",
"crates/common_types/Cargo.toml",
"crates/common_types/src/payments.rs",
"crates/diesel_models/src/payment_attempt.rs",
"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs",
"crates/hyperswitch_dom... | |
juspay/hyperswitch | juspay__hyperswitch-8295 | Bug: add `merchant_category_code` in business profile
Add support to accept `merchant_category_code` as input in the business profile. This is the four-digit code assigned based on business type to determine processing fees and risk level. This code can be used to make various decision during a payment flow. One suc... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 2e337c1f560..f1260390795 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -13195,6 +13195,18 @@
},
"additionalProperties": false
},
+ "MerchantCategoryCode"... | 2025-06-10T06:34:54Z | ## 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 `merchant_category_code` field in ... | 713c85d25d29259672da6efbfed0862e843ec542 |
-> Update a business profile by passing merchant category code
```
curl --location 'http://localhost:8080/account/merchant_1749476401/business_profile/pro_1RkvEPVmDc3K9FSyjOOS' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: ' \
--data '{
"merchant_cat... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/admin.rs",
"crates/api_models/src/open_router.rs",
"crates/common_enums/src/enums.rs",
"crates/diesel_models/src/business_profile.rs",
"crates/diesel_models/src/schema.rs",
"crates/diesel_models/src/schema_v2.rs",
"crates/euclid_wasm/src/lib... | |
juspay/hyperswitch | juspay__hyperswitch-8288 | Bug: [REFACTOR] Change refunds v2 list request verb
Change refunds v2 list request verb from GET to POST | 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":... | 2025-06-09T13:05:01Z | ## 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 ... | 4c73d74889472c1185fa85658ab462ea37f31f84 |
Create some payments and refunds before hand.
- List all refunds API call
```
curl --location 'http://localhost:8080/v2/refunds/list' \
--header 'x-profile-id: pro_hB6oV5vfIHyqUVw1aetw' \
--header 'Content-Type: application/json' \
--header 'Authorization: api-key=dev_iNC2eYPgqnHNYoFG44nlmpp3ofzZqQ4wPOcx9r7IO... | [
"api-reference-v2/openapi_spec.json",
"crates/openapi/src/routes/refunds.rs",
"crates/router/src/routes/app.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8325 | Bug: feat(recovery-events): add revenue recovery topic and vector config to push these events to s3
Add new event for revenue recovery and write vector config to send data to aws s3. | diff --git a/config/config.example.toml b/config/config.example.toml
index d90be9cae0a..36ab1d1713e 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -994,6 +994,7 @@ payout_analytics_topic = "topic" # Kafka topic to be used for Payouts an
consolidated_events_topic = "topic" # Ka... | 2025-06-09T10:54:43Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
This new Kafka Event consume the revenue recovery related events which will be constructed from both `Rec... | 20b37bdb7a25ec053e7671332d4837a0ad743983 |
At the time of this pr getting merged, Kafka is not enabled for V2 . So we cannot test it.
It can be tested by the following steps once kafka is enabled for v2.
Follow the steps in this pr #7461 and check the s3 attached to that kafka topic to find a file after waiting for one day.
Sample Kafka Event :
<img wi... | [
"config/config.example.toml",
"config/deployments/env_specific.toml",
"config/development.toml",
"config/docker_compose.toml",
"config/vector.yaml",
"crates/api_models/src/payments.rs",
"crates/diesel_models/src/types.rs",
"crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs",
"cr... | |
juspay/hyperswitch | juspay__hyperswitch-8281 | Bug: [BUG] [JPMORGAN] 5xx during Payments Authorize and Void
- Card expiry should be be `i32` and not `String`
- Void has a set of enum values to be passed and not random String values
| diff --git a/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs b/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
index 00e9fb35e8e..9783324c042 100644
--- a/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
+++ b/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
@@ -306,6 +306,16 @@ impl C... | 2025-06-08T17:53:11Z | ## 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 5xx thrown by JPMorgan connector during payment... | e58eeb1aa964c035af2e4fc54ad35adcc4dac157 |
Fixed and ran Cypress tests against the connector.

| [
"crates/hyperswitch_connectors/src/connectors/jpmorgan.rs",
"crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8277 | Bug: [BUG] Unwanted country PM filters in Authorizedotnet
### Bug Description
Country PM filters for payment processor authorizedotnet need to be removed as it is a global payment processor.
### Expected Behavior
Payments with any billing country should be possible for authorizedotnet
### Actual Behavior
Paymen... | diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml
index 10038b3aca7..e5b8c09a1d9 100644
--- a/config/deployments/integration_test.toml
+++ b/config/deployments/integration_test.toml
@@ -366,11 +366,11 @@ debit = { country = "AE, AF, AL, AO, AR, AT, AU, AW, AZ, BA, BB, BD, ... | 2025-06-07T06:14:43Z | ## 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 -->
Removed country PM filters for payment processor authorizedotne... | cb3aba8d5a0ed7080af54d15d7690ad4115c8a3d |
Test Any Payment on Authorizedotnet with Billing Country other than US/Canada
Request:
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: API_KEY_HERE' \
--data '{
"amount": 1234,
"currency": "USD... | [
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"loadtest/config/development.toml"
] | |
juspay/hyperswitch | 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 0a5dca9c0e2..478c2ea2448 100644
--- a/crates/payment_methods/src/configs/payment_connector_required_fields.rs
+++ b/crates/payment_methods/src/configs/paym... | 2025-06-06T11:06:04Z | ## 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... | 45d4ebfde33c778d3d6063c1c8d45ef6373a5afd |
CPF now gets populated:
```curl
curl --location 'http://localhost:8080/account/payment_methods?client_secret=pay_1iYxKKzKMLFXthlD6iAO_secret_i2gpOEtZadPHnlUpKR1Z' \
--header 'Accept: application/json' \
--header 'api-key: pk_dev_9caa65826ff740e78fcf292b7d96f31f'
```
```json
{
"redirect_url": "https://... | [
"crates/payment_methods/src/configs/payment_connector_required_fields.rs"
] | |
juspay/hyperswitch | 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... | 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... | 2025-06-06T08:16:38Z | ## 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... | 4fa7b12400b31396de0ace295118dc7192245bb1 | Steps for testing -
<details>
<summary>1. Create a payment link with dynamic selectors in `payment_link_ui_rules`</summary>
cURL
curl --location --request POST 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/admin.rs",
"crates/api_models/src/payments.rs",
"crates/diesel_models/src/business_profile.rs",
"crates/diesel_models/src/payment_intent.rs",
"crates/hyperswitch_domain_models/src/lib.rs",
"crates/router/src/core/payment_link.rs",
"crates/ro... | |
juspay/hyperswitch | juspay__hyperswitch-8398 | Bug: [FEATURE] [AUTHIPAY] Integrate cards non-3ds payments
### Feature Description
cards non-3ds payments needs to be integrated for authipay
### Possible Implementation
cards non-3ds payments needs to be integrated for authipay
### Have you spent some time checking if this feature request has been raised before... | diff --git a/config/config.example.toml b/config/config.example.toml
index 10f796128f7..2b1916d41c2 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -189,6 +189,7 @@ airwallex.base_url = "https://api-demo.airwallex.com/"
amazonpay.base_url = "https://pay-api.amazon.com/v2"
applepay.base_url... | 2025-06-05T09:43:43Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
Cards Non-3DS payments added for authipay
https://docs.fiserv.dev/public/reference/payments-intro
###... | c322eb9cabb2ca7a8ad0c3ed57192dde9bf7eaa4 | Tested using cargo build and cypress test
<img width="738" alt="Screenshot 2025-07-04 at 11 49 02 AM" src="https://github.com/user-attachments/assets/d4927935-5af6-4b14-88c4-dc1c9f723886" />
| [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"config/payment_required_fields_v2.toml",
"crates/common_enums/src/connector_enums.rs",
"crates/... | |
juspay/hyperswitch | juspay__hyperswitch-8254 | Bug: feat(router): Include `payment_experience` in PML for payments response (v2)
Required by SDK | 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/... | 2025-06-05T05:56:25Z | ## 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 ... | 4a7c08fbc57f9712f1ff478d01d4929b9576b448 |
Request:
```
curl --location 'http://localhost:8080/v2/payments/12345_pay_019740919d6a72c2b6984f9b99be203f/payment-methods' \
--header 'Content-Type: application/json' \
--header 'x-profile-id: pro_GKx8bxieFB51Nk5FMCi6' \
--header 'Authorization: publishable-key=pk_dev_e2eec08c40444d8e862c444d3df67cd2,client... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/payments.rs",
"crates/router/src/core/payments/payment_methods.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8252 | Bug: Improve Readme for better navigation
Improve the Readme so it improves the navigation and format. | diff --git a/README.md b/README.md
index 05764933882..a46baab5244 100644
--- a/README.md
+++ b/README.md
@@ -3,11 +3,14 @@
<img src="./docs/imgs/hyperswitch-logo-light.svg#gh-light-mode-only" alt="Hyperswitch-Logo" width="40%" />
</p>
-<h1 align="center">Open-Source Payments Orchestration</h1>
+<h1 align="center"... | 2025-06-04T21:52:44Z | ## 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 -->
I updated the readme for better navigation
### Additional Ch... | 4a7c08fbc57f9712f1ff478d01d4929b9576b448 | [
"README.md"
] | ||
juspay/hyperswitch | juspay__hyperswitch-8262 | Bug: feat(core): consume card details from billing connectors and first error codes and store them in payment intent table
Consume the card network and card iin from billing connectors and add them ton payment intent feature metadata | diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs
index c37690a9f5a..ef4d417ddc6 100644
--- a/crates/api_models/src/payments.rs
+++ b/crates/api_models/src/payments.rs
@@ -8694,9 +8694,41 @@ pub struct PaymentRevenueRecoveryMetadata {
/// The name of the payment connector through w... | 2025-06-04T21:34:40Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
The following details are needed to be stored in the payment intent feature metadata as a part of transac... | 9045eb5b65c21ee0c9746ee591b5f00bbce3b890 |
Can be tested by following the steps mentioned in this PR: #7461. Here are the test results:
```
{
"redirect_response": null,
"search_tags": null,
"apple_pay_recurring_details": null,
"payment_revenue_recovery_metadata": {
"total_retry_count": 2,
"payment_connector_transmission... | [
"crates/api_models/src/payments.rs",
"crates/diesel_models/src/types.rs",
"crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs",
"crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs",
"crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs",
"crates/... | |
juspay/hyperswitch | 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 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... | 2025-06-04T13:55:01Z | ## 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... | fd844c3dd50600a1b136ed2bf15db50048918275 |
Hit the health endpoint
```
curl "http://localhost:8080/health/ready"
```
Response -
```
{
"database": true,
"redis": true,
"analytics": true,
"opensearch": false,
"outgoing_request": true,
"grpc_health_check": {
"dynamic_routing_service": false
},
"decision_engine": true
}... | [
"crates/api_models/src/health_check.rs",
"crates/router/src/core/health_check.rs",
"crates/router/src/routes/health.rs",
"crates/storage_impl/src/errors.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8240 | Bug: refactor(dynamic_routing): add support for shuffle on tie flag to success_based routing
| 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... | 2025-06-04T12:48:08Z | ## 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... | 67a42f0c27157f876698982a6b5f0a1cd3e15ffb |
1. Create merchant_account, api_key.
2. Toggle SR for the default profile_created above
```
curl --location --request POST 'http://localhost:8080/account/merchant_1748681084/business_profile/pro_3gHXWoq1Xh3AKi6tNZV1/dynamic_routing/success_based/toggle?enable=dynamic_connector_selection' \
--header 'Content-Ty... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/routing.rs",
"crates/external_services/src/grpc_client/dynamic_routing/success_rate_client.rs",
"proto/success_rate.proto"
] | |
juspay/hyperswitch | juspay__hyperswitch-8249 | Bug: feat: migration api for migrating routing rules to decision_engine
## Description
Create migration apis to move to decision-engine for PL routing. | diff --git a/config/development.toml b/config/development.toml
index d7fb9578c98..1c83278b3fd 100644
--- a/config/development.toml
+++ b/config/development.toml
@@ -1176,4 +1176,4 @@ connector_names = "stripe, adyen" # Comma-separated list of allowe
[infra_values]
cluster = "CLUSTER"
-version = "HOSTN... | 2025-06-03T19:01:23Z | ## 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 introduces a new migration API that facilitates migrating routing rules defined in Euclid (lega... | 953bace38c1509c95fc8c1e2426fda72c65e3bf8 |
```
curl --location --request POST 'http://127.0.0.1:8080/routing/rule/migrate?profile_id=pro_iqrbKSzgfIcVYUEwqy2J&limit=5&offset=0&merchant_id=merchant_1749113195' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: test_admin'
```
Note: testing shouldn't be... | [
"config/development.toml",
"crates/api_models/src/events/routing.rs",
"crates/api_models/src/routing.rs",
"crates/diesel_models/src/routing_algorithm.rs",
"crates/router/src/core/payments/routing/utils.rs",
"crates/router/src/core/routing.rs",
"crates/router/src/routes/app.rs",
"crates/router/src/rout... | |
juspay/hyperswitch | juspay__hyperswitch-8230 | Bug: [CYPRESS] Fix Cypress connector failures
Wise
Elavon
Paybox
Datatrans
Facilitapay
Itaubank | 2025-06-03T12:45:52Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [x] CI/CD
## Description
<!-- Describe your changes in detail -->
This PR fixes Cypress tests for Itaubank, Paybox and Datatran... | 45d4ebfde33c778d3d6063c1c8d45ef6373a5afd |
|command|screenshot|
|-|-|
|`CYPRESS_CONNECTOR=itaubank npm run cypress:payments`|<img width="420" alt="image" src="https://github.com/user-attachments/assets/988695cf-97af-4c6d-88bc-8fdc04ae4caf" />|
|`CYPRESS_CONNECTOR=datatrans npm run cypress:payments`|<img width="424" alt="image" src="https://github.com/use... | [] | ||
juspay/hyperswitch | juspay__hyperswitch-8228 | Bug: [FEATURE] Fix spell check
### Feature Description
Need to fix spell check in router
### Possible Implementation
Need to fix spell check in router
### 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 Cont... | diff --git a/crates/analytics/src/routing_events/events.rs b/crates/analytics/src/routing_events/events.rs
index 27b2f251627..b6090a588d2 100644
--- a/crates/analytics/src/routing_events/events.rs
+++ b/crates/analytics/src/routing_events/events.rs
@@ -70,4 +70,5 @@ pub struct RoutingEventsResult {
pub created_at:... | 2025-06-03T12:43:34Z | ## 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 -->
- Fixed spell checks
- Added `routing_approach` field in routi... | ec908d38acb6e6e6a5bc204dc4b47ec46248d00e |
1. hit the routing analytics API
```
curl -H "api-key: dev_R5xpWKgvxcaxLcQateRbZKt8B9XkvqaPziIdwPHaPQrGTDTq5JRyncxPtOq9JNsj" "http://localhost:8080/analytics/v1/profile/routing_event_logs?type=Payment&payment_id=pay_evlgasQRCFOJplN3yWge"
```
Response -
```
[
{
"merchant_id": "merchant_1748952604",
... | [
"crates/analytics/src/routing_events/events.rs",
"crates/api_models/src/routing.rs",
"crates/router/src/core/payments/routing.rs",
"crates/router/src/core/routing/helpers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8223 | Bug: add retry support for debit routing
In the case of debit routing flow, the routing output (`CallConnectorType`) will include both the connector and its associated card network. In our current implementation, we simply iterate over the connector list and pass the connector. With the updated requirement, we will ... | diff --git a/crates/router/src/core/payments.rs b/crates/router/src/core/payments.rs
index 2cd9f507893..0994dadb5c5 100644
--- a/crates/router/src/core/payments.rs
+++ b/crates/router/src/core/payments.rs
@@ -1516,7 +1516,7 @@ fn get_connector_data_with_routing_decision(
let routing_decision =
... | 2025-06-03T09:48:41Z | ## 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 -->
In the case of debit routing flow, the routing output (`CallCon... | e6482fbe84e2e7bcbcafa7ab95c8ab573bc4bed7 |
Create a business profile and enable debit routing for it
```
curl --location 'http://localhost:8080/account/merchant_1748851578/business_profile/pro_gEwS6ve9KVqywWL0hmAq' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: ' \
--data '{
"is_debit_routing... | [
"crates/router/src/core/payments.rs",
"crates/router/src/core/payments/retry.rs",
"crates/router/src/core/routing/helpers.rs"
] | |
juspay/hyperswitch | 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 | 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... | 2025-06-03T07:32:25Z | ## 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... | 06c5215c0edf0ed47cc55fd5216c4642cc515f37 | [
"config/deployments/production.toml"
] | ||
juspay/hyperswitch | juspay__hyperswitch-8208 | Bug: [FIX] Add fallback connectors instead of active routing rule connectors if straight through connector is ineligible
Add the fallback connectors to the list of eligible connectors instead of adding connectors configured in the active routing rule in case straight through connector is ineligible | diff --git a/crates/router/src/core/payments.rs b/crates/router/src/core/payments.rs
index 0993a6eee3f..f9fea9cdfd7 100644
--- a/crates/router/src/core/payments.rs
+++ b/crates/router/src/core/payments.rs
@@ -6743,7 +6743,7 @@ where
}
if let Some(routing_algorithm) = request_straight_through {
- let ... | 2025-06-02T13:24:17Z | ## 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 -->
Reverts https://github.com/juspay/hyperswitch/pull/7921
### ... | 33cd60e64288b2a6bb24cc27b9d319fdbeab46ef |
1. Payment intent create
```
curl --location 'http://localhost:8080/vs/v1/payment_intents' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'User-Agent: helloMozilla/5.0 (Linux; Android 12; SM-S906N Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/80.0.39... | [
"crates/router/src/core/payments.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8203 | Bug: [CHORE] Bump Cypress dependencies
Current versions are out dated. | 2025-06-02T07:43:48Z | ## 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 -->
This PR bumps Cypress and its dependencies to its latest vers... | dbca363f44c0dbce277a337d64dfb82741d423c4 |
CI should pass.
| [] | ||
juspay/hyperswitch | juspay__hyperswitch-8389 | Bug: [FEATURE] Kv Redis feature for V2 models
### Feature Description
Extend kv support for v2 models
### Possible Implementation
Use existing construct to extend to v2 models
### Have you spent some time checking if this feature request has been raised before?
- [x] I checked and didn't find a similar issue
... | diff --git a/crates/diesel_models/src/kv.rs b/crates/diesel_models/src/kv.rs
index 6c0666e5903..ed984649e92 100644
--- a/crates/diesel_models/src/kv.rs
+++ b/crates/diesel_models/src/kv.rs
@@ -126,12 +126,7 @@ impl DBOperation {
)),
#[cfg(feature = "v2")]
Updateable::P... | 2025-06-02T04:50:28Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
#8389
- Added Kv Redis support to - payment_intent V2, payment_attempt V2 models
- Added enable Kv ro... | c5c0e677f2a2d43170a66330c98e0ebc4d771717 |
Locally tested kv writes and drainer functionality
| [
"crates/diesel_models/src/kv.rs",
"crates/diesel_models/src/payment_attempt.rs",
"crates/diesel_models/src/payment_intent.rs",
"crates/drainer/Cargo.toml",
"crates/hyperswitch_interfaces/Cargo.toml",
"crates/router/src/lib.rs",
"crates/router/src/routes/admin.rs",
"crates/router/src/routes/app.rs",
... | |
juspay/hyperswitch | juspay__hyperswitch-8268 | Bug: docs: API reference improvements
API Reference needed some context on the payments flows, and improvements in some descriptions. | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index d88111cc43e..09346e388fd 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -3990,7 +3990,7 @@
"properties": {
"city": {
"type": "string",
- "de... | 2025-05-31T21:42:29Z | ## 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 -->
Improving API-Reference to include payment flows, and include b... | b159a1d23dd37a038debaa0538355e14a3847249 | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/payments.rs",
"crates/common_enums/src/enums.rs",
"crates/openapi/src/routes/payments.rs"
] | ||
juspay/hyperswitch | juspay__hyperswitch-8190 | Bug: refactor(dynamic_routing): add logic for creating merchant account in decision engine
| diff --git a/crates/api_models/src/routing.rs b/crates/api_models/src/routing.rs
index 46cd37bc68a..a5448b563b1 100644
--- a/crates/api_models/src/routing.rs
+++ b/crates/api_models/src/routing.rs
@@ -608,6 +608,8 @@ pub struct DynamicRoutingAlgorithmRef {
pub dynamic_routing_volume_split: Option<u8>,
pub eli... | 2025-05-31T08:26:32Z | ## 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 -->
Merchant account creation on decision-engine is pre-requisite f... | 33cd60e64288b2a6bb24cc27b9d319fdbeab46ef |
1. Create merchant_account and API key in Hyperswitch.
2. Toggle SR for the default profile created above.
```
curl --location --request POST 'http://localhost:8080/account/merchant_1748681084/business_profile/pro_3gHXWoq1Xh3AKi6tNZV1/dynamic_routing/success_based/toggle?enable=dynamic_connector_selection' \
--... | [
"crates/api_models/src/routing.rs",
"crates/router/src/core/admin.rs",
"crates/router/src/core/routing.rs",
"crates/router/src/core/routing/helpers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8407 | Bug: ci(connector): [ARCHIPEL] configure test cases
Automate CI Checks by Fixing, Adding and Configuring Test Cases over:-
- [Postman](https://github.com/juspay/hyperswitch/pull/8360)
- [Cypress](https://github.com/juspay/hyperswitch/pull/8189) | 2025-05-30T16:25:08Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [x] CI/CD
## Description
<!-- Describe your changes in detail -->
Enhancements for `archipel` Cypress Tests.
### Additional Ch... | 8ccaac7c10e9366772e43d34f271d946cc4b3baa |
<img width="726" height="962" alt="image" src="https://github.com/user-attachments/assets/ee72bc01-69a1-4afb-ac76-8c3edec1c124" />
_PS: There is an issue with Incremental Auth, not anything related to the configs, but the spec itself, addressing it in another PR because that would affect 1 other connector as... | [] | ||
juspay/hyperswitch | juspay__hyperswitch-8212 | Bug: [FEATURE] Audit trail for routing
### Feature Description
Implement audit trail for routing
### Possible Implementation
Implement audit trail for routing
### 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 ... | diff --git a/config/config.example.toml b/config/config.example.toml
index 16846d0c403..12a905e1f56 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -945,6 +945,7 @@ audit_events_topic = "topic" # Kafka topic to be used for Payment Au
payout_analytics_topic = "topic" # Ka... | 2025-05-30T11:58:03Z | ## 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 -->
Audit trail for SR based Routing
### Additional Changes
... | 1eea83359c43e29f75caa92ad5fe2f22c8dc2829 |
1. toggle SR routing for profile
2. Create a payment
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_Gu8sdLTO7Dn8raa0FLbX0phVxHwt69RDLxBmgWoLbFv3ixqmVFflLtev8l7f2NC5' \
--data-raw '{
"amount": 654... | [
"config/config.example.toml",
"config/deployments/env_specific.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/analytics/docs/clickhouse/scripts/connector_events.sql",
"crates/analytics/docs/clickhouse/scripts/routing_events.sql",
"crates/analytics/src/clickhouse.rs",
"crates/a... | |
juspay/hyperswitch | 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 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};
... | 2025-05-29T13:30:56Z | ## 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... | b8e7a868ade62ff21498203d9e14edae094071d9 |
```
curl --location 'http://127.0.0.1:8080/routing' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_IpYFqCd4DHf7x4ER1GBQrW0mHOZzam3pYyuP2tSRb6q7qvTw7jvEjF7UzjwFPXWu' \
--data '
{
"name": "Priority rule with fallback",
"description": "It is my ADVANCED config",
"profile_id": "p... | [
"crates/router/src/core/payments/routing/utils.rs",
"crates/router/src/core/routing.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8181 | Bug: [FEATURE]: build gRPC Client Interface to initiate communication with recovery-trainer gRPC service
Implement a gRPC client interface that facilitates communication with the recovery-trainer gRPC service. The client should be capable of initializing and managing the connection to the service, sending requests, ... | diff --git a/Cargo.lock b/Cargo.lock
index c72b8f1b531..c38b3966051 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3055,12 +3055,14 @@ dependencies = [
"masking",
"once_cell",
"prost",
+ "prost-types",
"quick-xml",
"reqwest 0.11.27",
"router_env",
"rust-grpc-client",
"serde",
"thiserror 1.0.69",
+ "time... | 2025-05-29T10:34:56Z | ## 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 -->
I have implemented a gRPC client that facilitates communication... | 640d0552f96721d63c14fda4a07fc5987cea29a0 |
Decider gRPC server:-
<img width="1227" alt="Screenshot 2025-06-11 at 01 16 34" src="https://github.com/user-attachments/assets/b4887ed0-4315-406e-b393-cbd9bf480c95" />
Decider gRPC client(HS):-
<img width="1159" alt="Screenshot 2025-06-05 at 02 05 20" src="https://github.com/user-attachments/assets/bbddd857-2... | [
"Cargo.lock",
"config/config.example.toml",
"config/deployments/env_specific.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/external_services/Cargo.toml",
"... | |
juspay/hyperswitch | juspay__hyperswitch-8176 | Bug: Properly Handle encoded_data in PSync flow [v2]
PSync is failing for adyen with error: `validate_psync_reference_id failed`. We need to pass the `encoded_data` in payment_attempt | diff --git a/crates/router/src/core/payments/operations/payment_get.rs b/crates/router/src/core/payments/operations/payment_get.rs
index ebf8205ea9b..716030c8f43 100644
--- a/crates/router/src/core/payments/operations/payment_get.rs
+++ b/crates/router/src/core/payments/operations/payment_get.rs
@@ -177,7 +177,7 @@ imp... | 2025-05-29T10:29:06Z | ## 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 `encoded_data` from `PaymentsRetrieveRequest` in `payment_a... | d91cf70ae346cbf613ce5c1cfad2ae8a28c71d1c |
No visible changes in API response. Verified that payment status changes to `succeeded`.
| [
"crates/router/src/core/payments/operations/payment_get.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8174 | Bug: filter debit networks based on merchant connector account configuration
Once the open router call is completed for the co-badged card lookup in a debit routing flow, it returns all the debit networks eligible for the card. These networks must be validated against the merchant-enabled debit networks for each mer... | diff --git a/crates/router/src/core/debit_routing.rs b/crates/router/src/core/debit_routing.rs
index adbd663c5c1..a929c146cec 100644
--- a/crates/router/src/core/debit_routing.rs
+++ b/crates/router/src/core/debit_routing.rs
@@ -2,7 +2,9 @@ use std::{collections::HashSet, fmt::Debug};
use api_models::{enums as api_e... | 2025-05-29T09:01:11Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
<!-- Describe your changes in detail -->
Once the open router call is completed for the co-badged card l... | b159a1d23dd37a038debaa0538355e14a3847249 |
-> Create a profile and enable debit routing
```
curl --location 'http://localhost:8080/account/merchant_1748851578/business_profile/pro_gEwS6ve9KVqywWL0hmAq' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: ' \
--data '{
"is_debit_routing_enabled": tru... | [
"crates/router/src/core/debit_routing.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8173 | Bug: update(ci): update S3 Source File Name in Postman Collection Runner Workflow
The S3 source file name in the Postman Collection Runner workflow needs to be updated due to changes in the Connector Auth File. This modification ensures that the correct file is referenced in CI/CD workflows, maintaining authenticati... | 2025-05-29T08:10:44Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [x] Dependency updates
- [ ] Documentation
- [x] CI/CD
## Description
<!-- Describe your changes in detail -->
The S3 Source File Name in Postman Collection Runner Workflow h... | b8e7a868ade62ff21498203d9e14edae094071d9 | [] | |||
juspay/hyperswitch | juspay__hyperswitch-8180 | Bug: [FEATURE] Authentication Analytics Enhancement for 3DS Intelligence Engine
### Feature Description
Add new query filters for refined 3DS analytics
Expose exemption data (exemption_requested, exemption_approved) in the response
Support Sankey-chart metrics by returning flow-ready data
### Possible Implementat... | diff --git a/crates/analytics/src/auth_events.rs b/crates/analytics/src/auth_events.rs
index 3aa23d0793d..2ce5d52f9b1 100644
--- a/crates/analytics/src/auth_events.rs
+++ b/crates/analytics/src/auth_events.rs
@@ -2,7 +2,8 @@ pub mod accumulator;
mod core;
pub mod filters;
pub mod metrics;
+pub mod sankey;
pub mod t... | 2025-05-28T10:49:41Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [x] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
Added exemption_requested and exemption_approved fields to the auth_events metrics, extended the auth-ana... | dbca363f44c0dbce277a337d64dfb82741d423c4 | Tested it locally by ingesting some test data in authentications tables in CKH.
CURL for /metrics/auth_events introduced two new fields authentication_exemption_approved_count and authentication_exemption_requested_count here
```
curl 'http://localhost:8080/analytics/v1/metrics/auth_events' \
-H 'Accept: */*' ... | [
"crates/analytics/src/auth_events.rs",
"crates/analytics/src/auth_events/accumulator.rs",
"crates/analytics/src/auth_events/core.rs",
"crates/analytics/src/auth_events/filters.rs",
"crates/analytics/src/auth_events/metrics.rs",
"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs",
... | |
juspay/hyperswitch | 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 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... | 2025-05-27T18:08:26Z | ## 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
... | a830a070ba6786201a26aeeb7cf21a2d44528684 | [
"crates/api_models/src/open_router.rs",
"crates/api_models/src/routing.rs",
"crates/external_services/src/grpc_client/dynamic_routing/success_rate_client.rs",
"crates/router/src/core/payments/routing.rs",
"proto/success_rate.proto"
] | ||
juspay/hyperswitch | juspay__hyperswitch-8157 | Bug: refactor(success_based): add support for exploration
| 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... | 2025-05-27T14:52:09Z | ## 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... | e637b214e348216d30c9af59cce85a1264badebf |
1. Toggle success based routing for a profile, Check the business profile table in DB, get the routing_algorithm_id active for that profile and check in routing_algorithm table. it should have exploration set to 20.0
```
curl --location --request POST 'http://localhost:8080/account/merchant_1747851996/business_pr... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/open_router.rs",
"crates/api_models/src/routing.rs",
"crates/external_services/src/grpc_client/dynamic_routing/success_rate_client.rs",
"crates/router/src/core/payments/routing.rs",
"proto/success_rate.proto"
] | |
juspay/hyperswitch | juspay__hyperswitch-8634 | Bug: [FEATURE] add profile acquirer module
### Feature Description
add profile acquirer create API, which allows us to create profile acquirer with the following fields
- profile_id
- acquirer_assigned_merchant_id
- merchant_name
- merchant_country_code
- network
- acquirer_bin
- acquirer_ica
- acquirer_fraud_rate
... | diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin.rs
index 5ab7eae75f0..07f3e2431fa 100644
--- a/crates/api_models/src/admin.rs
+++ b/crates/api_models/src/admin.rs
@@ -2427,6 +2427,10 @@ pub struct ProfileResponse {
#[schema(default = false, example = false)]
pub is_pre_network_tokeni... | 2025-05-27T11:08:05Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [x] New feature
## Description
<!-- Describe your changes in detail -->
added merchant acquirer create and list module
### Additional Changes
- [ ] This PR modifies the API contract
- [x] This PR modifies the database schema
- [ ] This PR mo... | 5ce2ab2d059d48a0f8305d65f45c7960c6939803 |
Create a merchant account
Once done create merchant_acquirer
Request
```shell
curl --location 'localhost:8080/profile_acquirer' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_rDKEInoZiJlNIfJPYNuqBMC2EOJjegGylLbzRMDw6kmSxV0FztdYfLcSoWZD6ZsT' \
--data '{
"acquirer_assigned_merchant... | [
"crates/api_models/src/admin.rs",
"crates/api_models/src/lib.rs",
"crates/api_models/src/profile_acquirer.rs",
"crates/common_types/src/domain.rs",
"crates/common_utils/src/events.rs",
"crates/common_utils/src/id_type.rs",
"crates/common_utils/src/id_type/profile_acquirer.rs",
"crates/common_utils/src... | |
juspay/hyperswitch | juspay__hyperswitch-8142 | Bug: chore(docs): remove old add_connector.md file
Remove old add_connector.md file | diff --git a/add_connector.md b/add_connector.md
index 4d6e885b7ed..4ee8c895656 100644
--- a/add_connector.md
+++ b/add_connector.md
@@ -1,384 +1,314 @@
-# Guide to Integrate a Connector
+# Guide to Integrating a Connector
+
+## Table of Contents
+
+1. [Introduction](#introduction)
+2. [Prerequisites](#prerequisites)
+... | 2025-05-26T11:59:28Z | ## 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 old add_connector.md file
### Additional Changes
... | 5642080025524ed2dee363984359aa9275036035 | [
"add_connector.md",
"add_connector_updated.md"
] | ||
juspay/hyperswitch | 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 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... | 2025-05-26T11:30:40Z | ## 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 ... | 5642080025524ed2dee363984359aa9275036035 |
-> Update the business profile to set is_debit_routing_enabled to true whereas the merchant_business_country will still be null.
```
curl --location 'http://localhost:8080/account/merchant_1748264799/business_profile/pro_15JiSFiM9m6TM3yuxgMI' \
--header 'Content-Type: application/json' \
--header 'Accept: applica... | [
"crates/router/src/core/debit_routing.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8134 | Bug: [FEAT] [CONNECTOR: NORDEA] Implement SEPA Bank Debit
## Relevant Docs
- [Access Authorization API](https://developer.nordeaopenbanking.com/documentation?api=Access%20Authorization%20API) (To get Access Token)
- [Payments API SEPA Credit Transfer](https://developer.nordeaopenbanking.com/documentation?api=Payme... | diff --git a/Cargo.lock b/Cargo.lock
index c38b3966051..474d6d6f1d5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4048,6 +4048,7 @@ dependencies = [
"mime",
"num-traits",
"openssl",
+ "pem",
"qrcode",
"quick-xml",
"rand 0.8.5",
@@ -5692,9 +5693,9 @@ dependencies = [
[[package]]
name = "pem"
-version = "3... | 2025-05-25T16:18:23Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [x] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [x] Documentation
- [ ] CI/CD
## Description
<!-- Describe your changes in detail -->
### Summary
This PR introduces Nordea as a new payment con... | 06dc66c62e33c1c56c42aab18a7959e1648d6fae |
<details>
<summary>MCA</summary>
```curl
curl --location 'http://localhost:8080/account/postman_merchant_GHAction_1752842696/connectors' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_DL49cxo4k5VbOYIabte7WgRsu9xTmB6in77WVBxdN8nPRWMqzFb5ISd3mGocJC... | [
"Cargo.lock",
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/api_models/src/admin.rs",
"crates/common_enums/src/connector_enums.rs",
... | |
juspay/hyperswitch | juspay__hyperswitch-8129 | Bug: chore: address Rust 1.87.0 clippy lints
Address the clippy lints occurring due to new rust version 1.87.0
See https://github.com/juspay/hyperswitch/issues/3391 for more information. | diff --git a/crates/external_services/src/email/ses.rs b/crates/external_services/src/email/ses.rs
index f8e941b57b5..bc813b7d644 100644
--- a/crates/external_services/src/email/ses.rs
+++ b/crates/external_services/src/email/ses.rs
@@ -54,7 +54,7 @@ impl SESConfig {
pub enum AwsSesError {
/// An error occurred i... | 2025-05-23T19:28:56Z | ## Type of Change
- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [x] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
<!-- Describe your changes in detail -->
This PR addresses the clippy lints occurring due to new rust version 1.87.0
https://rust-lang.github.io... | e272e7ab23845b664857ee729bb0eb7d05faac36 |
CI checks should pass as this PR addresses clippy lints.
1. ran `rustc --version`
<img width="381" alt="Screenshot 2025-05-24 at 5 18 56 AM" src="https://github.com/user-attachments/assets/dfb59d28-3085-4e96-b3b9-2bd635086356" />
3. ran `just clippy` with new rust version (1.87.0)
<img width="1004" alt="Screens... | [
"crates/external_services/src/email/ses.rs",
"crates/kgraph_utils/src/error.rs",
"crates/kgraph_utils/src/transformers.rs",
"crates/masking/src/serde.rs",
"crates/router/src/bin/router.rs",
"crates/router/src/core/payments/helpers.rs"
] | |
juspay/hyperswitch | 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 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>,... | 2025-05-23T13:44:25Z | ## 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... | e272e7ab23845b664857ee729bb0eb7d05faac36 |
1. Payments Create
2. Payments Confirm
3. Payments Retrieve
```
curl --location 'http://localhost:8080/v2/payments/12345_pay_0196fd5c3d7a7502a39002fd8ce86a03?force_sync=true' \
--header 'x-profile-id: pro_zpak30UxH06EvzDWoXsW' \
--header 'Authorization: api-key=dev_Qi7ZsoVS4uccUf9Zy3pbS3eqvHjledzayfBn3i74bi... | [
"crates/hyperswitch_domain_models/src/payments.rs",
"crates/hyperswitch_domain_models/src/router_data.rs",
"crates/router/src/core/payments.rs",
"crates/router/src/core/payments/operations/payment_get.rs",
"crates/router/src/core/payments/operations/payment_response.rs",
"crates/router/src/core/payments/t... | |
juspay/hyperswitch | juspay__hyperswitch-8122 | Bug: [BUG] Fiuu connector does not return error_code and error_message for failed FPX transactions
### Bug Description
Currently, Fiuu connector is not returning error_code and error_message for failed FPX transactions. This is returned during redirection back to HS but not during PSync. However, this is being not ... | diff --git a/crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs b/crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
index 367f800a1d4..d05654265fd 100644
--- a/crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
+++ b/crates/hyperswitch_connectors/src/connectors/fiuu/transfo... | 2025-05-23T10:47:15Z | ## 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 -->
Fixed Fiuu connector to properly handle and return `error_code`... | caa07235029a012af4f7106515f64025cf68d12d |
Steps for testing -
<details>
<summary>1. Add Fiuu connector and enable FPX</summary>
cURL
curl --location --request POST 'http://localhost:8080/account/merchant_1747931797/connectors' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--... | [
"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8118 | Bug: [FEATURE]: Enable client_secret auth for payments - Get Intent [v2]
Required for SDK | diff --git a/crates/router/src/routes/payments.rs b/crates/router/src/routes/payments.rs
index 36c8b727b5a..2df62a36e17 100644
--- a/crates/router/src/routes/payments.rs
+++ b/crates/router/src/routes/payments.rs
@@ -232,10 +232,16 @@ pub async fn payments_get_intent(
header_payload.clone(),
... | 2025-05-23T08:40:35Z | ## 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 support for `client_secret` authentication in `Payments -... | 9f9fef492b775e22b2d489c3eb89ba3409fbd4ce |
- Request:
```
curl --location 'http://localhost:8080/v2/payments/12345_pay_0196fc47794a7a81b64346c96b71be4d/get-intent' \
--header 'x-profile-id: pro_pbRrpRVsI1yMUsyNhmrC' \
--header 'Authorization: publishable-key=pk_dev_41285e1d1b2a4998b1d9192874583289,client-secret=cs_0196fc4779ac7fe2826efc5ea6a2be24' \
--... | [
"crates/router/src/routes/payments.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8113 | Bug: feat(dynamic_routing): add get api for dynamic routing volume split
| diff --git a/crates/api_models/src/events/routing.rs b/crates/api_models/src/events/routing.rs
index 750bfde2710..f1ba35bd9f3 100644
--- a/crates/api_models/src/events/routing.rs
+++ b/crates/api_models/src/events/routing.rs
@@ -7,8 +7,9 @@ use crate::routing::{
RoutingAlgorithmId, RoutingConfigRequest, RoutingDic... | 2025-05-22T16:54:51Z | ## 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 a new feature for retrieving dynam... | e637b214e348216d30c9af59cce85a1264badebf |
1. Create merchant account and api_key
2. Using the default profile created during merchant account creation, hit below api to set volume split
```
curl --location --request POST 'http://localhost:8080/account/merchant_1747932999/business_profile/pro_kXrizzzc7yklUW8sfxXz/dynamic_routing/set_volume_split?split=50... | [
"crates/api_models/src/events/routing.rs",
"crates/api_models/src/routing.rs",
"crates/openapi/src/openapi.rs",
"crates/router/src/core/routing.rs",
"crates/router/src/routes/app.rs",
"crates/router/src/routes/routing.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8115 | Bug: feat: list for dynamic routing
### Context
**The dashboard required changes**
- get api for dynamic routing is inplace
- list active Dynamic routing
- Refactor volume split response | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 956d6d6697c..5933e3d0538 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -8375,6 +8375,54 @@
},
"additionalProperties": false
},
+ "ContractBasedRoutingCon... | 2025-05-22T11:13:41Z | ## 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 introduces support for listing both static and dynamic routing algorithms under a unified API i... | e272e7ab23845b664857ee729bb0eb7d05faac36 |
### Curls for testing the flows:
1. Create a static rule:
```
curl --location 'http://127.0.0.1:8080/routing' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_IpYFqCd4DHf7x4ER1GBQrW0mHOZzam3pYyuP2tSRb6q7qvTw7jvEjF7UzjwFPXWu' \
--data '
{
"name": "Priority rule with fallback",
"d... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/admin.rs",
"crates/api_models/src/events/routing.rs",
"crates/api_models/src/payouts.rs",
"crates/api_models/src/routing.rs",
"crates/openapi/src/openapi.rs",
"crates/openapi/src/openapi_v2.rs",
"crates/router/src/compatibility/stripe/paymen... | |
juspay/hyperswitch | juspay__hyperswitch-8105 | Bug: make `is_debit_routing_enabled` optional in profile general update
is_debit_routing_enabled field is a business profile field introduced in this [pr](https://github.com/juspay/hyperswitch/pull/7470). It is made a mandatory field in the business profile update and is being set as false in case of RoutingAlgorith... | diff --git a/crates/diesel_models/src/business_profile.rs b/crates/diesel_models/src/business_profile.rs
index 4cb36d5685c..0bc52b33189 100644
--- a/crates/diesel_models/src/business_profile.rs
+++ b/crates/diesel_models/src/business_profile.rs
@@ -178,7 +178,7 @@ pub struct ProfileUpdateInternal {
pub card_testin... | 2025-05-21T17:27:53Z | ## 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 -->
is_debit_routing_enabled field is a business profile field in... | 6fc50b67295a5682b9433b17399c09a57be664f2 |
1. Create a business profile and set `is_debit_routing_enabled` to true
```
curl --location 'http://localhost:8080/account/merchant_1747852121/business_profile/pro_dJ37X4BXujuveLBLSZAV' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: <api-key>' \
--data '... | [
"crates/diesel_models/src/business_profile.rs",
"crates/hyperswitch_domain_models/src/business_profile.rs",
"crates/router/src/core/admin.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8097 | Bug: refactor(success_rate): update the default configs
update the default settings of success based | diff --git a/crates/api_models/src/routing.rs b/crates/api_models/src/routing.rs
index c929bb3ea5d..e1802ab56f5 100644
--- a/crates/api_models/src/routing.rs
+++ b/crates/api_models/src/routing.rs
@@ -889,12 +889,12 @@ impl Default for SuccessBasedRoutingConfig {
Self {
params: Some(vec![DynamicRo... | 2025-05-21T12:02:57Z | ## 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 modifies the default configuration for `Succe... | 5f5998fb07dfd72c8360c97919dfa56ba25de205 |
1. Toggle success based routing for a profile, Check the business profile table in DB, get the routing_algorithm_id active for that profile and check in routing_algorithm table. it should have default config as above numbers
```
curl --location --request POST 'http://localhost:8080/account/merchant_1747851996/bus... | [
"crates/api_models/src/routing.rs",
"crates/router/src/core/payments/routing.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8091 | Bug: Pre-configuring an account in the local setup using docker
Pre-configuring an account in the local setup using docker | diff --git a/README.md b/README.md
index fd211f33552..05764933882 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,9 @@ Single API to access the payments ecosystem and its features
<a href="https://join.slack.com/t/hyperswitch-io/shared_invite/zt-2jqxmpsbm-WXUENx022HjNEy~Ark7Orw">
<img src="https://img.shiel... | 2025-05-21T06:46:32Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
<!-- Describe your changes in detail -->
Enhanced the script to pre-configure a user and a dummy connect... | 7c1d893c91d22d7402504513d79fc94e0315dd10 |
<img width="1306" alt="Screenshot 2025-05-21 at 2 17 17 PM" src="https://github.com/user-attachments/assets/1ab1766c-c124-4a52-afb6-1e3aae48a6c1" />
<img width="606" alt="Screenshot 2025-05-21 at 2 17 30 PM" src="https://github.com/user-attachments/assets/03e03b28-71b3-4ebf-b8b7-642d6db1d1a7" />
| [
"README.md",
"scripts/setup.sh"
] | |
juspay/hyperswitch | juspay__hyperswitch-8089 | Bug: [FEATURE]: Save Payment Method on Payments Confirm (V2)
Add functionality to save a payment method after a successful payment | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index e3b41ce3899..b0a60046574 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -3043,7 +3043,7 @@
"content": {
"application/json": {
"schema": {
-... | 2025-05-21T05:40:55Z | ## 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 a field `payment_token` to customer PML response
- Dur... | 835a425ded2cf26b9a3f69f29c3a26a41603b2de |
1. Confirm Intent Request:
```
curl --location 'http://localhost:8080/v2/payments/12345_pay_01971c02c9f176a3b60be16df712bfc3/confirm-intent' \
--header 'x-client-secret: cs_01971c02ca147f11baea8a2521618052' \
--header 'x-profile-id: pro_W5FEDaNZ8OqqVDgFXgfg' \
--header 'Authorization: publishable-key=pk_dev_08... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/events/payment.rs",
"crates/api_models/src/payment_methods.rs",
"crates/api_models/src/payments.rs",
"crates/diesel_models/src/payment_attempt.rs",
"crates/hyperswitch_domain_models/src/payment_method_data.rs",
"crates/hyperswitch_domain_model... | |
juspay/hyperswitch | juspay__hyperswitch-8084 | Bug: [FEATURE] Add api-key support for routing APIs
### Feature Description
Need to add api-key auth for all routing APIs
### Possible Implementation
Just need to change auth implementation on handler
### Have you spent some time checking if this feature request has been raised before?
- [x] I checked and didn'... | diff --git a/crates/router/src/core/routing/helpers.rs b/crates/router/src/core/routing/helpers.rs
index c65a8c6b9ec..e5cbd1b653f 100644
--- a/crates/router/src/core/routing/helpers.rs
+++ b/crates/router/src/core/routing/helpers.rs
@@ -1752,10 +1752,13 @@ where
let algo_type_enabled_features = algo_type.get_enabl... | 2025-05-20T11:36:55Z | ## 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 -->
Added api-key auth for routing APIs
Earlier, all routing endpo... | 344dcd6e43022c3e5479629b57bff255b903d5b5 |
Test all routing APIs with api-key auth
1. Create routing config (`/routing`)
2. List routing config (`/routing`)
3. List active routing config (`/routing/active`)
4. List for profile (`/routing/list/profile`)
5. activate config (`routing/:id/activate`)
6. retrieve config (`routing/:id`)
7. deactivate (`routi... | [
"crates/router/src/core/routing/helpers.rs",
"crates/router/src/routes/routing.rs"
] | |
juspay/hyperswitch | 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` | 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... | 2025-05-20T10:53:08Z | ## 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... | d91cf70ae346cbf613ce5c1cfad2ae8a28c71d1c | Cannot be tested locally.
| [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml"
] | |
juspay/hyperswitch | 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... | 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... | 2025-05-20T08:40:02Z | ## 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... | e62f8ee8aba4ba05041b221e9af6f30100fdefcb | Can only be tested in production.
| [
"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs",
"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8078 | Bug: [BUG] failing 3DS transactions for Redsys
### Bug Description
Redsys 3ds card transactions are failing in production with following error
```
Error code - SIS0653
Error message - Operacion de autenticacion rechazada, browserJavascriptEnabled no indicado
```
### Expected Behavior
Redsys 3ds card transactions... | 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... | 2025-05-20T08:40:02Z | ## 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... | e62f8ee8aba4ba05041b221e9af6f30100fdefcb | Can only be tested in production.
| [
"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs",
"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8067 | Bug: [FEATURE] [Barclaycard] Implement Card Flows
### Feature Description
Implement card flows for Barclaycard
### Possible Implementation
Implement card flows for Barclaycard
### Have you spent some time checking if this feature request has been raised before?
- [x] I checked and didn't find a similar issue
#... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 00e3e7bc4ff..08b4860a5f4 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -8016,6 +8016,7 @@
"bambora",
"bamboraapac",
"bankofamerica",
+ "barcl... | 2025-05-19T04:39:22Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Closes this [issue](https://github.com/juspay/hyperswitch/issues/8067)
## Description
<!-- Describe your changes in d... | 3a451907a45035e40a04c335531a5b69414b3e04 |
Postman Tests
1. Payment Connector - Create
Request:
```
curl --location 'http://localhost:8080/account/merchant_1747726068/connectors' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: ••••••' \
--data '{
"connector_type": "payment_processor",... | [
"api-reference-v2/openapi_spec.json",
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/common_enums/src/connector_enums.rs",
"crates/conn... | |
juspay/hyperswitch | juspay__hyperswitch-8037 | Bug: [FEATURE] Revolut pay wallet integration for stripe
### Feature Description
Docs: https://docs.stripe.com/payments/revolut-pay
API: https://docs.stripe.com/api/payment_methods/create?api-version=2025-04-30.basil
### Possible Implementation
- integrate Revolut pay
### Have you spent some time checking if thi... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 956d6d6697c..1ef5d7ef462 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -16854,7 +16854,8 @@
"mifinity",
"open_banking_pis",
"direct_carrier_billing",
... | 2025-05-18T11:17:59Z | ## 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 -->
Implement `revolut_pay` for stripe
### Additional Changes
... | 5642080025524ed2dee363984359aa9275036035 | 1. Enable revolut pay wallet in stripe https://dashboard.stripe.com/test/settings/payment_methods/pmc_1ROdpjB97BExDDPTOZMrPWhw
<img width="1728" alt="Screenshot 2025-05-15 at 2 46 27 PM" src="https://github.com/user-attachments/assets/6a629470-4057-4940-aa31-7b15d4e1eee2" />
2. test locally with stripe api if paym... | [
"api-reference-v2/openapi_spec.json",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"crates/api_models/src/payments.rs",
"crates/common_enums/src/enums.rs",
"crates/common_enums/src/transformers.rs",
"crates/connector_configs/toml/development.toml"... | |
juspay/hyperswitch | juspay__hyperswitch-8064 | Bug: [CHORE] FIX TYPOS IN THE REPO
Its been months since the typos in the repo being unaddressed.
This has resulted in negligence leading to even more typos being introduced. | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 00e3e7bc4ff..956d6d6697c 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -9017,7 +9017,7 @@
],
"nullable": true
},
- "encypted_payload": {
... | 2025-05-17T07:43:29Z | ## 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 updates all the typos in the repository. For referenc... | 8e9bad6457449ef2a435be03a9f97acc2dd2108a |
```sh
cargo +nightly fmt --all && just clippy && just clippy_v2
```
| [
"api-reference-v2/openapi_spec.json",
"config/dashboard.toml",
"crates/api_models/src/payments.rs",
"crates/common_types/src/payment_methods.rs",
"crates/common_utils/src/macros.rs",
"crates/common_utils/src/types.rs",
"crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs",
"crates/h... | |
juspay/hyperswitch | 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` | 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... | 2025-05-16T12:01:10Z | ## 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... | 3d095cec0cfc96ef907694be99087cc3668ba4b7 | [
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml"
] | ||
juspay/hyperswitch | juspay__hyperswitch-8055 | Bug: [FEATURE] [CONNECTOR] Nordea
Integrate a new connector Nordea.
Developer Docs: https://developer.nordeaopenbanking.com/documentation
Login Dashboard: https://developer.nordeaopenbanking.com/login
| diff --git a/config/config.example.toml b/config/config.example.toml
index 5bc55238294..52ee69bec10 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -245,6 +245,7 @@ nexixpay.base_url = "https://xpaysandbox.nexigroup.com/api/phoenix-0.0/psp/api/v
nmi.base_url = "https://secure.nmi.com/"
nom... | 2025-05-16T09:39:31Z | ## 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 -->
Connector template code for new connector `Nordea`.
Develo... | 151b57fa104259df174a38d863acab39277c8473 |
This is a template PR for Nordea, just checked for compilation. Nothing else to test.
| [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/common_enums/src/connector_enums.rs",
"crates/connector_configs/src/connector.rs",
"crat... | |
juspay/hyperswitch | juspay__hyperswitch-8045 | Bug: [FEATURE] Decision Engine Config API integration
### Feature Description
Need to integrate config APIs of Decision Engine with Hyperswitch
### Possible Implementation
We'll update the dynamic routing config API flows to incorporate the decision engine calls as well.
### Have you spent some time checking if ... | diff --git a/crates/api_models/src/open_router.rs b/crates/api_models/src/open_router.rs
index f80623efc64..f15d9cbcfeb 100644
--- a/crates/api_models/src/open_router.rs
+++ b/crates/api_models/src/open_router.rs
@@ -9,6 +9,7 @@ pub use euclid::{
},
};
use serde::{Deserialize, Serialize};
+use utoipa::ToSchema;
... | 2025-05-15T12:16:45Z | ## 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 integrates the decision engine config APIs
The integra... | d1fe2841c188a80b3bf46850540827844e1a426c |
1. Create a merchant account (Call to Decision Engine should be made for merchant creation)
<img width="791" alt="image" src="https://github.com/user-attachments/assets/d01b64a5-9767-4fb2-ae88-8ebbe187dafe" />
2. Toggle SR config (Call to Decision Engine should be made for SR config creation)
```
curl --locatio... | [
"crates/api_models/src/open_router.rs",
"crates/api_models/src/routing.rs",
"crates/openapi/src/openapi.rs",
"crates/router/src/core/admin.rs",
"crates/router/src/core/payments/routing.rs",
"crates/router/src/core/payments/routing/utils.rs",
"crates/router/src/core/routing.rs",
"crates/router/src/core... | |
juspay/hyperswitch | juspay__hyperswitch-8040 | Bug: [REFACTOR] Refactor API Event Metric implementation for refunds v2 apis
Refactor API Event Metric implementation for refunds v2 apis for logging and analytics. | diff --git a/crates/api_models/src/events/refund.rs b/crates/api_models/src/events/refund.rs
index 08c6dd52c39..7a50af69284 100644
--- a/crates/api_models/src/events/refund.rs
+++ b/crates/api_models/src/events/refund.rs
@@ -22,13 +22,6 @@ impl ApiEventMetric for RefundRequest {
}
}
-#[cfg(feature = "v2")]
-imp... | 2025-05-15T10:23:25Z | ## 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 adds support for API Event Metric logging, the events w... | 3a451907a45035e40a04c335531a5b69414b3e04 |
- This will be tested when kafka and clickhouse is enabled for v2.
| [
"crates/api_models/src/events/refund.rs",
"crates/common_utils/src/events.rs",
"crates/diesel_models/src/refund.rs",
"crates/router/src/core/refunds_v2.rs",
"crates/router/src/routes/refunds.rs"
] | |
juspay/hyperswitch | 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 | 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... | 2025-05-14T10:53:34Z | ## 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... | 46e830a87f60c1c2117c4b48a1c2ecbb6cf9e4d7 |
Ran clippy and tested multiple endpoints in the `router` binary
| [
"Cargo.lock",
"crates/diesel_models/Cargo.toml",
"crates/drainer/Cargo.toml",
"crates/router/Cargo.toml",
"crates/storage_impl/Cargo.toml"
] | |
juspay/hyperswitch | 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... | 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!(
... | 2025-05-14T10:49:54Z | ## 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... | 46e830a87f60c1c2117c4b48a1c2ecbb6cf9e4d7 | Steps for testing -
<details>
<summary>1. Create a payment with non alphanumeric characters in payment ID</summary>
cURL
curl --location --request POST 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--head... | [
"crates/router/src/services/api.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8015 | Bug: [FEATURE] Barclaycard: Add template PR
### Feature Description
Barclaycard: Add template PR
### Possible Implementation
Barclaycard: Add template PR
### 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 C... | diff --git a/config/config.example.toml b/config/config.example.toml
index 6be49be237f..c735da47d89 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -188,6 +188,7 @@ authorizedotnet.base_url = "https://apitest.authorize.net/xml/v1/request.api"
bambora.base_url = "https://api.na.bambora.com"
... | 2025-05-13T11:10:18Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Closes this [issue](https://github.com/juspay/hyperswitch/issues/8015)
## Description
<!-- Describe your changes in d... | e62f8ee8aba4ba05041b221e9af6f30100fdefcb |
Only template PR hence no testing required
| [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/common_enums/src/connector_enums.rs",
"crates/connector_configs/src/connector.rs",
"crat... | |
juspay/hyperswitch | juspay__hyperswitch-8008 | Bug: refactor(connector): move stripe connector from router crate to hyperswitch_connectors
Move code related to stripe connector from router crate to hyperswitch_connectors | diff --git a/crates/hyperswitch_connectors/src/connectors.rs b/crates/hyperswitch_connectors/src/connectors.rs
index 009bec8c92a..b3b0f21b1b6 100644
--- a/crates/hyperswitch_connectors/src/connectors.rs
+++ b/crates/hyperswitch_connectors/src/connectors.rs
@@ -78,6 +78,7 @@ pub mod shift4;
pub mod signifyd;
pub mod s... | 2025-05-13T05:06:47Z | ## 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 -->
Move stripe connector code form `router` crate to `hyperswitch_... | 9d78c583f6c299ab9f63e551b887d1cb080106b4 |
- Create a stripe Connector account
```sh
curl --location 'http://localhost:8080/account/merchant_1747113313/connectors' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'x-feature: integ-custom' \
--header 'api-key: ******* ' \
--data '{
"connector_type": "p... | [
"crates/hyperswitch_connectors/src/connectors.rs",
"crates/router/src/connector/stripe.rs",
"crates/router/src/connector/stripe/transformers.rs",
"crates/router/src/connector/stripe/transformers/connect.rs",
"crates/hyperswitch_connectors/src/constants.rs",
"crates/hyperswitch_connectors/src/default_imple... | |
juspay/hyperswitch | juspay__hyperswitch-7974 | Bug: [FEATURE] add validations for API models
### Feature Description
Some of the fields in API requests are passed as is to the DB for storing them. The problem is that DB mostly has length constraints which usually leads to 5xx in the API response.
This behavior is incorrect as it should be a 4xx error (incorrec... | diff --git a/Cargo.lock b/Cargo.lock
index 2f690549217..85eb9fb2345 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6586,6 +6586,7 @@ dependencies = [
"serde_json",
"strum 0.26.3",
"syn 2.0.100",
+ "url",
"utoipa",
]
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs
index b313a3... | 2025-05-12T12:20:56Z | ## 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 adds automatic validation for string length constraints defined in schema attributes. The validat... | e62f8ee8aba4ba05041b221e9af6f30100fdefcb | <details>
<summary>1. Added unit test cases for the macro</summary>
<img width="1025" alt="Screenshot 2025-05-12 at 5 50 33 PM" src="https://github.com/user-attachments/assets/1659f4aa-6918-4db4-be3c-fd241dc0bf49" />
</details>
<details>
<summary>2. Pass invalid return_url (length exceeding 255 cha... | [
"Cargo.lock",
"crates/api_models/src/payments.rs",
"crates/router/src/routes/payments.rs",
"crates/router/tests/macros.rs",
"crates/router_derive/Cargo.toml",
"crates/router_derive/src/lib.rs",
"crates/router_derive/src/macros.rs",
"crates/router_derive/src/macros/schema.rs",
"crates/router_derive/s... | |
juspay/hyperswitch | juspay__hyperswitch-7997 | Bug: [FEATURE]: Send whole connector response in confirm and psync call
### Feature Description
Send whole connector response in confirm and psync call
### Possible Implementation
Add `all_keys_required` in confirm and psync payload. If `all_keys_required` is passed as `true`, send the whole connector response.
... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index b475142a570..6d52decc7ca 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -16935,6 +16935,11 @@
"type": "boolean",
"description": "If enabled provides list of a... | 2025-05-09T13:20:44Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
closes this [issue](https://github.com/juspay/hyperswitch/issues/7997)
## Description
<!-- Describe your changes in d... | 140d15bcbd0e74ddaacd8dbe074b5ff755879ffa |
Postman Test
Confirm call (with `all_keys_required` passed as `true`)
Request (taking AuthorizeDotNet as connector)
```
curl --location 'http://localhost:8080/payments/pay_MsmPKoZNKAk0zpoBuA5Z/confirm' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'all_key... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/payments.rs",
"crates/hyperswitch_connectors/src/utils.rs",
"crates/hyperswitch_domain_models/src/router_data.rs",
"crates/hyperswitch_interfaces/src/conversion_impls.rs",
"crates/router/src/compatibility/stripe/payment_intents.rs",
"crates/ro... | |
juspay/hyperswitch | juspay__hyperswitch-7995 | Bug: [FEATURE]: Add coingate, paystack connector specifications
### Feature Description
Add coingate, paystack connector specifications
### Possible Implementation
Add coingate, paystack connector specifications
### Have you spent some time checking if this feature request has been raised before?
- [x] I checke... | diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml
index 17d346b9518..42f9a1abeec 100644
--- a/config/deployments/integration_test.toml
+++ b/config/deployments/integration_test.toml
@@ -673,6 +673,12 @@ apple_pay = { country = "AD,AE,AG,AL,AM,AO,AR,AT,AU,AZ,BA,BB,BD,BE,BG,... | 2025-05-09T11:30:58Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Closes this [issue](https://github.com/juspay/hyperswitch/issues/7995)
## Description
<!-- Describe your changes in d... | 40fd473989b04f70c1dc78025a555a972ffe2596 |
Postman Test
Request:
```
curl --location 'http://localhost:8080/feature_matrix' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: ***'
```
Response:
```
{
"connector_count": 2,
"connectors": [
{
"name": "COINGATE... | [
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/hyperswitch_connectors/src/connectors/coingate.rs",
"crates/hyperswitch_connectors/src/connectors/paystack.rs",
"loadtes... | |
juspay/hyperswitch | 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 ... | 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... | 2025-05-09T09:28:34Z | 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 ... | 3cdb9e174ca384704781a4c56e826c3a5e39d295 |
Only removed unused util functions hence no testing required.
| [
"crates/router/src/connector/utils.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7981 | Bug: [BUG] consider only the language for locale for translations
### Bug Description
`Accept-Language` header is meant for passing locales in the API requests.
Sample - `es-ES`
In application, the value of this header is consumed as is for language translations (for payment and payout links). However, the langu... | diff --git a/crates/router/locales/en-GB.yml b/crates/router/locales/en_gb.yml
similarity index 100%
rename from crates/router/locales/en-GB.yml
rename to crates/router/locales/en_gb.yml
diff --git a/crates/router/locales/fr-BE.yml b/crates/router/locales/fr_be.yml
similarity index 100%
rename from crates/router/locale... | 2025-05-09T08:21:34Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
Fix the locale handling in the payment and payout links translation functionality to properly support langu... | 3cdb9e174ca384704781a4c56e826c3a5e39d295 |
<details>
<summary>1. Create a payment link with es-ES in Accept-Language header</summary>
cURL
curl --location --request POST 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Accept-Language: es-ES... | [
"crates/router/locales/en-GB.yml",
"crates/router/locales/fr-BE.yml",
"crates/router/src/core/payment_link/locale.js",
"crates/router/src/services/api/generic_link_response/context.rs"
] | |
juspay/hyperswitch | 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 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... | 2025-05-08T11:33:59Z | ## 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... | fafe4d99286f4aaf3965b23a9e06648f3a43b108 |
### bancontact_card
<details>
<summary>create payment intent</summary>
request:
```curl
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Accept-Language: ja' \
--header 'api-key: dev_12v5OB2ziszoDZL6Nl9nxI... | [
"crates/router/src/connector/stripe/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7988 | Bug: [BUG] Add feature flags and db methods for refunds v2 to non kv config
Add feature flags and db methods for refunds v2 to non kv config.
Currently the compilation fails if we disable the `kv_store` feature flag | diff --git a/crates/router/src/db/refund.rs b/crates/router/src/db/refund.rs
index 7d9a8703169..eead49c12da 100644
--- a/crates/router/src/db/refund.rs
+++ b/crates/router/src/db/refund.rs
@@ -91,7 +91,7 @@ pub trait RefundInterface {
offset: i64,
) -> CustomResult<Vec<diesel_models::refund::Refund>, erro... | 2025-05-08T10:19:43Z | ## 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 contains support for db calls that are used in refunds ... | 06c5215c0edf0ed47cc55fd5216c4642cc515f37 |
- Go to router crate's `Cargo.toml`, in default_common under features, remove `kv_store`
- Use `just run_v2` to run the app.
- Create Refund API Call
```
curl --location 'http://localhost:8080/v2/refunds' \
--header 'X-Profile-Id: pro_qxkJLjzL3XeuzDKGsp1S' \
--header 'Content-Type: application/json' \
--head... | [
"crates/router/src/db/refund.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7985 | Bug: [BUG] Update Metadata for connectors other than stripe throws 500
### Bug Description
Update metadata gives 500 error for other connectors than stripe
Need to change this to 400
```sh
curl --location 'http://localhost:8080/payments/pay_fvWhpXtZwWZSE1JfTUI4/update_metadata' \
--header 'Content-Type: application... | diff --git a/crates/router/src/core/payments/flows/update_metadata_flow.rs b/crates/router/src/core/payments/flows/update_metadata_flow.rs
index 9281775e393..f9a6790356a 100644
--- a/crates/router/src/core/payments/flows/update_metadata_flow.rs
+++ b/crates/router/src/core/payments/flows/update_metadata_flow.rs
@@ -30,... | 2025-05-08T08:53:44Z | ## 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 -->
Update metadata gives `500` error for other connectors than str... | a4a564fee2782947e3d75ed20d4b18f9b45e7e8a |
- Make a successful payment using any connector other than stripe
- make update metadata request
```sh
curl --location 'http://localhost:8080/payments/pay_X77ffJsUvEW94JadFVpw/update_metadata' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_bTSpZN98PG... | [
"crates/router/src/core/payments/flows/update_metadata_flow.rs",
"crates/router/src/core/payments/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7967 | Bug: [FEATURE]: Add refunds list feature in v2 apis
Add refunds list feature in v2 apis | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index b6d6fb87e27..59d5f5437c2 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -3306,6 +3306,43 @@
]
}
},
+ "/v2/refunds/list": {
+ "get": {
+ "tags": [
+ ... | 2025-05-06T09:49:44Z | ## 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 introduces support for listing refunds in v2 apis.
A... | 1e243fada10f430d317c666d81483ae3246afd83 |
Create some payments and refunds before hand.
- List all refunds API call
```
curl --location --request GET 'http://localhost:8080/v2/refunds/list' \
--header 'x-profile-id: pro_PiIU0MSYNuU5kS96H0kV' \
--header 'Content-Type: application/json' \
--header 'Authorization: api-key=dev_nG2oG32R2dnadMOvkwfRyl0j1YB... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/refunds.rs",
"crates/hyperswitch_domain_models/Cargo.toml",
"crates/hyperswitch_domain_models/src/refunds.rs",
"crates/openapi/src/openapi_v2.rs",
"crates/openapi/src/routes/refunds.rs",
"crates/router/Cargo.toml",
"crates/router/src/core/re... | |
juspay/hyperswitch | juspay__hyperswitch-7960 | Bug: refactor(open_router): call elimination routing of open router if enabled instead of dynamo
| diff --git a/crates/api_models/src/routing.rs b/crates/api_models/src/routing.rs
index a683e3343aa..fddeda6088c 100644
--- a/crates/api_models/src/routing.rs
+++ b/crates/api_models/src/routing.rs
@@ -643,6 +643,17 @@ impl DynamicRoutingAlgorithmRef {
self.dynamic_routing_volume_split = volume
}
+ pu... | 2025-05-05T12:20:16Z | ## 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 significant updates to the dynamic... | 18142a4fdb1f81e4b493067b669a68576bac5d08 |
Since the feature cannot be deployed in main pod, this can be tested through custom pod which I can help with
| [
"crates/api_models/src/routing.rs",
"crates/router/src/core/errors.rs",
"crates/router/src/core/payments.rs",
"crates/router/src/core/payments/operations/payment_response.rs",
"crates/router/src/core/payments/routing.rs",
"crates/router/src/core/routing/helpers.rs"
] | |
juspay/hyperswitch | 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 ... | 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... | 2025-05-05T10:23:35Z | ## 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.... | 31e109a9a1367ef53786c146604b31fca69b15ef |
WASM shouldn't break now.
closes #7957
| [
"crates/connector_configs/toml/development.toml",
"crates/connector_configs/toml/production.toml",
"crates/connector_configs/toml/sandbox.toml"
] | |
juspay/hyperswitch | juspay__hyperswitch-7952 | Bug: [FIX] Re-revert changes done in `pr#7866` by `pr#7882`
### Context
[PR#7882](https://github.com/juspay/hyperswitch/pull/7882) accidentally reverted changes made in [PR#7882](https://github.com/juspay/hyperswitch/pull/7866), which was a merchant critical PR.
### Proposed Fix
Re revert the changes. | diff --git a/crates/router/src/core/payment_methods/cards.rs b/crates/router/src/core/payment_methods/cards.rs
index 5749715e51b..c228975faac 100644
--- a/crates/router/src/core/payment_methods/cards.rs
+++ b/crates/router/src/core/payment_methods/cards.rs
@@ -3485,61 +3485,6 @@ pub async fn list_payment_methods(
... | 2025-05-05T09:22:23Z | ## 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 -->
Context
https://github.com/juspay/hyperswitch/pull/7882 accide... | 31e109a9a1367ef53786c146604b31fca69b15ef |
- Create MA and an MCA with wallets
- Create a payment and Save one wallet (eg: Paypal)
- Create a new payment intent
- List the Merchant PML again, Paypal would still be there
##### cURL
```bash
curl --location 'http://localhost:8080/account/payment_methods?client_secret={{client_secret}}' \
--header 'Accept... | [
"crates/router/src/core/payment_methods/cards.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7971 | Bug: refactor(Connector): [signifyd,threedsecureio,wellsfargopayout,wise] move from routers to hyperswitch_connectors
Move the following connectors from crates/router to crates/hyperswitch_connectors
signifyd
threedsecureio
wellsfargopayout
wise
| diff --git a/Cargo.lock b/Cargo.lock
index 39154406f6e..1c2f7d2c22e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3854,10 +3854,13 @@ dependencies = [
"hyperswitch_domain_models",
"hyperswitch_interfaces",
"image",
+ "iso_currency",
+ "isocountry",
"josekit 0.8.6",
"lazy_static",
"masking",
"mime",
+ "num-... | 2025-05-05T09:17:29Z | ## 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 -->
Move the following connectors from `crates/router` to `crates/h... | 40fd473989b04f70c1dc78025a555a972ffe2596 |
### WISE
```sh
curl --location 'http://localhost:8080/account/merchant_1746603147/connectors' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'x-feature: integ-custom' \
--header 'api-key: dev_vE5MxDUUu9eQJ7AMwI4vD9nVj3IlxZy1qdpct9JB7Mt3j2mbYF7jLyjMz8KvAq94' \
-... | [
"Cargo.lock",
"crates/hyperswitch_connectors/Cargo.toml",
"crates/hyperswitch_connectors/src/connectors.rs",
"crates/hyperswitch_connectors/src/connectors/signifyd.rs",
"crates/router/src/connector/signifyd/transformers.rs",
"crates/router/src/connector/signifyd/transformers/api.rs",
"crates/hyperswitch... | |
juspay/hyperswitch | 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 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... | 2025-04-30T09:54:19Z | ## 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... | c90625a4ea163e03895276a04ec3a23d4117413d |
Confirm Request:
```
curl --location 'http://localhost:8080/v2/payments/12345_pay_0198d09ccd8a77729274a5c3858e13f3/confirm-intent' \
--header 'x-profile-id: pro_TVu6gSPZXAVEa2h0JCRe' \
--header 'x-client-secret: cs_0198d09cce0774338628683873a2db9d' \
--header 'Authorization: publishable-key=pk_dev_17e15cb353... | [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/hyperswitch_connectors/src/connectors/vgs.rs",
"crates/hyperswitch_connectors/src/connecto... | |
juspay/hyperswitch | juspay__hyperswitch-7933 | Bug: Persist Last Used Lineage Context in Database Instead of Redis
Currently, the **last used lineage context** (org_id, merchant_id, profile_id, role_id, tenant_id) is cached temporarily in Redis with a 7-day TTL.
While this improves user experience across sessions, it introduces problems like:
- Redis is volatile... | diff --git a/crates/api_models/src/user/theme.rs b/crates/api_models/src/user/theme.rs
index 29b6a5d81b9..0616a5aa220 100644
--- a/crates/api_models/src/user/theme.rs
+++ b/crates/api_models/src/user/theme.rs
@@ -2,7 +2,7 @@ use actix_multipart::form::{bytes::Bytes, text::Text, MultipartForm};
use common_enums::Entity... | 2025-04-29T19:00:30Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [x] New feature
- [x] Enhancement
- [x] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
<!-- Describe your changes in detail -->
Previously, the user's `lineage_context` (userid, org_id, merch... | 839eb2e8fb436ec0a79fe0073923fcb060b42cfc |
<img width="1732" alt="Screenshot 2025-04-29 at 11 45 43 PM" src="https://github.com/user-attachments/assets/77a3ab50-add4-4091-b291-0bbe178bf617" />

#### Test Case 1: Lineage Context Caching on Login
1. Log in as a u... | [
"crates/api_models/src/user/theme.rs",
"crates/common_utils/src/types.rs",
"crates/common_utils/src/types/user.rs",
"crates/common_utils/src/types/user/core.rs",
"crates/common_utils/src/types/theme.rs",
"crates/diesel_models/src/query/user/theme.rs",
"crates/diesel_models/src/schema.rs",
"crates/dies... | |
juspay/hyperswitch | juspay__hyperswitch-7939 | Bug: [FEATURE]: Add support for updating elimination config
### Feature Description
Add a new route for updating elimination config in the database when it is toggled.
### Possible Implementation
Add a new route for updating elimination config in the database when it is toggled.
### Have you spent some time chec... | diff --git a/crates/api_models/src/events/routing.rs b/crates/api_models/src/events/routing.rs
index 122d1f8d3c8..c9fa118f596 100644
--- a/crates/api_models/src/events/routing.rs
+++ b/crates/api_models/src/events/routing.rs
@@ -2,9 +2,10 @@ use common_utils::events::{ApiEventMetric, ApiEventsType};
use crate::routi... | 2025-04-29T12:29:00Z | ## 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 a new route for updating the elimination routing config whe... | 9da96e890c5168692c2c2a73ac8c9b6f43ec7274 |
1. Toggle elimination routing
request
```
curl --location --request POST 'http://localhost:8080/account/merchant_174600xxxx/business_profile/pro_h9ecR6baV3b1eDvfxxxB/dynamic_routing/elimination/toggle?enable=metrics' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'a... | [
"crates/api_models/src/events/routing.rs",
"crates/api_models/src/routing.rs",
"crates/router/src/core/routing.rs",
"crates/router/src/routes/app.rs",
"crates/router/src/routes/routing.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7936 | Bug: [FIX]: Fix error message while using generic filter
Fix error message while using generic filter | 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... | 2025-04-29T11:21:35Z | ## 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 ... | 212ac27057762f9d4cd2073d93c2216f61711cfe |
Tested it with dropping `organization_id` column in refund table while trying to create refund.
According to current implementation, we are raising not found error which is incorrect because it is not displaying the right cause.
<img width="1637" alt="Screenshot 2025-04-29 at 4 24 40 PM" src="https://github.com/use... | [
"crates/diesel_models/src/query/generics.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7931 | Bug: Modify User-related Redis Operations to Use Global Tenant Prefix
Currently, user-related data in Redis (such as SSO IDs, TOTP codes, email token blacklists, lineage_context etc.) is using tenant-specific prefixes like `public:` or `public_v2:`.
This causes issues when users use different versions or environment... | diff --git a/crates/router/src/db.rs b/crates/router/src/db.rs
index b0d86839a5d..4120edb957f 100644
--- a/crates/router/src/db.rs
+++ b/crates/router/src/db.rs
@@ -155,8 +155,10 @@ pub trait GlobalStorageInterface:
+ user_role::UserRoleInterface
+ user_key_store::UserKeyStoreInterface
+ role::RoleInterf... | 2025-04-29T10:47:52Z |
## 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 updates all **user-related Redis operations** to cons... | b04ccafe48394fad86bf072b2e3a74626cc26550 |
Used the dashboard and then signed out.
<img width="520" alt="Screenshot 2025-04-29 at 3 52 37 PM" src="https://github.com/user-attachments/assets/6ea3fde2-5e1a-4afd-8855-434bfc99d7da" />
As it is evident in the screenshot, blacklist functions, and lineage context now use `global:` prefix while setting the key in r... | [
"crates/router/src/db.rs",
"crates/router/src/db/kafka_store.rs",
"crates/router/src/routes/app.rs",
"crates/router/src/services/authentication/blacklist.rs",
"crates/router/src/services/authorization.rs",
"crates/router/src/services/openidconnect.rs",
"crates/router/src/utils/user.rs",
"crates/router... | |
juspay/hyperswitch | juspay__hyperswitch-8000 | Bug: Feat(euclid): Hyperswitch integration with decision engine
## Description
This PR integrates the Euclid-based decision engine with Hyperswitch’s dynamic routing infrastructure. It enables dual routing logic: legacy DSL-based evaluation and decision-engine-backed configurations. The integration ensures routing ... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 12c30cc61f0..197f9fdbda8 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -21668,6 +21668,10 @@
}
],
"nullable": true
+ },
+ "d... | 2025-04-29T10:13:40Z | ## 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 integrates the Euclid-based decision engine with Hyperswitch’s dynamic routing infrastructure. ... | 04dc14a93022d03d74b02ae244ee8bb8afa50c27 |
Here is the complete testing [guidelines](https://docs.google.com/document/d/1xL3EJdMoCLXP5epOeqNsNYvqFqlJyhxss3LahQQ5xGU/edit?usp=sharing).
| [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/routing.rs",
"crates/diesel_models/src/routing_algorithm.rs",
"crates/diesel_models/src/schema.rs",
"crates/router/src/core/payments/routing.rs",
"crates/router/src/core/payments/routing/utils.rs",
"crates/router/src/core/routing.rs",
"crate... | |
juspay/hyperswitch | juspay__hyperswitch-7929 | Bug: add debit routing support for saved card flow
Once debit routing is performed for a card and the card is saved in the payment, we can also store the debit routing output. This allows us to reuse the saved data in future saved card flows instead of re-running the debit routing process. | diff --git a/crates/api_models/src/open_router.rs b/crates/api_models/src/open_router.rs
index ce0960f04ea..f80623efc64 100644
--- a/crates/api_models/src/open_router.rs
+++ b/crates/api_models/src/open_router.rs
@@ -1,6 +1,6 @@
use std::{collections::HashMap, fmt::Debug};
-use common_utils::{id_type, types::MinorUn... | 2025-04-29T07:15:49Z | ## 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 -->
Once debit routing is performed for a card and the card is save... | b0ad3ef5cde30078aa5f51258b9ff6e190079417 |
Tested locally by creating dummy co-badged card bin dump
-> Create a merchant account and business profile
-> Enable debit routing and provide merchant business country for the business profile
```
curl --location 'http://localhost:8080/account/merchant_1745690754/business_profile/pro_OiJkBiFuCYbYAkCG9X02' \
--h... | [
"crates/api_models/src/open_router.rs",
"crates/api_models/src/payment_methods.rs",
"crates/common_enums/src/enums.rs",
"crates/hyperswitch_domain_models/src/payment_method_data.rs",
"crates/hyperswitch_domain_models/src/payment_methods.rs",
"crates/router/src/core/debit_routing.rs",
"crates/router/src/... | |
juspay/hyperswitch | juspay__hyperswitch-7920 | Bug: Refactor(routing): Fallback to current active routing algorithm
Add connectors from the current active routing algorithm before fallback connectors | diff --git a/crates/router/src/core/payments.rs b/crates/router/src/core/payments.rs
index 1b7249cfa44..1c0dd9a3499 100644
--- a/crates/router/src/core/payments.rs
+++ b/crates/router/src/core/payments.rs
@@ -6475,7 +6475,7 @@ where
}
if let Some(routing_algorithm) = request_straight_through {
- let ... | 2025-04-28T11:32:14Z | ## 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 modifies critical paths , specifically the `decide_conn... | 15df5ac651682b4e4403cea3b0ef58fd9a90f0ec |
Stripe and Adyen created with credit disabled for stripe
1. Payment Connector Create
- Stripe with credit card disabled
```
curl --location 'http://localhost:8080/account/merchant_1747224808/connectors' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: d... | [
"crates/router/src/core/payments.rs"
] | |
juspay/hyperswitch | 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" | 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(... | 2025-04-28T10:14:54Z | ## 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... | 5d26b85639913c1d9b9f3d26fe92c2bb3bc0a2a1 |
Request:
```
curl --location 'http://localhost:8080/v2/payment-methods-session/12345_pms_01967bcef78f75a08017231cb1264185/confirm' \
--header 'x-profile-id: pro_tvEpY9HoDhpoef5zuFhB' \
--header 'Authorization: publishable-key=pk_dev_cebd8389548b40edba3e0046680b54e8,client-secret=cs_01967bcef78f75a08017232bf96... | [
"crates/router/src/core/payments/helpers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-8070 | Bug: [FEATURE] Add support for multiple retry algorithms in revenue recovery workflow #7
Add support for Process tracker revenue recovery workflow to support multiple retry algorithms.
- The retry algorithm is a runtime config
| diff --git a/config/config.example.toml b/config/config.example.toml
index 6be49be237f..a81d79c52e8 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -1065,6 +1065,10 @@ url = "http://localhost:8080" # Open Router URL
[billing_connectors_invoice_sync]
billing_connectors_which_requi... | 2025-04-28T09:12:37Z | ## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
- This PR adds support for updating the retry Algorithm from Monitoring to Smart , once the threshold i... | 344dcd6e43022c3e5479629b57bff255b903d5b5 | - Create a MA and a Billing connector
- The retry_Algorithm type in business profile will be switched to Monitoring
- Once the time in the revenue_recovery_config is surpassed , the `retry_Algorithm type` field in business profile will be updated to Cascading
: Migrate [AdyenPlatform, Ebanx, GPayments, Netcetera, Plaid] from crates/router to crates/hyperswitch_connectors
Migrate connectors form router crate to hyperswitch_connectors crate | diff --git a/Cargo.lock b/Cargo.lock
index 068bb1cecb7..39154406f6e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3877,6 +3877,7 @@ dependencies = [
"strum 0.26.3",
"time",
"unicode-normalization",
+ "unidecode",
"url",
"urlencoding",
"uuid",
@@ -6551,7 +6552,6 @@ dependencies = [
"totp-rs",
"tracing-fut... | 2025-04-28T06:27:15Z | ## 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 -->
Moving connectors from `crates/router` to `crates/hyperswitch_c... | 31e109a9a1367ef53786c146604b31fca69b15ef |
**PLAID** REF PR : https://github.com/juspay/hyperswitch/pull/3952
1. create plaid MCA
```sh
curl --location 'http://localhost:8080/account/merchant_1745827786/connectors' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'x-feature: integ-custom' \
--header 'api-ke... | [
"Cargo.lock",
"crates/hyperswitch_connectors/Cargo.toml",
"crates/hyperswitch_connectors/src/connectors.rs",
"crates/router/src/connector/adyenplatform.rs",
"crates/router/src/connector/adyenplatform/transformers.rs",
"crates/router/src/connector/adyenplatform/transformers/payouts.rs",
"crates/hyperswit... | |
juspay/hyperswitch | juspay__hyperswitch-7912 | Bug: [FEATURE] : [CONNECTOR] Add paypal, trustpay, nomupay in feature matrix
Add paypal, trustpay, nomupay in feature matrix | diff --git a/config/config.example.toml b/config/config.example.toml
index 023298e9571..6b10aadfc87 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -703,6 +703,21 @@ duit_now = { country = "MY", currency = "MYR" }
[pm_filters.trustpay]
instant_bank_transfer = { country = "CZ,SK,GB,AT,DE,IT... | 2025-04-27T12:10:53Z | ## 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 paypal, trustpay, nomupay connectors in feature matrix
... | 288da4e43376f4e94521a9c356c9e890d2bf0405 |
```
curl --location 'http://localhost:8080/feature_matrix' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_jQNBYCfN5R0473yldj23Yl7HsGbCctexthWkELSAMAGpjCxKAspb2fcQDP1KmMJz'
```
Response:
```
{
"connector_count": 2,
"connectors": [
... | [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/hyperswitch_connectors/src/connectors/paypal.rs",
"crates/hyperswitch_connectors/src/conne... | |
juspay/hyperswitch | juspay__hyperswitch-7543 | Bug: add support for cost based debit routing
For every payment that occurs, there are three fees associated with the network:
1. Network Fee
Every network has its own network fee structure, which typically includes both a percentage (% of the amount) and a fixed fee. For each payment, the respective network will c... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 76b65a1433e..b475142a570 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -7334,7 +7334,11 @@
"UnionPay",
"Interac",
"RuPay",
- "Maestro"
+ ... | 2025-04-25T13:45:19Z | ## 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 -->
A debit card can be linked to multiple card networks, with one ... | 34dd99d8050a84f0478cdb4fa0f0cc83608e52d9 |
Tested locally by creating dummy co-badged card bin dump
-> Create a merchant account and business profile
-> Enable debit routing and provide merchant business country for the business profile
```
curl --location 'http://localhost:8080/account/merchant_1745690754/business_profile/pro_OiJkBiFuCYbYAkCG9X02' \
--h... | [
"api-reference-v2/openapi_spec.json",
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/api_models/src/lib.rs",
"crates/api_models/src/open_router.rs",
"crates/api_models/src/p... | |
juspay/hyperswitch | juspay__hyperswitch-7507 | Bug: Add support for co-badged cards info lookup for debit routing
A debit card can be linked to multiple card networks, with one serving as the primary (international) network and the others as secondary (local) networks. In debit routing, payments will be processed through the local network based on the merchant's... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 76b65a1433e..b475142a570 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -7334,7 +7334,11 @@
"UnionPay",
"Interac",
"RuPay",
- "Maestro"
+ ... | 2025-04-25T13:45:19Z | ## 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 -->
A debit card can be linked to multiple card networks, with one ... | 34dd99d8050a84f0478cdb4fa0f0cc83608e52d9 |
Tested locally by creating dummy co-badged card bin dump
-> Create a merchant account and business profile
-> Enable debit routing and provide merchant business country for the business profile
```
curl --location 'http://localhost:8080/account/merchant_1745690754/business_profile/pro_OiJkBiFuCYbYAkCG9X02' \
--h... | [
"api-reference-v2/openapi_spec.json",
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/api_models/src/lib.rs",
"crates/api_models/src/open_router.rs",
"crates/api_models/src/p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.