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 0 234k | base_commit stringlengths 40 40 | test_instructions stringlengths 0 232k | filenames listlengths 0 300 |
|---|---|---|---|---|---|---|---|---|---|
juspay/hyperswitch | juspay__hyperswitch-5806 | Bug: feat(analytics): add card_network as a field in clickhouse payment_attempts table
Add `card_network` as a field in clickhosue `payment_attempts.sql` file. | diff --git a/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql b/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql
index 5c1ee8754c9..f5d0ca51fd7 100644
--- a/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql
+++ b/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql
@@ -42,... | 2024-09-05T08:24:47Z |
## Description
<!-- Describe your changes in detail -->
Added card_network as a field in payment_attempts clickhouse table
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
... | db04ded4a460abfb073167d59b3c51a4e7972c54 |
Made sample payments on sandbox dashboard and confirmed the data for card_network on clickhouse sandbox


| [
"crates/analytics/docs/clickhouse/scripts/payment_attempts.sql"
] | |
juspay/hyperswitch | juspay__hyperswitch-5809 | Bug: [FEATURE] add support to forward x-request-id to keymanager service
### Feature Description
To ease debugging the keymanager service, x-request-id from application should be forwarded in the header while calling encryption service. This will be used by the keymanager service for the requests instead of creatin... | diff --git a/crates/common_utils/Cargo.toml b/crates/common_utils/Cargo.toml
index eee1bd573ef..c6e29801b2f 100644
--- a/crates/common_utils/Cargo.toml
+++ b/crates/common_utils/Cargo.toml
@@ -12,6 +12,7 @@ default = ["v1"]
keymanager = ["dep:router_env"]
keymanager_mtls = ["reqwest/rustls-tls"]
encryption_service =... | 2024-09-05T07:02:28Z |
## Description
To ease debugging the keymanager service, x-request-id from application will be forwarded in the header while calling encryption service. This will be used by the keymanager service for the requests instead of creating one of its own.
### Additional Changes
- [ ] This PR modifies the API contra... | d3a1703bf59afc06e87e94433bc10a01e413259b | Manually enabling logging in the key manager. x-request-id from the router can be used for debugging key manger service.

<img width="423" alt="Screenshot 2024-09-05 at 12 30 00 PM" src="https://git... | [
"crates/common_utils/Cargo.toml",
"crates/common_utils/src/keymanager.rs",
"crates/common_utils/src/types/keymanager.rs",
"crates/router/Cargo.toml",
"crates/router/src/types/domain/types.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5802 | Bug: [BUG] Fix errors on Payment methods v2
### Feature Description
Fix errors on Payment methods v2
### Possible Implementation
Fix errors on Payment methods v2
### 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 re... | diff --git a/crates/router/Cargo.toml b/crates/router/Cargo.toml
index e9c9d504b47..7da8327b5b8 100644
--- a/crates/router/Cargo.toml
+++ b/crates/router/Cargo.toml
@@ -36,7 +36,7 @@ v2 = ["customer_v2", "payment_methods_v2", "payment_v2", "common_default", "api_
v1 = ["common_default", "api_models/v1", "diesel_models... | 2024-09-05T06:31:14Z |
## Description
<!-- Describe your changes in detail -->
Build was failing so Fixed errors on payment_methods_v2 for the build to succeed.
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment vari... | db04ded4a460abfb073167d59b3c51a4e7972c54 | [
"crates/router/Cargo.toml"
] | ||
juspay/hyperswitch | juspay__hyperswitch-5796 | Bug: feat(payments): show aggregate count of refund status
| diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 6b9ba4afd01..923881ae376 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -15715,6 +15715,22 @@
}
}
},
+ "RefundAggregateResponse": {
+ "type": "ob... | 2024-09-04T11:12:56Z |
## Description
Added new api for refunds status aggregate
### Additional Changes
- [x] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with corresponding changes.
Followin... | aa2f5d147561f6e996228d269e6a54c5d1f53a60 | Request
```
curl --location 'http://localhost:8080/refunds/aggregate?start_time=2022-08-28T18%3A30%3A00Z' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiZjNmYzEyNjYtZDQ2MS00NWU3LWFkMzEtODdlMDA4ZWVlYjZjIiwibWVyY2hhbnRfaWQiOiJtZXJjaGF... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/events/refund.rs",
"crates/api_models/src/refunds.rs",
"crates/openapi/src/openapi.rs",
"crates/openapi/src/openapi_v2.rs",
"crates/router/src/core/refunds.rs",
"crates/router/src/db/kafka_store.rs",
"crates/router/src/db/refund.rs",
"crat... | |
juspay/hyperswitch | juspay__hyperswitch-5792 | Bug: feat(users): Add profile level invites
Currently invites are at merchant level only. Invite, accept invite and accept invite from email should change because of this. | diff --git a/crates/api_models/src/user.rs b/crates/api_models/src/user.rs
index a0dadfea217..78157f62bc5 100644
--- a/crates/api_models/src/user.rs
+++ b/crates/api_models/src/user.rs
@@ -51,9 +51,6 @@ pub struct AuthorizeResponse {
//this field is added for audit/debug reasons
#[serde(skip_serializing)]
... | 2024-09-04T10:51:33Z |
## Description
<!-- Describe your changes in detail -->
- Removed preferred_merchant_id from update user API.
- Invites will work at profile level as well.
- Handle internal users in list APIs
- Org List for internal users will throw error.
- Merchant list will list merchants.
- Profile list will list pro... | 1c39cc1262e6b2521669639ae296211b7ebefd86 |
All the following APIs should work without any issues.
- Invite multiple
- Accept invite from email
- Accept invite
- Merchant select
- List orgs for user will throw the following error
```
{
"error": {
"type": "invalid_request",
"message": "User Role Operation Not Supported",
... | [
"crates/api_models/src/user.rs",
"crates/api_models/src/user_role.rs",
"crates/diesel_models/src/schema.rs",
"crates/diesel_models/src/schema_v2.rs",
"crates/diesel_models/src/user.rs",
"crates/diesel_models/src/user_role.rs",
"crates/router/src/core/user.rs",
"crates/router/src/core/user_role.rs",
... | |
juspay/hyperswitch | juspay__hyperswitch-5782 | Bug: skip 3DS in `network_transaction_id` flow for cybersource
During the MIT with cybersource connector we check if the connector mandate details are present. If is present then we make a no_three_ds api request. Same check needs to be added in case of network transaction id flow as MIT can be done using card detai... | diff --git a/crates/router/src/connector/cybersource.rs b/crates/router/src/connector/cybersource.rs
index 15242ddb119..806cf67b2da 100644
--- a/crates/router/src/connector/cybersource.rs
+++ b/crates/router/src/connector/cybersource.rs
@@ -901,7 +901,8 @@ impl ConnectorIntegration<api::Authorize, types::PaymentsAuthor... | 2024-09-03T08:20:40Z |
## Description
<!-- Describe your changes in detail -->
During the MIT with cybersource connector we check if the connector mandate details are present. If is present then we make a no_three_ds api request. Same check needs to be added in case of network transaction id flow as MIT can be done using card details and ... | e3a9fb16c518d09313d00a23ece70a26d4728f63 |
-> Create mca of cybersource
-> enable the `is_connector_agnostic_mit_enabled` config
```
curl --location 'http://localhost:8080/account/merchant_1725355756/business_profile/pro_jQJ4qqk9cMEsOfzx4jjP' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key:' \
--d... | [
"crates/router/src/connector/cybersource.rs",
"crates/router/src/connector/cybersource/transformers.rs",
"crates/router/src/connector/utils.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5776 | Bug: feat(user_role): add support to get user role details v2
Add support to return user role details v2
Request will take email and response will return something like
```
[
{
role_id: "r1",
role_name: "name",
org: {
name: "Juspay",
id: "o1"
},
merchant: { // Optional
... | diff --git a/crates/api_models/src/events/user.rs b/crates/api_models/src/events/user.rs
index 8d1ae60b325..9b100a7321e 100644
--- a/crates/api_models/src/events/user.rs
+++ b/crates/api_models/src/events/user.rs
@@ -14,11 +14,11 @@ use crate::user::{
ChangePasswordRequest, ConnectAccountRequest, CreateInternalUse... | 2024-09-02T20:08:54Z |
## Description
Add support to get user role details
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with corresponding changes.
Following are ... | 28e7a7fc5e49029dc5e7a367bb4d2a946ed1fe45 | Request:
```
curl --location 'http://localhost:8080/user/user/v2' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer JWT' \
--data-raw '{
"email": "some_email"
}'
```
Response
```
[
{
"role_id": "org_admin",
"org": {
"name": null,
... | [
"crates/api_models/src/events/user.rs",
"crates/api_models/src/user.rs",
"crates/router/src/core/user.rs",
"crates/router/src/routes/app.rs",
"crates/router/src/routes/user.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5767 | Bug: feat(connector): [Thunes] Template for thunes payout
### Feature Description
Template connector code for Thunes payout connector
### Possible Implementation
Want to connect thunes with hyperswitch
### Have you spent some time checking if this feature request has been raised before?
- [X] I checked and didn... | diff --git a/config/config.example.toml b/config/config.example.toml
index 052b10d0b90..afdbdc954b6 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -253,6 +253,7 @@ stax.base_url = "https://apiprod.fattlabs.com/"
stripe.base_url = "https://api.stripe.com/"
taxjar.base_url = "https://api.sa... | 2024-09-02T12:11:31Z |
## Description
Template connector code for Thunes payout
<!-- Describe your changes in detail -->
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the fi... | aa2f5d147561f6e996228d269e6a54c5d1f53a60 | Template PR
| [
"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/enums.rs",
"crates/common_enums/src/enums.rs",
"crates/hyperswitch_connec... | |
juspay/hyperswitch | juspay__hyperswitch-5773 | Bug: [FEATURE] [DEUTSCHEBANK] Add template code
### Feature Description
Template code needs to be added for new connector Deutsche Bank
https://testmerch.directpos.de/rest-api/apidoc/v2.1/index.html
### Possible Implementation
Template code needs to be added for new connector Deutsche Bank
https://testmerch.dir... | diff --git a/config/config.example.toml b/config/config.example.toml
index b54cd0df0d1..c02402c0471 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -202,6 +202,7 @@ coinbase.base_url = "https://api.commerce.coinbase.com"
cryptopay.base_url = "https://business-sandbox.cryptopay.me"
cybersou... | 2024-09-02T11:57:57Z |
## Description
<!-- Describe your changes in detail -->
Template code for new connector Deutsche Bank
https://testmerch.directpos.de/rest-api/apidoc/v2.1/index.html
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application co... | 1d149716ba47d3e3f4c749687cff851e18ec77c0 |
Only template code added 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/api_models/src/enums.rs",
"crates/common_enums/src/enums.rs",
"crates/hyperswitch_connec... | |
juspay/hyperswitch | juspay__hyperswitch-5770 | Bug: feat(user): new invitations api
New api to list invitations for users (not just limited to merchant accounts).
Api should be compatibly with work with user jwt token and single purpose jwt token. | diff --git a/crates/api_models/src/user_role.rs b/crates/api_models/src/user_role.rs
index 4718da28d27..e4819b74fbc 100644
--- a/crates/api_models/src/user_role.rs
+++ b/crates/api_models/src/user_role.rs
@@ -1,5 +1,6 @@
use common_enums::PermissionGroup;
use common_utils::pii;
+use masking::Secret;
pub mod role;
... | 2024-09-02T09:26:13Z |
## Description
New APIs to list of invitations for a user.
<!-- Describe your changes in detail -->
### Additional Changes
- [X] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the ... | 1d149716ba47d3e3f4c749687cff851e18ec77c0 | ```sh
curl --location 'localhost:8080/user/list/invitation' \
--header 'Authorization: Bearer <JWT>' \
```
Response
```json
[
{
"entity_id": "juspay2",
"entity_type": "merchant",
"entity_name": null,
"role_id": "merchant_view_only"
}
]
```
| [
"crates/api_models/src/user_role.rs",
"crates/diesel_models/src/query/user_role.rs",
"crates/diesel_models/src/user_role.rs",
"crates/router/src/core/user.rs",
"crates/router/src/core/user_role.rs",
"crates/router/src/db/kafka_store.rs",
"crates/router/src/db/user_role.rs",
"crates/router/src/routes/a... | |
juspay/hyperswitch | juspay__hyperswitch-5768 | Bug: fix spell check for CI pull request
Rename `ApplePayDecryptConifg` to `ApplePayDecryptConfig` as the CI spell checks are failing. | diff --git a/crates/router/src/configs/secrets_transformers.rs b/crates/router/src/configs/secrets_transformers.rs
index 312a475b8ba..c7d08d6f5ac 100644
--- a/crates/router/src/configs/secrets_transformers.rs
+++ b/crates/router/src/configs/secrets_transformers.rs
@@ -137,7 +137,7 @@ impl SecretsHandler for settings::A... | 2024-09-02T07:37:56Z |
## Description
<!-- Describe your changes in detail -->
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with corresponding changes.
Followin... | e4f1fbc5a5622a86c3e3c27ae20e4b7b05f0a7ef | [
"crates/router/src/configs/secrets_transformers.rs",
"crates/router/src/configs/settings.rs"
] | ||
juspay/hyperswitch | juspay__hyperswitch-5765 | Bug: [FEATURE] extend dynamic fields support for payout use cases
### Feature Description
Dynamic fields helps SDK decide what fields are to be collected from the user. Dynamic fields are defined for a given pm<>pmt<>connector combination. These are attached in the pm list response. These fields are mapped in SDK a... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 6b9ba4afd01..256832c376d 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -3534,6 +3534,14 @@
{
"type": "object",
"properties": {
+ "for... | 2024-09-01T17:45:04Z |
## Description
This PR includes below changes
- add dynamic fields support for payout widget (#5765)
- expose `formLayout` option in payout link config - journey or tabs
### Additional Changes
- [x] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [x] This PR modifies applicati... | d5fee45ead11e9a03fd6fc15dfd8cf91de27eefa | Tested locally
<details>
<summary>1. Create a payout widget which uses journey layout</summary>
curl --location 'http://localhost:8080/payouts/create' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_6lYcIjzguBUudkK9bpoM3LZDod7RdE1wDJWzxwZhGLWWL6mlQIcfbUkXQgTAgj7e' \
--... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/admin.rs",
"crates/api_models/src/enums.rs",
"crates/api_models/src/payouts.rs",
"crates/common_enums/src/enums.rs",
"crates/common_utils/src/link_utils.rs",
"crates/diesel_models/src/business_profile.rs",
"crates/openapi/src/openapi.rs",
... | |
juspay/hyperswitch | juspay__hyperswitch-5762 | Bug: refactor(users): Add V2 user_roles data support
In V2 user_roles data, merchant_id will be null for org level users.
Currently in the BE, we throw 500 if merchant_id is not found in user_role.
So, we should fix this case and get merchant_id from db using org_id if merchant_id is not present in the user_role. | diff --git a/crates/api_models/src/events/user.rs b/crates/api_models/src/events/user.rs
index 590179c052c..8d1ae60b325 100644
--- a/crates/api_models/src/events/user.rs
+++ b/crates/api_models/src/events/user.rs
@@ -16,11 +16,11 @@ use crate::user::{
GetSsoAuthUrlRequest, GetUserAuthenticationMethodsRequest, GetU... | 2024-08-31T09:14:39Z |
## Description
<!-- Describe your changes in detail -->
- Deprecate all the APIs which are used when `is_token_only` and `groups` query params are false.
- Add logic to get merchant_id from the db if not found in user_role.
### Additional Changes
- [x] This PR modifies the API contract
- [ ] This PR modifies... | f7f5ba7c0bbf694dbeecec73f8383ac678dd4425 |
From the following endpoints, `token_only` query parameter is removed.
- `/v2/signin`
- `/reset_password`
- `/v2/verify_email`
- `/accept_invite_from_email`
- `/invite/accept` - Post only
All the above APIs will give the following response.
```
{
"token": "JWT",
"token_type": "type"
}
```
Fro... | [
"crates/api_models/src/events/user.rs",
"crates/api_models/src/events/user_role.rs",
"crates/api_models/src/user.rs",
"crates/api_models/src/user_role.rs",
"crates/api_models/src/user_role/role.rs",
"crates/router/src/core/user.rs",
"crates/router/src/core/user_role.rs",
"crates/router/src/core/user_r... | |
juspay/hyperswitch | juspay__hyperswitch-5761 | Bug: refactor(users): Deprecate unused APIs
For backwards compatibility, BE will not remove old APIs when adding new APIs.
We have to deprecate the APIs which are kept for backwards compatibility. This will make BE changes easier for user management changes.
These APIs include:
- All the APIs which are having `is_... | diff --git a/crates/api_models/src/events/user.rs b/crates/api_models/src/events/user.rs
index 590179c052c..8d1ae60b325 100644
--- a/crates/api_models/src/events/user.rs
+++ b/crates/api_models/src/events/user.rs
@@ -16,11 +16,11 @@ use crate::user::{
GetSsoAuthUrlRequest, GetUserAuthenticationMethodsRequest, GetU... | 2024-08-31T09:14:39Z |
## Description
<!-- Describe your changes in detail -->
- Deprecate all the APIs which are used when `is_token_only` and `groups` query params are false.
- Add logic to get merchant_id from the db if not found in user_role.
### Additional Changes
- [x] This PR modifies the API contract
- [ ] This PR modifies... | f7f5ba7c0bbf694dbeecec73f8383ac678dd4425 |
From the following endpoints, `token_only` query parameter is removed.
- `/v2/signin`
- `/reset_password`
- `/v2/verify_email`
- `/accept_invite_from_email`
- `/invite/accept` - Post only
All the above APIs will give the following response.
```
{
"token": "JWT",
"token_type": "type"
}
```
Fro... | [
"crates/api_models/src/events/user.rs",
"crates/api_models/src/events/user_role.rs",
"crates/api_models/src/user.rs",
"crates/api_models/src/user_role.rs",
"crates/api_models/src/user_role/role.rs",
"crates/router/src/core/user.rs",
"crates/router/src/core/user_role.rs",
"crates/router/src/core/user_r... | |
juspay/hyperswitch | juspay__hyperswitch-5759 | Bug: [FEATURE] [GLOBEPAY|POWERTRANZ|TSYS|WORLDLINE] Move connector code to crate hyperswitch_connectors
### Feature Description
Connector code for `globepay, powertranz, tsys, worldline` needs to be moved from crate `router` to new crate `hyperswitch_connectors`
### Possible Implementation
Connector code for `glo... | diff --git a/Cargo.lock b/Cargo.lock
index 4a37b597d30..30eb871a67f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3876,6 +3876,8 @@ dependencies = [
name = "hyperswitch_connectors"
version = "0.1.0"
dependencies = [
+ "actix-http",
+ "actix-web",
"api_models",
"async-trait",
"base64 0.22.0",
@@ -3883,9 +3885,14... | 2024-08-30T12:29:57Z |
## Description
<!-- Describe your changes in detail -->
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with corresponding changes.
Followin... | c03587f9c6e8ad444cebac92fd5134fe01c71728 |
1. Worldline:
Request:
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_CwqDbNztbMVSQb2nXB765MuZZ42QdqKJ5Bs4XPlC6s0e20sqfhi59GInfhqaRWLL' \
--data '{
"amount": 2980,
"currency": "GBP",
... | [
"Cargo.lock",
"crates/hyperswitch_connectors/Cargo.toml",
"crates/hyperswitch_connectors/src/connectors.rs",
"crates/router/src/connector/globepay.rs",
"crates/router/src/connector/globepay/transformers.rs",
"crates/router/src/connector/powertranz.rs",
"crates/router/src/connector/powertranz/transformer... | |
juspay/hyperswitch | juspay__hyperswitch-5753 | Bug: feat(roles): add support for roles list
- Add support to list all roles for a user. Roles which are equal and below given entity level should be listed
- Add support to list roles at a given entity level for a user. | diff --git a/crates/api_models/src/events/user_role.rs b/crates/api_models/src/events/user_role.rs
index f88c318477a..81b38198cfc 100644
--- a/crates/api_models/src/events/user_role.rs
+++ b/crates/api_models/src/events/user_role.rs
@@ -2,8 +2,9 @@ use common_utils::events::{ApiEventMetric, ApiEventsType};
use crate... | 2024-08-30T11:27:23Z |
## Description
Add support to
- List available roles with info for the user
- List roles at entity level for the user
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Pro... | 6b410505da3a2dbceaf6f07bb3f19f3ceef4efe2 | To List roles available roles in hierarchy with info:
```
curl --location 'http://localhost:8080/user/role/v2/list' \
--header 'Authorization: Bearer JWT'
```
Response
```
[
{
"role_id": "merchant_operator",
"role_name": "operator",
"entity_type": "merchant",
"groups": [
... | [
"crates/api_models/src/events/user_role.rs",
"crates/api_models/src/user.rs",
"crates/api_models/src/user_role.rs",
"crates/api_models/src/user_role/role.rs",
"crates/diesel_models/src/query/role.rs",
"crates/router/src/core/user_role.rs",
"crates/router/src/core/user_role/role.rs",
"crates/router/src... | |
juspay/hyperswitch | juspay__hyperswitch-5747 | Bug: Refactor: make the mca_id optional for PPT mandate flow
## Description
<!-- Describe your changes in detail -->
This refactor will make `mca_id` as optional in request and will completely remove the connector_name field, So the updation will make this request :
```
"recurring_details": {
"type": "p... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 6882e823905..ed591af7a6c 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -16052,19 +16052,15 @@
"type": "object",
"description": "Processor payment token for MIT payme... | 2024-08-29T10:59:00Z |
## Description
<!-- Describe your changes in detail -->
This refactor will make `mca_id` as optional in request and will completely remove the connector_name field, So the updation will make this request :
```
"recurring_details": {
"type": "processor_payment_token",
"data": {
"proce... | 2049ab055469a43c0cb2e543740571913a027eab |
1. create a merchant account.
2. create api_key.
3. create mca (stripe).
4. create a routing rule:
```
curl --location 'http://127.0.0.1:8080/routing' \
--header 'Content-Type: application/json' \
--header 'api-key: xxxxxxxxx' \
--data '{
"name": "advanced config",
"description": "It is my ADVANCED ... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/mandates.rs",
"crates/router/src/core/payments.rs",
"crates/router/src/core/payments/helpers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5742 | Bug: [REFACTOR] add domain type for routing id
add domain type for routing id | diff --git a/crates/api_models/src/routing.rs b/crates/api_models/src/routing.rs
index f9bcf3901b9..1416e985523 100644
--- a/crates/api_models/src/routing.rs
+++ b/crates/api_models/src/routing.rs
@@ -89,7 +89,8 @@ pub enum LinkedRoutingConfigRetrieveResponse {
#[derive(Debug, Clone, serde::Serialize, serde::Deseriali... | 2024-08-28T11:10:22Z |
## Description
add domain type for Routing id
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with corresponding changes.
Following are the ... | 32dd3f97ad094344d8bfe95f7cdcb5cff891990f | Tested Manually
Create, Update & Retrieve of outing and subsequent flows like payments sanity
| [
"crates/api_models/src/routing.rs",
"crates/common_utils/src/id_type.rs",
"crates/common_utils/src/id_type/routing.rs",
"crates/common_utils/src/lib.rs",
"crates/diesel_models/src/business_profile.rs",
"crates/diesel_models/src/query/routing_algorithm.rs",
"crates/diesel_models/src/routing_algorithm.rs"... | |
juspay/hyperswitch | juspay__hyperswitch-5731 | Bug: make customer details None in the `Psync` flow if the customer is deleted
If the customer is deleted after the payment is done the payments retrieve will fail as the customer details are redacted. But we should be able to retrieve a payment even is the customer details are redacted. | diff --git a/crates/router/src/core/payments/helpers.rs b/crates/router/src/core/payments/helpers.rs
index c2a14871a47..b9c89cd4387 100644
--- a/crates/router/src/core/payments/helpers.rs
+++ b/crates/router/src/core/payments/helpers.rs
@@ -1372,6 +1372,18 @@ pub async fn get_customer_from_details<F: Clone>(
todo!... | 2024-08-28T10:40:26Z |
## Description
<!-- Describe your changes in detail -->
If the customer is deleted after the payment is done the payments retrieve will fail as the customer details are redacted. But we should be able to retrieve a payment even is the customer details are redacted.
This pr contains the changes that will set the c... | 7296cceba351dccf13a71ef2479dba3f24e3c31f |
-> Make a card payment
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_RPC8caLJDX8s4AFPVxr0KCy6UOTSJNs7IjbfK9WmkDddIBTfibFPBuQxM4A1nKu0' \
--data-raw '{
"amount": 100,
"amount_to_capture": 1... | [
"crates/router/src/core/payments/helpers.rs",
"crates/router/src/core/payments/operations.rs",
"crates/router/src/core/payments/transformers.rs",
"crates/router/src/db/customers.rs",
"crates/router/src/db/kafka_store.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5725 | Bug: [BUG] Fix Routing activate Route
### Bug Description
When trying to hit the routing activate route , it was throwing a deserialisation error due to the passing a struct instead of a tuple struct
### Expected Behavior
When trying to hit the routing activate route ,it should not throw a error
### Actual Beha... | diff --git a/crates/router/src/core/routing.rs b/crates/router/src/core/routing.rs
index 267a3d55ce4..d5a3a96d155 100644
--- a/crates/router/src/core/routing.rs
+++ b/crates/router/src/core/routing.rs
@@ -428,18 +428,15 @@ pub async fn retrieve_routing_algorithm_from_algorithm_id(
state: SessionState,
merchan... | 2024-08-27T14:10:28Z |
## Description
fix routing routes for activating and retrieving the routing algorithms where not able to deserialise correctly due to the following [PR](https://github.com/juspay/hyperswitch/pull/5686)
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
... | 716d76c53e07327cd07844dd8b40f5be18c0df4b | - Create a MA and a MCa
- Create a Routing Rule
```
curl --location 'http://localhost:8080/routing' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_HIL1XwQlvsJtPbfaOoWrYPznXmFoKE2F0Sg2Kq58Rjnj8PsV5k51g33I6a8chvLN' \
--data '{
"profile_id": "pro_2ScZ3GfSL10mn5BMMuFH",
"name": "Brand b... | [
"crates/router/src/core/routing.rs",
"crates/router/src/routes/routing.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5721 | Bug: feat(users): List users in lineage API
- Currently user roles are grouped by user email in dashboard.
- Payload might look something like this
```json
[
{
"email": "e1",
"roles": [
{
"role_id": "r1",
"role_name": "name"
}
]
}
]
```
| diff --git a/crates/api_models/src/user.rs b/crates/api_models/src/user.rs
index 2547f082039..97d0c63fdf1 100644
--- a/crates/api_models/src/user.rs
+++ b/crates/api_models/src/user.rs
@@ -418,3 +418,15 @@ pub struct ListProfilesForUserInOrgAndMerchantAccountResponse {
pub profile_id: id_type::ProfileId,
pub ... | 2024-08-27T12:46:32Z |
## Description
<!-- Describe your changes in detail -->
- This PR adds a new API which will be used to list the users in the lineage.
- This PR also adds a db function for listing users in a particular org.
### Additional Changes
- [x] This PR modifies the API contract
- [ ] This PR modifies the database sch... | 32dd3f97ad094344d8bfe95f7cdcb5cff891990f |
```
curl --location 'http://localhost:8080/user/user/v2/list' \
--header 'Authorization: ••••••' \
```
If the JWT is of `org_admin`, it will list all the users in the org, else it will list all the users in merchant.
| [
"crates/api_models/src/user.rs",
"crates/common_enums/src/enums.rs",
"crates/common_utils/src/consts.rs",
"crates/diesel_models/src/query/user_role.rs",
"crates/diesel_models/src/user_role.rs",
"crates/router/src/consts/user_role.rs",
"crates/router/src/core/errors/user.rs",
"crates/router/src/core/us... | |
juspay/hyperswitch | juspay__hyperswitch-5720 | Bug: [FIX] Fix Mca create for v2
### Feature Description
fix merchant connector account create for v2 , by handling the case where defaull fallback is null ,while updating the it
### Possible Implementation
fix merchant connector account create for v2 , by handling the case where defaull fallback is null ,w... | diff --git a/crates/router/src/core/admin.rs b/crates/router/src/core/admin.rs
index 553de8c5608..ab20c1c68bf 100644
--- a/crates/router/src/core/admin.rs
+++ b/crates/router/src/core/admin.rs
@@ -4204,16 +4204,19 @@ impl BusinessProfileWrapper {
pub fn get_default_fallback_list_of_connector_under_profile(
... | 2024-08-27T10:30:40Z |
## Description
fix merchant connector account create for v2 , by handling the case where defaull fallback is null ,while updating the it
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment var... | 4585e16245dd49d8c0b877cda148524afe395009 | - Create a Organization
```
curl --location 'http://localhost:8080/v2/organization' \
--header 'Content-Type: application/json' \
--header 'api-key: test_admin' \
--data '{
"organization_name": "my_org"
}'
```
- Create a MA and then a profile
```
curl --location 'http://localhost:8080/v2/accounts' \
-... | [
"crates/router/src/core/admin.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5708 | Bug: [FEATURE] Add is_tax_conenctor_enabled boolean in pml response
### Feature Description
Add is_tax_conenctor_enabled boolean in pml response
### Possible Implementation
Get the is_tax_connector_enabled value from business_profile and pass it to pml response
### Have you spent some time checking if this featu... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 6b9ba4afd01..783d4751bc5 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -11073,7 +11073,8 @@
"payment_methods",
"mandate_payment",
"show_surcharge_brea... | 2024-08-27T07:12:50Z |
## Description
Added `skip_external_tax_calculation` boolean in payments create request that indicates whether tax to be calculated for this intent or not.
Added `is_tax_calculation_enabled` boolean value in `payment_methods_list` call response that checks both this `skip_external_tax_calculation` and `is_tax_connec... | 21352cf875e360c808562a15fcbb8d8c6a27ae50 | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/payment_methods.rs",
"crates/api_models/src/payments.rs",
"crates/diesel_models/src/payment_intent.rs",
"crates/diesel_models/src/schema.rs",
"crates/diesel_models/src/schema_v2.rs",
"crates/hyperswitch_domain_models/src/business_profile.rs",
... | ||
juspay/hyperswitch | juspay__hyperswitch-5706 | Bug: feat(opensearch): add profile_id and organization_id to /search APIs
Global Search is currently being done through the merchant_id authentication.
We have to enhance the global search to search through new hierarchical structure of OrgLevel, MerchantLevel and ProfileLevel.
Queries will now be of the following... | diff --git a/crates/analytics/src/opensearch.rs b/crates/analytics/src/opensearch.rs
index f3dd5eea441..7486ab50a51 100644
--- a/crates/analytics/src/opensearch.rs
+++ b/crates/analytics/src/opensearch.rs
@@ -24,7 +24,7 @@ use storage_impl::errors::ApplicationError;
use time::PrimitiveDateTime;
use super::{health_c... | 2024-08-27T05:25:37Z |
## Description
<!-- Describe your changes in detail -->
Global Search is currently being done through the `merchant_id` authentication.
Enhancing the global search to search through new hierarchical structure of OrgLevel, MerchantLevel and ProfileLevel.
Structure of the enum used:
```bash
pub enum AuthInfo {
... | 296ca311c96cc032aaa9ad846299db24bacaeb56 |
- Sample Query Structure

- Hit the `/search` API (using query, filters and timeRange).
```bash
curl --location 'http://localhost:8080/analytics/v1/search' \
--header 'Accept: */*' \
--header 'Accept-Language: en-US,en;q=... | [
"crates/analytics/src/opensearch.rs",
"crates/analytics/src/search.rs",
"crates/router/src/analytics.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5458 | Bug: Update Schema and domain models for Payment Methods v2
### Feature Description
Have to change the schema for corresponding DB changes in `payment_methods` table for v2
### Possible Implementation
Will need to irun separate migrations for v2
Based on need, can implement domain models for Payment Methods ... | diff --git a/crates/diesel_models/Cargo.toml b/crates/diesel_models/Cargo.toml
index 45582cc0ad9..6b288899778 100644
--- a/crates/diesel_models/Cargo.toml
+++ b/crates/diesel_models/Cargo.toml
@@ -14,6 +14,7 @@ v1 = []
v2 = []
customer_v2 = []
payment_v2 = []
+payment_methods_v2 = []
[dependencies]
async-bb8-die... | 2024-08-26T12:48:06Z |
## Description
<!-- Describe your changes in detail -->
- Diesel model for payment methods v2
- Domain models for payment methods v1/v2
### Additional Changes
- [ ] This PR modifies the API contract
- [x] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment varia... | b85322612078a68fbe09e98494bfe849c6c123c2 |
- Test all flows (payments/payment_methods) for v1
- v2 cannot be tested as core logic is incomplete
| [
"crates/diesel_models/Cargo.toml",
"crates/diesel_models/src/kv.rs",
"crates/diesel_models/src/payment_method.rs",
"crates/diesel_models/src/query/payment_method.rs",
"crates/diesel_models/src/schema.rs",
"crates/diesel_models/src/schema_v2.rs",
"crates/hyperswitch_domain_models/Cargo.toml",
"crates/h... | |
juspay/hyperswitch | juspay__hyperswitch-5694 | Bug: Add org id to transaction tables
| diff --git a/crates/analytics/docs/clickhouse/scripts/disputes.sql b/crates/analytics/docs/clickhouse/scripts/disputes.sql
index bb7472a4d54..3bd993d31cf 100644
--- a/crates/analytics/docs/clickhouse/scripts/disputes.sql
+++ b/crates/analytics/docs/clickhouse/scripts/disputes.sql
@@ -20,6 +20,7 @@ CREATE TABLE dispute_... | 2024-08-26T07:43:24Z |
## Description
<!-- Describe your changes in detail -->
Add organisation id for
- payment intents
- payment attempts
- refunds
- disputes
add profile id & card network for payment attempts
Add the above fields in clickhouse & kafka as well
### Additional Changes
- [ ] This PR modifies the API contract... | c555a88c6730a1216aa291bc7f7a38e3df08c469 |
<img width="975" alt="image" src="https://github.com/user-attachments/assets/dcb1ff45-4771-4382-9f97-36039abb9ef2">
Check for the added columns in pgweb/grafana
| [
"crates/analytics/docs/clickhouse/scripts/disputes.sql",
"crates/analytics/docs/clickhouse/scripts/payment_attempts.sql",
"crates/analytics/docs/clickhouse/scripts/payment_intents.sql",
"crates/analytics/docs/clickhouse/scripts/refunds.sql",
"crates/diesel_models/src/customers.rs",
"crates/diesel_models/s... | |
juspay/hyperswitch | juspay__hyperswitch-5695 | Bug: Add profile id to transaction tables
Required to provide profile level filters in analytics section | diff --git a/crates/analytics/docs/clickhouse/scripts/disputes.sql b/crates/analytics/docs/clickhouse/scripts/disputes.sql
index bb7472a4d54..3bd993d31cf 100644
--- a/crates/analytics/docs/clickhouse/scripts/disputes.sql
+++ b/crates/analytics/docs/clickhouse/scripts/disputes.sql
@@ -20,6 +20,7 @@ CREATE TABLE dispute_... | 2024-08-26T07:43:24Z |
## Description
<!-- Describe your changes in detail -->
Add organisation id for
- payment intents
- payment attempts
- refunds
- disputes
add profile id & card network for payment attempts
Add the above fields in clickhouse & kafka as well
### Additional Changes
- [ ] This PR modifies the API contract... | c555a88c6730a1216aa291bc7f7a38e3df08c469 |
<img width="975" alt="image" src="https://github.com/user-attachments/assets/dcb1ff45-4771-4382-9f97-36039abb9ef2">
Check for the added columns in pgweb/grafana
| [
"crates/analytics/docs/clickhouse/scripts/disputes.sql",
"crates/analytics/docs/clickhouse/scripts/payment_attempts.sql",
"crates/analytics/docs/clickhouse/scripts/payment_intents.sql",
"crates/analytics/docs/clickhouse/scripts/refunds.sql",
"crates/diesel_models/src/customers.rs",
"crates/diesel_models/s... | |
juspay/hyperswitch | juspay__hyperswitch-5689 | Bug: feat(users_roles): support switch for new user hierarchy
Support switch
- At org level
- At merchant level
- At profile level
- For internal users
Issue new token and set permissions accordingly | diff --git a/crates/api_models/src/events/user.rs b/crates/api_models/src/events/user.rs
index 862c361d465..590179c052c 100644
--- a/crates/api_models/src/events/user.rs
+++ b/crates/api_models/src/events/user.rs
@@ -17,10 +17,10 @@ use crate::user::{
GetUserRoleDetailsRequest, GetUserRoleDetailsResponse, InviteUs... | 2024-08-26T06:46:56Z |
## Description
Support switch for org, merchant, profile and internal users.
For now switch exist only for merchant.
After new switch, new token will be issued.
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application co... | 4585e16245dd49d8c0b877cda148524afe395009 | For org level switch
```
curl --location 'http://localhost:8080/user/switch/org' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer JWT' \
--data '{
"org_id": "some_org_id"
}'
```
For merchant level switch
```
curl --location 'http://localhost:8080/user/switch/merchant' \
--he... | [
"crates/api_models/src/events/user.rs",
"crates/api_models/src/events/user_role.rs",
"crates/api_models/src/user.rs",
"crates/api_models/src/user_role.rs",
"crates/router/src/core/user.rs",
"crates/router/src/routes/app.rs",
"crates/router/src/routes/lock_utils.rs",
"crates/router/src/routes/user.rs",... | |
juspay/hyperswitch | juspay__hyperswitch-8620 | Bug: [REFACTOR] Create and use a domain type for profile ID
### Feature Description
Create a domain type for business profile ID and use the domain type throughout the codebase. The expected result at the end of this change is that profile IDs are never used as strings directly anywhere in the codebase.
- Introduc... | diff --git a/Cargo.lock b/Cargo.lock
index d2c3baf9fba..65d75aa4d81 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2094,6 +2094,7 @@ name = "connector_configs"
version = "0.1.0"
dependencies = [
"api_models",
+ "common_utils",
"serde",
"serde_with",
"toml 0.8.12",
diff --git a/api-reference-v2/openapi_spec.json... | 2024-08-25T11:36:59Z |
## Description
<!-- Describe your changes in detail -->
This PR introduces a domain type for profile ID and refactors the existing code to use the domain type in place of strings being used today.
In addition, this PR has the following changes:
- Introduces a trait `GenerateId` for generating IDs.
- Removes t... | 963a2547e87fc7a4e8ed55627d3e7b9da2022f21 |
Sanity testing with Postman.
| [
"Cargo.lock",
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/admin.rs",
"crates/api_models/src/connector_onboarding.rs",
"crates/api_models/src/disputes.rs",
"crates/api_models/src/payments.rs",
"crates/api_models/src/payouts.rs",
"crates/api_models/src/refunds.rs",
"crates/api_models/... | |
juspay/hyperswitch | juspay__hyperswitch-5697 | Bug: [FEATURE] Open api for routing v2
### Feature Description
Open api for routing v2
### Possible Implementation
Open api for routing v2
### 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 Contributing Gui... | diff --git a/api-reference-v2/api-reference/business-profile/business-profile--activate-routing-algorithm.mdx b/api-reference-v2/api-reference/business-profile/business-profile--activate-routing-algorithm.mdx
new file mode 100644
index 00000000000..9ff6f4fdd57
--- /dev/null
+++ b/api-reference-v2/api-reference/business... | 2024-08-25T07:52:07Z |
## Description
Add open api routes for routing v2
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with corresponding changes.
Following are ... | b90ae90c668d4134d526f05d2cc7f988a11ed496 | - Validated the open-api using this command
`swagger-cli validate ./api-reference-v2/openapi_spec.json`
./api-reference-v2/openapi_spec.json is valid
<img width="1728" alt="openapi" src="https://github.com/user-attachments/assets/5f067b84-edb8-4d38-8418-168b56ec6e3d">
| [
"api-reference-v2/api-reference/business-profile/business-profile--activate-routing-algorithm.mdx",
"api-reference-v2/api-reference/business-profile/business-profile--deactivate-routing-algorithm.mdx",
"api-reference-v2/api-reference/business-profile/business-profile--retrieve-active-routing-algorithm.mdx",
"... | |
juspay/hyperswitch | juspay__hyperswitch-5693 | Bug: [FEATURE] ADD NEXIXPAY CONNECTOR
### Feature Description
Add Nexixpay connector
### Possible Implementation
Add Nexixpay connector
### 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 Contributing Guidel... | diff --git a/config/config.example.toml b/config/config.example.toml
index a8cc36b4dc5..0a88c3896f2 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -222,6 +222,7 @@ mollie.secondary_base_url = "https://api.cc.mollie.com/v1/"
multisafepay.base_url = "https://testapi.multisafepay.com/"
netce... | 2024-08-23T10:56:11Z |
## Description
<!-- Describe your changes in detail -->
Template code added for new connector Nexi-Xpay
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to th... | 4585e16245dd49d8c0b877cda148524afe395009 | [
"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/enums.rs",
"crates/common_enums/src/enums.rs",
"crates/hyperswitch_connec... | ||
juspay/hyperswitch | juspay__hyperswitch-5714 | Bug: feat(euclid): create a new variant under payment_type for ppt token flow
## Description
This change will add a new variant in payment_type which will be `ppt_token_flow` using which we will be able to make rule on basis of the ppt flow.
The new variant will be visible here:
<img width="1201" alt="Scree... | diff --git a/crates/api_models/src/mandates.rs b/crates/api_models/src/mandates.rs
index dc61aa08b0c..b62a2c38b9c 100644
--- a/crates/api_models/src/mandates.rs
+++ b/crates/api_models/src/mandates.rs
@@ -115,7 +115,7 @@ pub struct MandateListConstraints {
}
/// Details required for recurring payment
-#[derive(Debu... | 2024-08-23T08:00:31Z |
## Description
<!-- Describe your changes in detail -->
This change will add a new variant in payment_type which will be `ppt_token_flow` using which we will be able to make rule on basis of the ppt flow.
The new variant will be visible here:
<img width="1201" alt="Screenshot 2024-08-27 at 3 04 33 PM" src="htt... | 4585e16245dd49d8c0b877cda148524afe395009 |
Unit test cases are written for the same in PR (`vir_interpreter.rs` file).
| [
"crates/api_models/src/mandates.rs",
"crates/euclid/src/backend/vir_interpreter.rs",
"crates/euclid/src/enums.rs",
"crates/router/src/core/payments/routing.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5675 | Bug: Prod intent email
Email not getting delivered for prod intent, modify the email | diff --git a/crates/router/src/consts/user.rs b/crates/router/src/consts/user.rs
index 18fdf0dcbe6..1a2b2ef60a4 100644
--- a/crates/router/src/consts/user.rs
+++ b/crates/router/src/consts/user.rs
@@ -5,7 +5,7 @@ pub const MAX_NAME_LENGTH: usize = 70;
/// The max length of company name and merchant should be same
///... | 2024-08-22T12:57:43Z |
## Description
<!-- Describe your changes in detail -->
Changed the business email to which production intent requests go to
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!... | 0eaadc42b77e0f27cc4bb26c7e04d7c4f762b6d9 | [
"crates/router/src/consts/user.rs"
] | ||
juspay/hyperswitch | juspay__hyperswitch-5671 | Bug: [FEATURE] [FISERVEMEA] Integrate card payments
### Feature Description
Integrate card payments for new connector Fiserv-EMEA
https://docs.fiserv.dev/
### Possible Implementation
Integrate card payments for new connector Fiserv-EMEA
https://docs.fiserv.dev/
### Have you spent some time checking if this fea... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 5c57891d103..7b9cf0e48c8 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -4738,6 +4738,7 @@
"dlocal",
"ebanx",
"fiserv",
+ "fiservemea",
... | 2024-08-22T12:30:20Z |
## Description
<!-- Describe your changes in detail -->
Integrate card payments for new connector Fiserv-EMEA
https://docs.fiserv.dev/
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variab... | 771f48cfe0ec6d8625ca3ff3095f5d9806915779 |
Following flows need to be tested for card payments for new connector FiservEMEA:
1. Authorize:
Request:
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_patS2PyLZVJvSG2Ik9brOOFlHKdIWJdkDaRBnfgNe5qN... | [
"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/api_models/src/enums.rs",
"crates/common_enums/src... | |
juspay/hyperswitch | juspay__hyperswitch-5683 | Bug: [FEATURE] Add template code for Novalnet
### Feature Description
Add template code for Novalnet
### Possible Implementation
Add template code for Novalnet
### 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 ebadc9edae7..d71846dab6f 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -223,6 +223,7 @@ netcetera.base_url = "https://{{merchant_endpoint_prefix}}.3ds-server.prev.netce
nexinets.base_url = "https://apitest.payengin... | 2024-08-22T12:18:40Z |
## Description
Template code added for new connector Novalnet
https://developer.novalnet.com/onlinepayments/api
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide l... | ad9f91b37cc39c8fb594b48ac60c5e945a0f561f | [
"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/enums.rs",
"crates/common_enums/src/enums.rs",
"crates/hyperswitch_connec... | ||
juspay/hyperswitch | juspay__hyperswitch-5668 | Bug: [FEATURE] allow testing payout links in test_mode
### Feature Description
Payout links is secure by nature, meaning it can be consumed only when below pre-requisites are met
- `allowed_domains` are configured in profile - these are later used for validating the render request, and blow embedding these links u... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index af1186ac9ed..cc1b2f3137e 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -2953,7 +2953,15 @@
"$ref": "#/components/schemas/BusinessGenericLinkConfig"
},
... | 2024-08-22T11:01:33Z |
## Description
Described in #5668
### Additional Changes
- [x] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with corresponding changes.
Following are the paths where y... | 963a2547e87fc7a4e8ed55627d3e7b9da2022f21 | <details>
<summary>1. Create payout link without setting allowed_domains - *SHOULD FAIL*</summary>
curl --location 'http://localhost:8080/payouts/create' \
--header 'Accept-Language: fr' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_1axlWLG2ZUMWX1B8TMZ7m1Y7E... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/admin.rs",
"crates/api_models/src/payouts.rs",
"crates/common_utils/src/link_utils.rs",
"crates/diesel_models/src/business_profile.rs",
"crates/router/src/core/generic_link/payout_link/initiate/script.js",
"crates/router/src/core/payout_link.r... | |
juspay/hyperswitch | juspay__hyperswitch-5659 | Bug: feat(user): list apis
Create new apis to list for user:
- orgs
- merchant accounts
- profiles.
| diff --git a/crates/api_models/src/user.rs b/crates/api_models/src/user.rs
index 03e59db1e86..9867aba7b39 100644
--- a/crates/api_models/src/user.rs
+++ b/crates/api_models/src/user.rs
@@ -390,3 +390,21 @@ pub struct UserKeyTransferRequest {
pub struct UserTransferKeyResponse {
pub total_transferred: usize,
}
+
... | 2024-08-21T19:18:51Z |
## Description
New APIs list:
- orgs for a user.
- merchant accounts for a user in current organisation.
- profile id for a user in current merchant account.
<!-- Describe your changes in detail -->
### Additional Changes
- [X] This PR modifies the API contract
- [ ] This PR modifies the database schem... | ca72fedae82194abb7216854c7dd61c64d57b1d6 | List orgs
```sh
curl --location 'localhost:8080/user/list/org' \
--header 'Authorization: Bearer <JWT>' \
```
response example
```json
[
{
"org_id": "org_t4ryeBxwt9RKu8jlsTWq",
"org_name": "Juspay"
},
{
"org_id": "org_t4ryeBxwt9RKu8jlsTWq2",
"org_name": "Juspay... | [
"crates/api_models/src/user.rs",
"crates/diesel_models/src/query/user_role.rs",
"crates/router/src/core/user.rs",
"crates/router/src/db/kafka_store.rs",
"crates/router/src/db/user_role.rs",
"crates/router/src/routes/app.rs",
"crates/router/src/routes/lock_utils.rs",
"crates/router/src/routes/user.rs",... | |
juspay/hyperswitch | juspay__hyperswitch-5663 | Bug: [FEATURE] Update MCA Update to process additional merchant data for open banking connectors
### Feature Description
Currently, we only accept `additional_merchant_data` in the MCA create req, we need to accept it in update req as well and and add the logic for processing the data in the MCA update core.
### P... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 458e1ae9ff0..b68a5c91c8b 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -7766,6 +7766,14 @@
"example": "y3oqhf46pyzuxjbcn2giaqnb44",
"maxLength": 64,
... | 2024-08-21T10:05:35Z |
## Description
<!-- Describe your changes in detail -->
This PR does -
- In the PIS flow, in merchant connector update, we didn't collect `additional_merchant_data` in the update req, have fixed that. Have also added relevant logic in MCA update core to process the data collected.
### Additional Changes
- [... | b60ced02ffba21624a9491a63fcde1c04cfa0b06 |
1. MCA create for Plaid -
```
curl --location --request POST 'http://localhost:8080/account/merchant_1724231900/connectors' \
--header 'api-key: test_admin' \
--header 'Content-Type: application/json' \
--data-raw '{
"connector_type": "payment_processor",
"connector_name": "plaid",
"connector_acc... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/admin.rs",
"crates/diesel_models/src/merchant_connector_account.rs",
"crates/hyperswitch_domain_models/src/merchant_connector_account.rs",
"crates/router/src/core/admin.rs",
"crates/router/src/core/connector_onboarding/paypal.rs",
"crates/rout... | |
juspay/hyperswitch | juspay__hyperswitch-5627 | Bug: feat(payments): show aggregate count of payment status
Show count of aggregate payments status in the given time range:

This can be part of filter Api. | diff --git a/crates/api_models/src/events/payment.rs b/crates/api_models/src/events/payment.rs
index 589dcd8d10b..941cbb33309 100644
--- a/crates/api_models/src/events/payment.rs
+++ b/crates/api_models/src/events/payment.rs
@@ -18,12 +18,13 @@ use crate::{
payments::{
ExtendedCardInfoResponse, PaymentIdT... | 2024-08-21T09:00:45Z |
## Description

- The endpoint `/aggregate` to support views

- Add support for aggregates in payments.
- For now it will have list of... | cc5b06e72553c33c9d9ed5f9a944ceb5bb36f2c7 | Request:
```
curl --location 'http://localhost:8080/payments/aggregate?start_time=2022-08-20T11%3A33%3A39.000Z' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer JWT'
```
Response:
```
{
"status_with_count": {
"requires_capture": 0,
"requires_customer_action"... | [
"crates/api_models/src/events/payment.rs",
"crates/api_models/src/payments.rs",
"crates/hyperswitch_domain_models/src/payments/payment_intent.rs",
"crates/router/src/core/payments.rs",
"crates/router/src/db/kafka_store.rs",
"crates/router/src/routes/app.rs",
"crates/router/src/routes/lock_utils.rs",
"... | |
juspay/hyperswitch | juspay__hyperswitch-5650 | Bug: feat(user_roles): Update both V1 and V2 user roles
Since we are introducing V2 user_roles. Before we start inserting V2 data, we should complete the other operations (update, delete and read).
This issue tracks the progress of changes for update. | diff --git a/crates/diesel_models/src/query/user_role.rs b/crates/diesel_models/src/query/user_role.rs
index b84ea63de1d..b7f79a4438f 100644
--- a/crates/diesel_models/src/query/user_role.rs
+++ b/crates/diesel_models/src/query/user_role.rs
@@ -41,47 +41,6 @@ impl UserRole {
.await
}
- pub async fn u... | 2024-08-20T14:55:26Z |
## Description
<!-- Describe your changes in detail -->
- This PR adds a new db function which can update a user_role by it's lineage.
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variabl... | cc5b06e72553c33c9d9ed5f9a944ceb5bb36f2c7 |
All the following APIs should not break and work as before.
```
curl --location 'https://integ-api.hyperswitch.io/user/accept_invite_from_email' \
--header 'Content-Type: application/json' \
--data '{
"token": "email token"
}'
```
```
curl --location 'https://integ-api.hyperswitch.io/user/accept_invi... | [
"crates/diesel_models/src/query/user_role.rs",
"crates/diesel_models/src/user_role.rs",
"crates/router/src/core/user.rs",
"crates/router/src/core/user_role.rs",
"crates/router/src/db/kafka_store.rs",
"crates/router/src/db/user_role.rs",
"crates/router/src/routes/app.rs",
"crates/router/src/routes/user... | |
juspay/hyperswitch | juspay__hyperswitch-5680 | Bug: REFACTOR: check the authenticity of profile_id being used for all the routing routes
After this refactor goes in, we will have an auth layer verifying the autheticity of profile being sent in the request at max there can be 4 cases:
1. profile_id not present in the request: provide the requested details for th... | diff --git a/crates/api_models/src/routing.rs b/crates/api_models/src/routing.rs
index 1416e985523..7b7a59bc866 100644
--- a/crates/api_models/src/routing.rs
+++ b/crates/api_models/src/routing.rs
@@ -57,18 +57,18 @@ pub struct ProfileDefaultRoutingConfig {
pub connectors: Vec<RoutableConnectorChoice>,
}
-#[der... | 2024-08-20T08:17:36Z |
## Description
<!-- Describe your changes in detail -->
This change will ensure that the profile id being sent in params, belongs to the merchant using them.
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configurat... | e3a9fb16c518d09313d00a23ece70a26d4728f63 |
Cannot be tested right now because currently we are not including profile_id in JWT.
Was able to compile the code.
| [
"crates/api_models/src/routing.rs",
"crates/router/src/core/routing.rs",
"crates/router/src/core/utils.rs",
"crates/router/src/routes/app.rs",
"crates/router/src/routes/routing.rs",
"crates/router/src/services/authentication.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5649 | Bug: [REFACTOR] Refactor Update and Retrieve Default Fallback behaviour in payments routing
### Feature Description
Refactor Update and Retrieve Default Fallback usages in payments core for routing
### Possible Implementation
Refactor Update and Retrieve Default Fallback usages in payments core for routing, and... | diff --git a/Cargo.lock b/Cargo.lock
index cf7718d8875..0a0448cae47 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -454,6 +454,7 @@ dependencies = [
"nutype",
"reqwest",
"router_derive",
+ "rustc-hash",
"serde",
"serde_json",
"strum 0.26.2",
diff --git a/crates/api_models/Cargo.toml b/crates/api_models/Cargo.t... | 2024-08-19T18:35:53Z |
## Description
This PR refactors the fallback routing behaviour in payments routing for v2. Update the function to accept business_profile as a parameter instead of profile_id.
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies a... | 6e7b38a622d1399260f9a144e07a58bc6a7a6655 | For v2:
- create a MA and add 2 MCAs, it will be added for default fallback in the order they were cretaed
- make a payment , it should go through the mca that was added first based on default fallback
| [
"Cargo.lock",
"crates/api_models/Cargo.toml",
"crates/api_models/src/customers.rs",
"crates/api_models/src/payments.rs",
"crates/router/src/core/admin.rs",
"crates/router/src/core/payment_methods/cards.rs",
"crates/router/src/core/payments.rs",
"crates/router/src/core/payments/helpers.rs",
"crates/r... | |
juspay/hyperswitch | juspay__hyperswitch-5626 | Bug: feat(disputes): support filters in disputes list
Support filters in disputes list
- Get list of filters to be applied on disputes list
- It can be multi-select for options like status and connector
- `get` api to be used to pass filters which to be applied on list API
- Implement parsing logic for get api, (to ... | diff --git a/crates/api_models/src/disputes.rs b/crates/api_models/src/disputes.rs
index a1340b5aa5a..4ddb50af0f2 100644
--- a/crates/api_models/src/disputes.rs
+++ b/crates/api_models/src/disputes.rs
@@ -1,11 +1,13 @@
use std::collections::HashMap;
+use common_utils::types::TimeRange;
use masking::{Deserialize, Se... | 2024-08-15T17:30:42Z |
## Description
Add filters for disputes list
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with corresponding changes.
Following are the pat... | a94cf25bb6eb40fafc5327aceffac8292b47b001 | The following endpoints will give profile or merchant level filters:
The start_time and end_time are in primitive data time format:
`start_time`=`2024-07-03T18:00:00.000Z`
`end_time`=`2024-10-03T18:00:00.000Z`
```
curl --location --request GET 'http://localhost:8080/disputes/filter' \
--header 'Content-Type: appl... | [
"crates/api_models/src/disputes.rs",
"crates/api_models/src/events.rs",
"crates/common_enums/src/enums.rs",
"crates/hyperswitch_domain_models/src/disputes.rs",
"crates/hyperswitch_domain_models/src/lib.rs",
"crates/router/src/core/disputes.rs",
"crates/router/src/db/dispute.rs",
"crates/router/src/db/... | |
juspay/hyperswitch | juspay__hyperswitch-5603 | Bug: fix(opensearch): Add date-suffixed indexes for opensearch locally
Currently the events get pushed to indexes of the form `{{ .topic }}`
In addition we can push the events to date-suffixed indexes of the form
- `vector-{{ .topic }}-%Y-%m-%d` for events pushed through vector
- `fluentd-{{ .topic }}-%Y-%m-%d` for ... | diff --git a/config/vector.yaml b/config/vector.yaml
index 17049677fe5..54ff25cab5a 100644
--- a/config/vector.yaml
+++ b/config/vector.yaml
@@ -71,7 +71,7 @@ transforms:
window_secs: 60
sinks:
- opensearch_events:
+ opensearch_events_1:
type: elasticsearch
inputs:
- events
@@ -93,9 +93,32 @@... | 2024-08-14T13:57:50Z |
## Description
<!-- Describe your changes in detail -->
Currently the events get pushed to indexes of the form `{{ .topic }}` locally.
In addition we can now push the events to date-suffixed indexes of the form
- `vector-{{ .topic }}-%Y-%m-%d for events pushed through vector`
- `fluentd-{{ .topic }}-%Y-%m-%d for ... | 72b61310523403113b469e6e6a9a89806849bb1e |
Made payments, and ensured the creation of separate indexes on opensearch from both fluentd and vector
<img width="1303" alt="Screenshot 2024-08-14 at 7 23 14 PM" src="https://github.com/user-attachments/assets/9269f65c-c95c-4388-9196-7d8893dcb098">
<img width="1313" alt="Screenshot 2024-08-14 at 7 23 23 PM" src="h... | [
"config/vector.yaml",
"crates/analytics/docs/README.md",
"docker/fluentd/conf/fluent.conf"
] | |
juspay/hyperswitch | juspay__hyperswitch-5634 | Bug: [FIX]: add open banking in payment methods in wasm
add open banking in payment methods in wasm | diff --git a/crates/connector_configs/src/response_modifier.rs b/crates/connector_configs/src/response_modifier.rs
index 06f9d25b65d..b6b2e8555e3 100644
--- a/crates/connector_configs/src/response_modifier.rs
+++ b/crates/connector_configs/src/response_modifier.rs
@@ -225,6 +225,13 @@ impl ConnectorApiIntegrationPayloa... | 2024-08-14T12:08:54Z |
## Description
plaid payment processor configuring was breaking

<!-- Describe your changes in detail -->
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [... | 2249010ceb9fc03249d8feb428f2209b2d2ee9f4 | updated the wasm, and tested with frontend changes locally it is working fine
| [
"crates/connector_configs/src/response_modifier.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5632 | Bug: use the saved billing details in the recurring payments
Currently when a payment method is the billing details will also get saved in the payment method table.
But when a recurring payment is performed with the saved payment method, it is expected that the billing details to be passed in the current payment as... | diff --git a/crates/hyperswitch_domain_models/src/payment_address.rs b/crates/hyperswitch_domain_models/src/payment_address.rs
index d4f2cf9f350..548dd0c5416 100644
--- a/crates/hyperswitch_domain_models/src/payment_address.rs
+++ b/crates/hyperswitch_domain_models/src/payment_address.rs
@@ -53,6 +53,7 @@ impl PaymentA... | 2024-08-14T11:18:42Z |
## Description
<!-- Describe your changes in detail -->
Currently when a payment method is the billing details will also get saved in the payment method table.
But when a recurring payment is performed with the saved payment method, it is expected that the billing details to be passed in the current payment as well... | 8fa51b7b1cdf4347dc5778859597aa9ed1691790 |
-> Create mca for cybersource
-> Create a payment to save a card
```
{
"amount": 100,
"amount_to_capture": 100,
"currency": "USD",
"confirm": true,
"capture_method": "automatic",
"capture_on": "2022-09-10T10:11:12Z",
"customer_id": "cu_{{$timestamp}}",
"email": "guest@exampl... | [
"crates/hyperswitch_domain_models/src/payment_address.rs",
"crates/router/src/core/payments/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5622 | Bug: fix(opensearch): Sort the global search results in descending order
When searching using global search, the results are not sorted. It would be better if they are sorted in newest to oldest order. | diff --git a/crates/analytics/src/opensearch.rs b/crates/analytics/src/opensearch.rs
index e74622a054a..f3dd5eea441 100644
--- a/crates/analytics/src/opensearch.rs
+++ b/crates/analytics/src/opensearch.rs
@@ -518,7 +518,19 @@ impl OpenSearchQueryBuilder {
let mut final_query = Map::new();
... | 2024-08-14T07:37:17Z |
## Description
<!-- Describe your changes in detail -->
When searching using global search, the results are not sorted. Sorted the results now in newest to oldest order.
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies applicatio... | b213db213e623a1eea3f6dbd66703df4a897d93f |
- Hit the `/search` API
```bash
curl --location 'http://localhost:8080/analytics/v1/search' \
--header 'Accept: */*' \
--header 'Accept-Language: en-US,en;q=0.9' \
--header 'Connection: keep-alive' \
--header 'Content-Type: application/json' \
--header 'Origin: http://localhost:9000' \
--header 'Referer: http... | [
"crates/analytics/src/opensearch.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5621 | Bug: [BUG] payout operations are using payment connectors
### Bug Description
In case payment connectors were added prior to adding the same payout connector (Eg - onboarding `Adyen` as `payment_processor` and then onboarding `Adyen` as `payout_processor`), the payout transactions are routed via payment transacti... | diff --git a/crates/router/src/core/payouts.rs b/crates/router/src/core/payouts.rs
index 07b50d3a154..44a3983a96a 100644
--- a/crates/router/src/core/payouts.rs
+++ b/crates/router/src/core/payouts.rs
@@ -1106,7 +1106,7 @@ pub async fn create_recipient(
// 1. Form router data
let router_data = core_ut... | 2024-08-14T06:57:00Z |
## Description
Described in #5621
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with corresponding changes.
Following are the paths where y... | b213db213e623a1eea3f6dbd66703df4a897d93f | <details>
<summary>1. Create a merchant account</summary>
curl --location 'https://sandbox.hyperswitch.io/accounts' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: test_admin' \
--data-raw '{
"merchant_id":... | [
"crates/router/src/core/payouts.rs",
"crates/router/src/core/utils.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5625 | Bug: [BUG] Fix Deserialization error in Pm auth core
### Feature Description
Currently, if we try to link accounts twice in pm auth flow, the `/exchange` call fails due to a deserialization error.
This happens because of extra entries created in DB during mandate save pm flow.
### Possible Implementation
Need to... | diff --git a/crates/router/src/core/pm_auth.rs b/crates/router/src/core/pm_auth.rs
index 64c1918c5e5..47f843030ee 100644
--- a/crates/router/src/core/pm_auth.rs
+++ b/crates/router/src/core/pm_auth.rs
@@ -346,7 +346,9 @@ async fn store_bank_details_in_payment_methods(
> = HashMap::new();
for pm in payment_m... | 2024-08-13T11:30:58Z |
## Description
<!-- Describe your changes in detail -->
Earlier, the mandate request was inserting another entry in payment_methods table which interfered with pm_auth when running it again. The `/auth/exchange` call was failing due to this.
Have fixed the logic in pm_auth to be more specific.
### Additional Ch... | 67d580c0ebcfc070ad6ff5cab4079ca447541ee4 |
Can be tested via SDK
1. Test Pm auth flow (with ` "setup_future_usage": "off_session"` passed in `payment_create` and `customer_acceptance` passed in `payment_confirm`)
2. Retest the Pm auth flow
| [
"crates/router/src/core/pm_auth.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5611 | Bug: Add redis commands required for success rate based routing
| diff --git a/crates/redis_interface/src/commands.rs b/crates/redis_interface/src/commands.rs
index ccfeb3e5b12..9b76d8d9c81 100644
--- a/crates/redis_interface/src/commands.rs
+++ b/crates/redis_interface/src/commands.rs
@@ -15,7 +15,7 @@ use common_utils::{
};
use error_stack::{report, ResultExt};
use fred::{
- ... | 2024-08-13T10:03:46Z |
## Description
<!-- Describe your changes in detail -->
This PR adds the required redis commands for success rate based routing. Below are the added redis commands -
* RPUSH (Push current block to aggregates list): Pushing an item to LIST
* LRANGE (Get a list of buckets in aggregates): Access an item from L... | e757605fdc287685c573d0c1c461cea556e5a5ce |
As this PR only adds the new redis commands and doesn't involve any existing code changes, basic sanity tests should suffice
| [
"crates/redis_interface/src/commands.rs",
"crates/redis_interface/src/errors.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5543 | Bug: feat(user_roles): Start inserting V2 user_roles in DB
Currently we only have V1 user_roles data. These roles are at merchant level.
To start supporting profile level dashboard, we should start inserting V2 user_roles which will have profile context as well. | diff --git a/crates/diesel_models/src/query/user_role.rs b/crates/diesel_models/src/query/user_role.rs
index 85f866f2fc2..fde146408a9 100644
--- a/crates/diesel_models/src/query/user_role.rs
+++ b/crates/diesel_models/src/query/user_role.rs
@@ -5,6 +5,7 @@ use diesel::{
BoolExpressionMethods, ExpressionMethods, Qu... | 2024-08-13T09:41:59Z |
## Description
<!-- Describe your changes in detail -->
- From this PR, we will start inserting V2 user_roles.
### Additional Changes
- [ ] This PR modifies the API contract
- [x] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide link... | c85b4a3a273ea211084ed26b1eb77f0731ac35ca |
All the following APIs will insert both V1 and V2 roles in DB.
```curl
curl --location 'https://integ-api.hyperswitch.io/user/signup' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "new email",
"password": "password"
}'
```
```curl
curl --location 'https://integ-api.hyperswitch... | [
"crates/diesel_models/src/query/user_role.rs",
"crates/router/src/core/user.rs",
"crates/router/src/db/kafka_store.rs",
"crates/router/src/db/user_role.rs",
"crates/router/src/types/domain/user.rs",
"migrations/2024-08-06-103905_drop_user_id_merchant_id_unique_in_user_roles/down.sql",
"migrations/2024-0... | |
juspay/hyperswitch | juspay__hyperswitch-5595 | Bug: return missing required filed error when a domain is missing during apple pay session call
Reference issue for the feature https://github.com/juspay/hyperswitch/issues/5354
As described in the above issue the apple pay domain needs to be fetched dynamically by the sdk and to be sent in the session request he... | diff --git a/crates/router/src/core/payments/flows/session_flow.rs b/crates/router/src/core/payments/flows/session_flow.rs
index cdd8452fdb3..4a1d57cda34 100644
--- a/crates/router/src/core/payments/flows/session_flow.rs
+++ b/crates/router/src/core/payments/flows/session_flow.rs
@@ -411,10 +411,8 @@ async fn create_ap... | 2024-08-12T13:42:44Z |
## Description
<!-- Describe your changes in detail -->
Reference issue for the feature https://github.com/juspay/hyperswitch/issues/5354
As described in the above issue the apple pay domain needs to be fetched dynamically by the sdk and to be sent in the session request header. When sdk fails to send which is ... | c8943eb289664093f2a4d515bfacd804f86cd20a |
-> Create mca with apple pay enabled and metadata not containing apple pay domain
-> Create a payment with confirm false
-> Make a session call
- session call without passing domain in header
```
curl --location 'http://localhost:8080/payments/session_tokens' \
--header 'Content-Type: application/json' \
--h... | [
"crates/router/src/core/payments/flows/session_flow.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5605 | Bug: [REFACTOR] Refactor update and retrieve of fallback api-v2
### Feature Description
Refactor update and retrieve of fallback api-v2
### Possible Implementation
Refactor update and retrieve of fallback api-v2
### Have you spent some time checking if this feature request has been raised before?
- [X] I check... | diff --git a/crates/diesel_models/src/business_profile.rs b/crates/diesel_models/src/business_profile.rs
index bb4aa21cda6..cf873d4b61f 100644
--- a/crates/diesel_models/src/business_profile.rs
+++ b/crates/diesel_models/src/business_profile.rs
@@ -251,7 +251,7 @@ pub struct BusinessProfile {
// pub order_fulfillm... | 2024-08-12T08:42:20Z |
## Description
Refactor fallback routing apis for v2. Refactor the fallback apis for routing to retrieve and update the fallback routing algorithms.
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/en... | ed13ecac04f82b5c69b11636c1e355e7e17c60fd | - To retrieve the default fallback config
```
curl --location 'http://localhost:8080/v2/profile/pro_VirB3AxB3qItFTnLsuA2/fallback_routing' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiYWQyMTRiZjUtMjgyYS00OWRiLWIzMjEtZGM3ZTExODRlNTliIiwibWVyY2hhbnRfaWQiOiJzZW5kZXJfbmV0Iiwi... | [
"crates/diesel_models/src/business_profile.rs",
"crates/diesel_models/src/schema_v2.rs",
"crates/hyperswitch_domain_models/src/business_profile.rs",
"crates/router/src/core/admin.rs",
"crates/router/src/core/routing.rs",
"crates/router/src/routes/app.rs",
"crates/router/src/routes/routing.rs",
"v2_mig... | |
juspay/hyperswitch | juspay__hyperswitch-5593 | Bug: [FEATURE] handle redirections for iframed content served by HyperSwitch
### Feature Description
HyperSwitch's SDK / links is meant to work within top context at the client side. This behaviour changes when we introduce secure links - which are supposed to be iframed within merchant's top context. Any functiona... | diff --git a/crates/router/src/core/generic_link/payout_link/status/script.js b/crates/router/src/core/generic_link/payout_link/status/script.js
index 42b57903593..ffb554a6829 100644
--- a/crates/router/src/core/generic_link/payout_link/status/script.js
+++ b/crates/router/src/core/generic_link/payout_link/status/scrip... | 2024-08-12T08:33:34Z | (cherry picked from commit db6df219a9cd12d619268f388b26c88692d858f8)
## Description
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with corr... | ed13ecac04f82b5c69b11636c1e355e7e17c60fd | <details>
<summary>[Payments] open links (no auth redirections)</summary>
https://github.com/user-attachments/assets/ccca6292-a89c-4e4f-9fc6-8cbb41280337
</details>
<details>
<summary>[Payments] open links (with auth redirections)</summary>
https://github.com/user-attachments/assets/0ebe3c86-c6eb-... | [
"crates/router/src/core/generic_link/payout_link/status/script.js",
"crates/router/src/core/payment_link/payment_link_initiate/payment_link.html",
"crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js",
"crates/router/src/core/payment_link/payment_link_status/status.html"... | |
juspay/hyperswitch | juspay__hyperswitch-5585 | Bug: [FEATURE] List Pm Based on Profile
### Feature Description
List Pm Based on Profile for off_session payments
### Possible Implementation
List Pm Based on Profile for off_session payments
### Have you spent some time checking if this feature request has been raised before?
- [X] I checked and didn't find ... | diff --git a/crates/router/src/core/payment_methods/cards.rs b/crates/router/src/core/payment_methods/cards.rs
index fa01437e5ed..e5c8ef57b29 100644
--- a/crates/router/src/core/payment_methods/cards.rs
+++ b/crates/router/src/core/payment_methods/cards.rs
@@ -3892,6 +3892,7 @@ pub async fn list_customer_payment_method... | 2024-08-09T11:38:48Z |
## Description
List cards on the basis of profiles, if it has a mandate details.The precedence order for off_session payments should be if network_txn_id is present , then show the pm irrespective of the profile, but if its not there then check for mandate_details for that profile and list it on that basis.
###... | f81416e4df6fa430fd7f6eb910b55464cd72f3f0 | - Create a MA and 2 Profiles
- Create a MCA for Profile 1
- Create a `off_session` payment
```
Create
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_jsssWAg0XyxGK0ycPunkFjlItYNs30X1IVOr1MIF7lwrDQgBBk7np... | [
"crates/router/src/core/payment_methods/cards.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5582 | Bug: [FEATURE] [FISERVEMEA] Add template code
### Feature Description
Template code needs to be added for new connector Fiserv-EMEA
https://docs.fiserv.dev/
### Possible Implementation
Template code needs to be added for new connector Fiserv-EMEA
https://docs.fiserv.dev/
### Have you spent some time checking i... | diff --git a/config/config.example.toml b/config/config.example.toml
index b9ac37705a3..cd315a542de 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -205,6 +205,7 @@ dlocal.base_url = "https://sandbox.dlocal.com/"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_... | 2024-08-09T11:09:39Z |
## Description
<!-- Describe your changes in detail -->
Template code added for new connector Fiserv-EMEA
https://docs.fiserv.dev/
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
... | 6a5b49397adc402f7ce50543c817df3f11ca46ea |
Only template code added 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/api_models/src/enums.rs",
"crates/common_enums/src/enums.rs",
"crates/hyperswitch_connec... | |
juspay/hyperswitch | juspay__hyperswitch-5590 | Bug: Feat(connector): [Paybox] Implement Paybox Payment Flows
### Feature Description
Payone is payment connector
Documentation link: http://www1.paybox.com/wp-content/uploads/2017/08/ManuelIntegrationVerifone_PayboxDirect_V8.1_EN.pdf
Website url: [Paybox.com](http://paybox.com/)
### Have you spent some time... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 8974f940bac..0498c52cd36 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -3577,6 +3577,7 @@
"noon",
"nuvei",
"opennode",
+ "paybox",
... | 2024-08-08T21:55:10Z |
## Description
<!-- Describe your changes in detail -->
Implemented Flows Authorize,Capture,PSync,Refund and RSync for card Payments.
For Paybox after the Payment we have to to do PSync as Force to get the status of Payment and same applies for Refund also.
### Additional Changes
- [ ] This PR modifies the AP... | d43648b9f5f87ce2e46e9e2dc49327c8a6af0f7d |
Payment:
```
curl --location 'http://127.0.0.1:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_IUCGqoaqFnbYXDFcyRerYSYqx44KRHsJNsCHetqjQ0kqjsijMmBzZKsNOfcjDsUa' \
--data-raw '{
"amount": 1000,
"currency": "EUR",
"confirm": ... | [
"api-reference-v2/openapi_spec.json",
"config/deployments/production.toml",
"crates/api_models/src/enums.rs",
"crates/common_enums/src/enums.rs",
"crates/connector_configs/src/connector.rs",
"crates/connector_configs/toml/development.toml",
"crates/connector_configs/toml/production.toml",
"crates/conn... | |
juspay/hyperswitch | juspay__hyperswitch-5574 | Bug: Add profile_id in kafka and clickhouse
Add profile_id in kafka topic `payment-intent` and clickhouse table payment-intent. | diff --git a/crates/analytics/docs/clickhouse/scripts/payment_intents.sql b/crates/analytics/docs/clickhouse/scripts/payment_intents.sql
index 6889a1ff79d..09101e9aa2d 100644
--- a/crates/analytics/docs/clickhouse/scripts/payment_intents.sql
+++ b/crates/analytics/docs/clickhouse/scripts/payment_intents.sql
@@ -19,6 +1... | 2024-08-08T12:12:20Z |
## Description
<!-- Describe your changes in detail -->
### Additional Changes
- [ ] This PR modifies the API contract
- [x] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with corresponding changes.
Followin... | e56ad0d6884c6505d73df048e73d6210db3aae46 | By making a payment can see the profile_id is added in kafka topic `hyperswitch-payment-intent-events` and same in clickhouse table. Can also test in loki topic and clickhouse-sbx
<img width="1728" alt="Screenshot 2024-08-08 at 5 15 37 PM" src="https://github.com/user-attachments/assets/88b13327-4a16-4cff-9782-4fa76... | [
"crates/analytics/docs/clickhouse/scripts/payment_intents.sql",
"crates/router/src/services/kafka/payment_intent.rs",
"crates/router/src/services/kafka/payment_intent_event.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5569 | Bug: [REFACTOR] Refactor connector template generation
### Feature Description
Connector template code needs to be refactored so that the new connectors are added directly into the crate `hyperswitch_connectors`
### Possible Implementation
Connector template code needs to be refactored so that the new connectors ... | diff --git a/connector-template/mod.rs b/connector-template/mod.rs
index ce189a33fca..ae450aecf20 100644
--- a/connector-template/mod.rs
+++ b/connector-template/mod.rs
@@ -1,26 +1,48 @@
pub mod transformers;
use error_stack::{report, ResultExt};
-use masking::ExposeInterface;
+use masking::{ExposeInterface, Mask};... | 2024-08-08T09:13:09Z |
## Description
<!-- Describe your changes in detail -->
Connector template code ise refactored so that the new connectors are added directly into the crate `hyperswitch_connectors`
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies... | baaa73cff98a2377e854b992d5ec9e84f49a4a92 |
Only connector template generation script modified, hence no testing required.
The template generation has been tested on local.
| [
"connector-template/mod.rs",
"connector-template/transformers.rs",
"scripts/add_connector.sh"
] | |
juspay/hyperswitch | juspay__hyperswitch-5565 | Bug: Implement API models for Payment methods v2
Need to implement API models for v2 of Payment Methods | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 757beea4b65..0505dd498e3 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -10283,17 +10283,6 @@
}
}
},
- {
- "type": "object",
... | 2024-08-07T19:00:31Z |
## Description
<!-- Describe your changes in detail -->
API models for payment methods v2
- Implemented types for API v2
- Have left a todo! macro for functions where v2 implementation is unclear
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [... | 36cc0ccbe69dc8f43c4cdd6daaea5e07beea8514 |
Logic can't be tested as of now as this PR is only concerned with API model change
| [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/payment_methods.rs",
"crates/router/src/compatibility/stripe/customers.rs",
"crates/router/src/compatibility/stripe/customers/types.rs",
"crates/router/src/core/locker_migration.rs",
"crates/router/src/core/payment_methods.rs",
"crates/router/... | |
juspay/hyperswitch | juspay__hyperswitch-5562 | Bug: [FIX] fix cache invalidation for multitenancy
| diff --git a/crates/redis_interface/src/types.rs b/crates/redis_interface/src/types.rs
index 6469df50778..f40b81af68e 100644
--- a/crates/redis_interface/src/types.rs
+++ b/crates/redis_interface/src/types.rs
@@ -27,6 +27,12 @@ impl RedisValue {
pub fn into_inner(self) -> FredRedisValue {
self.inner
... | 2024-08-07T16:47:35Z |
## Description
<!-- Describe your changes in detail -->
Added a tenant field in the pubsub redact message. To give the information for the subscriber to delete the message for the appropriate tenant
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issu... | 732472204d835ef0ceb60bfec89f872c7098621e |
**This cannot be tested on sandbox without enabling multi tenancy or adding `redis_key_prefix` for the tenant**
1. Enable multitenancy by adding another tenant
```bash
[multitenancy]
enabled = true
global_tenant = { schema = "public", redis_key_prefix = "", clickhouse_database = "default"}
[multitenancy.ten... | [
"crates/redis_interface/src/types.rs",
"crates/storage_impl/src/redis/cache.rs",
"crates/storage_impl/src/redis/pub_sub.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5554 | Bug: fix(opensearch): add "@timestamp" field for opensearch locally
Add the `@timestamp` field to OpenSearch locally while creating index-patterns, as it is present in Elasticsearch and is causing mismatched results while using the ` /search ` api on SBX
| diff --git a/config/vector.yaml b/config/vector.yaml
index 1511e09a05c..17049677fe5 100644
--- a/config/vector.yaml
+++ b/config/vector.yaml
@@ -60,6 +60,7 @@ transforms:
- plus_1_events
source: |-
.timestamp = from_unix_timestamp!(.created_at, unit: "seconds")
+ ."@timestamp" = from_unix_timest... | 2024-08-07T11:57:50Z |
## Description
<!-- Describe your changes in detail -->
Added the `@timestamp` field to OpenSearch locally while creating index-patterns, as it is present in Elasticsearch and is causing mismatched results while using the /search api on SBX
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] ... | 7e545e36ebdcfe46a1fcb29687af542e34d00e93 |
- Hit the `/search` API
```bash
curl --location 'http://localhost:8080/analytics/v1/search' \
--header 'Accept: */*' \
--header 'Accept-Language: en-US,en;q=0.9' \
--header 'Connection: keep-alive' \
--header 'Content-Type: application/json' \
--header 'Origin: http://localhost:9000' \
--header 'Referer: http... | [
"config/vector.yaml",
"crates/analytics/src/opensearch.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5559 | Bug: [FEATURE] add localisation support for any HTML template served through HyperSwitch
### Feature Description
Specifically for payout links
The terminal status pages for payout links are served from backend with basic HTML / JS / CSS templates. The language used in these resources is English which is hardcode... | diff --git a/.typos.toml b/.typos.toml
index 82fb84ecf38..2f68e039cde 100644
--- a/.typos.toml
+++ b/.typos.toml
@@ -62,5 +62,20 @@ extend-exclude = [
"openapi/open_api_spec.yaml", # no longer updated
"crates/router/src/utils/user/blocker_emails.txt", # this file contains various email domains
"CHANGELOG... | 2024-08-07T09:24:07Z |
## Description
Described in #5559
This uses a forked version of `rust-i18n` which handles string index slicing
original - https://github.com/longbridgeapp/rust-i18n
forked - https://github.com/kashif-m/rust-i18n/commits/v3.1.1-safe
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This... | 942e63d9cd607913d4ef7d5a01493a1615a783c1 | <details>
<summary>
1. Create a payout link (without passing any locale in create request)
</summary>
```curl
curl --location 'http://localhost:8080/payouts/create' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_cp78v8fT2C03KkEClI9aBMrqKF6N0SBLyUjasXtUQMbLTasfR2LJwjg0LlNHY060' \
--data '... | [
".typos.toml",
"Cargo.lock",
"crates/api_models/src/payouts.rs",
"crates/common_utils/src/consts.rs",
"crates/hyperswitch_domain_models/src/api.rs",
"crates/router/Cargo.toml",
"crates/router/locales/ar.yml",
"crates/router/locales/ca.yml",
"crates/router/locales/de.yml",
"crates/router/locales/en... | |
juspay/hyperswitch | juspay__hyperswitch-5548 | Bug: [FEATURE] Add separate function for Plaid in Connector Config
Need to add separate function for plaid in connector config for wasm | diff --git a/crates/connector_configs/src/connector.rs b/crates/connector_configs/src/connector.rs
index ed36dbca497..6cc32fe9553 100644
--- a/crates/connector_configs/src/connector.rs
+++ b/crates/connector_configs/src/connector.rs
@@ -3,7 +3,7 @@ use std::collections::HashMap;
#[cfg(feature = "payouts")]
use api_mo... | 2024-08-06T16:02:43Z |
## Description
Refer #5548
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [x] This PR modifies application configuration/environment variables
<!--
Provide links to the files with corresponding changes.
Following are the paths where you ca... | 76b14601c843e328d168559840d8e22f78e59d3f | [
"crates/connector_configs/src/connector.rs",
"crates/euclid_wasm/src/lib.rs"
] | ||
juspay/hyperswitch | juspay__hyperswitch-5540 | Bug: feat: support profile level delete in V1 - V2
Add support to delete user role
- Support profile level delete along with merchant level delete.
- In v1v2 version, delete from both V1 and V2
| diff --git a/crates/common_enums/src/enums.rs b/crates/common_enums/src/enums.rs
index 015bf2d6c68..b81fb6e04e8 100644
--- a/crates/common_enums/src/enums.rs
+++ b/crates/common_enums/src/enums.rs
@@ -3085,6 +3085,8 @@ pub enum ApiVersion {
Debug,
Eq,
PartialEq,
+ Ord,
+ PartialOrd,
serde::Des... | 2024-08-06T11:03:04Z |
## Description
- Add support to delete profile level users
- Delete is backward compatible
- Delete to support both V1 and V2 operations accordingly
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/envi... | 0ab0aa1a94fe98719d51ff89d27935a30cb33721 | Use the curl to delete user role
```
curl --location --request DELETE 'http://localhost:8080/user/user/delete' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "email_to_delete"
}'
```
| [
"crates/common_enums/src/enums.rs",
"crates/diesel_models/src/query/user_role.rs",
"crates/router/src/core/user_role.rs",
"crates/router/src/db/kafka_store.rs",
"crates/router/src/db/user_role.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5558 | Bug: [FEATURE] return total_count in payouts filtered list API response
### Feature Description
Payouts filter API should also send a `total_count` which represents the total number of payout entries available for a given set of constraints. This API supports pagination and returns only 20 entries at a given time, ... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 8974f940bac..4706bc8e0dc 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -14252,7 +14252,14 @@
"type": "array",
"items": {
"$ref": "#/components... | 2024-08-06T09:59:34Z |
## Description
This PR refactors the payouts filtered list's API response to include `total_count` which specifies the total number of payout entries available for the given constraints.
### Additional Changes
- [x] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR mod... | ed13ecac04f82b5c69b11636c1e355e7e17c60fd | 1. Create payouts (create multiple for listing based on different constraints)
<details>
<summary>2. Filter payouts</summary>
curl --location 'http://localhost:8080/payouts/list' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_cp78v8fT2C03KkEClI9aBMrqKF6N0SBLyUjasXtUQMbLT... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/payouts.rs",
"crates/diesel_models/src/query/payout_attempt.rs",
"crates/diesel_models/src/query/payouts.rs",
"crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs",
"crates/hyperswitch_domain_models/src/payouts/payouts.rs",
"crates/... | |
juspay/hyperswitch | juspay__hyperswitch-5537 | Bug: feat(users): Role info api with parent tags
| diff --git a/crates/api_models/src/user_role.rs b/crates/api_models/src/user_role.rs
index 02e40e2fe1a..5319c81385a 100644
--- a/crates/api_models/src/user_role.rs
+++ b/crates/api_models/src/user_role.rs
@@ -38,6 +38,19 @@ pub enum Permission {
GenerateReport,
}
+#[derive(Clone, Debug, serde::Serialize, Partia... | 2024-08-06T09:55:25Z |
## Description
<!-- Describe your changes in detail -->
The permission_info API previously returned permission groups, each with its own description. With this update, permission groups are now organized under parent groups, and descriptions are tied to the parent group instead of individual groups. Additionally, pe... | 72b61310523403113b469e6e6a9a89806849bb1e |
Request :
```
curl --location 'http://localhost:8080/user/module/list' \
--header 'Authorization: Bearer token '
```
Response :
```
[
{
"name": "Users",
"description": "Manage and invite Users to the Team",
"groups": [
"users_view",
"users_manage"
... | [
"crates/api_models/src/user_role.rs",
"crates/router/src/core/user_role.rs",
"crates/router/src/routes/app.rs",
"crates/router/src/routes/lock_utils.rs",
"crates/router/src/routes/user_role.rs",
"crates/router/src/services/authorization/info.rs",
"crates/router_env/src/logger/types.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5587 | Bug: [FEATURE] Adapt routing id and payout algorithm id in routing core
### Feature Description
In this PR we adapt the usage of routing_algorithm_id as well as payout_routing_algorithm_id in routing and payments core for v2.
### Possible Implementation
All the places that were being fetched as `serve_json::value... | diff --git a/crates/api_models/src/events/routing.rs b/crates/api_models/src/events/routing.rs
index 4c2c5ca2c0b..9cfcafc8733 100644
--- a/crates/api_models/src/events/routing.rs
+++ b/crates/api_models/src/events/routing.rs
@@ -3,7 +3,8 @@ use common_utils::events::{ApiEventMetric, ApiEventsType};
use crate::routing:... | 2024-08-06T08:17:36Z |
## Description
In this PR we adapt the usage of routing_algorithm_id as well as payout_routing_algorithm_id in routing and payments core for v2. Also refactored the routing_algorithm list, to list all the algorithms(history) on the basis of a single profile.
### Additional Changes
- [ ] This PR modifies the AP... | ff430c983c56a2c4ecec13c78ccee020abd7a5d8 | - List all the routing rules for under a profile
```
curl --location 'http://localhost:8080/v2/profile/pro_VirB3AxB3qItFTnLsuA2/routing_algorithm' \
--header 'api-key: dev_jsssWAg0XyxGK0ycPunkFjlItYNs30X1IVOr1MIF7lwrDQgBBk7npwdkZB4t7EQd'
```
| [
"crates/api_models/src/events/routing.rs",
"crates/api_models/src/routing.rs",
"crates/diesel_models/src/business_profile.rs",
"crates/diesel_models/src/query/routing_algorithm.rs",
"crates/diesel_models/src/schema_v2.rs",
"crates/hyperswitch_domain_models/src/business_profile.rs",
"crates/router/Cargo.... | |
juspay/hyperswitch | juspay__hyperswitch-5526 | Bug: [BUG] Fix status mapping for Plaid
### Feature Description
The current status mapping for Plaid is incorrect.
We need to fix the few of the status in the status mapping from Plaid status to Attempt status
### Possible Implementation
Will fix accordingly
### Have you spent some time checking if this featur... | diff --git a/crates/router/src/connector/plaid/transformers.rs b/crates/router/src/connector/plaid/transformers.rs
index 545ea271c43..cf9c91afd0c 100644
--- a/crates/router/src/connector/plaid/transformers.rs
+++ b/crates/router/src/connector/plaid/transformers.rs
@@ -233,16 +233,16 @@ impl From<PlaidPaymentStatus> for... | 2024-08-05T11:58:05Z |
## Description
<!-- Describe your changes in detail -->
There was a need to fix the status mapping for Plaid as the previous mapping was incorrect.
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/envir... | a3e01bb4ae5893f639f3846ccb73adcca6b25ee0 |
Payment sync -
```
curl --location --request GET 'https://sandbox.hyperswitch.io/payments/pay_IKnoLdEMCFdurH4Ps1Zl?force_sync=true' \
--header 'Accept: application/json' \
--header 'api-key: some key'
```
During payments sync, we used to get `status` as `requires_capture` for Open banking PIS flow, which is wr... | [
"crates/router/src/connector/plaid/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5394 | Bug: [FEATURE] Supporting processors token in Payments API
### Feature Description
During the transition phase of Hyperswitch, Merchant should be able to send the processor's token to Hyperswitch to process MIT transaction. This is because, Merchant will not have the card data to migrate from Processor to Hypersw... | diff --git a/crates/api_models/src/mandates.rs b/crates/api_models/src/mandates.rs
index f4089a16c22..dc61aa08b0c 100644
--- a/crates/api_models/src/mandates.rs
+++ b/crates/api_models/src/mandates.rs
@@ -120,4 +120,14 @@ pub struct MandateListConstraints {
pub enum RecurringDetails {
MandateId(String),
Paym... | 2024-08-01T10:46:32Z |
## Description
<!-- Describe your changes in detail -->
During the transition phase of Hyperswitch, Merchant should be able to send the processor's token to Hyperswitch to process MIT transaction. This is because, Merchant will not have the card data to migrate from Processor to Hyperswitch.
The migration is here:
... | 4364630d6ffbce43bef0947a0150ce255a43751a |
### The testing flows are as follows:
1. Create a Setup Mandate Payment.
2. Get the payment_method_id.
3. Get the connector_mandate_id from payment_method table in db (using pm_method_id) -> this is our payment_processor_token (PPT).
4. Now create a recurring_payment using the above ppt.
The curls for the same... | [
"crates/api_models/src/mandates.rs",
"crates/diesel_models/src/payment_intent.rs",
"crates/diesel_models/src/schema.rs",
"crates/diesel_models/src/schema_v2.rs",
"crates/hyperswitch_domain_models/src/payments.rs",
"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs",
"crates/hyperswitch_do... | |
juspay/hyperswitch | juspay__hyperswitch-5506 | Bug: Docs: Adding redirect URL details
Documentation didn't have any details about the Redirect URL. | diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs
index a466288b416..09fede09e5d 100644
--- a/crates/api_models/src/payments.rs
+++ b/crates/api_models/src/payments.rs
@@ -2978,7 +2978,6 @@ where
| PaymentMethodDataResponse::MandatePayment {}
| PaymentM... | 2024-08-01T10:24:49Z |
## Description
<!-- Describe your changes in detail -->
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with corresponding changes.
Followin... | c036fd7f41a21eb481859671db672b0bcebdca97 | [
"crates/api_models/src/payments.rs"
] | ||
juspay/hyperswitch | juspay__hyperswitch-5510 | Bug: [FEAT] add a wrapper for encryption and decryption
| diff --git a/crates/common_utils/src/macros.rs b/crates/common_utils/src/macros.rs
index abd24ac8679..06554ee9b51 100644
--- a/crates/common_utils/src/macros.rs
+++ b/crates/common_utils/src/macros.rs
@@ -301,3 +301,14 @@ mod id_type {
};
}
}
+
+/// Get the type name for a type
+#[macro_export]
+macro_ru... | 2024-08-01T08:00:17Z |
## Description
<!-- Describe your changes in detail -->
Added a wrapper for Crypto Operation (Encrypt, Decrypt). So any changes in Encryption framework can be done in one place. This also adds logging for table name for which the Encryption and Decryption is happening
## Motivation and Context
<!--
Why is this ... | 29c5f8a7570513bd0a23e5d0a90d6c2f78c63f6f |
- All sanity tests for MerchantAccount Create, Payments, Refunds
- Check the table name field in the encryption logs

| [
"crates/common_utils/src/macros.rs",
"crates/hyperswitch_domain_models/src/business_profile.rs",
"crates/hyperswitch_domain_models/src/customer.rs",
"crates/hyperswitch_domain_models/src/merchant_account.rs",
"crates/hyperswitch_domain_models/src/merchant_connector_account.rs",
"crates/hyperswitch_domain_... | |
juspay/hyperswitch | juspay__hyperswitch-5504 | Bug: [TRACKER] This issue tracks all the issues related to payment links
### Bug Description
1. open payment links are listing saved payment methods
### Expected Behavior
1. open payment links should not list saved payment methods
### Have you spent some time checking if this bug has been raised before... | diff --git a/crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js b/crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js
index 6269b3546af..71f0875f42e 100644
--- a/crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js
+++ b/cra... | 2024-08-01T07:14:07Z |
## Description
This PR adds an argument to be sent to the SDK for open payment links. This field controls the listing of SPMs for a given customer. Default value is `true` in SDK, needs to be sent as `false` explicitly during SDK integration
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] ... | 93f557bacb9bf8e77e3b7b1b0521f0566793305b | <details>
<summary>1. Create non 3DS open payment link with an existing customer</summary>
curl --location 'https://sandbox.hyperswitch.io/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: API_KEY' \
--data-raw '{
"customer_id": "cus_05845u0qSuOE... | [
"crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js"
] | |
juspay/hyperswitch | juspay__hyperswitch-5495 | Bug: [BUG] Open payment links does not redirect to status page
### Bug Description
Open payment links does not redirect to status page after payment has completed.
### Expected Behavior
Once payment request is submitted for non 3DS txns, payment link should redirect to the status page.
### Actual Behavio... | diff --git a/crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js b/crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js
index 4d14af1577c..6269b3546af 100644
--- a/crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js
+++ b/cra... | 2024-07-31T14:33:51Z |
## Description
Described in https://github.com/juspay/hyperswitch/issues/5495
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with correspondin... | 540ef071cb238a56d52d06687226aab7fd0dfe68 | <details>
<summary>1. Create non 3DS open payment link</summary>
curl --location 'https://sandbox.hyperswitch.io/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: API_KEY' \
--data-raw '{
"customer_id": "cus_05845u0qSuOENDnHLqTl",
"amount": ... | [
"crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js"
] | |
juspay/hyperswitch | juspay__hyperswitch-5491 | Bug: feat(auth): Support profile level authentication
- After the dashboard is changed to profile level, there will be 3 types of APIs based on the level
1. Merchant Level only
- API Keys
- Merchant Account
- Business profile
2. Profile Level only
- Connectors
- Routing
- Operations (Payment, refund, ... | diff --git a/crates/router/src/core/user.rs b/crates/router/src/core/user.rs
index 40741c76198..457a71dff8b 100644
--- a/crates/router/src/core/user.rs
+++ b/crates/router/src/core/user.rs
@@ -138,7 +138,9 @@ pub async fn signup(
.await?;
utils::user_role::set_role_permissions_in_cache_by_user_role(&state... | 2024-07-31T13:15:50Z |
## Description
<!-- Describe your changes in detail -->
Since we are going to change the dashboard to profile level, we need profile level authentication.
This PR introduces profile_id in the AuthenticationData. Core API will take this into consideration before sending any response.
### Additional Changes
- ... | 85209d12ae3439b555983d62b2cc3bf764c1b441 |
All the APIs which are using JWT, should not fail in the authentication layer.
| [
"crates/router/src/core/user.rs",
"crates/router/src/core/user_role.rs",
"crates/router/src/db/merchant_account.rs",
"crates/router/src/services/authentication.rs",
"crates/router/src/types/domain/user.rs",
"crates/router/src/types/domain/user/decision_manager.rs",
"crates/router/src/utils/user.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5487 | Bug: [refactor]: add level support for roles
Determine a given role exists at which level, i.e., determine a entity of each roles which it is associated to.
- This will help users to perform operation accordingly.
- A profile/merchant level user cannot perform org level opertaion.
- Similarly a hierarchy can be main... | diff --git a/crates/api_models/src/user_role/role.rs b/crates/api_models/src/user_role/role.rs
index 6d0bb2154d9..73b25c84af5 100644
--- a/crates/api_models/src/user_role/role.rs
+++ b/crates/api_models/src/user_role/role.rs
@@ -1,4 +1,4 @@
-use common_enums::{PermissionGroup, RoleScope};
+use common_enums::{EntityType... | 2024-07-31T10:48:31Z |
## Description
Add entity type to roles (predefined and customs)
This can be used to determine at which level a current entity exist, and can perform operations accordingly.
### Additional Changes
- [ ] This PR modifies the API contract
- [x] This PR modifies the database schema
- [ ] This PR modifies applic... | 540ef071cb238a56d52d06687226aab7fd0dfe68 | The change is at DB level and can be tested with the upcoming application changes PRs.
| [
"crates/api_models/src/user_role/role.rs",
"crates/common_enums/src/enums.rs",
"crates/diesel_models/src/role.rs",
"crates/diesel_models/src/schema.rs",
"crates/diesel_models/src/schema_v2.rs",
"crates/diesel_models/src/user_role.rs",
"crates/router/src/core/user_role/role.rs",
"crates/router/src/db/r... | |
juspay/hyperswitch | juspay__hyperswitch-5489 | Bug: [FEATURE] : Paybox payments integration
### Feature Description
Payone is payout connector
Documentation link: http://www1.paybox.com/wp-content/uploads/2017/08/ManuelIntegrationVerifone_PayboxDirect_V8.1_EN.pdf
Website url: [Paybox.com](http://paybox.com/)
### Have you spent some time to check if this... | diff --git a/config/config.example.toml b/config/config.example.toml
index 92bdaf6b924..7cbd6551303 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -227,6 +227,7 @@ noon.key_mode = "Test"
nuvei.base_url = "https://ppp-test.nuvei.com/"
opayo.base_url = "https://pi-test.sagepay.com/"
openno... | 2024-07-30T19:25:30Z |
## Description
<!-- Describe your changes in detail -->
Template code for Paybox
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with correspond... | 540ef071cb238a56d52d06687226aab7fd0dfe68 |
This is template code so, no api 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/api_models/src/enums.rs",
"crates/common_enums/src/enums.rs",
"crates/connector_configs/... | |
juspay/hyperswitch | juspay__hyperswitch-5483 | Bug: [BUG] : fix postgreSQL database url
### Have you spent some time checking if this bug has been raised before?
- [X] I checked and didn't find a similar issue
### Have you read the Contributing Guidelines?
- [X] I have read the [Contributing Guidelines](https://github.com/juspay/hyperswitch/blob/main/... | 2024-07-30T14:52:14Z |
## Description
<!-- Describe your changes in detail -->
Before
`export DATABASE_URL=$DB_USER:$DB_PASS@localhost:5432/$DB_NAME`
After
`export DATABASE_URL=postgres://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME` | be9347b8d56c0a6cf0d04cf51c75dd6426d3a21a | [] | |||
juspay/hyperswitch | juspay__hyperswitch-5480 | Bug: [FEATURE] Add Connector Config for Plaid
### Feature Description
Need to add connector config for Plaid for wasm
### Possible Implementation
Adding config in respective files
### Have you spent some time checking if this feature request has been raised before?
- [X] I checked and didn't find a similar issu... | diff --git a/crates/connector_configs/src/connector.rs b/crates/connector_configs/src/connector.rs
index bc781e05294..bf74adbc106 100644
--- a/crates/connector_configs/src/connector.rs
+++ b/crates/connector_configs/src/connector.rs
@@ -117,6 +117,7 @@ pub struct ConnectorTomlConfig {
pub bank_transfer: Option<Vec... | 2024-07-30T12:36:27Z |
## Description
<!-- Describe your changes in detail -->
Added connector config for wasm for Plaid
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [x] This PR modifies application configuration/environment variables
<!--
Provide links to the file... | 4ef3420ee8ad39ee28a0fb496b30fe2a7e108813 | [
"crates/connector_configs/src/connector.rs",
"crates/connector_configs/toml/development.toml",
"crates/connector_configs/toml/production.toml",
"crates/connector_configs/toml/sandbox.toml"
] | ||
juspay/hyperswitch | juspay__hyperswitch-5521 | Bug: [REFACTOR] Refactor deactivating and retrieve apis for routing v2
### Feature Description
Refactor deactivating and retrieve apis for routing v2
### Possible Implementation
Refactor deactivating and retrieve apis for routing v2
### Have you spent some time checking if this feature request has been raised be... | diff --git a/crates/api_models/src/routing.rs b/crates/api_models/src/routing.rs
index 265d0451117..aca7bfaebe3 100644
--- a/crates/api_models/src/routing.rs
+++ b/crates/api_models/src/routing.rs
@@ -30,7 +30,16 @@ impl ConnectorSelection {
}
}
}
+#[cfg(all(feature = "v2", feature = "routing_v2"))]
+#[d... | 2024-07-30T11:24:12Z |
## Description
Refactor api v2 routes for deactivating and retrieving the routing config
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the files with c... | a3ad0d92d71f654b3843bff550322f665d26223f | - To deactivate the routing config
```
curl --location --request PATCH 'http://localhost:8080/v2/profiles/pro_VirB3AxB3qItFTnLsuA2/deactivate_routing_algorithm' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_CMjrHy1A62kEwdzCDoLWRBta6xBZalgupmamFfdKfJdMjklfCil5S1wqAZ0F4Jw5' \
--data '
'
`... | [
"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-5475 | Bug: refactor(configs): include env for cybersource in intergration_test
## Description
Include configs for cybersource in `Integration_test` file to facilitate successful cypress tests on our Integ environment | diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml
index a498ad38995..39b19fd0535 100644
--- a/config/deployments/integration_test.toml
+++ b/config/deployments/integration_test.toml
@@ -289,6 +289,12 @@ ideal = { country = "NL", currency = "EUR" }
klarna = { country = "AU... | 2024-07-29T17:14:56Z |
## Description
<!-- Describe your changes in detail -->
This will add the config for cybersource in Integ.
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [x] This PR modifies application configuration/environment variables
<!--
Provide links to... | 45a149418f1dad0cd27f975dc3dd56c68172b9dd |
This is an env change, hence wouldn't require testing as such.
| [
"config/deployments/integration_test.toml"
] | |
juspay/hyperswitch | juspay__hyperswitch-5486 | Bug: [FEATURE] - Add TimeRange based search on GlobalSearch
### Feature Description
Global search be able to give out result based on a given time range and not just rely on the query string given as a parameter in the request
### Possible Implementation
`{
"query": "usd",
"filters": {
"stat... | diff --git a/crates/analytics/src/opensearch.rs b/crates/analytics/src/opensearch.rs
index 1031c815448..11ea4e4f7ab 100644
--- a/crates/analytics/src/opensearch.rs
+++ b/crates/analytics/src/opensearch.rs
@@ -1,6 +1,7 @@
use api_models::{
analytics::search::SearchIndex,
errors::types::{ApiError, ApiErrorResp... | 2024-07-29T10:11:46Z |
## Description
<!-- Describe your changes in detail -->
## Task 1
The `status` field is different in different indexes:
- `status` in Payment Attempts and Payment Intents
- `refund_status` in Refunds
- `dispute_status` in Disputes
The correct mapping of status for each index is done, to get the search-results... | 45a149418f1dad0cd27f975dc3dd56c68172b9dd |
Tested through Postman curls:
| [
"crates/analytics/src/opensearch.rs",
"crates/analytics/src/search.rs",
"crates/api_models/src/analytics/search.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5469 | Bug: feat(opensearch): Update status filter field name to match index
The `status` field is different in different indexes:
- `status` in Payment Attempts and Payment Intents
- `refund_status` in Refunds
- `dispute_status` in Disputes
The correct mapping of `status` for each index is required, to get the corre... | diff --git a/crates/analytics/src/opensearch.rs b/crates/analytics/src/opensearch.rs
index 1031c815448..11ea4e4f7ab 100644
--- a/crates/analytics/src/opensearch.rs
+++ b/crates/analytics/src/opensearch.rs
@@ -1,6 +1,7 @@
use api_models::{
analytics::search::SearchIndex,
errors::types::{ApiError, ApiErrorResp... | 2024-07-29T10:11:46Z |
## Description
<!-- Describe your changes in detail -->
## Task 1
The `status` field is different in different indexes:
- `status` in Payment Attempts and Payment Intents
- `refund_status` in Refunds
- `dispute_status` in Disputes
The correct mapping of status for each index is done, to get the search-results... | 45a149418f1dad0cd27f975dc3dd56c68172b9dd |
Tested through Postman curls:
| [
"crates/analytics/src/opensearch.rs",
"crates/analytics/src/search.rs",
"crates/api_models/src/analytics/search.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5454 | Bug: [FEATURE] Set Code owners for Pyament Methods
### Feature Description
Need to set code owners for Payment Method suite
### Possible Implementation
Changing the codeowners file
### Have you spent some time checking if this feature request has been raised before?
- [X] I checked and didn't find a similar iss... | 2024-07-26T10:32:42Z |
## Description
<!-- Describe your changes in detail -->
Have set code owners for Payment Methods
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to the fil... | 2bee694d5bb7393c11817bbee26b459609f6dd8c | [] | |||
juspay/hyperswitch | juspay__hyperswitch-5451 | Bug: [FEATURE] [BAMBORA, BITPAY, STAX] Move connector code for stax to crate hyperswitch_connectors
### Feature Description
Connector code for `bambora, bitpay and stax` needs to be moved from crate router to new crate hyperswitch_connectors
### Possible Implementation
Connector code for `bambora, bitpay a... | diff --git a/Cargo.lock b/Cargo.lock
index 45556ef401e..fde659c77c7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3850,6 +3850,7 @@ dependencies = [
"serde_json",
"strum 0.26.2",
"time",
+ "url",
"uuid",
]
diff --git a/crates/common_enums/src/enums.rs b/crates/common_enums/src/enums.rs
index 3454a6ba020..2bd2... | 2024-07-26T10:09:10Z |
## Description
<!-- Describe your changes in detail -->
Move connector code for `bambora, bitpay and stax` from crate `router` to crate `hyperswitch_connectors`.
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application config... | 46f3f6132aa667c29bea063ad1b04a880ae377d3 |
The following flows need to be tested for connector `Bambora`:
1. Authorize(Auto Capture):
Request:
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_cNgJBniCHyPWijpb73YRpH06jVNPFSU8B8oZl9yJCa1tK... | [
"Cargo.lock",
"crates/common_enums/src/enums.rs",
"crates/hyperswitch_connectors/Cargo.toml",
"crates/hyperswitch_connectors/src/connectors.rs",
"crates/router/src/connector/bambora.rs",
"crates/router/src/connector/bambora/transformers.rs",
"crates/router/src/connector/bitpay.rs",
"crates/router/src/... | |
juspay/hyperswitch | juspay__hyperswitch-5446 | Bug: chore: address Rust 1.80 clippy lints
Address the clippy lints occurring due to new rust version 1.80
See https://github.com/juspay/hyperswitch/issues/3391 for more information. | diff --git a/crates/api_models/src/events.rs b/crates/api_models/src/events.rs
index 8289a320d01..a0808c0c24b 100644
--- a/crates/api_models/src/events.rs
+++ b/crates/api_models/src/events.rs
@@ -145,20 +145,6 @@ impl_api_event_type!(
)
);
-#[cfg(feature = "stripe")]
-impl_api_event_type!(
- Miscellaneous,
... | 2024-07-26T07:51:31Z |
## Description
<!-- Describe your changes in detail -->
This PR addresses the clippy lints occurring due to new rust version 1.80
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
... | 93976db30a91b3e67d854681fb4b9db8eea7e295 |
Basic sanity testing should suffice
| [
"crates/api_models/src/events.rs",
"crates/external_services/src/file_storage/file_system.rs",
"crates/router/src/compatibility/stripe/payment_intents.rs",
"crates/router/src/compatibility/stripe/refunds.rs",
"crates/router/src/configs/settings.rs",
"crates/router/src/connector/adyen/transformers.rs",
"... | |
juspay/hyperswitch | juspay__hyperswitch-5443 | Bug: [FEATURE] : Create env variable for enabling keymanager service
### Feature Description
Application changes for encryption service is not backward compatible, so encryption service has to be enabled with runtime config once the build is deployed and certified stable..
### Possible Implementation
Introduce th... | diff --git a/crates/common_utils/src/types/keymanager.rs b/crates/common_utils/src/types/keymanager.rs
index f4b671abcd7..e263f3d5789 100644
--- a/crates/common_utils/src/types/keymanager.rs
+++ b/crates/common_utils/src/types/keymanager.rs
@@ -23,6 +23,7 @@ use crate::{
#[derive(Debug)]
pub struct KeyManagerState ... | 2024-07-25T11:50:32Z |
## Description
This PR adds env variable for enabling encryption service. Application changes for encryption service is not backward compatible, so once the build is deployed and certified stable this feature will be enabled by setting up "true" to key_manager.enabled flag. Later only application starts using encrypt... | 043ea6d8dc9fe8108e0b7eb8113217bc37fa488a | **This can't be tested in Test environment, since it is already enabled in both**
1. key_manager.enabled: false and feature "encryption_service" disabled. Encryption and decryption happens within the application
2. key_manager.enabled: true and feature "encryption_service" disabled. Encryption and decryption happens... | [
"crates/common_utils/src/types/keymanager.rs",
"crates/hyperswitch_domain_models/src/type_encryption.rs",
"crates/router/Cargo.toml",
"crates/router/src/configs/defaults.rs",
"crates/router/src/configs/settings.rs",
"crates/router/src/routes/admin.rs",
"crates/router/src/types/domain/types.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5440 | Bug: [FEATURE] [FISERV] Move connector code for fiserv to crate hyperswitch_connectors
### Feature Description
Connector code for `fiserv` needs to be moved from crate router to new crate hyperswitch_connectors
### Possible Implementation
Connector code for `fiserv` needs to be moved from crate router to new crat... | diff --git a/Cargo.lock b/Cargo.lock
index c5eac1ef868..45556ef401e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3836,6 +3836,7 @@ version = "0.1.0"
dependencies = [
"api_models",
"async-trait",
+ "base64 0.22.0",
"cards",
"common_enums",
"common_utils",
@@ -3843,10 +3844,13 @@ dependencies = [
"hyperswitc... | 2024-07-25T11:30:36Z |
## Description
<!-- Describe your changes in detail -->
Move connector code for `fiserv` from crate `router` to crate `hyperswitch_connectors`.
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environmen... | 979539702190363c67045d509be04498efd9a1fa |
The following flows need to be tested for connector `Fiserv`:
- Authorize:
Request:
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_xo3RNH4SJGVUfv9B27JQjb6PAN9jmHcJqE4LQjPkLEjvfeFt9MGPENcooNOOEj9... | [
"Cargo.lock",
"crates/hyperswitch_connectors/Cargo.toml",
"crates/hyperswitch_connectors/src/connectors.rs",
"crates/router/src/connector/fiserv.rs",
"crates/router/src/connector/fiserv/transformers.rs",
"crates/hyperswitch_connectors/src/constants.rs",
"crates/hyperswitch_connectors/src/default_impleme... | |
juspay/hyperswitch | juspay__hyperswitch-5437 | Bug: fix: change country in SessionFlowRouting
## Description
Currently Shipping country is being used in SessionFlowRouting, which affects the PaymentMethodList as the later depends on billing country. | diff --git a/crates/router/src/core/payment_methods/cards.rs b/crates/router/src/core/payment_methods/cards.rs
index 5f5e59a89a5..6ed12388c4a 100644
--- a/crates/router/src/core/payment_methods/cards.rs
+++ b/crates/router/src/core/payment_methods/cards.rs
@@ -2556,7 +2556,7 @@ pub async fn list_payment_methods(
... | 2024-07-24T17:45:01Z |
## Description
<!-- Describe your changes in detail -->
Currently Shipping country is being used in SessionFlowRouting, which affects the PaymentMethodList as the later depends on billing country.
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] ... | 8e7de9068428e585c6848d3de5b1b4f292324dfc | [
"crates/router/src/core/payment_methods/cards.rs"
] | ||
juspay/hyperswitch | juspay__hyperswitch-5433 | Bug: refactor(opensearch): Add Error Handling for Empty Query and Filters in Request
**Description:**
> **Problem:**
> Currently, there is no validation to check whether both the `query` and `filters` in the request are empty. This can lead to the processing of invalid requests, which may cause unexpected behavi... | diff --git a/crates/analytics/src/opensearch.rs b/crates/analytics/src/opensearch.rs
index 05f89b655cf..1031c815448 100644
--- a/crates/analytics/src/opensearch.rs
+++ b/crates/analytics/src/opensearch.rs
@@ -71,6 +71,8 @@ pub enum OpenSearchError {
ConnectionError,
#[error("Opensearch NON-200 response conten... | 2024-07-24T13:34:26Z |
## Description
<!-- Describe your changes in detail -->
> Implement a validation check that ensures the `query` field is not empty or consisting only of whitespace, and that the `filters` field is not entirely `None` or containing only `None` values for all its fields. If both conditions are true, an error should be... | e18ea7a7bab257a6082639e84da8d9e44f31168f |
```bash
curl 'http://localhost:8080/analytics/v1/search' \
-H 'sec-ch-ua: "Not/A)Brand";v="8", "Chromium";v="126", "Google Chrome";v="126"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNTEzYWUyODItN2I1NS00MGMwLWFiZGMtYjdiMGYzNDNkMTQ2IiwibWVyY2h... | [
"crates/analytics/src/opensearch.rs",
"crates/analytics/src/search.rs",
"crates/api_models/src/analytics/search.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5438 | Bug: fix: refactor error codes for failing cypress tests
## Description
Cypress tests are failing due to some recent refactors in error codes, which needs to be revamped to the correct ones in cypress framework. | 2024-07-24T07:31:25Z |
## Description
<!-- Describe your changes in detail -->
Changing of error codes to match cypress mappings
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<!--
Provide links to ... | 26b878308f7e493d6adb8c08b54a5498406eb28a |
Tested locally for the following connectors:
PS: The failing tests are not due to error codes they are due to expected status 200 but instead receiving error in routing.
stripe
<img width="674" alt="Screenshot 2024-07-25 at 9 05 33 AM" src="https://github.com/user-attachments/assets/01ff4e3d-75e3-4831-a121-0459d66... | [] | ||
juspay/hyperswitch | juspay__hyperswitch-5496 | Bug: [REFACTOR] Refactor routes for creating and activating the routing configs for v2
### Feature Description
Refactor routes for creating and activating the routing configs for v2
### Possible Implementation
Refactor routes for creating and activating the routing configs for v2
### Have you spent some time c... | diff --git a/crates/api_models/Cargo.toml b/crates/api_models/Cargo.toml
index 84f8d2f01e9..b6b6f219bd8 100644
--- a/crates/api_models/Cargo.toml
+++ b/crates/api_models/Cargo.toml
@@ -17,8 +17,9 @@ frm = []
olap = []
openapi = ["common_enums/openapi", "olap", "recon", "dummy_connector", "olap"]
recon = []
+v1 =[]
... | 2024-07-23T19:12:18Z |
## Description
This PR adds a `Routing_v2` flag and renames all the endpoints, and refactors the create and activate endpoints
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
<... | 540ef071cb238a56d52d06687226aab7fd0dfe68 | - Create routing
```
curl --location 'http://localhost:8080/routing_algorithm' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_1ZYFaypqi4RKpkjTFbHHkdgAqvUsG6TYJXoH53D59BQ1uFMrBIcxrF4f7FiJkOWw' \
--data '{
"name": "newalgo",
"description": "It is my ADVANCED config",
"algorit... | [
"crates/api_models/Cargo.toml",
"crates/api_models/src/events/routing.rs",
"crates/api_models/src/routing.rs",
"crates/diesel_models/Cargo.toml",
"crates/hyperswitch_domain_models/src/lib.rs",
"crates/router/Cargo.toml",
"crates/router/src/core/routing.rs",
"crates/router/src/core/routing/helpers.rs",... | |
juspay/hyperswitch | juspay__hyperswitch-5422 | Bug: [FEATURE] Fixes in PM Auth
### Feature Description
Bugs related to PML in PM Auth needs to be fixed
### Possible Implementation
Implementation depends on the specific bugs encountered.
### Have you spent some time checking if this feature request has been raised before?
- [X] I checked and didn't find a si... | diff --git a/crates/router/src/core/payment_methods/cards.rs b/crates/router/src/core/payment_methods/cards.rs
index 70a0a4e4cd1..a55e9c76b0f 100644
--- a/crates/router/src/core/payment_methods/cards.rs
+++ b/crates/router/src/core/payment_methods/cards.rs
@@ -2356,7 +2356,8 @@ pub async fn list_payment_methods(
.... | 2024-07-23T14:01:03Z |
## Description
<!-- Describe your changes in detail -->
Added a check in mca for pm_auth_connectors to include only the active ones.
If a Pm auth connector is disabled, it should not show up in the `pm_auth_connector` field in PML response
### Additional Changes
- [ ] This PR modifies the API contract
- [ ... | 0f89a0acbfc2d55f415e0daeb27e8d9022e6a862 |
1. Deactivate the pm_auth account -
```
curl --location --request POST 'http://localhost:8080/account/merchant_1721742760/connectors/mca_r7PzL0AWF5tHJ8sUWqIG' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: test_admin' \
--data-raw '{
"connector_type": ... | [
"crates/router/src/core/payment_methods/cards.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5417 | Bug: Add fields in business profile to collect address details (billing and shipping) irrespective of connector required fields
Always collect address details | Collect address details only if required by connector | Connector required fields | payment method list | Session call
-- | -- | -- | -- | --
False | F... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 84711c7b35f..cd4c73abba4 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -3060,16 +3060,30 @@
"description": "Whether to use the billing details passed when creating the in... | 2024-07-23T12:29:54Z |
## Description
<!-- Describe your changes in detail -->
Always collect address details | Collect address details only if required by connector | Connector required fields | payment method list | Session call
-- | -- | -- | -- | --
False | False | False | False | False
False | False | True | True | False
False... | ca72fedae82194abb7216854c7dd61c64d57b1d6 |
-> Create a merchant connector account for cybersource and enable the below payment method
```
"payment_methods_enabled": [
{
"payment_method": "pay_later",
"payment_method_types": [
{
"minimum_amount": 1,
"maximum_amount"... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/admin.rs",
"crates/diesel_models/src/business_profile.rs",
"crates/diesel_models/src/schema.rs",
"crates/diesel_models/src/schema_v2.rs",
"crates/hyperswitch_domain_models/src/business_profile.rs",
"crates/router/src/configs.rs",
"crates/rou... | |
juspay/hyperswitch | juspay__hyperswitch-5413 | Bug: [FEATURE] Include created_at and modified_at keys in PaymentAttemptResponse
### Feature Description
Include created_at and modified_at keys in PaymentAttemptResponse, to display in payments dashboard
### Possible Implementation
Include created_at and modified_at keys in PaymentAttemptResponse, to display in ... | diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs
index 5ac8d0edcc3..dd4ae572fd0 100644
--- a/crates/api_models/src/payments.rs
+++ b/crates/api_models/src/payments.rs
@@ -758,9 +758,7 @@ impl HeaderPayload {
}
}
-#[derive(
- Default, Debug, serde::Serialize, Clone, PartialEq... | 2024-07-23T09:45:40Z |
## Description
<!-- Describe your changes in detail -->
## Summary
This PR introduces the created_at and modified_at keys to the PaymentAttemptResponse object. These keys will store the timestamps for when a payment attempt is created and last modified, respectively.
**Changes**
Added **created_at** key: This k... | 876eeea0f426f63d0419021ba85372a016d46e27 |
```
curl 'http://localhost:8080/payments/pay_sQBhXpPgst6s57BvS9Fk?expand_attempts=true' \
-H 'Accept: */*' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8,fr;q=0.7' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-H 'Origin: http://localhost:90... | [
"crates/api_models/src/payments.rs",
"crates/router/src/types/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5407 | Bug: Fix(bug): Backend Issue for 4-Digit Input and Correct 3DS Routing Through no_3ds for Datatrans
https://github.com/juspay/hyperswitch-cloud/issues/6000
1)Expiry Month : YYYY gives error
2)3ds should get routed through no_3ds, and should not throw an error
| diff --git a/crates/router/src/connector/datatrans/transformers.rs b/crates/router/src/connector/datatrans/transformers.rs
index 9c4ab6cf6a6..96c7bcd8b2c 100644
--- a/crates/router/src/connector/datatrans/transformers.rs
+++ b/crates/router/src/connector/datatrans/transformers.rs
@@ -7,7 +7,7 @@ use serde::{Deserialize... | 2024-07-23T07:52:44Z |
## Description
<!-- Describe your changes in detail -->
1)Datatrans accepts expiry year in YY format only . Fixed that.
2) Removed the Check for 3ds flow (Earlier Not Implemented error was thrown)
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ]... | 876eeea0f426f63d0419021ba85372a016d46e27 | **for 3DS**
Request
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key:' \
--data '{
"amount": 800,
"currency": "USD",
"amount_to_capture":800,
"confirm": true,
"capture_method": "automatic",
... | [
"crates/router/src/connector/datatrans/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5404 | Bug: handle packages to run are being empty
<img width="679" alt="image" src="https://github.com/user-attachments/assets/0c3a8639-7713-414c-9cc7-72516767dabd">
During the cargo hack if the packages to run are empty the workflow will error out. | diff --git a/scripts/ci-checks.sh b/scripts/ci-checks.sh
index 7f2cecf8405..69bc56a623b 100755
--- a/scripts/ci-checks.sh
+++ b/scripts/ci-checks.sh
@@ -74,7 +74,7 @@ crates_with_v1_feature="$(
| .name as $name | .features[] | { $name, features: . } # Expand nested features object to have package - features combi... | 2024-07-22T14:08:33Z |
## Description
<!-- Describe your changes in detail -->
handle packages to run are being empty
<img width="679" alt="image" src="https://github.com/user-attachments/assets/0ebc544d-7579-4a29-b533-c2c860e5a296">
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the databa... | eaa391a959076424399fb9331a78a16eaf790478 | [
"scripts/ci-checks.sh"
] | ||
juspay/hyperswitch | juspay__hyperswitch-5402 | Bug: refactor: Add customer_details, billing and shipping address in Payment LIst
Add decrypted customer_details, shipping and billling address in Payment list response for Dashboard usages | diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs
index 45a6bb46385..04cf4cd5da3 100644
--- a/crates/api_models/src/payments.rs
+++ b/crates/api_models/src/payments.rs
@@ -206,7 +206,9 @@ pub struct CustomerDetails {
}
/// Details of customer attached to this payment
-#[derive(Debug... | 2024-07-22T13:24:41Z |
## Description
<!-- Describe your changes in detail -->
This pr adds the decrypted customer_details, shipping and billling address in Payment list response.
### Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configurati... | 4838a86ebcb5000e65293e0d095e5de95e3a64a0 |
We need to make a payment with shipping, billing and customer details and then hit the Payment list api:
```
curl --location --request GET 'http://127.0.0.1:8080/payments/list' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'api-key:xxxxxxx' \
--data '{
}'
```
... | [
"crates/api_models/src/payments.rs",
"crates/router/src/core/payments/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5400 | Bug: store `network_transaction_id` in stripe `authorize` flow
Now we are trying to store the `network_transaction_id` that comes in the latest_attempt of the authorize response instead we should be storing the `network_transaction_id` that comes in the `latest_charge` object. | diff --git a/crates/router/src/connector/stripe/transformers.rs b/crates/router/src/connector/stripe/transformers.rs
index 786f4a060b7..90ddc9f0b90 100644
--- a/crates/router/src/connector/stripe/transformers.rs
+++ b/crates/router/src/connector/stripe/transformers.rs
@@ -2389,7 +2389,18 @@ impl<F, T>
//Note... | 2024-07-22T11:52:12Z |
## Description
<!-- Describe your changes in detail -->
Now we are trying to store the `network_transaction_id` that comes in the latest_attempt of the authorize response instead we should be storing the `network_transaction_id` that comes in the `latest_charge` object.
### Additional Changes
- [ ] This PR mod... | 3d385bbf736f8d7dae73a233d64148a8e88ec17e |
-> Create mca for stripe
-> Create a payment with `steup_future_usage: off_session` 0 amount
```
curl --location 'http://localhost:8080/payments' \
--header 'Accept: application/json' \
--header 'api-key: dev_WQrUfhm6TWzpFVlFlDScYFQxn9lKKoGHhOXk6YHQpWkQZclxtkrRdQX5wmc0p2dO' \
--header 'Content-Type: applicatio... | [
"crates/router/src/connector/stripe/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-5411 | Bug: refactor: Patch file for DB migration
## Description
Create a patch file which removes id from schema.rs for all tables havin Integer id col. | diff --git a/crates/common_utils/src/id_type.rs b/crates/common_utils/src/id_type.rs
index 100f7957f5c..63f8497cae7 100644
--- a/crates/common_utils/src/id_type.rs
+++ b/crates/common_utils/src/id_type.rs
@@ -36,11 +36,11 @@ fn get_invalid_input_character(input_string: Cow<'static, str>) -> Option<char>
.find(... | 2024-07-22T11:51:33Z |
## Description
<!-- Describe your changes in detail -->
This PR includes a patch file for removal of id from tables.
## Tables modified for API-V2:
**blocklist**
```
unique_key (merchant_id, fingerprint_id)
primary_key (merchant_id, fingerprint_id)
```
**payment_methods**
```
no unique_key
primary_key... | 7068fbfbe2f561f71c2358d8d2a744d28672a892 |
The code compilation works fine, and moreover it is id exclusion so we can probably skip testing.
| [
"crates/common_utils/src/id_type.rs",
"crates/common_utils/src/id_type/customer.rs",
"crates/diesel_models/remove_id.patch",
"crates/diesel_models/src/schema.rs",
"crates/diesel_models/src/address.rs",
"crates/diesel_models/src/blocklist.rs",
"crates/diesel_models/src/customers.rs",
"crates/diesel_mod... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.