repo
stringclasses
1 value
instance_id
stringlengths
22
24
problem_statement
stringlengths
30
24.1k
patch
stringlengths
0
1.9M
test_patch
stringclasses
1 value
created_at
stringdate
2022-11-25 05:12:07
2025-06-13 10:24:29
hints_text
stringlengths
11
235k
base_commit
stringlengths
40
40
test_instructions
stringlengths
0
232k
filenames
listlengths
0
300
juspay/hyperswitch
juspay__hyperswitch-7904
Bug: [FEATURE] Tokenization service ### Feature Description Need of generic tokenization service is required which can be used to tokenize any data which could be used by the consumer in various other services, one of the usecases is proxy payments ### Possible Implementation Use the locker to store the tokenized...
diff --git a/api-reference-v2/api-reference/tokenization/tokenization--create.mdx b/api-reference-v2/api-reference/tokenization/tokenization--create.mdx new file mode 100644 index 00000000000..a0002736185 --- /dev/null +++ b/api-reference-v2/api-reference/tokenization/tokenization--create.mdx @@ -0,0 +1,3 @@ +--- +open...
2025-04-25T11:46:43Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [x] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Create a new set of endpoints for giving tokenization as a serv...
8e9bad6457449ef2a435be03a9f97acc2dd2108a
**Create a token** ```bash curl --location 'http: //localhost:8080/v2/tokenize' \ --header 'x-profile-id: pro_neU1Qn8gnIich0LAaQXm' \ --header 'Authorization: publishable-key=PUBLISHABLE_KEY,client-secret=CLIENT_SECRET' \ --header 'Content-Type: application/json' \ --data '{ "customer_id": customer_id, ...
[ "api-reference-v2/api-reference/tokenization/tokenization--create.mdx", "api-reference-v2/mint.json", "api-reference-v2/openapi_spec.json", "config/development.toml", "crates/api_models/Cargo.toml", "crates/api_models/src/events.rs", "crates/api_models/src/lib.rs", "crates/api_models/src/payment_metho...
juspay/hyperswitch
juspay__hyperswitch-7883
Bug: [chore] add cardholder name to payment required fields Add cardholder name to payment required fields for Worldpay card payments.
diff --git a/crates/hyperswitch_connectors/src/connectors/worldpay.rs b/crates/hyperswitch_connectors/src/connectors/worldpay.rs index 4628eaf116e..645502b267d 100644 --- a/crates/hyperswitch_connectors/src/connectors/worldpay.rs +++ b/crates/hyperswitch_connectors/src/connectors/worldpay.rs @@ -285,6 +285,7 @@ impl Co...
2025-04-24T13:40:33Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR adds below changes - Add required field for Worldpay card transactions - card holder name. - Fi...
54e910582fac9bd6fe300a9a96926adf5123403e
<details> <summary>1. [No3DS] Create zero amount off_session payment</summary> cURL curl --location --request POST 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_W87tjiH2egf7KXq7k4Z3Kr4...
[ "crates/hyperswitch_connectors/src/connectors/worldpay.rs", "crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs", "crates/payment_methods/src/configs/payment_connector_required_fields.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7895
Bug: open router integration of elimination routing Add support for integrating open router's elimination routing in Hyperswitch
diff --git a/crates/api_models/src/open_router.rs b/crates/api_models/src/open_router.rs index c33365df169..07af605892f 100644 --- a/crates/api_models/src/open_router.rs +++ b/crates/api_models/src/open_router.rs @@ -10,14 +10,14 @@ pub use euclid::{ }; use serde::{Deserialize, Serialize}; -use crate::enums::{Curre...
2025-04-24T13:31:59Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR adds the elimination routing integration support with o...
bc7679d54f09c04037604c04e6a655ed5bf264cd
Create merchant_account, api_key, mca 1. Enable elimination routing for merchant ``` curl --location --request POST 'http://localhost:8080/account/merchant_1744368166/business_profile/pro_GrzjTHd5Pn5hAhwTZPRn/dynamic_routing/elimination/toggle?enable=dynamic_connector_selection' \ --header 'api-key: xyz' ``` 2...
[ "crates/api_models/src/open_router.rs", "crates/api_models/src/routing.rs", "crates/router/src/core/payments/routing.rs", "crates/router/src/core/routing/helpers.rs", "crates/router/src/core/routing/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7924
Bug: Fix: populating the docker related changes from main to stable release Some docker related changes were made in the main branch, these need to be included in the stable release too.
diff --git a/README.md b/README.md index 72ac7e0e3a7..3033263e578 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,8 @@ Single API to access the payments ecosystem and its features ## Table of Contents 1. [Introduction](#introduction) -2. [Architectural Overview](#architectural-overview) -3. [Try Hyperswitch](#...
2025-04-24T13:02:22Z
This PR contains the docker compose file changes for stable release. The PRs included in this file are - https://github.com/juspay/hyperswitch/pull/7762 - https://github.com/juspay/hyperswitch/pull/7839 - https://github.com/juspay/hyperswitch/pull/7841 - https://github.com/juspay/hyperswitch/pull/7653
a387bd4711a12c826f8ac0f66df17336778720c5
[ "README.md", "docker-compose.yml", "scripts/docker_output.sh", "scripts/poststart_hook.sh", "scripts/prestart_hook.sh", "scripts/setup.sh" ]
juspay/hyperswitch
juspay__hyperswitch-7910
Bug: refactor(connector): [stripebilling] Change BillingConnectorPaymentSync from charges api to payment intents api. Change the url from charge api to stripes payment intent api.
diff --git a/crates/hyperswitch_connectors/src/connectors/stripebilling.rs b/crates/hyperswitch_connectors/src/connectors/stripebilling.rs index 3fe121a1fc3..39a8e5a0dae 100644 --- a/crates/hyperswitch_connectors/src/connectors/stripebilling.rs +++ b/crates/hyperswitch_connectors/src/connectors/stripebilling.rs @@ -599...
2025-04-24T12:52:11Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR changes the url of billing connector payment sync flow from using stripe charge api to stripe p...
54e910582fac9bd6fe300a9a96926adf5123403e
To test this You can follow the steps of this PR: #7461 Tested it locally. And the logs are as following. <img width="1290" alt="Screenshot 2025-04-24 at 6 10 52 PM" src="https://github.com/user-attachments/assets/7803e047-7ef5-4f58-85a5-f00313f3ab04" /> <img width="1296" alt="Screenshot 2025-04-24 at 6 11 02 PM" ...
[ "crates/hyperswitch_connectors/src/connectors/stripebilling.rs", "crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7891
Bug: Standardize Redis Key Prefix for User Lineage Context Currently, the lineage context is cached in Redis using tenant-specific key prefixes (public_, public_v2_). This causes inconsistencies across V1 and V2 environments — especially during login/logout flows — as lineage context data becomes deployment-specific...
diff --git a/crates/router/src/utils/user.rs b/crates/router/src/utils/user.rs index 3e339a2a570..13190125d7d 100644 --- a/crates/router/src/utils/user.rs +++ b/crates/router/src/utils/user.rs @@ -143,6 +143,27 @@ pub fn get_redis_connection(state: &SessionState) -> UserResult<Arc<RedisConnect .attach_printabl...
2025-04-24T12:20:59Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR updates the lineage context Redis caching logic to use ...
54e910582fac9bd6fe300a9a96926adf5123403e
Use test cases from this PR: [https://github.com/juspay/hyperswitch/pull/7871](https://github.com/juspay/hyperswitch/pull/7871) The key should now be in the format of global:LINEAGE_CONTEXT_<user_id> <img width="1202" alt="image" src="https://github.com/user-attachments/assets/830883c3-5e08-4e00-b101-c2af6a251564...
[ "crates/router/src/utils/user.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7886
Bug: [FIX] remove open-router configuration from docker compose toml
diff --git a/config/docker_compose.toml b/config/docker_compose.toml index d8f2d4bd34d..2f2f6843154 100644 --- a/config/docker_compose.toml +++ b/config/docker_compose.toml @@ -899,6 +899,3 @@ background_color = "#FFFFFF" [platform] enabled = true - -[open_router] -enabled = false
2025-04-24T04:27:28Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR removes the open-router configuration from docker_compo...
f966defb3bdb0cf8a0f55b23ba3e7eaa61af06db
Since this is just a docker config change and cypress was failing due to this, ensuring CI check pass for cypress should suffice
[ "config/docker_compose.toml" ]
juspay/hyperswitch
juspay__hyperswitch-7889
Bug: Add onboarding flow for VSAAS - Support for endpoint to create a platform - Create platform org and platform merchant account - Support to create connected merchant account inside platform org - Modify existing list responses for org and merchant, to distinguish platform from standard.
diff --git a/crates/api_models/src/events/user.rs b/crates/api_models/src/events/user.rs index 5e0564b4187..1a20e7b90b0 100644 --- a/crates/api_models/src/events/user.rs +++ b/crates/api_models/src/events/user.rs @@ -15,13 +15,13 @@ use crate::user::{ CreateTenantUserRequest, CreateUserAuthenticationMethodRequest,...
2025-04-23T22:40:53Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [x] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description The PR supports onboarding for new VSAAS merchants. - Creating Platform Org - Creation of Platform, an...
f70824ef5e56514e5fc40163dfed3a0fde29bd1f
Following Flow: - Signup --> terminate 2FA --> List orgs/merchants --> create Merchant inside standard org --> List merchants/orgs to validate - CreatePlatform --> Swtich to Platform Org --> List merchants/orgs to validate --> Create Merchant inside platform org We can hit the following curls: **Signup** ``` cu...
[ "crates/api_models/src/events/user.rs", "crates/api_models/src/organization.rs", "crates/api_models/src/user.rs", "crates/common_enums/src/enums.rs", "crates/common_enums/src/enums/accounts.rs", "crates/diesel_models/src/merchant_account.rs", "crates/diesel_models/src/organization.rs", "crates/diesel_...
juspay/hyperswitch
juspay__hyperswitch-7875
Bug: feat(merchant_context): add struct `merchant_context` and replace all instances of `merchant_account` and `key_store` in core # Introduction of MerchantContext: Unified Merchant Operation Context ## Challenge Currently, merchant account and key store information are passed separately throughout the codebase, l...
2025-04-23T09:26:46Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD This PR introduces a new `MerchantContext` type that unifies merchant account and key store information into a single, co...
3d0dd5bd1a8d764757fce4a37c668c0ff548d59c
#### **Important** The changes included in this PR don't affect any flows or behaviour, it is merely a refactor of the whole core module. Test method: Ran ```cargo hack ``` locally and ran all sanity checks. #### Some core operations cURLs ##### Merchant account creation ```bash curl --location 'http://localho...
[]
juspay/hyperswitch
juspay__hyperswitch-7880
Bug: [Refactor] Remove merchant reference id from customers v2 update api Remove `merchant_reference_id` field from customer update request struct so that it cannot be updated.
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index 10682866ab7..f7f62fe5ee8 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -9362,14 +9362,6 @@ "email" ], "properties": { - "merchant_reference_id": ...
2025-04-23T09:07:12Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> We are removing `merchant_reference_id` from all API updates, d...
639b8cba5fff2aeb85787309983e412b4a21b238
- Create Customer API Call ``` curl --location 'http://localhost:8080/v2/customers' \ --header 'x-profile-id: pro_saOFnM13wT1ngOuItKJl' \ --header 'Content-Type: application/json' \ --header 'Authorization: api-key=dev_VAtwaBd0cVItaaxIS8bUTFuPcxa9DkqlmBPvH5fq6IASKSlBxc9cBUygLoCaebFj' \ --data-raw '{ "me...
[ "api-reference-v2/openapi_spec.json", "crates/api_models/src/customers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7878
Bug: Add support to create profile level custom role Closes issue : https://github.com/juspay/hyperswitch/issues/7740
diff --git a/crates/diesel_models/src/role.rs b/crates/diesel_models/src/role.rs index ba63dd61a0c..67fb04099ce 100644 --- a/crates/diesel_models/src/role.rs +++ b/crates/diesel_models/src/role.rs @@ -9,7 +9,7 @@ use crate::{enums, schema::roles}; pub struct Role { pub role_name: String, pub role_id: String,...
2025-04-23T07:32:46Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [X] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pr will enable profile level custom creation from API and ...
bca8979a0cd25472b2f9b5e9d9daf7509a7b3cbb
1 . Valid operation Request : ``` curl --location 'http://localhost:8080/user/role' \ --header 'authorization: Bearer JWT' \ --header 'cookie: login_token=JWT' \ --data '{ "role_scope": "profile", "entity_type": "profile", "groups": [ "operations_view", "operations_manage" ...
[ "crates/diesel_models/src/role.rs", "crates/diesel_models/src/schema.rs", "crates/diesel_models/src/schema_v2.rs", "crates/router/src/core/user_role/role.rs", "crates/router/src/db/role.rs", "migrations/2025-02-06-122415_udpate-roles/down.sql", "migrations/2025-02-06-122415_udpate-roles/up.sql" ]
juspay/hyperswitch
juspay__hyperswitch-7837
Bug: [FEATURE] connector's sandbox testing via magic values ### Feature Description Connectors provide sending magic values for certain fields in their API requests. These values can be used to simulate different error scenarios. For most of the cases across all the connectors, these can be set in the already prese...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index 10682866ab7..e068f12f4be 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -3775,6 +3775,17 @@ }, "additionalProperties": false }, + "AdyenConnectorMetadata"...
2025-04-23T05:27:26Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR adds support for connector testing data in payment reques...
2c9b8abdb58d5b97f9d01a112569ad82b99ea00d
<details> <summary>1. Simulate Adyen's CARD_EXPIRED error through testing data in connector_metadata for CIT</summary> cURL curl --location --request POST 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --head...
[ "api-reference-v2/openapi_spec.json", "crates/api_models/src/payments.rs", "crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs", "crates/hyperswitch_connectors/src/utils.rs", "crates/hyperswitch_domain_models/src/router_request_types.rs", "crates/openapi/src/openapi.rs", "crates/openapi/...
juspay/hyperswitch
juspay__hyperswitch-7872
Bug: [FEATURE] (connector): [GETNET,HIPAY,KLARNA,MONERIS,OPENNODE] add in feature matrix api ### Feature Description [GETNET,HIPAY,KLARNA,MONERIS,OPENNODE] add in feature matrix api ### Possible Implementation [GETNET,HIPAY,KLARNA,MONERIS,OPENNODE] add in feature matrix api ### Have you spent some time checking ...
diff --git a/config/config.example.toml b/config/config.example.toml index 5f13eb1388d..96c435f369f 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -471,8 +471,8 @@ slack_invite_url = "https://www.example.com/" # Slack invite url for hyperswit discord_invite_url = "https://www.example.com...
2025-04-22T18:29:30Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD Closes this [issue](https://github.com/juspay/hyperswitch/issues/7872) ## Description <!-- Describe your changes in d...
7b3c33c81c8f896847a3a0bb0ead90a6a67f8e61
Postman Tests Request: ``` curl --location 'http://localhost:8080/feature_matrix' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header '[api-key]' ``` Response: ``` { "connector_count": 5, "connectors": [ { "name": "GETNET", ...
[ "config/config.example.toml", "config/deployments/integration_test.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml", "crates/hyperswitch_connectors/src/connectors/getnet.rs", "crates/hyperswitch_connectors/src/conne...
juspay/hyperswitch
juspay__hyperswitch-7870
Bug: Add support for caching and resolving last used lineage context Currently, after a user logs in and switches between merchants or profiles, their context is **not remembered** across sessions. Each new login resolves the default role from the DB and starts with a clean slate. This leads to: - Poor user exper...
diff --git a/crates/router/src/consts/user.rs b/crates/router/src/consts/user.rs index 4f681cda25b..649b8820859 100644 --- a/crates/router/src/consts/user.rs +++ b/crates/router/src/consts/user.rs @@ -41,3 +41,6 @@ pub const REDIS_SSO_TTL: i64 = 5 * 60; // 5 minutes pub const DEFAULT_PROFILE_NAME: &str = "default"; p...
2025-04-22T14:54:00Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR introduces lineage context caching to enhance login a...
776bde00efce8be35e0c63c1bdc6215921babddf
Tested locally with TTL as 1 minute, keys are getting stored in redis <img width="1065" alt="Screenshot 2025-04-22 at 7 40 32 PM" src="https://github.com/user-attachments/assets/1201a92b-7957-4075-8ec6-9a75376c842a" /> <img width="1369" alt="image" src="https://github.com/user-attachments/assets/2e8fbec0-a1e1-4ef...
[ "crates/router/src/consts/user.rs", "crates/router/src/core/user.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-7844
Bug: Last used merchant account context To enhance the user experience, especially during sign-up or when switching between multiple merchant accounts, we can store the last used merchant account context directly in the users table. This allows the system to automatically restore the previously active context when a...
diff --git a/crates/router/src/consts/user.rs b/crates/router/src/consts/user.rs index 4f681cda25b..649b8820859 100644 --- a/crates/router/src/consts/user.rs +++ b/crates/router/src/consts/user.rs @@ -41,3 +41,6 @@ pub const REDIS_SSO_TTL: i64 = 5 * 60; // 5 minutes pub const DEFAULT_PROFILE_NAME: &str = "default"; p...
2025-04-22T14:54:00Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR introduces lineage context caching to enhance login a...
776bde00efce8be35e0c63c1bdc6215921babddf
Tested locally with TTL as 1 minute, keys are getting stored in redis <img width="1065" alt="Screenshot 2025-04-22 at 7 40 32 PM" src="https://github.com/user-attachments/assets/1201a92b-7957-4075-8ec6-9a75376c842a" /> <img width="1369" alt="image" src="https://github.com/user-attachments/assets/2e8fbec0-a1e1-4ef...
[ "crates/router/src/consts/user.rs", "crates/router/src/core/user.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-7908
Bug: [REFACTOR] Refactor Merchant Payment Method List Refactor Merchant PML to list the wallets even after they are saved by the customer
diff --git a/crates/common_enums/src/enums.rs b/crates/common_enums/src/enums.rs index 2643b97904c..fc3ff05d864 100644 --- a/crates/common_enums/src/enums.rs +++ b/crates/common_enums/src/enums.rs @@ -1922,7 +1922,10 @@ pub enum PaymentMethodType { impl PaymentMethodType { pub fn should_check_for_customer_saved...
2025-04-22T08:35:28Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description - Earlier we used to support filtering of wallet payment methods for customer pml, if it has been save...
9e82c40eed78ddabcbf0b0531b4fbbcc44d9142a
- Create MA and an MCA with wallets -Create a payment and Save one wallet (eg: Paypal) - Create a new payment intent - List the Merchant PML again, Paypal would still be there ``` { "redirect_url": "https://google.com/success", "currency": "USD", "payment_methods": [ { "paymen...
[ "crates/common_enums/src/enums.rs", "crates/router/src/core/payment_methods/cards.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7852
Bug: [CHORE] remove billing details are required fields from Worldpay Worldpay does not mandate sending billing address during payment create request. These fields are needed to be removed as required fields which are configured as a part of dynamic required fields for payment widget.
diff --git a/crates/payment_methods/src/configs/payment_connector_required_fields.rs b/crates/payment_methods/src/configs/payment_connector_required_fields.rs index 175b82192b4..2f4fb7a8013 100644 --- a/crates/payment_methods/src/configs/payment_connector_required_fields.rs +++ b/crates/payment_methods/src/configs/paym...
2025-04-18T11:38:10Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR removes billing details as required fields for Worldpay connector. ### Additional Changes -...
eabef328c665cfbaf953a5eb15bd15484c62dcf7
Locally, by rendering payment links. <details> <summary>Fetch account payment method list</summary> cURL curl 'http://localhost:8080/account/payment_methods?client_secret=pay_62mvQc0WyVZ5pe8QxqhR_secret_K6C6bulFCe6jdm6GogvF' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:137.0) Gecko...
[ "crates/payment_methods/src/configs/payment_connector_required_fields.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7899
Bug: [FEATURE] Flowbird Archipel connector ### Feature Description Initial contribution from Flowbird. ### Possible Implementation Implementation of the Archipel 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 ##...
2025-04-18T10:19:58Z
[Flowbird Archipel connector implementation](https://www.flowbird.group/smartcity/us/wp-content/uploads/2019/11/Brochure-PAYMENT-ACCEPTANCE-EN-4-pages.pdf) Closes #7899 Co-authored-by: Guillaume Bague <guillaume.bague@flowbird.group>
1192bd5247dc099f647963a90ccc85a356b9f742
[]
juspay/hyperswitch
juspay__hyperswitch-7850
Bug: Update Postman Assertions for Payments API Responses for `Stripe` - `Sofort` `Sofort` Bank Redirect using `Stripe` has been deprecated, which fails Postman Test Cases for the same.
diff --git a/postman/collection-dir/stripe/Flow Testcases/Happy Cases/.meta.json b/postman/collection-dir/stripe/Flow Testcases/Happy Cases/.meta.json index f529af7b066..db5ff59100b 100644 --- a/postman/collection-dir/stripe/Flow Testcases/Happy Cases/.meta.json +++ b/postman/collection-dir/stripe/Flow Testcases/Happy...
2025-04-17T18:42:29Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> ### Summary of Changes Simply, Removed the Sofort TestCase f...
69ba651abd13de76e603dab8bbc56c5f3ee2176c
**Before** <img width="1058" alt="image" src="https://github.com/user-attachments/assets/4aa5f40d-6ce1-4c08-a807-e985816237f6" /> **After** ![image](https://github.com/user-attachments/assets/dd26e322-d6c5-4f56-90ff-a768eb7e7813)
[ "postman/collection-dir/stripe/Flow Testcases/Happy Cases/.meta.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/.meta.json", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/Payments - Confirm/.event.meta.json", "postman...
juspay/hyperswitch
juspay__hyperswitch-7838
Bug: Add hyperswitch-react-demo-app to docker-compose
diff --git a/docker-compose.yml b/docker-compose.yml index ca8434cf058..cc58c38e88a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,12 @@ services: prestart-hook: image: curlimages/curl-base:latest container_name: prestart-hook - entrypoint: ["/bin/sh", "-c", "apk add --no-cache ba...
2025-04-17T08:35:03Z
## Type of Change - [x] Enhancement ## Description Added `hyperswitch-demo` to the Docker Compose setup to provide a visual interface for the SDK. ## Motivation and Context This addition enables merchants to preview and interact with the SDK in a demo environment, improving the overall developer experien...
c3ac0d0bd63a349cee7100e6e06c1f65e411ad58
[ "docker-compose.yml" ]
juspay/hyperswitch
juspay__hyperswitch-7836
Bug: [FEATURE]: Add Refunds Retrieve and Rsync Flow in V2 apis. Add Refunds Retrieve and Rsync Flow in V2 apis.
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index 8b27fde3201..b6d6fb87e27 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -3265,6 +3265,47 @@ ] } }, + "/v2/refunds/{id}": { + "get": { + "tags": [ + ...
2025-04-17T07:30:53Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR introduces support for Refunds Retrieve flow and Refund...
31e109a9a1367ef53786c146604b31fca69b15ef
- Create Payment Intent API call ``` curl --location 'http://localhost:8080/v2/payments/create-intent' \ --header 'api-key: dev_Oce2SOCaD6B7eTuE6o7fAoS0dJIOucG97Y1sS0O94JCzHg1Qh1emDSasTiFvVkIp' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_OIQz3QuZDrhyUteOS41r' \ --header 'Authorizat...
[ "api-reference-v2/openapi_spec.json", "crates/api_models/src/events/refund.rs", "crates/api_models/src/refunds.rs", "crates/diesel_models/src/refund.rs", "crates/hyperswitch_domain_models/src/payments.rs", "crates/openapi/src/openapi_v2.rs", "crates/openapi/src/routes/refunds.rs", "crates/router/src/c...
juspay/hyperswitch
juspay__hyperswitch-7833
Bug: [BUG (CYPRESS)] Hard coded card expiry resulting in few tests to fail updating card expiry resulted in unintended after effects for specific connectors like adyen where it expects the user to pass a specific card expiry year (`30` instead of `55` or any other number). we cannot hard code connector names in spe...
2025-04-17T06:20:59Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> the reason behind this pr is that there are a few connectors ...
82bc46166b6157c43116e97a4b9bda8ecfd6285c
ran test against adyen since it was the one threw this error. not sure about other connectors but yeah, this change should fix them as well: <img width="524" alt="image" src="https://github.com/user-attachments/assets/3a9cf73f-0e60-4e0a-9e29-a2af8a63db3f" /> <img width="952" alt="image" src="https://github.co...
[]
juspay/hyperswitch
juspay__hyperswitch-7826
Bug: [CI]: remove private keys from configs
diff --git a/config/development.toml b/config/development.toml index 951cb44bd63..3a041db3574 100644 --- a/config/development.toml +++ b/config/development.toml @@ -106,35 +106,7 @@ aXXV1Z1wYUhlsO0jyd1bVvjyuE/KE1TbBS0gfR/RkacODmmE2zEdZ0EyyiXwqkmc oQIDAQAB -----END PUBLIC KEY----- """ -vault_private_key = """ ------B...
2025-04-16T07:00:23Z
This PR removes the `vault_private_key` from the configs.
9d1e0985a3e8df1e346005c1494c7cd44a5bd17f
[ "config/development.toml" ]
juspay/hyperswitch
juspay__hyperswitch-7813
Bug: [BUG(GlobalPay)] 5xx when making a failure payment ``` { "id": "TRN_OCPelRWxFohVEl0AuYglPyqG3fQ9r6_ca0584bb55bf", "time_created": "2025-04-14T14:54:57.880Z", "type": "SALE", "status": "DECLINED", "channel": "CNP", "capture_mode": "AUTO", "amount": "", "currency": "", "country...
diff --git a/crates/hyperswitch_connectors/src/connectors/globalpay/response.rs b/crates/hyperswitch_connectors/src/connectors/globalpay/response.rs index f0f7851a419..11bd9e1a047 100644 --- a/crates/hyperswitch_connectors/src/connectors/globalpay/response.rs +++ b/crates/hyperswitch_connectors/src/connectors/globalpay...
2025-04-15T07:59:49Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR fixes an edge case with GlobalPay where, upon payment...
e8e0b5df0e2d8e5d24fb8c1e98ce5b1049cc2f66
cards: ```txt // successful cards "card_number": "4012001038488884", "card_number": "4222000006285344", "card_number": "4012001037167778", "card_number": "4222000005218627", "card_number": "4222000009719489", // failure cards "card_number": "4242420000000091", "card_number": "5100000000000131", ``` ...
[ "crates/hyperswitch_connectors/src/connectors/globalpay/response.rs", "crates/hyperswitch_connectors/src/utils.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7809
Bug: Deep health check failing because of OpenSearch When you don't have OpenSearch deployed for Global Search feature on dashboard , the `/health/ready` ( deep health check ) API which checks health of all the underlying queryable resources fails because if OpenSearch is not present the health check fails which sho...
diff --git a/config/config.example.toml b/config/config.example.toml index 5f13eb1388d..b422892afc0 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -887,6 +887,7 @@ region = "kms_region" # The AWS region used by the KMS SDK for decrypting data. [opensearch] host = "https://localhost:9200...
2025-04-14T15:46:42Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Making `OpenSearchClient` optional based on the config for qu...
c58e93bfdba4cbd70d69e6d3947e0e1c68504e7e
```bash curl http://localhost:8080/health/ready -v | jq . * Host localhost:8080 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 ...
[ "config/config.example.toml", "config/deployments/env_specific.toml", "config/development.toml", "config/docker_compose.toml", "crates/analytics/src/opensearch.rs", "crates/router/src/analytics.rs", "crates/router/src/core/health_check.rs", "crates/router/src/routes/app.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7843
Bug: Fix Cypress v2 Core Flows Test Failures The Cypress tests for v2 failed due to the recent authentication changes introduced in [PR #7487](https://github.com/juspay/hyperswitch/pull/7487) and payment method config changes.
diff --git a/cypress-tests-v2/cypress/e2e/configs/Payment/Commons.js b/cypress-tests-v2/cypress/e2e/configs/Payment/Commons.js index 228dfd2cfdd..a645ec5c555 100644 --- a/cypress-tests-v2/cypress/e2e/configs/Payment/Commons.js +++ b/cypress-tests-v2/cypress/e2e/configs/Payment/Commons.js @@ -54,10 +54,10 @@ const multi...
2025-04-13T16:09:57Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> <details> <summary>Changes</summary> - Changed the Authoriz...
4f4e31db24652e72ce50745e9d64618c93c692bc
**_Before_** <img width="715" alt="image" src="https://github.com/user-attachments/assets/70f6ccfe-8094-47f0-b70f-34cb66cccc86" /> **_After_** <img width="714" alt="image" src="https://github.com/user-attachments/assets/3b1c6591-3667-468f-aa9d-01e8e01eb835" />
[ "cypress-tests-v2/cypress/e2e/configs/Payment/Commons.js", "cypress-tests-v2/cypress/support/commands.js" ]
juspay/hyperswitch
juspay__hyperswitch-7906
Bug: Fix: One click docker setup We need a script for one click docker setup
diff --git a/README.md b/README.md index 21b5d4def23..3033263e578 100644 --- a/README.md +++ b/README.md @@ -69,15 +69,27 @@ Read more at [Hyperswitch docs](https://docs.hyperswitch.io/). ### 1. Local Setup -You can run Hyperswitch on your system using Docker compose after cloning this repository. -We recommend u...
2025-04-12T12:17:12Z
Implements a comprehensive bash script that simplifies the Hyperswitch Docker setup process with the following features: - Prerequisites checking for Docker and Docker Compose - Port availability validation - Multiple deployment profiles (Minimal, Standard, Full, Development) - Automatic configuration setup - Serv...
bbec7a41f7a088d6601195a2f4ce6d733924a443
Sharing SS from local: <img width="635" alt="Screenshot 2025-04-24 at 5 59 43 AM" src="https://github.com/user-attachments/assets/2450115e-bb2d-4bc4-91ee-c53be713f9e2" />
[ "README.md", "scripts/setup.sh" ]
juspay/hyperswitch
juspay__hyperswitch-7800
Bug: [ENHANCEMENT] add validation for return_url for Payment Links HyperSwitch should always validate the presence of return_url during payment link creation as it is a required field in payment link flows.
diff --git a/crates/router/src/core/payments/helpers.rs b/crates/router/src/core/payments/helpers.rs index bdf7e9ec83f..e606291b8db 100644 --- a/crates/router/src/core/payments/helpers.rs +++ b/crates/router/src/core/payments/helpers.rs @@ -6338,16 +6338,19 @@ pub fn get_key_params_for_surcharge_details( } pub fn v...
2025-04-11T15:36:37Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR adds a validation for `return_url` when creating payment links. Return URL must be a required par...
2123f63bc54030adf1d8f42f08240c71b03fc09c
<details> <summary>1. Create a payment link without return_url in the payments create request</summary> cURL curl --location --request POST 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: de...
[ "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations/payment_create.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7794
Bug: [ENHANCEMENT] update payments API response This issue is around two specific fields in the payments API 1. Payments response -`error_code` and `error_message` HyperSwitch should not propagate the intermediary dummy error codes and error messages to the API response. Currently, `ErrorResponse` in connector in...
diff --git a/crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs b/crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs index f7167a607a2..7ce8ed6d710 100644 --- a/crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/fiuu/transfo...
2025-04-11T15:01:31Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR filters the `error_code` and `error_message` in Payments API response to ensure HyperSwitch does ...
4f4e31db24652e72ce50745e9d64618c93c692bc
<details> <summary>1. Create card payment via Nexixpay (failed card txn)</summary> cURL curl --location --request POST 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_ddmeaxUlgRPHkcqtmZZ...
[ "crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs", "crates/router/src/core/payments/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7817
Bug: Hubspot api integration Closes issue https://github.com/juspay/hyperswitch-control-center-cloud/issues/28
diff --git a/Cargo.lock b/Cargo.lock index f0b8ce94980..d2ae0213703 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2936,6 +2936,7 @@ dependencies = [ "dyn-clone", "error-stack", "hex", + "http 0.2.12", "http-body-util", "hyper 0.14.30", "hyper-proxy", @@ -2945,6 +2946,8 @@ dependencies = [ "masking", "onc...
2025-04-11T12:48:38Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR includes - HubSpot proxy integration for `prod_inte...
1dabfe3e2c0d9b72e41a5bd61c5a394248b7997b
Through dashboard FE - SIgnin in dashboard - Create a prod intent for a merchant - This will trigger hubspot tracking from BE and this should be visible in hubspot dashboard
[ "Cargo.lock", "config/config.example.toml", "config/deployments/env_specific.toml", "crates/api_models/src/user/dashboard_metadata.rs", "crates/common_utils/src/consts.rs", "crates/external_services/Cargo.toml", "crates/external_services/src/crm.rs", "crates/external_services/src/http_client.rs", "c...
juspay/hyperswitch
juspay__hyperswitch-7796
Bug: open router integration of success rate based routing add an api integration with open-router service. * decide-gateway * update-gateway-score
diff --git a/config/config.example.toml b/config/config.example.toml index 11d64093ab6..0ff30da45f4 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -969,4 +969,8 @@ primary_color = "#006DF9" background_color = "#FFFFFF" # Email background ...
2025-04-11T09:33:58Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR adds an api integration with open-router service. * de...
e677b1389f7ab2518f176e5c5cfcba44fc185bbc
Create merchant_account, api_key, mca 1. Enable SR for merchant ``` curl --location --request POST 'http://localhost:8080/account/merchant_1744368166/business_profile/pro_GrzjTHd5Pn5hAhwTZPRn/dynamic_routing/success_based/toggle?enable=dynamic_connector_selection' \ --header 'api-key: dev_a4XMpNXd3Yriz5DPsiwU6Ub...
[ "config/config.example.toml", "config/development.toml", "config/docker_compose.toml", "crates/api_models/src/lib.rs", "crates/api_models/src/open_router.rs", "crates/router/src/configs/secrets_transformers.rs", "crates/router/src/configs/settings.rs", "crates/router/src/core/errors.rs", "crates/rou...
juspay/hyperswitch
juspay__hyperswitch-7792
Bug: Point v2 to v1 dashboard_metadata table Point v2 to v1 dashboard_metadata table Move dashboard_metadata into accounts_schema.
diff --git a/crates/router/src/db.rs b/crates/router/src/db.rs index d98f834e7b5..34e9fb4530b 100644 --- a/crates/router/src/db.rs +++ b/crates/router/src/db.rs @@ -169,6 +169,7 @@ pub trait AccountsStorageInterface: + business_profile::ProfileInterface + merchant_connector_account::MerchantConnectorAccountIn...
2025-04-10T18:26:41Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR moves the dashboard_metadata table to `accounts_schema`...
c58e93bfdba4cbd70d69e6d3947e0e1c68504e7e
Tested by deploying this branch on v2 integ-router and hitting the following 2 API's. The entries from the POST API populated the integ v1 public schema - dashboard metadata table. <img width="1728" alt="image" src="https://github.com/user-attachments/assets/2b73d3ff-2055-438c-a7d6-f1d865b57403" /> The highlighte...
[ "crates/router/src/db.rs", "crates/router/src/db/dashboard_metadata.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7790
Bug: Modify List Merchant Accounts in Org with org_id (v1) hotfix Modify List Merchant Accounts in Org with org_id (v1) as v2 merchant accounts will hav merchant_id as Null, and they cant be deserialized into v1. This will cause terminate_2fa API to fail and cant obtain the merchant_id required to generate the jwt ...
diff --git a/crates/diesel_models/src/query/merchant_account.rs b/crates/diesel_models/src/query/merchant_account.rs index c40af7f6535..ab51953b6ef 100644 --- a/crates/diesel_models/src/query/merchant_account.rs +++ b/crates/diesel_models/src/query/merchant_account.rs @@ -1,4 +1,5 @@ -use diesel::{associations::HasTabl...
2025-04-10T13:41:31Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Hotfix PR Original PR: [https://github.com/juspay/hyperswi...
0a5d2495435ff737dd952c97e5dcd0fc52839258
[ "crates/diesel_models/src/query/merchant_account.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7789
Bug: ProdIntent Changes for v1 and v2 merchant accounts hotfix ProdIntent changes for providing context of product_type and also converting it into merchant-scope from user scope.
diff --git a/crates/api_models/src/user/dashboard_metadata.rs b/crates/api_models/src/user/dashboard_metadata.rs index fa550d671fb..8e734d31b53 100644 --- a/crates/api_models/src/user/dashboard_metadata.rs +++ b/crates/api_models/src/user/dashboard_metadata.rs @@ -1,4 +1,4 @@ -use common_enums::CountryAlpha2; +use comm...
2025-04-10T13:41:15Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Hotfix PR Original PR: [https://github.com/juspay/hyperswi...
0676341b6bc34b26ec839c533664580b775e99a8
[ "crates/api_models/src/user/dashboard_metadata.rs", "crates/common_enums/src/enums/accounts.rs", "crates/router/src/core/user.rs", "crates/router/src/core/user/dashboard_metadata.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/user.rs", "crates/router/src/services/email/assets/bizemail...
juspay/hyperswitch
juspay__hyperswitch-7767
Bug: Modify List Merchant Accounts in Org with org_id (v1) Modify List Merchant Accounts in Org with org_id (v1) as v2 merchant accounts will hav merchant_id as `Null`, and they cant be deserialized into v1. This will cause terminate_2fa API to fail and cant obtain the merchant_id required to generate the jwt token...
diff --git a/crates/diesel_models/src/query/merchant_account.rs b/crates/diesel_models/src/query/merchant_account.rs index c40af7f6535..ab51953b6ef 100644 --- a/crates/diesel_models/src/query/merchant_account.rs +++ b/crates/diesel_models/src/query/merchant_account.rs @@ -1,4 +1,5 @@ -use diesel::{associations::HasTabl...
2025-04-10T08:32:56Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Modified the v1 merchant list query to list only v1 merchant ac...
7088fd565e426375d54c95e64e58ba6cadc414a7
Hit the following curls after creating a v1 merchant account and a v2 merchant account in the same organization. The following APIs should only return v1 merchant accounts in the organization (and not the v2 merchant accounts). #### List Merchant Accounts for User in Org: ```bash curl --location 'http://localhost...
[ "crates/diesel_models/src/query/merchant_account.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7778
Bug: [DOCS] Updated Intelligent router open api ### Feature Description Updated open api spec for Intelligent router ### Possible Implementation Updated open api spec for Intelligent router ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and didn't find a si...
2025-04-09T14:10:07Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [x] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Updated open-api spec for Intelligent routing ### Additional...
ec147d5e7316c5fa5a5ac90ca7bc9318dc2dcaab
<img width="1728" alt="image" src="https://github.com/user-attachments/assets/63adbc60-e89b-417f-ad4e-b8241ebdebbf" /> <img width="1728" alt="image" src="https://github.com/user-attachments/assets/2a50d145-c50b-4aba-b9ce-e19a67416b6c" /> <img width="1728" alt="image" src="https://github.com/user-attachments/assets/...
[]
juspay/hyperswitch
juspay__hyperswitch-7791
Bug: refactor(gsm): introduce `feature` and `feature_data` to gsm Refactor gsm to add `feature` and `feature_data` columns so that it case used to introduce new features
diff --git a/crates/api_models/src/gsm.rs b/crates/api_models/src/gsm.rs index 7ffc9c69413..1b2800d11ea 100644 --- a/crates/api_models/src/gsm.rs +++ b/crates/api_models/src/gsm.rs @@ -1,12 +1,12 @@ -use common_enums::ErrorCategory; use utoipa::ToSchema; -use crate::enums::Connector; +use crate::enums as api_enums; ...
2025-04-09T05:17:41Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pull request includes a number of changes to the `gsm` mod...
794dce168e6b4d280c9c742a6e8a3b3283e09602
### Create gsm rule without passing feature and feature data ``` curl --location 'http://localhost:8080/gsm' \ --header 'Content-Type: application/json' \ --header 'api-key: test_admin' \ --data '{ "connector": "adyenplatform", "flow": "auth", "sub_flow": "sub_auth", "code": "501", "message": "Ser...
[ "crates/api_models/src/gsm.rs", "crates/common_enums/src/enums.rs", "crates/common_types/src/domain.rs", "crates/diesel_models/src/gsm.rs", "crates/diesel_models/src/schema.rs", "crates/diesel_models/src/schema_v2.rs", "crates/hyperswitch_domain_models/src/gsm.rs", "crates/hyperswitch_domain_models/sr...
juspay/hyperswitch
juspay__hyperswitch-7769
Bug: feat(vsaas): add processor_merchant_id and created_by column in payment_intents and payments_attempts for v1 Tracking issue #1: https://github.com/juspay/hyperswitch-control-center/issues/2544 Tracking issue #2: https://github.com/juspay/hyperswitch-control-center/issues/2546
diff --git a/crates/common_utils/src/macros.rs b/crates/common_utils/src/macros.rs index 2ab0560cd41..8dcffbb6643 100644 --- a/crates/common_utils/src/macros.rs +++ b/crates/common_utils/src/macros.rs @@ -437,3 +437,387 @@ macro_rules! type_name { .unwrap_or_default(); }; } + +/// **Note** Creates an...
2025-04-08T14:40:56Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> - added `processor_merchant_id` and` created_by` column in `die...
103a5c182b9744faf27d367efd58fac669d5c2ba
### Steps 1. Make a payment ```sh curl --location '{{baseurl}}/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: ****redacted****' \ --data-raw '{ "amount": 104000, "currency": "GBP", "amount_to_capture": 104000, "confirm": tr...
[ "crates/common_utils/src/macros.rs", "crates/common_utils/src/types.rs", "crates/diesel_models/src/payment_attempt.rs", "crates/diesel_models/src/payment_intent.rs", "crates/diesel_models/src/schema.rs", "crates/diesel_models/src/schema_v2.rs", "crates/diesel_models/src/user/sample_data.rs", "crates/h...
juspay/hyperswitch
juspay__hyperswitch-7764
Bug: `nmi` tests shows different error messages for the same request Postman Tests for nmi behaves like the following while running `Flow Testcases/Variation Cases/Scenario9-Create a mandate payment` ## Creating a mandate payment for `nmi` ```curl curl --location '{{baseUrl}}/payments' \ --header 'Content-Type: app...
diff --git a/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario9-Create a mandate payment/Payments - Create/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario9-Create a mandate payment/Payments - Create/event.test.js index b07811aed26..656033c2caa 100644 --- a/postman/col...
2025-04-08T11:09:57Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> Postman Tests for `nmi` were failing on SBX (but not on Integ) ...
8738f190677c25e9023e2faa2be9aa9a60ce1097
### Before | Integ | Sandbox | | -------- | ------- | | <img width="850" alt="image" src="https://github.com/user-attachments/assets/c66e4b3b-5cf3-49ee-998a-fe7ab388c0f9" /> | <img width="850" alt="image" src="https://github.com/user-attachments/assets/4a26f840-405b-41e8-86f2-3be32aa88056" /> | ### After ...
[ "postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario9-Create a mandate payment/Payments - Create/event.test.js", "postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario9-Create a mandate payment/Payments - Create/request.json", "postman/collection-dir/nmi/Flow" ]
juspay/hyperswitch
juspay__hyperswitch-7761
Bug: One click docker setup A script is needed to ensure one click docker setup, to minimise issues faced by users. > Run the whole setup with simple command > Show output with localhost links for different setups
diff --git a/README.md b/README.md index 72ac7e0e3a7..7f15ac2b01c 100644 --- a/README.md +++ b/README.md @@ -78,36 +78,17 @@ Read more at [Hyperswitch docs](https://docs.hyperswitch.io/). ### 1. Local Setup You can run Hyperswitch on your system using Docker compose after cloning this repository. - +We recommend u...
2025-04-08T08:30:51Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [X] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Script for one click docker setup, to minimise issues faced by ...
d6c26c5d75652a2ba2ecfbc0df7d33172df1705b
Attaching ss of test on local. <img width="466" alt="Screenshot 2025-04-08 at 4 12 13 PM" src="https://github.com/user-attachments/assets/003ce4e1-aadc-4ad2-abde-763728f51ad1" />
[ "README.md", "scripts/docker_output.sh" ]
juspay/hyperswitch
juspay__hyperswitch-7759
Bug: Create authentications to fallback to ApiKeyAuth if AdminApiAuth fails hotfix Create two new authentication mechanisms that enhance the existing AdminApiAuth and AdminApiAuthWithMerchantIdFromRoute by allowing fallback to regular API key-based authentication when the admin key check fails.
diff --git a/crates/router/src/configs/secrets_transformers.rs b/crates/router/src/configs/secrets_transformers.rs index c59b8471344..7cd4ce2d4bd 100644 --- a/crates/router/src/configs/secrets_transformers.rs +++ b/crates/router/src/configs/secrets_transformers.rs @@ -480,6 +480,7 @@ pub(crate) async fn fetch_raw_secre...
2025-04-08T08:09:47Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Hotfix PR Original PR: [https://github.com/juspay/hyperswi...
2fdeb8580baffbf3fa3e5b49325a36ee02e4b176
[ "crates/router/src/configs/secrets_transformers.rs", "crates/router/src/configs/settings.rs", "crates/router/src/routes/admin.rs", "crates/router/src/routes/api_keys.rs", "crates/router/src/services/authentication.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7755
Bug: [CI] cypress checks for wise failing wise is returning status as `forbidden`. it is better to replace that with adyen payouts
2025-04-08T07:04:59Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> this pr updates the `adyen` payouts credentials and it also r...
de86066402fab0d7725f7ee71085862b3b8c74e9
ci checks should pass.
[]
juspay/hyperswitch
juspay__hyperswitch-7748
Bug: Add checks around Cypress mandates payments Just verifying the payment method status isn't enough. We also need to verify the existence of connector mandate id. this can be done by updating the `mitusingpmid` command.
2025-04-07T17:27:49Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> This PR adds a check to verify if the `payment_status` is not...
5730ddfc8893017f40a5f5a8c1b7f099cc0d22a9
CI should pass. Also: CIT confirm, we should get `connector_mandate_id` <img width="510" alt="image" src="https://github.com/user-attachments/assets/41f74780-5b6e-404f-a9ec-2cf7619d9adf" /> MIT confirm, in NTID flow, `connector_mandate_id` will be `null` <img width="509" alt="image" src="https://gith...
[]
juspay/hyperswitch
juspay__hyperswitch-7745
Bug: Create authentications to fallback to ApiKeyAuth if AdminApiAuth fails Create two new authentication mechanisms that enhance the existing `AdminApiAuth` and `AdminApiAuthWithMerchantIdFromRoute` by allowing fallback to regular API key-based authentication when the admin key check fails. This will be used by Me...
diff --git a/crates/router/src/configs/secrets_transformers.rs b/crates/router/src/configs/secrets_transformers.rs index c59b8471344..7cd4ce2d4bd 100644 --- a/crates/router/src/configs/secrets_transformers.rs +++ b/crates/router/src/configs/secrets_transformers.rs @@ -480,6 +480,7 @@ pub(crate) async fn fetch_raw_secre...
2025-04-07T13:20:20Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR introduces two new authentication mechanisms that enhan...
c245ece19fb1b3988c61e12c0faa37c527cabd71
The following APIs need to be validated with - AdminAPIKey - the API Key associated with the configured merchant_id in the ENVs. Tested by setting the ENV through ```bash ROUTER__FALLBACK_MERCHANT_IDS_API_KEY_AUTH__MERCHANT_IDS="merchant_1744036688, merchant_1744037289" cargo run ``` And also tested by spec...
[ "crates/router/src/configs/secrets_transformers.rs", "crates/router/src/configs/settings.rs", "crates/router/src/routes/admin.rs", "crates/router/src/routes/api_keys.rs", "crates/router/src/services/authentication.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7737
Bug: [ENHANCEMENT] expose configurations from payment links SDK has below functionalities which needs to be exposed as payment link configs 1. `labels`, possible values - floating, above, never 2. `paymentMethodsHeaderText` - for an optional text to be displayed above the payment form 3. `terms.cards`, possible val...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index 61cf7b26ac3..12e5308cbd4 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -14798,6 +14798,27 @@ "enable_button_only_on_form_ready": { "type": "boolean", ...
2025-04-07T11:51:22Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR exposes three configurations for payment links 1. `payment_form_header_text` - for rendering a h...
68e22eefe81980666737e34336210dbea57ff40d
Tested locally <details> <summary>Create payment link with new configs</summary> cURL curl --location --request POST 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_ML2p8kRGcMvi4oQ3cP...
[ "api-reference-v2/openapi_spec.json", "crates/api_models/src/admin.rs", "crates/api_models/src/payments.rs", "crates/common_enums/src/enums/ui.rs", "crates/diesel_models/src/business_profile.rs", "crates/diesel_models/src/payment_intent.rs", "crates/hyperswitch_domain_models/src/lib.rs", "crates/opena...
juspay/hyperswitch
juspay__hyperswitch-7680
Bug: [BUG] Improper use of innerHTML in payment links Payment links make use of innerHTML property for rendering a bunch a user's text based inputs. This is considered unsafe since innerHTML evaluates the input as HTML and can lead to cross side scripting. Update this to use textContent rather than using innerHTML...
diff --git a/crates/hyperswitch_domain_models/src/api.rs b/crates/hyperswitch_domain_models/src/api.rs index 571371dc63c..f6d93497627 100644 --- a/crates/hyperswitch_domain_models/src/api.rs +++ b/crates/hyperswitch_domain_models/src/api.rs @@ -72,7 +72,7 @@ pub enum PaymentLinkAction { pub struct PaymentLinkFormData ...
2025-04-07T10:15:29Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR addresses below issues specifically for payment links - improper use of innerHTML for API inputs...
4ad0492a88ec2c53b9c70af9a999fc3127c19345
Tested locally <details> <summary>1. Create payment links and process redirection based txns (3DS)</summary> cURL curl --location --request POST 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api...
[ "crates/hyperswitch_domain_models/src/api.rs", "crates/router/src/configs/settings.rs", "crates/router/src/core/payment_link.rs", "crates/router/src/core/payment_link/payment_link_initiate/payment_link.js", "crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js", "crates/rout...
juspay/hyperswitch
juspay__hyperswitch-7734
Bug: chore: address Rust 1.86.0 clippy lints Address the clippy lints occurring due to new rust version 1.86.0 See https://github.com/juspay/hyperswitch/issues/3391 for more information.
diff --git a/crates/common_utils/src/types.rs b/crates/common_utils/src/types.rs index 11c9b17fae6..c96fdd3ca57 100644 --- a/crates/common_utils/src/types.rs +++ b/crates/common_utils/src/types.rs @@ -125,7 +125,7 @@ impl<const PRECISION: u8> Percentage<PRECISION> { fn is_valid_precision_length(value: &str) -> boo...
2025-04-07T08:57:34Z
## Type of Change - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR addresses the clippy lints occurring due to new rust version 1.86.0 https://rust-lang.github.io...
0a5d2495435ff737dd952c97e5dcd0fc52839258
CI checks should pass as this PR addresses clippy lints. 1. ran `rustc --version` ![image](https://github.com/user-attachments/assets/b154032b-dff4-4582-b525-9b97ce83ce55) 3. ran `just clippy` with new rust version (1.86.0) <img width="1004" alt="Screenshot 2025-04-07 at 5 46 05 PM" src="https://github.com/user...
[ "crates/common_utils/src/types.rs", "crates/common_utils/src/validation.rs", "crates/euclid/src/backend/vir_interpreter.rs", "crates/hyperswitch_connectors/src/connectors/bluesnap.rs", "crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs", "crates/hyperswitch_connectors/src/connectors/ch...
juspay/hyperswitch
juspay__hyperswitch-7729
Bug: refactor(postman): update `Stripe` response `status`, `error_code`, and `error_message` for deprecated `Sofort` Map `status`, `error_code`, and `error_message` for `Stripe` Payment Processor `Sofort` Bank Transfer Payment Method as `Sofort` has been deprecated by `Stripe`.
diff --git a/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/Payments - Confirm/event.test.js b/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/Payments - Confirm/event.test.js index aa8d32b0cf2..c2e29faee5a 100644 --- a/postman/collectio...
2025-04-04T15:28:17Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> Mapping `status`, `error_code`, and `error_message` for `Stripe...
961c875ecc225c924160448f01bf38a8e5a4ca03
_Before_ <img width="1728" alt="image" src="https://github.com/user-attachments/assets/96c27305-04fb-4839-a91b-84ed69bc4ced" /> _After_ <img width="1727" alt="image" src="https://github.com/user-attachments/assets/50881bf2-8fb0-4b7f-8a96-2742e55d6c76" />
[ "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/Payments - Confirm/event.test.js", "postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/Payments - Retrieve/event.test.js", "postman/collection-dir/stripe/Flow" ]
juspay/hyperswitch
juspay__hyperswitch-7728
Bug: [DOCS] Intelligent router open api ### Feature Description Open API spec for intelligent router ### Possible Implementation Open API spec for intelligent router ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and didn't find a similar issue ### Have yo...
2025-04-04T13:25:55Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [x] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Open API reference for Intelligent router ### Additional C...
961c875ecc225c924160448f01bf38a8e5a4ca03
<img width="1728" alt="image" src="https://github.com/user-attachments/assets/7df6c90a-a125-4dfb-aa36-6072881ecc23" />
[]
juspay/hyperswitch
juspay__hyperswitch-7723
Bug: Add invoice number and email in AuthorizeDotNet connector Add invoice number and email in AuthorizeDotNet connector
diff --git a/crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs b/crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs index bb93d9279de..9bd809c124f 100644 --- a/crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs +++ b/crates/hyperswitch_conne...
2025-04-04T13:24:23Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD Closes this [issue](https://github.com/juspay/hyperswitch/issues/7723) ## Description <!-- Describe your changes in d...
e88672c97cc02001fb656e550cd670eda424d9c9
Postman Tests 1. Connector Create - AuthorizeDotNet Request: ``` curl --location 'http://localhost:8080/account/merchant_1744026981/connectors' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_Y3QfvvJdv4BhlHCTUDfWpwTPLyZnFw3nSkJ3pDAOL1ZJvW7foEdc...
[ "crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7725
Bug: [FEATURE] Add refunds update flow in v2 apis Add refunds update flow in v2 apis
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index c6b6f01fb0a..12c30cc61f0 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -3265,6 +3265,64 @@ ] } }, + "/v2/refunds/{id}/update_metadata": { + "put": { + ...
2025-04-04T13:18:14Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR contains refunds update flow for v2 apis. It is a part ...
c6c57c1c52ad3ec08e8d443e49227950e390965e
- Create Refund API Call ``` curl --location 'http://localhost:8080/v2/refunds' \ --header 'X-Profile-Id: pro_AL59Mhfn1eDbm5FtUXao' \ --header 'Content-Type: application/json' \ --header 'Authorization: api-key=dev_t3GJeRLga4fvpMYfeA26gnjD5jwPWUFA9gbGdUfRwujMbWd54GDi5YjhcbmL5WiQ' \ --data '{ "payment_id":"...
[ "api-reference-v2/openapi_spec.json", "crates/api_models/src/refunds.rs", "crates/openapi/src/openapi_v2.rs", "crates/openapi/src/routes/refunds.rs", "crates/router/src/core/refunds_v2.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/refunds.rs", "crates/router/src/types/api/refunds.r...
juspay/hyperswitch
juspay__hyperswitch-7676
Bug: [BUG] Novalnet connector integration ### Bug Description Novalnet's connector response for refunds expects below format ``` pub struct NovalnetRefundResponse { pub customer: Option<NovalnetResponseCustomer>, pub merchant: Option<NovalnetResponseMerchant>, pub result: ResultData, pub transactio...
diff --git a/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs b/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs index e35384659d1..2a8b0911dca 100644 --- a/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/...
2025-04-04T11:02:09Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Need to make unused fields in novalnet refund response as optio...
bd32dd4f0f259336f004a2358a7771652a3c6689
Curl to test: ``` curl --location 'http://localhost:8080/refunds' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_LGJYQwEIgppbYvbIuwmQYyHGtMLquJJUujSrP34trbI4k1nnTs1ZyqkG1aI6Nx5N' \ --data '{ "payment_id": "pay_ahzKGIpLrLjWUsalTs0D", "amount":...
[ "crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7710
Bug: [Nexixpay]: handle error_code and error_message in failure responses of nexixpay Nexixpay does not send error_code and error_message in case of failure responses. We will send NO_ERROR_CODE and nexixpay operation result as error_message in this case.
diff --git a/crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs b/crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs index 68f3b4bb695..32e630a2be7 100644 --- a/crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/...
2025-04-03T07:43:12Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Nexixpay does not send error_code and error_message in case of ...
bd32dd4f0f259336f004a2358a7771652a3c6689
Curls to test: ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_nRAnqXGtbt60CdOO7rfovzh4MdEAIiaqnWc78AdQIx4yWnDXIKetpkjGFOvwFPcb' \ --data-raw '{ "amount": 3596, "currency": "EUR", "am...
[ "crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-8200
Bug: [FEATURE] Introduce routing in V2 - Implement rule based profile level activation , straight through routing and default fallback in V2 apis.
diff --git a/crates/diesel_models/src/payment_intent.rs b/crates/diesel_models/src/payment_intent.rs index d200d352fa4..ae2710c50e9 100644 --- a/crates/diesel_models/src/payment_intent.rs +++ b/crates/diesel_models/src/payment_intent.rs @@ -346,6 +346,7 @@ pub struct PaymentIntentNew { pub force_3ds_challenge: Opt...
2025-04-03T06:58:20Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Implemented rule based routing in payments v2. Straight throug...
b8e7a868ade62ff21498203d9e14edae094071d9
Please use this log for checking the final list of connectors decided by routing module - `final_selected_connectors_for_routing` - Straight through routing - Create a routing algo entry, with rule and use that routing id in payment intent create create routing algorithm - <img width="1030" alt="Screenshot...
[ "crates/diesel_models/src/payment_intent.rs", "crates/diesel_models/src/schema_v2.rs", "crates/hyperswitch_domain_models/src/business_profile.rs", "crates/hyperswitch_domain_models/src/payment_method_data.rs", "crates/hyperswitch_domain_models/src/payments/payment_intent.rs", "crates/hyperswitch_domain_mo...
juspay/hyperswitch
juspay__hyperswitch-7732
Bug: FEATURE(connector): [Facilitapay] Add support for Pix Bank transfer Documentation: https://sandbox-portal.facilitapay.com/#/docs
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index 10682866ab7..c758e0fbb8a 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -6230,6 +6230,18 @@ "description": "CNPJ is a Brazilian company tax identification number",...
2025-04-02T14:21:10Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> This PR does the following: - Adds Facilitapay Connector c...
776bde00efce8be35e0c63c1bdc6215921babddf
<details> <summary>Authorize call</summary> ```curl curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'Accept-Language: ja' \ --header 'api-key: dev_ptC2LQhN7u066v4fCKUcOEAWodGDoMl3We9YxN0cM4d7dal16ZSmt9EOdSJ0C6I4' ...
[ "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/api_models/src/p...
juspay/hyperswitch
juspay__hyperswitch-7668
Bug: Update Postman Collection Need to update the Postman Collection for all the connectors, to use API Key instead of AdminAPI Key, to avoid throwing errors on Jenkins Pipeline.
diff --git a/postman/collection-dir/aci/Flow Testcases/QuickStart/Payment Connector - Create/request.json b/postman/collection-dir/aci/Flow Testcases/QuickStart/Payment Connector - Create/request.json index 2898675c1f2..39bc76dc5f7 100644 --- a/postman/collection-dir/aci/Flow Testcases/QuickStart/Payment Connector - Cr...
2025-04-02T10:04:20Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Modified the Auth in the postman collection for payment connect...
b8f66155d4a23c10f129591994a8a30715375b87
### Stripe <img width="1191" alt="Screenshot 2025-04-02 at 5 04 26 PM" src="https://github.com/user-attachments/assets/29c5b2a7-bd54-42e1-907b-827927379f17" /> <img width="992" alt="image" src="https://github.com/user-attachments/assets/e7dc40b0-ddde-4c8d-bd5b-8496278d966e" /> ### Bankofamerica <img width="1197...
[ "postman/collection-dir/aci/Flow Testcases/QuickStart/Payment Connector - Create/request.json", "postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payment Connector - Create/request.json", "postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payout Connector - Create/request.json", "postman/coll...
juspay/hyperswitch
juspay__hyperswitch-7699
Bug: web-docker pull from docker hub
diff --git a/docker-compose.yml b/docker-compose.yml index ea1ebb3dd12..cb39b23b133 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -149,15 +149,14 @@ services: ### Web Client hyperswitch-web: + image: docker.juspay.io/juspaydotin/hyperswitch-web:latest + pull_policy: always ports: ...
2025-04-02T09:57:03Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Docker pull from latest stable tag ### Additional Changes - [ ] This PR modifies the API contract...
cfe226943dc5b473e88b7830c54ac73a943ba04b
Via locally running Docker Image
[ "docker-compose.yml" ]
juspay/hyperswitch
juspay__hyperswitch-7696
Bug: Modify API doc Auth for Profile - Delete Need to update the API doc to display Admin API Key instead of API key for Profile - Delete.
diff --git a/crates/openapi/src/routes/profile.rs b/crates/openapi/src/routes/profile.rs index 2b72375f988..e2dfffa2d1f 100644 --- a/crates/openapi/src/routes/profile.rs +++ b/crates/openapi/src/routes/profile.rs @@ -108,7 +108,7 @@ pub async fn profile_retrieve() {} ), tag = "Profile", operation_id = "D...
2025-04-02T09:16:22Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Need to update the API doc to display Admin API Key instead of ...
cfe226943dc5b473e88b7830c54ac73a943ba04b
Cannot be tested.
[ "crates/openapi/src/routes/profile.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7669
Bug: Update API Collection Docs Need to update the API Collection present on the website, to use API Key instead of AdminAPI Key. cc: @gorakhnathy7
diff --git a/crates/openapi/src/routes/profile.rs b/crates/openapi/src/routes/profile.rs index 2b72375f988..e2dfffa2d1f 100644 --- a/crates/openapi/src/routes/profile.rs +++ b/crates/openapi/src/routes/profile.rs @@ -108,7 +108,7 @@ pub async fn profile_retrieve() {} ), tag = "Profile", operation_id = "D...
2025-04-02T09:16:22Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Need to update the API doc to display Admin API Key instead of ...
cfe226943dc5b473e88b7830c54ac73a943ba04b
Cannot be tested.
[ "crates/openapi/src/routes/profile.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7694
Bug: Default value for `forex_enabled` if config is not set Currently, if the `forex_enabled` flag is not present as an ENV, it is leading to deserialization errors. Need to modify it in such a way to assume the default value (false) if the ENV is not present.
diff --git a/crates/analytics/src/lib.rs b/crates/analytics/src/lib.rs index 89f5cbd5b9c..2cd2da30e45 100644 --- a/crates/analytics/src/lib.rs +++ b/crates/analytics/src/lib.rs @@ -1010,25 +1010,28 @@ impl AnalyticsProvider { } #[derive(Clone, Debug, serde::Deserialize)] -#[serde(tag = "source")] -#[serde(rename_al...
2025-04-02T09:12:31Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Currently, if the `forex_enabled` feature flag is not present a...
cfe226943dc5b473e88b7830c54ac73a943ba04b
Removed the `forex_enabled` feature flag from local envs, and replicated the error <img width="806" alt="Screenshot 2025-04-02 at 2 34 43 PM" src="https://github.com/user-attachments/assets/b275cc79-1fad-4ee7-81a5-acaf780e771c" /> Need to remove the env `forex_enabled` during deployment, and then test out the ana...
[ "crates/analytics/src/lib.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7691
Bug: refactor(cypress): BOA testcases are failing due to failed assertions of Refunds and Connector Agnostic
2025-04-02T08:19:33Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> Refunds for Manually Captured No3DS Payments and Connector Agno...
961c875ecc225c924160448f01bf38a8e5a4ca03
<img width="718" alt="image" src="https://github.com/user-attachments/assets/440774ed-944e-4a10-8447-4fa75e05e915" /> _(Tested on Integ Environment)_
[]
juspay/hyperswitch
juspay__hyperswitch-7685
Bug: Missing next steps after deployment setup on Readme Next steps after deployment setup on Readme are missing
diff --git a/README.md b/README.md index 5b5518d31fc..72ac7e0e3a7 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,13 @@ Check out the [local setup guide][local-setup-guide] for a more details on setti Attaching to hyperswitch-control-center-1, hyperswitch-server-1, hyperswitch-web-1, migration_runner-1, pg-1, ...
2025-04-01T21:15:14Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [X] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Updated next steps after deployment setup on Readme ### Addi...
446716ee20440c1937c1b988b2ea3ce58d23089c
[ "README.md" ]
juspay/hyperswitch
juspay__hyperswitch-7679
Bug: Modify Openspec API for updating API Reference Doc with the updated auth Update the Openspec API, to use the latest API Key auth for profiles and mca routes.
diff --git a/crates/openapi/src/routes/merchant_connector_account.rs b/crates/openapi/src/routes/merchant_connector_account.rs index 372f8688a26..9a205abb1a2 100644 --- a/crates/openapi/src/routes/merchant_connector_account.rs +++ b/crates/openapi/src/routes/merchant_connector_account.rs @@ -57,7 +57,7 @@ ), ...
2025-04-01T11:40:04Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Modified the authentication for profile and mca routes to use A...
1100dcc6053990cf832c00cf29db700d77f78480
Cannot test Corresponding code changes are there in this PR: [https://github.com/juspay/hyperswitch/pull/7656](https://github.com/juspay/hyperswitch/pull/7656)
[ "crates/openapi/src/routes/merchant_connector_account.rs", "crates/openapi/src/routes/profile.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7673
Bug: refactor(ci): map respective error messages for `Stripe` `Sofort` Bank Transfers The `Stripe` payment processor has deprecated the `Sofort` Bank Transfer Payment Method. Map the relevant error codes and messages in the cypress test cases.
2025-04-01T07:41:28Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> Mapping `status`, `error_code`, and `error_message` for `Stripe...
c6078c5827907ee4315c533b5f729607c1c4e3cd
![image](https://github.com/user-attachments/assets/bc3de0de-13ad-4609-85ae-84b67bb2473f)
[]
juspay/hyperswitch
juspay__hyperswitch-7715
Bug: refactor(NMI,PAYONE) , Move files from router to hyperswitch connectors Move the connectors from routers to hyperswitch_connectors
diff --git a/Cargo.lock b/Cargo.lock index ea92a99a2c3..068bb1cecb7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3870,6 +3870,7 @@ dependencies = [ "serde", "serde_json", "serde_qs", + "serde_repr", "serde_urlencoded", "serde_with", "sha1", @@ -6535,7 +6536,6 @@ dependencies = [ "serde_json", "serde_pat...
2025-03-28T10:39:38Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Moving connectors (NMI,Riskified,and payone) from `router` crat...
50cbe20ee1da0392f4f590bade9f866435356b87
[ "Cargo.lock", "crates/hyperswitch_connectors/Cargo.toml", "crates/hyperswitch_connectors/src/connectors.rs", "crates/router/src/connector/nmi.rs", "crates/router/src/connector/nmi/transformers.rs", "crates/router/src/connector/payone.rs", "crates/router/src/connector/payone/transformers.rs", "crates/r...
juspay/hyperswitch
juspay__hyperswitch-7664
Bug: Modify profile and merchant_connector_account routes to use `ApiKeyAuthWithMerchantIdFromRoute` auth Hotfix Description: Currently, the following routes use AdminApiAuthWithMerchantIdFromRoute for authentication: Profile Create, Retrieve, Update Merchant Connector Account Create, List, Retrieve, Update This ha...
diff --git a/crates/router/src/routes/admin.rs b/crates/router/src/routes/admin.rs index 3cd959838a5..1c494542228 100644 --- a/crates/router/src/routes/admin.rs +++ b/crates/router/src/routes/admin.rs @@ -499,7 +499,7 @@ pub async fn connector_create( ) }, auth::auth_type( - &a...
2025-03-28T09:12:40Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Hotfix PR Original PR: [https://github.com/juspay/hyperswitch/...
df7daa611e069e027fbef90fd8d17e53a28d7580
[ "crates/router/src/routes/admin.rs", "crates/router/src/routes/profiles.rs", "crates/router/src/services/authentication.rs", "cypress-tests-v2/cypress/support/commands.js" ]
juspay/hyperswitch
juspay__hyperswitch-7661
Bug: feat(router): Support `card` in `payment_method_subtype` [V2] `payment_method_subtype` field needs to be made mandatory and `card` needs to be added as a supported enum variant. This is needed for parity with industry standard analytics hierarchy
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index de2cd1b0360..0b7da8463b9 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -15184,6 +15184,7 @@ "type": "object", "required": [ "payment_method_type", + ...
2025-03-28T07:23:53Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> - Made `payment_method_subtype` mandatory in API endpoints and ...
bd32dd4f0f259336f004a2358a7771652a3c6689
1 a. Payments Confirm: ``` curl --location 'http://localhost:8080/v2/payments/12345_pay_0195dc22c8487020a9f9ac8bdd908444/confirm-intent' \ --header 'x-client-secret: 12345_pay_0195dc22c8487020a9f9ac8bdd908444_secret_0195dc22c85a7fd1abafa610be7e4283' \ --header 'x-profile-id: pro_6OCXkR6tTttf6LSf4QgA' \ --hea...
[ "api-reference-v2/openapi_spec.json", "crates/api_models/src/payment_methods.rs", "crates/api_models/src/payments.rs", "crates/common_enums/Cargo.toml", "crates/common_enums/src/enums.rs", "crates/common_enums/src/transformers.rs", "crates/diesel_models/src/payment_attempt.rs", "crates/diesel_models/s...
juspay/hyperswitch
juspay__hyperswitch-7658
Bug: Modify profile and merchant_connector_account routes to use `ApiKeyAuthWithMerchantIdFromRoute` auth ### Description: Currently, the following routes use `AdminApiAuthWithMerchantIdFromRoute` for authentication: - Profile Create, Retrieve, Update - Merchant Connector Account Create, List, Retrieve, Update This...
diff --git a/crates/router/src/routes/admin.rs b/crates/router/src/routes/admin.rs index 3cd959838a5..1c494542228 100644 --- a/crates/router/src/routes/admin.rs +++ b/crates/router/src/routes/admin.rs @@ -499,7 +499,7 @@ pub async fn connector_create( ) }, auth::auth_type( - &a...
2025-03-27T11:52:47Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Currently, the following routes use `AdminApiAuthWithMerchantId...
f3d6b15a2ade7dd98fec59777301f44d166f3be3
Folowing are the endpoints which are changed: ### Business Profile Create: ```bash curl --location 'http://localhost:8080/account/merchant_1743057601/business_profile' \ --header 'Content-Type: application/json' \ --header 'api-key: dev_5xsUyXxOG9PXQcg3rFHb04PhdadsqtKltGAZ6ABoJBYXNSIqBlOuOouPin0bnvoY' \ --data...
[ "crates/router/src/routes/admin.rs", "crates/router/src/routes/profiles.rs", "crates/router/src/services/authentication.rs", "cypress-tests-v2/cypress/support/commands.js" ]
juspay/hyperswitch
juspay__hyperswitch-7646
Bug: feat: remove client_secret from payment_intents and update related code Change how client secret is made in Create Payment Intent Old `{Payment_id}_secret_{Secret}` `eg : pay_U42c409qyHwOkWo3vK60_secret_el9ksDkiB8hi6j9N78yo` New `cs_{Secret}` `eg: cs_0195d2be95ba7ef1a05066e163295562`
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index de2cd1b0360..27936b2917c 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -17102,7 +17102,7 @@ "client_secret": { "type": "string", "description": "I...
2025-03-26T14:11:03Z
Your PR Description## Type of Change - [x] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description 1. This commit changes how the client secret is generated 2. Change how client secret is made in Create Payment Intent O...
f532b70af9c8acddfd00752d7a3893ac68e3c1eb
For `/v2/payments/create-intent` Request ``` curl --location 'http://localhost:8080/v2/payments/create-intent' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_REbCm9NzneE8vUBmgWWZ' \ --header 'Authorization: ••••••' \ --data-raw '{ "amount_details": { "order_amount"...
[ "api-reference-v2/openapi_spec.json", "crates/api_models/src/payments.rs", "crates/common_utils/src/id_type/global_id/payment.rs", "crates/common_utils/src/types.rs", "crates/diesel_models/src/payment_intent.rs", "crates/diesel_models/src/schema_v2.rs", "crates/hyperswitch_domain_models/src/payments.rs"...
juspay/hyperswitch
juspay__hyperswitch-7650
Bug: refactor(payments): update authentication logic for global_payment_id in V2ClientAuth https://github.com/juspay/hyperswitch-cloud/issues/8862 ## Verify Confirm a Payment ### Using `x-client-secret` as `client_secret` ```curl curl --location 'https://integ.hyperswitch.io/api/v2/payments/12345_pay_0195acbb210178...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index de2cd1b0360..27936b2917c 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -17102,7 +17102,7 @@ "client_secret": { "type": "string", "description": "I...
2025-03-26T14:11:03Z
Your PR Description## Type of Change - [x] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description 1. This commit changes how the client secret is generated 2. Change how client secret is made in Create Payment Intent O...
f532b70af9c8acddfd00752d7a3893ac68e3c1eb
For `/v2/payments/create-intent` Request ``` curl --location 'http://localhost:8080/v2/payments/create-intent' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_REbCm9NzneE8vUBmgWWZ' \ --header 'Authorization: ••••••' \ --data-raw '{ "amount_details": { "order_amount"...
[ "api-reference-v2/openapi_spec.json", "crates/api_models/src/payments.rs", "crates/common_utils/src/id_type/global_id/payment.rs", "crates/common_utils/src/types.rs", "crates/diesel_models/src/payment_intent.rs", "crates/diesel_models/src/schema_v2.rs", "crates/hyperswitch_domain_models/src/payments.rs"...
juspay/hyperswitch
juspay__hyperswitch-7643
Bug: [Docker] Change user to non-privileged one before running binary We should not be running binary at highest privileges. It is better to not use `app:app` instead.
diff --git a/Dockerfile b/Dockerfile index 4914e6ad235..b2ad0809978 100644 --- a/Dockerfile +++ b/Dockerfile @@ -72,6 +72,10 @@ RUN mkdir -p ${BIN_DIR} COPY --from=builder /router/target/release/${BINARY} ${BIN_DIR}/${BINARY} +# Create the 'app' user and group +RUN useradd --user-group --system --no-create-home --...
2025-03-26T10:33:34Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR modifies the `Dockerfile` to specify the user at runn...
4a4284a6961b1c1b32bbff1c2f1cbdd0c60fbf71
build succeeded (tested by making a debug build): ![image](https://github.com/user-attachments/assets/3c27cbe1-56fa-48b9-a4bb-4a5ebb59563c) ```sh podman build \ --load \ --file Dockerfile \ --build-arg "BINARY=router" \ --tag hyperswitch-router \ . ```
[ "Dockerfile" ]
juspay/hyperswitch
juspay__hyperswitch-7633
Bug: ProdIntent Changes ProdIntent changes for providing context of product_type and also converting it into merchant-scope from user scope.
diff --git a/crates/api_models/src/user/dashboard_metadata.rs b/crates/api_models/src/user/dashboard_metadata.rs index fa550d671fb..8e734d31b53 100644 --- a/crates/api_models/src/user/dashboard_metadata.rs +++ b/crates/api_models/src/user/dashboard_metadata.rs @@ -1,4 +1,4 @@ -use common_enums::CountryAlpha2; +use comm...
2025-03-26T09:04:30Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR introduces support for associating ProdIntent with spec...
961c875ecc225c924160448f01bf38a8e5a4ca03
Hit the curl: - Dashboard Metadata - ProdIntent (POST): ```bash curl --location 'http://localhost:8080/user/data' \ --header 'accept: */*' \ --header 'accept-language: en-US,en;q=0.9' \ --header 'api-key: hyperswitch' \ --header 'content-type: application/json' \ --header 'origin: https://app.hyperswitch.i...
[ "crates/api_models/src/user/dashboard_metadata.rs", "crates/common_enums/src/enums/accounts.rs", "crates/router/src/core/user.rs", "crates/router/src/core/user/dashboard_metadata.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/user.rs", "crates/router/src/services/email/assets/bizemail...
juspay/hyperswitch
juspay__hyperswitch-7644
Bug: update(ci): update S3 Source File Name in Postman Collection Runner Workflow The S3 source file name in the Postman Collection Runner workflow needs to be updated due to changes in the Connector Auth File. This modification ensures that the correct file is referenced in CI/CD workflows, maintaining authenticati...
2025-03-26T08:11:52Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [x] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> The S3 Source File Name in Postman Collection Runner Workflow h...
617adfa33fd543131b5c4d8983319bfdcaa6c425
[]
juspay/hyperswitch
juspay__hyperswitch-7630
Bug: [FEATURE] Add Facilitapay connector Facilitapay connector is yet another payment processor. Docs: https://sandbox-portal.facilitapay.com/#/docs
diff --git a/config/config.example.toml b/config/config.example.toml index c373cabac05..7ca8c322c3b 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -208,6 +208,7 @@ dlocal.base_url = "https://sandbox.dlocal.com/" dummyconnector.base_url = "http://localhost:8080/dummy-connector" ebanx.base_...
2025-03-25T16:11:16Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR introduces template code for new connector named `Fac...
60d5c779e9ace4cb95bdbe9a2c9277c41ce96573
```sh just clippy cargo +nightly fmt --all cargo c ``` Hyperswitch code base should compile.
[ "config/config.example.toml", "config/deployments/integration_test.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml", "crates/common_enums/src/connector_enums.rs", "crates/connector_configs/src/connector.rs", "crat...
juspay/hyperswitch
juspay__hyperswitch-7620
Bug: feat(cypress): `connectorUpdateCall` fails due to fixtures overwrite The `connectorUpdateCall` fails in the Cypress Tests for connectors for which a certain metadata field is `required` (for e.g., `Braintree`) because the `cypress-tests/cypress/fixtures/update-connector-body.json` overwrites the Request Body.
2025-03-25T10:14:57Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> The Connector Update Body is being overwritten, which included ...
00e056800cb2c75c4dfbed6a4451658fda9c4a86
Running the `0000-CoreFlows.cy.js` for `Braintree` connector <img width="2116" alt="image" src="https://github.com/user-attachments/assets/7b505791-4da3-4fae-a94c-142dcfc69b53" /> <img width="752" alt="image" src="https://github.com/user-attachments/assets/f9fc5350-4bf9-4b2e-a5da-a62264f5c1b1" />
[]
juspay/hyperswitch
juspay__hyperswitch-7621
Bug: [FEATURE]: Add refunds create core flow for v2 apis. Implement refunds create core flow for v2 apis.
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index 3125f3ac29c..10682866ab7 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -20357,82 +20357,6 @@ } } }, - "RefundRequest": { - "type": "object", - ...
2025-03-25T09:37:59Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR is a part of v2 implementation of refunds. This PR cont...
2067bc352044f00f2c724b4a97f1de0cf599f337
- Create Payment Intent api call ``` curl --location 'http://localhost:8080/v2/payments/create-intent' \ --header 'api-key: xyz' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_' \ --header 'Authorization: api-key=xyz' \ --data-raw '{ "amount_details": { "order_amount": ...
[ "api-reference-v2/openapi_spec.json", "crates/api_models/Cargo.toml", "crates/api_models/src/events/refund.rs", "crates/api_models/src/refunds.rs", "crates/common_utils/src/types.rs", "crates/diesel_models/src/query/payment_attempt.rs", "crates/diesel_models/src/query/refund.rs", "crates/diesel_models...
juspay/hyperswitch
juspay__hyperswitch-7608
Bug: [FEATURE] [BRAINTREE] Pass connector request reference id ### Feature Description Pass connector request reference id in payment requests to braintree ### Possible Implementation Pass connector request reference id in orderId field in payment requests. ### Have you spent some time checking if this feature r...
diff --git a/crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs b/crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs index 80a62072db2..7f008b24f1a 100644 --- a/crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs +++ b/crates/hyperswitch_connectors/src/connecto...
2025-03-24T12:43:17Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Pass connector request reference id in payment requests to brai...
2b70c945406b1cf80831452b75e0c488eb60c86c
Order ID on braintree dashboard should contain Hyperswitch connector request reference ID for all the transactions: <img width="1618" alt="image" src="https://github.com/user-attachments/assets/63dbd338-ce24-4e45-91bf-99905de22775" /> Request: ``` curl --location 'http://localhost:8080/payments' \ --header 'Cont...
[ "crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7607
Bug: [BUG] 5xx in PayPal when cancelling the Payment we're getting 5xx when you try to cancel the payment express checkout page. and this is not intended.
diff --git a/crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs b/crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs index 223be54d3fd..45749332081 100644 --- a/crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs +++ b/crates/hyperswitch_connectors/src/connectors/globalpay...
2025-03-24T12:08:42Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR addresses 5xx that currently is being thrown when a u...
2b70c945406b1cf80831452b75e0c488eb60c86c
▶ Expose the `localhost` to the internet via `tailscale funnel` <details> <summary>Make a Paypal transaction</summary> Create Payment: ```curl curl --location 'https://pix-mbp.orthrus-monster.ts.net/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'a...
[ "crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs", "crates/hyperswitch_connectors/src/connectors/globalpay/response.rs", "crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7587
Bug: [CHORE] Update GlobalPay production endpoint at present, production endpoint points to sandbox and we need to point to production url
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index 0ae089c5ea0..0d10ad5cbd9 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -8365,10 +8365,12 @@ "CAD", "CDF", "CHF", + "CLF", "CLP", ...
2025-03-21T07:47:05Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR updates the production endpoint url environment value...
0efeaa890f7dbcfa9440229d66d1a4f6b0f8b664
NA.
[ "api-reference-v2/openapi_spec.json", "config/deployments/production.toml", "crates/hyperswitch_connectors/src/connectors/globalpay.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7567
Bug: feat(router): Make `payment_method_subtype` optional We can have situations where we don't know the `payment_method_subtype`. e.g. Frontend doesn't know whether a `card` is `credit` or `debit`. To support such scenarios we need to make `payment_method_subtype` nullable
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index a2440cfccd3..c5ce0eec7d5 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -14738,7 +14738,6 @@ "type": "object", "required": [ "payment_method_type", - ...
2025-03-19T09:58:14Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> - Added diesel migration to make `payment_method_subtype` Nulla...
a1ecce8f256081da1127f0ca4ed06356856c0e8b
1. Payments - Confirm: ``` curl --location 'http://localhost:8080/v2/payments/12345_pay_0195adf1544079139067663acdbff178/confirm-intent' \ --header 'x-client-secret: 12345_pay_0195adf1544079139067663acdbff178_secret_0195adf154487933ae61c8ca769286b0' \ --header 'x-profile-id: pro_6XA4kopfg4VAYLy2jNzW' \ --heade...
[ "api-reference-v2/openapi_spec.json", "crates/api_models/src/payment_methods.rs", "crates/api_models/src/payments.rs", "crates/diesel_models/src/payment_attempt.rs", "crates/diesel_models/src/schema_v2.rs", "crates/diesel_models/src/types.rs", "crates/hyperswitch_connectors/src/connectors/chargebee/tran...
juspay/hyperswitch
juspay__hyperswitch-7565
Bug: [BUG] AuthorizeDotNet Deserialization Failed in RSync Response in Production ### Bug Description AuthorizeDotNet has started sending status `voided` in RSync Response which is not mapped in Hyperswitch. ### Expected Behavior `voided` status should be mapped to `Failure`. ### Actual Behavior Deserialization...
diff --git a/crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs b/crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs index 2d329ec82fd..deefa7a1595 100644 --- a/crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs +++ b/crates/hyperswitch_conne...
2025-03-19T08:34:21Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD Closes this [issue](https://github.com/juspay/hyperswitch/issues/7565) ## Description <!-- Describe your changes in d...
10371af561ecc7536bb1db191af90a3cac2ab515
Can't be tested as AuthorizeDotNet takes 5-6 business days to send any other status than `RefundPendingSettlement`.
[ "crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7560
Bug: Revert "refactor(core): filter default routing config response based on connector type" This will revert pr https://github.com/juspay/hyperswitch/pull/7199
diff --git a/crates/router/src/core/routing.rs b/crates/router/src/core/routing.rs index 6c138488248..1a595cc7339 100644 --- a/crates/router/src/core/routing.rs +++ b/crates/router/src/core/routing.rs @@ -1,6 +1,6 @@ pub mod helpers; pub mod transformers; -use std::collections::{HashMap, HashSet}; +use std::collectio...
2025-03-18T13:11:12Z
Reverts juspay/hyperswitch#7199 ## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> We are reverting the filteri...
e4c7ab8e683d969092910b3fcc046c2e65e18df9
Tested after creating JWT locally and adding 1 payment and 1 payout connector. Payment : ``` curl --location 'http://localhost:8080/routing/default/profile' \ --header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMWMyMTJhODgtOGFmYy00YjJjLWIwYWQtODY3MmQ2NTI3MzdlIiwibWVyY2hhbnRfaWQiOi...
[ "crates/router/src/core/routing.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7548
Bug: feat(analytics): add issuer as filter for authentication analytics hotfix Add acs_reference_number as filter for authentication analytics.
diff --git a/crates/analytics/src/auth_events/core.rs b/crates/analytics/src/auth_events/core.rs index bdcbdd86a94..4d11f19d531 100644 --- a/crates/analytics/src/auth_events/core.rs +++ b/crates/analytics/src/auth_events/core.rs @@ -169,6 +169,7 @@ pub async fn get_filters( AuthEventDimensions::ErrorMessag...
2025-03-18T11:22:16Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Hotfix PR Original PR: [https://github.com/juspay/hyperswi...
8c85c9c000cc203393a6e88f9fea093b192f18d7
[ "crates/analytics/src/auth_events/core.rs", "crates/analytics/src/auth_events/filters.rs", "crates/analytics/src/auth_events/metrics.rs", "crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs", "crates/analytics/src/auth_events/metrics/authentication_count.rs", "crates/analytics/src/au...
juspay/hyperswitch
juspay__hyperswitch-7541
Bug: [BUG] Deserialization issue when `account_name` is not passed for globalpay during mca create Issue: - When `account_name` is not passed, which is a [required](https://developer.globalpay.com/api/transactions#/transactions_post_request__account_name) field, `5xx` is thrown: ``` {"error":{"type":"api","message...
diff --git a/crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs b/crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs index 57cf5d0f287..24cfa66ef39 100644 --- a/crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs +++ b/crates/hyperswitch_connectors/src/connecto...
2025-03-17T17:28:25Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR address the 5xx that occurs with GlobalPay connector ...
10371af561ecc7536bb1db191af90a3cac2ab515
<details> <summary>0. try creating mca without passing `metadata` field</summary> ```curl curl --location 'http://Localhost:8080/account/postman_merchant_GHAction_b7e0e1f4-ca0a-495e-8a6f-915769911e30/connectors' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header '...
[ "crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs", "crates/router/src/core/admin.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7534
Bug: feat(analytics): add issuer as filter for authentication analytics Add `acs_reference_number` as filter for authentication analytics.
diff --git a/crates/analytics/src/auth_events/core.rs b/crates/analytics/src/auth_events/core.rs index bdcbdd86a94..4d11f19d531 100644 --- a/crates/analytics/src/auth_events/core.rs +++ b/crates/analytics/src/auth_events/core.rs @@ -169,6 +169,7 @@ pub async fn get_filters( AuthEventDimensions::ErrorMessag...
2025-03-17T11:39:35Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Added `acs_reference_number` as filter for authentication analy...
2d17dad25d0966fc95f17e0ee91598ea445d4dc9
Get Info curl: ```bash curl --location 'http://localhost:8080/analytics/v1/auth_events/info' \ --header 'Accept: */*' \ --header 'Accept-Language: en-US,en;q=0.9' \ --header 'Connection: keep-alive' \ --header 'Content-Type: application/json' \ --header 'Referer: http://localhost:9000/dashboard/analytics-payme...
[ "crates/analytics/src/auth_events/core.rs", "crates/analytics/src/auth_events/filters.rs", "crates/analytics/src/auth_events/metrics.rs", "crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs", "crates/analytics/src/auth_events/metrics/authentication_count.rs", "crates/analytics/src/au...
juspay/hyperswitch
juspay__hyperswitch-7533
Bug: Add zero auth mandates support for nexixpay Zero auth mandates support for nexixpay.
diff --git a/crates/hyperswitch_connectors/src/connectors/adyen.rs b/crates/hyperswitch_connectors/src/connectors/adyen.rs index 8e0694336b5..b047d99a9d0 100644 --- a/crates/hyperswitch_connectors/src/connectors/adyen.rs +++ b/crates/hyperswitch_connectors/src/connectors/adyen.rs @@ -72,10 +72,7 @@ use hyperswitch_inte...
2025-03-17T09:06:38Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Add zero auth mandate flow for nexixpay connector. It uses 3ds ...
a87471c45dee50e7b9c9674aa8c9bb668c892917
Cypress test: <img width="1728" alt="image" src="https://github.com/user-attachments/assets/63853683-40cd-409c-a3e7-00c1b0ffc0e0" /> Below curls should be used for testing zero auth mandates: 1. Payments CIT ``` curl --location 'localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header ...
[ "crates/hyperswitch_connectors/src/connectors/adyen.rs", "crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs", "crates/hyperswitch_connectors/src/utils.rs", ...
juspay/hyperswitch
juspay__hyperswitch-7529
Bug: [FEATURE] emit payment status before rendering the UI ### Feature Description Payment link to emit the latest payment intent status before mounting the SDK and rendering UI. Usecase - this can be used by merchants who embed these links as an iframe to take decision based on the latest intent status. ### Poss...
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index 27d7b82e547..840d4274709 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -7944,6 +7944,7 @@ pub struct PaymentLinkDetails { pub background_colour: Option<String>, pub sdk_ui_rules...
2025-03-17T08:03:13Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR adds functionality for payment links to - emit latest payment intent status before rendering sta...
f6633a72d5f826804c6a24317f8e5c836b0bc95a
Tested locally using an iframe. <details> <summary>1. Use below template for payment links</summary> ``` <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> ...
[ "crates/api_models/src/payments.rs", "crates/router/src/core/payment_link.rs", "crates/router/src/core/payment_link/payment_link_initiate/payment_link.js", "crates/router/src/core/payment_link/payment_link_status/status.css", "crates/router/src/core/payment_link/payment_link_status/status.html", "crates/r...
juspay/hyperswitch
juspay__hyperswitch-7467
Bug: [FEATURE] scheme error code and messages in /payments API response ### Feature Description If the payment is declined for a card transaction, the card scheme or issuer can send a raw response explaining why. These are the raw acquirer responses which helps in understanding why a card transaction was declined. ...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index d93208fb665..081ec577185 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -7633,6 +7633,7 @@ "globepay", "gocardless", "gpayments", + "hipay", ...
2025-03-16T14:34:27Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR introduces - - Core functionality to read and store raw acquirer responses for `payment` and `re...
c39ecda79a9b1df1ccb4e469111e0dfb92a3d82c
Not possible to test raw acquirer codes in connector sandbox env. Can only be enabled and tested in production.
[ "api-reference-v2/openapi_spec.json", "crates/api_models/src/payments.rs", "crates/api_models/src/refunds.rs", "crates/diesel_models/src/payment_attempt.rs", "crates/diesel_models/src/refund.rs", "crates/diesel_models/src/schema.rs", "crates/hyperswitch_connectors/src/connectors/aci.rs", "crates/hyper...
juspay/hyperswitch
juspay__hyperswitch-7522
Bug: [BUG] Incorrect mapping of attempt status in AuthorizeDotNet connector ### Bug Description When the `capture_method` is `automatic`, AuthorizeDotNet connector first sends a `CapturedPendingSettlement` status which is mapped to `ChargeInitiated` in our codebase. That results in `processing` transaction status i...
diff --git a/crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs b/crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs index d7f50aa7405..3ba9e76cc7d 100644 --- a/crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs +++ b/crates/hyperswitch_conne...
2025-03-13T19:39:20Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD Closes this [issue](https://github.com/juspay/hyperswitch/issues/7522) ## Description <!-- Describe your changes in d...
3e7db573211ed61eadde3b601575f3472bda2b1f
Postman tests are not valid since AuthorizeDotNet directly sends `SettledSuccessfully` status in local/sandbox environment.
[ "crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7518
Bug: feat(router): Add `psp_tokenization_enabled` field in Customer Saved Payment Methods List Required to show whether `psp_tokenization` is enabled for a saved payment method
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index dbe13e3776e..0ae089c5ea0 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -2834,7 +2834,7 @@ } }, "/v2/customers/{id}/saved-payment-methods": { - "delete": { + ...
2025-03-13T11:04:43Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Added `psp_tokenization_enabled` field to `CustomerPaymentMetho...
f8a8d2a0300034c8e6ab36d011f9180993dc5e5f
- Create a Payment Method Session NOTE: `psp_tokenization` field is required to generate token (Set `psp_tokenization_enabled` to `true`). Its value can either be `multi_use` or `single_use`. ``` curl --location 'http://localhost:8080/v2/payment-methods-session' \ --header 'x-profile-id: pro_piGRXWnlda2RVy...
[ "api-reference-v2/openapi_spec.json", "crates/api_models/src/admin.rs", "crates/api_models/src/payment_methods.rs", "crates/openapi/src/openapi.rs", "crates/openapi/src/openapi_v2.rs", "crates/openapi/src/routes/payment_method.rs", "crates/router/src/core/payment_methods/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7510
Bug: [FEATURE] add functionality to enable payment link form button only when form is filled ### Feature Description Payment link renders a submit button for submitting the payment form data. This button is always enabled, and displays any errors in case an incomplete form was tried to submit. This feature takes c...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index d93208fb665..1ffd5a880b5 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -11583,6 +11583,14 @@ "type": "object", "description": "Metadata is useful for storing...
2025-03-13T08:48:56Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR adds a payment link config for controlling the behavior or Submit button on payment links (`enabl...
13c621ae62cda8f03ebd3958825b28a66b885234
Locally using local SDK changes <details> <summary>1. Update business profile to enable confirm button only when form is ready for submission</summary> cURL curl --location --request POST 'http://localhost:8080/account/merchant_1741692513/business_profile/pro_0pSrloAVzi0xbnpnP0mY' \ --heade...
[ "api-reference-v2/openapi_spec.json", "crates/api_models/src/admin.rs", "crates/api_models/src/payments.rs", "crates/diesel_models/src/business_profile.rs", "crates/diesel_models/src/payment_intent.rs", "crates/hyperswitch_domain_models/src/lib.rs", "crates/router/src/consts.rs", "crates/router/src/co...
juspay/hyperswitch
juspay__hyperswitch-7511
Bug: [CHORE] Update Globalpay configs with the countries and currencies that it supports The connector has been untouched for long. The connector is not supported supported everywhere. So, it is better for us to restrict it to certain countries that it supports.
diff --git a/config/config.example.toml b/config/config.example.toml index ad910ef415a..115dd4554a3 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -614,6 +614,14 @@ direct_carrier_billing = {country = "MA, CM, ZA, EG, SN, DZ, TN, ML, GN, GH, LY, credit = { country = "US, CA", currency = "U...
2025-03-13T07:57:41Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR adds necessary payment method configs to the GlobalPa...
13c621ae62cda8f03ebd3958825b28a66b885234
Payments via GlobalPay should fail if currencies or countries that are not supported is used to make transactions: ```curl curl --location 'http://Localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_fO6IOJVOk6dmWoDhkHnw3EzJHjZytu...
[ "config/config.example.toml", "config/deployments/integration_test.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml", "crates/common_enums/src/enums.rs", "crates/currency_conversion/src/types.rs", "crates/kgraph_ut...
juspay/hyperswitch
juspay__hyperswitch-7520
Bug: [FEATURE]: Add diesel model support as a part of refunds implementation for v2 apis. Add diesel model and storage impl support as a part of refunds implementation for v2 apis.
diff --git a/crates/diesel_models/Cargo.toml b/crates/diesel_models/Cargo.toml index 4f02cc4aea8..94913571396 100644 --- a/crates/diesel_models/Cargo.toml +++ b/crates/diesel_models/Cargo.toml @@ -14,6 +14,7 @@ v1 = ["common_utils/v1"] v2 = ["common_utils/v2"] customer_v2 = [] payment_methods_v2 = [] +refunds_v2 = [...
2025-03-12T16:18:08Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR is a part of v2 implementation of refunds. This PR contains the necessary database schema refacto...
afca506369685ab63d1b6bccd5f2e2dbae50ebf9
Cannot be tested because the core flow is not implemented for the refunds in V2 APIs, will be taking that in upcoming PRs.
[ "crates/diesel_models/Cargo.toml", "crates/diesel_models/src/kv.rs", "crates/diesel_models/src/query/refund.rs", "crates/diesel_models/src/query/user/sample_data.rs", "crates/diesel_models/src/refund.rs", "crates/diesel_models/src/schema_v2.rs", "crates/router/Cargo.toml", "crates/router/src/db/kafka_...
juspay/hyperswitch
juspay__hyperswitch-7506
Bug: [BUG] [BRAINTREE] Fix picking of creds identifier during Complete Authorize Flow ### Bug Description When MCA Create is not done for Braintree, and connector creds are passed in Payment Intent Request, then Complete Authorize Flow fails. ### Expected Behavior When MCA Create is not done for Braintree, and co...
diff --git a/crates/router/src/core/payments.rs b/crates/router/src/core/payments.rs index d072463020a..6ebc5266eba 100644 --- a/crates/router/src/core/payments.rs +++ b/crates/router/src/core/payments.rs @@ -2328,6 +2328,12 @@ impl PaymentRedirectFlow for PaymentRedirectCompleteAuthorize { let payment_confirm...
2025-03-12T14:27:12Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> When MCA Create is not done for Braintree, and connector cred...
13a274909962872f1d663d082af33fc44205d419
**Postman Tests** **1. Payment Intent Create (Without Braintree MCA Create)** -Request ``` curl --location 'http://localhost:8080/vs/v1/payment_intents' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'User-Agent: helloMozilla/5.0 (Linux; Android 12; SM-S906N Build/QP1A.190711.02...
[ "crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations/payment_complete_authorize.rs", "crates/router/src/core/payments/transformers.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/payments.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7498
Bug: feat(analytics): modify authentication queries and add generate report for authentications hotfix Need to modify the authentication analytics queries to differentiate between frictionless flow and challenge flow through the authentication_type field. Introduce support for authentication report generation, simi...
diff --git a/crates/analytics/src/auth_events/core.rs b/crates/analytics/src/auth_events/core.rs index a2640be6ead..bdcbdd86a94 100644 --- a/crates/analytics/src/auth_events/core.rs +++ b/crates/analytics/src/auth_events/core.rs @@ -165,6 +165,7 @@ pub async fn get_filters( .filter_map(|fil: AuthEventFilterRow...
2025-03-12T12:08:14Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Hotfix PR Original PR: [https://github.com/juspay/hyperswi...
b8b3bfa77055648345ba827ec03e213e66539e7f
[ "crates/analytics/src/auth_events/core.rs", "crates/analytics/src/auth_events/filters.rs", "crates/analytics/src/auth_events/metrics.rs", "crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs", "crates/analytics/src/auth_events/metrics/authentication_count.rs", "crates/analytics/src/au...
juspay/hyperswitch
juspay__hyperswitch-7495
Bug: refactor(connector): [BILLWERK, FISERVEMEA, TSYS] use LazyLock instead of lazy_static! Use LazyLock instead of lazy_static!
diff --git a/crates/hyperswitch_connectors/src/connectors/billwerk.rs b/crates/hyperswitch_connectors/src/connectors/billwerk.rs index 4d76dcd5706..4d5e324b39f 100644 --- a/crates/hyperswitch_connectors/src/connectors/billwerk.rs +++ b/crates/hyperswitch_connectors/src/connectors/billwerk.rs @@ -1,5 +1,7 @@ pub mod tr...
2025-03-12T08:31:27Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD Closes this [issue](https://github.com/juspay/hyperswitch/issues/7495) ## Description <!-- Describe your changes in d...
662e45f0037c0aa039c1de72500c6004322f3ffb
Postman Test Feature API curl: ``` curl --location 'http://localhost:8080/feature_matrix' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: {{api_key}}' ``` Response: ``` { "connector_count": 3, "connectors": [ { "nam...
[ "crates/hyperswitch_connectors/src/connectors/billwerk.rs", "crates/hyperswitch_connectors/src/connectors/fiservemea.rs", "crates/hyperswitch_connectors/src/connectors/tsys.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7492
Bug: ci: paypal ci failing ref: https://developer.paypal.com/docs/multiparty/checkout/advanced/customize/3d-secure/test/ replacing visa card with the mastercard fixed it upon testing. also fixe the assertion. 65 != 60
2025-03-12T06:39:17Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> <img width="861" alt="image" src="https://github.com/user-att...
833da1c3c5a0f006a689b05554c547205774c823
`CYPRESS_CONNECTOR=paypal npm run cypress:payments` ![image](https://github.com/user-attachments/assets/d8f52cc9-3bbb-45f3-97fc-6cdd713f6dc1)
[]
juspay/hyperswitch
juspay__hyperswitch-7488
Bug: feat(core): Add V2 Authentication to all available endpoints Introduces V2 authentication mechanisms for various admin and client-side APIs : - [ ] Add V2AdminApiAuth and modified AdminApiAuthWithMerchantIdFromRoute for V2 - [ ] Add V2ApiKeyAuth , V2AdminApiAuth and V2ClientAuth to the endpoints - [ ] Refactor...
diff --git a/crates/router/src/core/errors.rs b/crates/router/src/core/errors.rs index b32fe76f5ec..d82bef27d1f 100644 --- a/crates/router/src/core/errors.rs +++ b/crates/router/src/core/errors.rs @@ -483,6 +483,6 @@ pub enum RevenueRecoveryError { PaymentIntentCreateFailed, #[error("Source verification faile...
2025-03-12T04:05:17Z
## Type of Change - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This commit introduces V2 authentication mechanisms for various admin and client-side APIs : - [x] Added V2AdminApiAuth and modified AdminApiAuthWi...
4f6174d1bf6dd0713b0a3d8e005671c884555144
For `/v2/merchant-accounts` Request ``` curl --location 'http://localhost:8080/v2/merchant-accounts' \ --header 'x-organization-id: org_d2lZPiRPOGbIMmFcb59A' \ --header 'Content-Type: application/json' \ --header 'Authorization: admin-api-key=test_admin' \ --data '{ "merchant_name": "cloth_seller" }...
[ "crates/router/src/core/errors.rs", "crates/router/src/routes/admin.rs", "crates/router/src/routes/api_keys.rs", "crates/router/src/routes/customers.rs", "crates/router/src/routes/ephemeral_key.rs", "crates/router/src/routes/payment_methods.rs", "crates/router/src/routes/payments.rs", "crates/router/s...
juspay/hyperswitch
juspay__hyperswitch-7600
Bug: [FEATURE] Single-Use PSP tokenization for making a payment ### Feature Description Have a single use PSP tokenisation feature which creates a token at PSP end for the payment methods service and return it to the user for using the same for using it to make payments ### Possible Implementation Add it to the c...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index a9de9611e56..9f641ddff62 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -19487,7 +19487,8 @@ "type": "object", "description": "The Payment Service Provider Configurat...
2025-03-11T19:13:41Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Add single use token implementation for Payment Method Service ...
617adfa33fd543131b5c4d8983319bfdcaa6c425
Create Payment Method Session Request ```bash curl --location 'http://localhost:8080/v2/payment-methods-session' \ --header 'x-profile-id: pro_2A1cEgnP0mOT4rqUqLtt' \ --header 'Authorization: api-key=dev_KVJIPqLBqYEGWUSse6Bggow5xL2PkaWLMYcpgTGcvr334sCVwagyUNbrBOTRnESf' \ --header 'Content-Type: application/js...
[ "api-reference-v2/openapi_spec.json", "crates/api_models/src/payment_methods.rs", "crates/common_types/src/payment_methods.rs", "crates/hyperswitch_domain_models/src/payment_method_data.rs", "crates/router/src/connector/stripe/transformers.rs", "crates/router/src/consts.rs", "crates/router/src/core/paym...
juspay/hyperswitch
juspay__hyperswitch-7482
Bug: feat(analytics): modify authentication queries and add generate report for authentications Need to modify the authentication analytics queries to differentiate between **frictionless flow** and **challenge flow** through the authentication_type field. Introduce support for **authentication report generation**,...
diff --git a/crates/analytics/src/auth_events/core.rs b/crates/analytics/src/auth_events/core.rs index a2640be6ead..bdcbdd86a94 100644 --- a/crates/analytics/src/auth_events/core.rs +++ b/crates/analytics/src/auth_events/core.rs @@ -165,6 +165,7 @@ pub async fn get_filters( .filter_map(|fil: AuthEventFilterRow...
2025-03-11T17:25:35Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR modifies authentication queries to improve the way we d...
5cdfe8325481909a8a1596f967303eff44ffbcec
Can check the test cases from the `How did you test it?` section from these 2 PRs: - [https://github.com/juspay/hyperswitch/pull/7451](https://github.com/juspay/hyperswitch/pull/7451) - [https://github.com/juspay/hyperswitch/pull/7433](https://github.com/juspay/hyperswitch/pull/7433) **Note**: The Response body...
[ "crates/analytics/src/auth_events/core.rs", "crates/analytics/src/auth_events/filters.rs", "crates/analytics/src/auth_events/metrics.rs", "crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs", "crates/analytics/src/auth_events/metrics/authentication_count.rs", "crates/analytics/src/au...