repo
stringclasses
1 value
instance_id
stringlengths
22
24
problem_statement
stringlengths
24
24.1k
patch
stringlengths
0
1.9M
test_patch
stringclasses
1 value
created_at
stringdate
2022-11-25 05:12:07
2025-10-09 08:44:51
hints_text
stringlengths
11
235k
base_commit
stringlengths
40
40
test_instructions
stringlengths
0
232k
patch_line_additions
listlengths
0
217
patch_line_deletions
listlengths
0
218
file_extensions
listlengths
0
7
total_file_changes
int64
0
293
juspay/hyperswitch
juspay__hyperswitch-8860
Bug: [CI] Add mock credentials for alpha connectors in CI updating the creds for alpha connectors makes no sense. we've complete control over the alpha connector's behavior. so, better add a mock / fake credentials that mimic this behavior.
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml index 83544e40cc1..160a29aa1a3 100644 --- a/crates/connector_configs/toml/development.toml +++ b/crates/connector_configs/toml/development.toml @@ -1446,6 +1446,35 @@ merchant_id_evoucher="MerchantId Evoucher" ...
2025-07-08T05:02:05Z
## 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 --> Integrate celero commerce connector Doc : https://sandbox.go...
a56d78a46a3ee80cdb2b48f9abfd2cd7b297e328
No creds for testing
[ { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ "[celero]\n", "[[celero.credit]]\n", " payment_method_type = \"AmericanExpress\"\n", "[[celero.credit]]\n", " payment_method_type = \"Discover\"\n", "[[celero.credit]]\n", " payment_metho...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/celero.rs", "lines": [ " types::{AmountConvertor, StringMinorUnit, StringMinorUnitForConnector},\n", " router_response_types::{PaymentsResponseData, RefundsResponseData},\n", " amount_converter: &'static (dyn AmountConve...
[ "toml", "rs" ]
6
juspay/hyperswitch
juspay__hyperswitch-8805
Bug: [CHORE] Add XOF currency to Cybersource cards Add XOF currency to Cybersource cards deployment configs.
diff --git a/config/config.example.toml b/config/config.example.toml index 5967731b9ad..4662e9ea3a5 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -672,8 +672,8 @@ google_pay = { currency = "USD" } samsung_pay = { currency = "USD" } [pm_filters.cybersource] -credit = { currency = "USD,G...
2025-07-30T09:35:02Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [x] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> this pr adds `xof` currency to cybersource cards. ### Addi...
794dce168e6b4d280c9c742a6e8a3b3283e09602
just a config update. shouldn't break cybersource ci. payment should go through xof currency as shown below: ```sh curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'Accept-Language: en' \ --header 'api-key: dev_vfGa...
[ { "file_path": "config/config.example.toml", "lines": [ "credit = { currency = \"USD,GBP,EUR,PLN,SEK,XOF\" }\n", "debit = { currency = \"USD,GBP,EUR,PLN,SEK,XOF\" }\n", "retry_algorithm_type = \"cascading\" # type of retry algorithm\n", "hyperswitch_ai_host = \"http://0.0.0.0:8000\" ...
[ { "file_path": "config/config.example.toml", "lines": [ "credit = { currency = \"USD,GBP,EUR,PLN,SEK\" }\n", "debit = { currency = \"USD,GBP,EUR,PLN,SEK\" }\n", "retry_algorithm_type = \"cascading\" # type of retry algorithm \n", "hyperswitch_ai_host = \"http://0.0.0.0:8000\" # Hy...
[ "toml" ]
7
juspay/hyperswitch
juspay__hyperswitch-8816
Bug: add support for apple pay pre-decrypted token in the payments confirm call add support pass the decryted apple pay token directly in the confirm call.
diff --git a/Cargo.lock b/Cargo.lock index 3e1101fdbf4..5a77720c94f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1858,6 +1858,7 @@ dependencies = [ name = "common_types" version = "0.1.0" dependencies = [ + "cards", "common_enums", "common_utils", "diesel", diff --git a/config/deployments/integration_test.toml...
2025-08-01T07:34:22Z
## 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 adds support pass the decryted apple pay toke...
90f3b09a77484a4262608b0a4eeca7d452a4c968
### Test apple pay pre decrypt flow -> Enable apple pay for a connector a connector that supports decryption and do not configure any apple pay certificates. -> Make a payment by passing pre decrypted apple pay token in the confirm call ``` { "amount": 7445, "currency": "USD", "confirm": true, ...
[ { "file_path": "Cargo.lock", "lines": [ " \"cards\",\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "apple_pay = { country = \"AF,DZ,AW,AU,AZ,BS,BH,BD,BB,BZ,BM,BT,BO,BA,BW,BR,BN,BG,BI,KH,CA,CV,KY,CL,CO,KM,CD,CR,CZ,DK,DJ,ST,DO,EC,EG,SV,ER,ET,FK,FJ,GM...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ " pub payment_data: String,\n" ] }, { "file_path": "crates/common_types/src/payments.rs", "lines": [ "use common_utils::{date_time, errors, events, impl_to_sql_from_sql_json, pii, types::MinorUnit};\n", "use ...
[ "toml", "lock", "rs" ]
33
juspay/hyperswitch
juspay__hyperswitch-8840
Bug: [FEATURE]: Add support for Void after Capture - Add core flow for Void after Capture - Add PostCaptureVoid Flow in worldpayVantiv connector
diff --git a/crates/api_models/src/events/payment.rs b/crates/api_models/src/events/payment.rs index ec4c8667f45..19f708c866f 100644 --- a/crates/api_models/src/events/payment.rs +++ b/crates/api_models/src/events/payment.rs @@ -12,8 +12,8 @@ use crate::{ payment_methods::PaymentMethodListResponse, payments::...
2025-08-05T08:52:03Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description - Add core flow for Void after Capture - Add PostCaptureVoid Flow in worldpayVantiv connector ### A...
c573f611762ca52eb4ce8f0a0ddf9f87c506c6b3
Added in Mintlify API reference <img width="1490" height="681" alt="Screenshot 2025-08-05 at 6 38 43 PM" src="https://github.com/user-attachments/assets/192a2e9b-beca-46b7-90a2-5b2428bac7f4" /> 1. Create a Vantiv payment ``` { "amount": 100, "currency": "USD", "confirm": true, "capture_method"...
[ { "file_path": "crates/api_models/src/events/payment.rs", "lines": [ " PaymentListResponseV2, PaymentsApproveRequest, PaymentsCancelPostCaptureRequest,\n", " PaymentsCancelRequest, PaymentsCaptureRequest, PaymentsCompleteAuthorizeRequest,\n", "#[cfg(feature = \"v1\")]\n", ...
[ { "file_path": "crates/api_models/src/events/payment.rs", "lines": [ " PaymentListResponseV2, PaymentsApproveRequest, PaymentsCancelRequest,\n", " PaymentsCaptureRequest, PaymentsCompleteAuthorizeRequest,\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connect...
[ "sql", "rs" ]
57
juspay/hyperswitch
juspay__hyperswitch-8798
Bug: [FEAT] Set up CI to support mock server for alpha connectors flow should be: - build hyperswitch router - upload it to artifact - download artifact - start the server - run mandatory tests - download artifact - start mock server with node - start server - run optional mock server tests
diff --git a/crates/common_enums/src/connector_enums.rs b/crates/common_enums/src/connector_enums.rs index c3741e0f5ea..39178d15eb9 100644 --- a/crates/common_enums/src/connector_enums.rs +++ b/crates/common_enums/src/connector_enums.rs @@ -145,6 +145,7 @@ pub enum RoutableConnectors { Santander, Shift4, ...
2025-07-24T07:35:22Z
## 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 support for running tests against mock server fo...
bc4d29a3e5ee24b14b32262449a7b640e9f6edaf
CI should pass / work.
[ { "file_path": "crates/common_enums/src/connector_enums.rs", "lines": [ " Silverflow,\n", " Silverflow,\n", " | Self::Silverflow\n", " RoutableConnectors::Silverflow => Self::Silverflow,\n", " Connector::Silverflow => Ok(Self::Silverflow),...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs", "lines": [ " utils::CardData,\n", " _ => Err(errors::ConnectorError::NotImplemented(\"Payment method\".to_string()).into()),\n", " _ => Err(errors::ConnectorError::NotImplemen...
[ "rs" ]
7
juspay/hyperswitch
juspay__hyperswitch-8791
Bug: [BUG] Add changes for field CybersourceConsumerAuthInformation ### Bug Description Cybersource payments via Netcetera are failing for a France based acquirer in prod, the PR provides fix for the same by introducing field effective_authentication_type, and making sure semantic_version is sent. ### Expected B...
diff --git a/crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs b/crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs index da1237f3f4f..2112989969e 100644 --- a/crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs +++ b/crates/hyperswitch_connectors/src/co...
2025-07-28T10:17:00Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [X] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Context - Cybersource payments via Netcetera are failing for a France based acquirer in prod, the PR prov...
8dc4061f9edb1ac2527216b2279a765d0b797523
**Testing for field effective_authentication_type and specification_version** ### Step 1 - Call /payments **Curl** `curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'x-feature: integ-custom' \ --header 'api-key:...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs", "lines": [ " specification_version: Option<SemanticVersion>,\n", " /// This field indicates the 3D Secure transaction flow. It is only supported for secure transactions in France.\n", " /// ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs", "lines": [ " specification_version: Option<String>,\n", " specification_version: None,\n", " specification_version: None,\n", " speci...
[ "rs" ]
3
juspay/hyperswitch
juspay__hyperswitch-8792
Bug: [FEATURE] Add Payments - List endpoint for v2 ### Feature Description This feature adds support for retrieving a filtered list of payments via a GET /v2/payments/list endpoint where multiple values can be provided for a single filter key (e.g. connector, etc.). ### Possible Implementation Add PaymentListFilt...
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index 91886de2390..9090ab2b5e0 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -26,9 +26,39 @@ use common_utils::{ pii::{self, Email}, types::{MinorUnit, StringMajorUnit}, }; -#[cfg(fe...
2025-07-29T14:30: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 --> **Enhanced Payment Listing API with Multi-Value Filtering** ...
446590690e7980e1bef6b846683d391b43cb3f0e
GetRequest: ``` curl --location 'http://localhost:8080/v2/payments/list' \ --header 'api-key: dev_tP1IAK95c65hjO7NvF3dRliuiMuSIFhIeFjXBb1du3NZ1Ui6Av0XKyL3ONtB7tpy' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_G9buhoAY3Mpu9cFIeWoZ' \ --header 'Authorization: api-key=dev_tP1IAK95c65hj...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ "\n", "#[cfg(feature = \"v2\")]\n", "fn parse_comma_separated<'de, D, T>(v: D) -> Result<Option<Vec<T>>, D::Error>\n", "where\n", " D: serde::Deserializer<'de>,\n", " T: std::str::FromStr,\n", " ...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ "#[cfg(feature = \"v2\")]\n", "use deserialize_form_style_query_parameter::option_form_vec_deserialize;\n", " #[param(value_type = Option<Connector>)]\n", " pub connector: Option<api_enums::Connector>,\n", " ...
[ "rs" ]
9
juspay/hyperswitch
juspay__hyperswitch-8796
Bug: [FEATURE] (connector): [ARCHIPEL,BANKOFAMERICA,BOKU,CHARGEBEE,CRYPTOPAY,CYBERSOURCE,DATATRANS,NMI,NOON,PAYEEZY,PAYME,PAYPAL,PLAID,STRIPEBILLING,TRUSTPAY] add in feature matrix api ### Feature Description [ARCHIPEL,BANKOFAMERICA,BOKU,CHARGEBEE,CRYPTOPAY,CYBERSOURCE,DATATRANS,NMI,NOON,PAYEEZY,PAYME,PAYPAL,PLAID...
diff --git a/config/config.example.toml b/config/config.example.toml index 5fe3dbd05fa..a6bc906cd67 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -536,7 +536,7 @@ bank_redirect.ideal = { connector_list = "stripe,adyen,globalpay" } bank_redirect.sofort = { connector_list = "stripe,globalpa...
2025-07-30T07:03:19Z
## 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/8796) ## Description <!-- Describe your changes in d...
30925ca5dd51be93e33ac4492b85c2322263b3fc
Postman Test Feature Matrix API: Request: ``` curl --location 'http://localhost:8080/feature_matrix' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_3ShwqeYwf04wnKtu5Ovbs9k0gkKeatSRsG4Gqha9ECBNLFM4G4qdlRDxydpa7IMh' ``` Response: ``` { ...
[ { "file_path": "config/config.example.toml", "lines": [ "wallet.google_pay = { connector_list = \"bankofamerica,authorizedotnet,cybersource\" }\n", "credit = { country = \"AF,AL,DZ,AD,AO,AI,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BA,BW,BN,BG,BF,BI,KH,CM,CA,CV,KY,CF,TD,CL,CN,CO,KM,C...
[ { "file_path": "config/config.example.toml", "lines": [ "wallet.google_pay = { connector_list = \"bankofamerica,authorizedotnet\" }\n", "credit = { currency = \"USD\" }\n", "debit = { currency = \"USD\" }\n", "apple_pay = { currency = \"USD\" }\n", "google_pay = { currency = \"...
[ "toml", "rs" ]
29
juspay/hyperswitch
juspay__hyperswitch-8771
Bug: [REFACTOR] move repeated code to a separate function address comments given in this pr: https://github.com/juspay/hyperswitch/pull/8616
diff --git a/crates/diesel_models/src/mandate.rs b/crates/diesel_models/src/mandate.rs index 7ed37dc2fd6..f4c507e471d 100644 --- a/crates/diesel_models/src/mandate.rs +++ b/crates/diesel_models/src/mandate.rs @@ -78,10 +78,26 @@ pub struct MandateNew { pub customer_user_agent_extended: Option<String>, } +impl M...
2025-07-28T11:25:43Z
## 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 addresses the comments which is concerned about reduc...
5ca0fb5f654c9b32186dab8a2a2d475f2eb7df6a
just a minor refactor. nothing to test here. however: - ci should pass - tested mandates by following https://github.com/juspay/hyperswitch/pull/8616
[ { "file_path": "crates/diesel_models/src/mandate.rs", "lines": [ "impl Mandate {\n", " /// Returns customer_user_agent_extended with customer_user_agent as fallback\n", " pub fn get_user_agent_extended(&self) -> Option<String> {\n", " self.customer_user_agent_extended\n"...
[ { "file_path": "crates/diesel_models/src/mandate.rs", "lines": [ " customer_user_agent_extended: mandate_new\n", " .customer_user_agent_extended\n", " .clone()\n", " .or_else(|| mandate_new.customer_user_agent.clone()),\n" ]...
[ "rs" ]
3
juspay/hyperswitch
juspay__hyperswitch-8789
Bug: [FEATURE] populate status_code in response Populate UCS status_code (connector HTTP status code) in response headers
diff --git a/Cargo.lock b/Cargo.lock index 3e1101fdbf4..60f064c45e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3525,7 +3525,7 @@ dependencies = [ [[package]] name = "grpc-api-types" version = "0.1.0" -source = "git+https://github.com/juspay/connector-service?rev=0409f6aa1014dd1b9827fabfa4fa424e16d07ebc#0409f6aa101...
2025-07-29T09:24:56Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR populates UCS status_code (connector HTTP code) in resp...
90f3b09a77484a4262608b0a4eeca7d452a4c968
Enable UCS Config ``` curl --location 'http://localhost:8080/configs/' \ --header 'api-key: test_admin' \ --header 'x-tenant-id: public' \ --header 'Content-Type: application/json' \ --data '{ "key": "ucs_rollout_config_{{merchant_id}}_razorpay_upi_Authorize", "value": "1.0" }' ``` Make a payment ...
[ { "file_path": "Cargo.lock", "lines": [ "source = \"git+https://github.com/juspay/connector-service?rev=4387a6310dc9c2693b453b455a8032623f3d6a81#4387a6310dc9c2693b453b455a8032623f3d6a81\"\n", "source = \"git+https://github.com/juspay/connector-service?rev=4387a6310dc9c2693b453b455a8032623f3d6a81...
[ { "file_path": "Cargo.lock", "lines": [ "source = \"git+https://github.com/juspay/connector-service?rev=0409f6aa1014dd1b9827fabfa4fa424e16d07ebc#0409f6aa1014dd1b9827fabfa4fa424e16d07ebc\"\n", "source = \"git+https://github.com/juspay/connector-service?rev=0409f6aa1014dd1b9827fabfa4fa424e16d07ebc...
[ "toml", "lock", "rs" ]
19
juspay/hyperswitch
juspay__hyperswitch-8740
Bug: [FEATURE] Checkbook connector ACH integrate ### Feature Description Integrate CHECKBOOK CONNECTOR ### Possible Implementation https://docs.checkbook.io/docs/concepts/environments/ ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and didn't find a similar...
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml index ddff65fa9c0..d0a49abaf8d 100644 --- a/config/deployments/integration_test.toml +++ b/config/deployments/integration_test.toml @@ -346,6 +346,9 @@ credit = { country = "AT,BE,BG,HR,CY,CZ,DK,EE,FI,FR,DE,GR,HU,IS,IE,IT,L...
2025-07-23T10:58:42Z
## 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 --> ### Additional Changes - [x] This PR modifies the API co...
63cc6ae2815c465f6f7ee975a6413d314b5df141
### ACH <details> <summary> PAYMENT CREATION </summary> ```json { "confirm": true, "billing": { "address": { "zip": "560095", "country": "US", "first_name": "akshakaya N", "last_name": "sss", "line1": "Fasdf", "line2": "Fasdf", "city": "Fasdf" ...
[ { "file_path": "config/deployments/integration_test.toml", "lines": [ "[pm_filters.checkbook]\n", "ach = { country = \"US\", currency = \"USD\" }\n", "\n" ] }, { "file_path": "config/deployments/production.toml", "lines": [ "[pm_filters.checkbook]\n", "ach = { c...
[ { "file_path": "crates/common_enums/src/connector_enums.rs", "lines": [ " // Checkbook,\n", " // Checkbook,\n", " // | Self::Checkbook\n", " // RoutableConnectors::Checkbook => Self::Checkbook,\n", " // Connector::Checkbook => Ok(Self::Che...
[ "toml", "rs" ]
16
juspay/hyperswitch
juspay__hyperswitch-8781
Bug: [BUG] user bank options sent inside the eps `user_bank_options` field should be dynamic for stripe the user bank options sent in `user_bank_options` should be dynamic and picked from .toml files
diff --git a/crates/api_models/src/payment_methods.rs b/crates/api_models/src/payment_methods.rs index a70dceb962d..278d158fe46 100644 --- a/crates/api_models/src/payment_methods.rs +++ b/crates/api_models/src/payment_methods.rs @@ -1442,7 +1442,8 @@ pub struct ResponsePaymentMethodTypes { /// The list of card net...
2025-07-29T04:58:58Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Previously the bank names were hard coded but we needed to re...
1e6a088c04b40c7fdd5bc65c1973056bf58de764
[ { "file_path": "crates/api_models/src/payment_methods.rs", "lines": [ " #[schema(deprecated)]\n", " /// The list of banks enabled, if applicable for a payment method type . To be deprecated soon.\n" ] }, { "file_path": "crates/payment_methods/src/configs/payment_connector_requi...
[ { "file_path": "crates/api_models/src/payment_methods.rs", "lines": [ " /// The list of banks enabled, if applicable for a payment method type\n" ] }, { "file_path": "crates/payment_methods/src/configs/payment_connector_required_fields.rs", "lines": [ " ConnectorFields, Man...
[ "rs" ]
4
juspay/hyperswitch
juspay__hyperswitch-8777
Bug: [FEAT] (CONNECTOR): Facilitapay webhook support add support for facilitapay webhooks
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml index 90aae593617..cfc8589bdf2 100644 --- a/crates/connector_configs/toml/development.toml +++ b/crates/connector_configs/toml/development.toml @@ -6157,8 +6157,8 @@ api_secret="Secret Key" key1="Username" [...
2025-07-28T19:30:24Z
## 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 Facilitapay PR introudces 2 new features and a bug fix w...
f6cdddcb98e08f97dc518c8c14569fe67426bd6f
<details> <summary>Partial refunds</summary> ```sh curl --location 'http://localhost:8080/refunds' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_FwRHVH9xL5cvYOsONW8YzIphnGhIibnEy9tCWuNCpDLwSnzR4Ilogl6sia26pcND' \ --data '{ "payment_id": "p...
[ { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ " label=\"Merchant Account Number\"\n", " placeholder=\"Enter Merchant's (to_bank_account_id) Account Number\"\n" ] }, { "file_path": "crates/connector_configs/toml/production.toml", "lines": [ "l...
[ { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ " label=\"Destination Account Number\"\n", " placeholder=\"Enter Destination Account Number\"\n" ] }, { "file_path": "crates/connector_configs/toml/production.toml", "lines": [ "label=\"Destinatio...
[ "toml", "rs" ]
7
juspay/hyperswitch
juspay__hyperswitch-8737
Bug: [FEATURE] Hyperswitch <|> UCS Mandate flow integration Add UCS integration for SetupMandate and RepeatPayment (recurring) flows.
diff --git a/Cargo.lock b/Cargo.lock index f65a0fd4be0..d835074cfe2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3363,8 +3363,7 @@ dependencies = [ [[package]] name = "g2h" version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0aece561ff748cdd2a37c8ee938a47bbf9b2c03823b393a...
2025-07-23T14:43:28Z
## 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 implements UCS(Unified Connector Service) Integration f...
6214aca5f0f5c617a68f65ef5bcfd700060acccf
Create Intent for Zero mandate ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: _' \ --data ' { "amount": 0, "confirm": false, "currency": "USD", "customer_id": "Customer123", "setup_future...
[ { "file_path": "Cargo.lock", "lines": [ "source = \"git+https://github.com/NishantJoshi00/g2h?branch=fixing-response-serializing#fd2c856b2c6c88a85d6fe51d95b4d3342b788d31\"\n", "source = \"git+https://github.com/juspay/connector-service?rev=a9f7cd96693fa034ea69d8e21125ea0f76182fae#a9f7cd96693fa03...
[ { "file_path": "Cargo.lock", "lines": [ "source = \"registry+https://github.com/rust-lang/crates.io-index\"\n", "checksum = \"0aece561ff748cdd2a37c8ee938a47bbf9b2c03823b393a332110599b14ee827\"\n", "source = \"git+https://github.com/juspay/connector-service?rev=4918efedd5ea6c33e4a1600b988b2...
[ "toml", "lock", "rs" ]
8
juspay/hyperswitch
juspay__hyperswitch-8733
Bug: [BUG] worldpay DDC submission race conditions ### Bug Description Race condition in Worldpay 3DS DDC flow causes `bodyDoesNotMatchSchema` errors. 8-second timeout in `WorldpayDDCForm` JS fires before legitimate DDC completion, sending `collectionReference` to wrong endpoint (`/3dsChallenges` vs `/3dsDeviceData...
diff --git a/crates/hyperswitch_connectors/src/connectors/worldpay.rs b/crates/hyperswitch_connectors/src/connectors/worldpay.rs index 009a02f7ef5..fcb582830b2 100644 --- a/crates/hyperswitch_connectors/src/connectors/worldpay.rs +++ b/crates/hyperswitch_connectors/src/connectors/worldpay.rs @@ -798,7 +798,16 @@ impl C...
2025-07-24T06:33:20Z
## Type of Change - [x] Bugfix ## Description Fixes race condition in Worldpay 3DS Device Data Collection (DDC) flow causing `bodyDoesNotMatchSchema` errors. **Changes made:** - Extended DDC timeout from 8s to 10s in client-side JavaScript - Added `ddcProcessed` flag to prevent duplicate submissions on clie...
63cc6ae2815c465f6f7ee975a6413d314b5df141
<details> <summary>1. DDC race case in isolation </summary> <img width="797" height="156" alt="Screenshot 2025-07-24 at 12 02 50 PM" src="https://github.com/user-attachments/assets/70d14add-9742-4ad3-b72f-da97dae5b197" /> </details> <details> <summary>2. All test cases for Worldpay</summary> <img ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/worldpay.rs", "lines": [ " enums::AttemptStatus::AuthenticationPending => \"3dsChallenges\".to_string(),\n", " _ => {\n", " return Err(\n", " errors::ConnectorError::R...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/worldpay.rs", "lines": [ " _ => \"3dsChallenges\".to_string(),\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs", "lines": [ " serde_urlencoded::from_str::<...
[ "rs" ]
3
juspay/hyperswitch
juspay__hyperswitch-8784
Bug: [FEATURE] Add Google Pay Payment Method In Barclaycard ### Feature Description Add Google Pay Payment Method In Barclaycard ### Possible Implementation Add Google Pay Payment Method In Barclaycard ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and didn...
diff --git a/config/config.example.toml b/config/config.example.toml index e2cdf7fd3f2..5b414d7eea1 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -690,6 +690,11 @@ google_pay = { currency = "ARS, AUD, CAD, CLP, COP, EUR, HKD, INR, KWD, MYR, MXN samsung_pay = { currency = "USD,GBP,EUR,SEK"...
2025-07-29T08:52:25Z
## 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/8784) ## Description <!-- Describe your changes in d...
c1d982e3009ebe192b350c2067bf9c2a708d7320
Payments - Create: Request: ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_ZJ8oxbhNRWAqo9uJJXbWZF92Y0ym0c9yIDIVZ5tXfsQPOHtBzVsd37g3QGqSGKK7' \ --data-raw ' { "amount": 1000, "curren...
[ { "file_path": "config/config.example.toml", "lines": [ "[pm_filters.barclaycard]\n", "credit = { currency = \"USD,GBP,EUR,PLN,SEK\" }\n", "debit = { currency = \"USD,GBP,EUR,PLN,SEK\" }\n", "google_pay = { currency = \"ARS, AUD, CAD, CLP, COP, EUR, HKD, INR, KWD, MYR, MXN, NZD, PEN,...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/barclaycard.rs", "lines": [ " supported_capture_methods,\n", " supported_card_networks: supported_card_network,\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connectors/...
[ "toml", "rs" ]
13
juspay/hyperswitch
juspay__hyperswitch-8736
Bug: [CHORE] Bump Cypress Dependencies Current versions are outdated. <img width="469" height="327" alt="Image" src="https://github.com/user-attachments/assets/507dfa9e-754c-4cb5-9f86-41558769f513" />
2025-07-23T13:41:24Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [x] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR bumps Cypress and its dependencies to its latest vers...
20b37bdb7a25ec053e7671332d4837a0ad743983
CI should pass.
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-8724
Bug: [REFACTOR] use REQUEST_TIME_OUT for outgoing webhooks instead of hardcoded 5-second timeout **Problem Statement** The current outgoing webhook timeout is hardcoded to 5 seconds, which is too restrictive and causes delivery failures for legacy systems which might take over 5 seconds to respond back. We should us...
diff --git a/crates/router/src/core/webhooks/outgoing.rs b/crates/router/src/core/webhooks/outgoing.rs index cf7cbb8a2d8..baa5b4af583 100644 --- a/crates/router/src/core/webhooks/outgoing.rs +++ b/crates/router/src/core/webhooks/outgoing.rs @@ -45,8 +45,6 @@ use crate::{ workflows::outgoing_webhook_retry, }; -c...
2025-07-23T06:56:47Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Increased outgoing webhook timeout from 5 seconds to 30 seconds by replacing hardcoded `OUTGOING_WEBHOO...
6214aca5f0f5c617a68f65ef5bcfd700060acccf
<details> <summary>1. Create a simple server for delaying the response for 29seconds</summary> package.json { "name": "webhook-test-server", "version": "1.0.0", "description": "Test server for webhook timeout behavior - waits 30 seconds before responding", "main": ...
[ { "file_path": "crates/router/src/core/webhooks/outgoing.rs", "lines": [ " .send_request(&state, request, None, false)\n" ] }, { "file_path": "crates/router/src/core/webhooks/outgoing_v2.rs", "lines": [ " .send_request(state, request, None, false)\n" ] } ]
[ { "file_path": "crates/router/src/core/webhooks/outgoing.rs", "lines": [ "const OUTGOING_WEBHOOK_TIMEOUT_SECS: u64 = 5;\n", "\n", " .send_request(&state, request, Some(OUTGOING_WEBHOOK_TIMEOUT_SECS), false)\n" ] }, { "file_path": "crates/router/src/core/webhooks/outgoing...
[ "rs" ]
3
juspay/hyperswitch
juspay__hyperswitch-8734
Bug: feat(core): Implement UCS based upi for paytm and phonepe ## Feature Request: Implement UPI Intent and QR Code Payment Flows for UCS Integration ### Description Add support for UPI Intent and QR code payment methods through the Unified Connector Service (UCS) for Paytm and PhonePe payment gateways. ### Backgr...
diff --git a/Cargo.lock b/Cargo.lock index 4b51d433be0..3e1101fdbf4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3525,7 +3525,7 @@ dependencies = [ [[package]] name = "grpc-api-types" version = "0.1.0" -source = "git+https://github.com/juspay/connector-service?rev=a9f7cd96693fa034ea69d8e21125ea0f76182fae#a9f7cd96693...
2025-07-23T12:23:55Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Fixed #8734 ## Description <!-- Describe your changes in detail --> This PR implements UPI Intent and QR code p...
c6e4e7209f2bff0b72e6616f6b02c9996384413c
### Automated Tests - Added integration tests for both Paytm and PhonePe default implementations in `crates/router/tests/connectors/` - Tests verify: - Proper routing of payment requests to UCS - UPI Intent payment method handling - QR code flow support - Status sync operations - Refund request rou...
[ { "file_path": "Cargo.lock", "lines": [ "source = \"git+https://github.com/juspay/connector-service?rev=0409f6aa1014dd1b9827fabfa4fa424e16d07ebc#0409f6aa1014dd1b9827fabfa4fa424e16d07ebc\"\n", "source = \"git+https://github.com/juspay/connector-service?rev=0409f6aa1014dd1b9827fabfa4fa424e16d07ebc...
[ { "file_path": "Cargo.lock", "lines": [ "source = \"git+https://github.com/juspay/connector-service?rev=a9f7cd96693fa034ea69d8e21125ea0f76182fae#a9f7cd96693fa034ea69d8e21125ea0f76182fae\"\n", "source = \"git+https://github.com/juspay/connector-service?rev=a9f7cd96693fa034ea69d8e21125ea0f76182fae...
[ "sh", "toml", "lock", "rs" ]
37
juspay/hyperswitch
juspay__hyperswitch-8723
Bug: Create Authentication Types in Hyperswitch | new doc page I've noticed the community members have been confused by the admin-api and the difference with the hyperswitch api that's given from the control center. This doc explains overview of authentication types and authorization keys available in Hyperswitch.
2025-07-22T13:46:51Z
## 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 --> ### Additional Changes - [ ] This PR modifies the API co...
38c19f30fce7515869d800bd5cabf3a7dd804e55
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-8715
Bug: [FEATURE] Add delete profile endpoint in v2 ### Feature Description Add delete profile endpoint in v2 ### Possible Implementation Add a new endpoint in routes for delete profile in v2 ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and didn't find a sim...
diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin.rs index 22c1868f6ac..bcaeb68f66f 100644 --- a/crates/api_models/src/admin.rs +++ b/crates/api_models/src/admin.rs @@ -765,6 +765,16 @@ pub struct MerchantAccountDeleteResponse { pub deleted: bool, } +#[derive(Debug, Serialize, ToSchema)]...
2025-07-24T12:07:30Z
## Summary - Added v2 API endpoint for deleting business profiles - Implements hard delete functionality for profiles ## Details This PR adds the missing delete profile endpoint for the v2 API as requested in issue #8715. ### Implementation Details: - Added `ProfileDeleteResponse` struct for standardized v2 API respo...
be002728a365b92df52125d445e1e8a4c3181f0b
[ { "file_path": "crates/api_models/src/admin.rs", "lines": [ "#[derive(Debug, Serialize, ToSchema)]\n", "pub struct ProfileDeleteResponse {\n", " /// The identifier for the Profile\n", " #[schema(max_length = 255, example = \"pro_abcdefghijklmnopqrstuvwxyz\", value_type = String...
[ { "file_path": "crates/router/src/routes/app.rs", "lines": [ " .route(web::put().to(profiles::profile_update)),\n" ] } ]
[ "rs" ]
6
juspay/hyperswitch
juspay__hyperswitch-8722
Bug: Update add_connector contributing guide Enrich add_connector contributing guide so anyone can easily build a connector. Right now, details are opaque.
diff --git a/.typos.toml b/.typos.toml index 5fda4c2ad4b..9fb28adc855 100644 --- a/.typos.toml +++ b/.typos.toml @@ -18,6 +18,7 @@ hd = "hd" # animation data parameter HypoNoeLbFurNiederosterreichUWien = "HypoNoeLbFurNiederosterreichUWien" hypo_noe_lb_fur_niederosterreich_u_wien = "hypo_noe_lb_fur_niederosterreich_u_...
2025-07-24T01:48:29Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [x] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Updating the connector documentation ### Additional Change...
b133c534fb1ce40bd6cca27fac4f2d58b0863e30
[ { "file_path": ".typos.toml", "lines": [ "IST = \"IST\" # Indian Standard Time\n" ] }, { "file_path": "add_connector.md", "lines": [ "1. [Introduction](#introduction) \n", "2. [Prerequisites](#prerequisites) \n", "3. [Development Environment Setup & Configuration](#...
[ { "file_path": "add_connector.md", "lines": [ "1. [Introduction](#introduction)\n", "2. [Prerequisites](#prerequisites)\n", "3. [Understanding Connectors and Payment Methods](#understanding-connectors-and-payment-methods)\n", "4. [Integration Steps](#integration-steps)\n", " ...
[ "md", "toml" ]
2
juspay/hyperswitch
juspay__hyperswitch-8717
Bug: [FEATURE] Add delete merchant account endpoint in v2 ### Feature Description [FEATURE] Add delete merchant account endpoint in v2 ### Possible Implementation Add a new endpoint in routes for delete merchant account in v2 ### Have you spent some time checking if this feature request has been raised before? ...
diff --git a/crates/openapi/src/openapi_v2.rs b/crates/openapi/src/openapi_v2.rs index 4b88ec4c1ab..e90944538a0 100644 --- a/crates/openapi/src/openapi_v2.rs +++ b/crates/openapi/src/openapi_v2.rs @@ -85,6 +85,7 @@ Never share your secret api keys. Keep them guarded and secure. routes::merchant_account::mercha...
2025-07-23T08:40:55Z
## Summary - Added DELETE route to v2 merchant account API endpoints - Enables deletion of merchant accounts via `DELETE /v2/merchant-accounts/{id}` - Reuses existing v2 delete handler with proper V2AdminApiAuth authentication - Follows established v2 API patterns and conventions ## Changes Made - Modified `crates/rou...
6214aca5f0f5c617a68f65ef5bcfd700060acccf
[ { "file_path": "crates/openapi/src/openapi_v2.rs", "lines": [ " routes::merchant_account::delete_merchant_account_v2,\n" ] }, { "file_path": "crates/openapi/src/routes/merchant_account.rs", "lines": [ "#[cfg(feature = \"v2\")]\n", "/// Merchant Account - Delete (Soft...
[ { "file_path": "crates/router/src/routes/admin.rs", "lines": [ " let mid = mid.into_inner();\n", " let payload = web::Json(admin::MerchantId { merchant_id: mid }).into_inner();\n", " |state, _, req, _| merchant_account_delete(state, req.merchant_id),\n" ] }, { "fil...
[ "rs" ]
8
juspay/hyperswitch
juspay__hyperswitch-8710
Bug: feat(routing): Add new endpoints for evaluate, feedback, and rule-evaluate Adds api refs for routing APIs
diff --git a/crates/api_models/src/open_router.rs b/crates/api_models/src/open_router.rs index aefbd3eb211..02ded9713f6 100644 --- a/crates/api_models/src/open_router.rs +++ b/crates/api_models/src/open_router.rs @@ -16,17 +16,18 @@ use crate::{ payment_methods, }; -#[derive(Debug, Clone, Serialize, Deserialize...
2025-07-21T15:12:22Z
## 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 api refs for routing ``` "v1/routing/routing--e...
1e6a088c04b40c7fdd5bc65c1973056bf58de764
**for "v1/routing/routing--evaluate",** <img width="1423" height="860" alt="image" src="https://github.com/user-attachments/assets/2f8bcd33-7b79-4e56-8e6b-c3d58717609c" /> **for "v1/routing/routing--feedback",** <img width="1461" height="882" alt="image" src="https://github.com/user-attachments/assets/f5...
[ { "file_path": "crates/api_models/src/open_router.rs", "lines": [ "#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]\n", " #[schema(value_type = String)]\n", "#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]\n", "#[derive(Debug, Clone, Serialize, Deserialize, ToSc...
[ { "file_path": "crates/api_models/src/open_router.rs", "lines": [ "#[derive(Debug, Clone, Serialize, Deserialize)]\n", "#[derive(Debug, Clone, Serialize, Deserialize)]\n", "#[derive(Debug, Clone, Serialize, Deserialize)]\n", "#[derive(Debug, Clone, Serialize, Deserialize)]\n", ...
[ "rs" ]
6
juspay/hyperswitch
juspay__hyperswitch-8698
Bug: [BUG] FEATURE_MATRIX shows JPMorgan does not support Refunds I added support for refunds 3 weeks ago in #8436. Feature matrix needs to be updated.
diff --git a/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs b/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs index 80e3d61278f..7577154f6b1 100644 --- a/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs +++ b/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs @@ -847,7 +847,7 @@ static ...
2025-07-19T18:06:43Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR marks refunds as supported by JPMorgan connector. Alt...
d42fad73f502933ecf50215503f0bea41813662c
Hit feature matrix endpoint: ```sh curl --location 'http://localhost:8080/feature_matrix' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' ``` ```json { ... "supported_payment_methods": [ { "payment_method": "card", ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/jpmorgan.rs", "lines": [ " refunds: enums::FeatureStatus::Supported,\n", " refunds: enums::FeatureStatus::Supported,\n" ] } ]
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/jpmorgan.rs", "lines": [ " refunds: enums::FeatureStatus::NotSupported,\n", " refunds: enums::FeatureStatus::NotSupported,\n" ] } ]
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-8687
Bug: [BUG] refused payment responses missing error codes and messages for Access Worldpay ### Bug Description Worldpay refused payment responses are not populating error codes and error messages due to incorrect deserialization. The `WorldpayPaymentResponseFields` enum incorrectly deserializes refused responses as ...
diff --git a/crates/hyperswitch_connectors/src/connectors/worldpay/response.rs b/crates/hyperswitch_connectors/src/connectors/worldpay/response.rs index e7fa40c7114..b1a3a86a04f 100644 --- a/crates/hyperswitch_connectors/src/connectors/worldpay/response.rs +++ b/crates/hyperswitch_connectors/src/connectors/worldpay/res...
2025-07-18T09:30: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 --> Fixes Worldpay refused payment responses not populating error...
126018e217bfbd8bdd44043ace8a815046193818
Things to be verified - Failed transactions - Successfull transactions - Across 3DS and Non3DS payments Acceptance criteria - Failed transactions should ALWAYS have error code and error message - Existing behavior should not be impacted <details> <summary>1. Create a refused 3DS payment</summary> c...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/worldpay/response.rs", "lines": [ " DDCResponse(DDCResponse),\n", " FraudHighRisk(FraudHighRiskResponse),\n", " AuthorizedResponse(Box<AuthorizedResponse>),\n" ] } ]
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/worldpay/response.rs", "lines": [ " AuthorizedResponse(Box<AuthorizedResponse>),\n", " DDCResponse(DDCResponse),\n", " FraudHighRisk(FraudHighRiskResponse),\n" ] } ]
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-8693
Bug: update open api spec for create platform api
diff --git a/crates/api_models/src/user.rs b/crates/api_models/src/user.rs index 47608532b54..82d10a16215 100644 --- a/crates/api_models/src/user.rs +++ b/crates/api_models/src/user.rs @@ -3,6 +3,7 @@ use std::fmt::Debug; use common_enums::{EntityType, TokenPurpose}; use common_utils::{crypto::OptionalEncryptableName...
2025-07-18T12:14:55Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [x] Documentation - [ ] CI/CD ## Description - generated open api spec for create platform api <img width="3182" height="2040" alt="image" src="https...
6214aca5f0f5c617a68f65ef5bcfd700060acccf
- I run the `mint dev` command to check if the platform create api is reflecting in the api reference docs after these changes - Refer the attached screenshot
[ { "file_path": "crates/api_models/src/user.rs", "lines": [ "use utoipa::ToSchema;\n", "#[derive(Debug, serde::Deserialize, serde::Serialize, Clone, ToSchema)]\n", " #[schema(max_length = 64, value_type = String, example = \"organization_abc\")]\n", "#[derive(Debug, serde::Deserial...
[ { "file_path": "crates/api_models/src/user.rs", "lines": [ "#[derive(Debug, serde::Deserialize, serde::Serialize, Clone)]\n", "#[derive(Debug, serde::Deserialize, serde::Serialize)]\n" ] }, { "file_path": "crates/openapi/src/openapi.rs", "lines": [ " api_models::enum...
[ "rs" ]
4
juspay/hyperswitch
juspay__hyperswitch-8703
Bug: [REFACTOR] facilitapay destination bank account number should be merchant facing destination bank account number should be added by merchant, not customer. this is a design flaw that needs to be fixed.
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index 59c609a294d..e62126f9102 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -3433,15 +3433,12 @@ pub enum BankTransferData { /// CNPJ is a Brazilian company tax identification number ...
2025-07-21T08:33:27Z
## 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 --> Destination bank account id should be merchant facing, not cu...
be03dd2ae9a4df9b592aa3fc482e5356843a7163
Create MCA: ```curl curl --location 'http://localhost:8080/account/postman_merchant_GHAction_1753083253/connectors' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_Dyq5nDoX7lVK7WTywFMzt7RKqlI86c6FFg7kun0keGiZpByVLgo8y4dhdbAqYIm8' \ --data-raw '{ ...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ " #[schema(value_type = Option<String>, example = \"8b******-****-****-****-*******08bc5\")]\n", " /// Partially masked destination bank account number _Deprecated: Will be removed in next stable release._\n", " ...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ "\n", " #[schema(value_type = Option<String>, example = \"8b2812f0-d6c8-4073-97bb-9fa964d08bc5\")]\n", "\n", " /// Destination bank account number\n", " #[schema(value_type = Option<String>, exa...
[ "toml", "rs" ]
8
juspay/hyperswitch
juspay__hyperswitch-8706
Bug: [FEATURE] [TRUSTPAYMENTS] Integrate cards non-3ds payments ### Feature Description cards non-3ds payments needs to be integrated for trustpayments ### Possible Implementation cards non-3ds payments needs to be integrated for trustpayments ### Have you spent some time checking if this feature request has bee...
diff --git a/crates/common_enums/src/connector_enums.rs b/crates/common_enums/src/connector_enums.rs index 3a7d2f535cc..6621440b13d 100644 --- a/crates/common_enums/src/connector_enums.rs +++ b/crates/common_enums/src/connector_enums.rs @@ -156,6 +156,7 @@ pub enum RoutableConnectors { Stripebilling, // Taxja...
2025-07-21T10:13:40Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Cards Non-3DS payments added for Trustpayments ### Add...
f3ab3d63f69279af9254f15eba5654c0680a0747
Tested using cargo build and cypress test <img width="800" height="990" alt="image" src="https://github.com/user-attachments/assets/c8c11da3-737f-4518-b696-1a1a4ae07dca" />
[ { "file_path": "crates/common_enums/src/connector_enums.rs", "lines": [ " Trustpayments,\n", " Trustpayments,\n", " | Self::Trustpayments\n", " RoutableConnectors::Trustpayments => Self::Trustpayments,\n", " Connector::Trustpayments => Ok(...
[ { "file_path": "crates/connector_configs/toml/sandbox.toml", "lines": [ "\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connectors/trustpayments.rs", "lines": [ " ConnectorInfo, PaymentsResponseData, RefundsResponseData, SupportedPaymentMethods,\n", " ...
[ "toml", "rs" ]
14
juspay/hyperswitch
juspay__hyperswitch-8679
Bug: Propage request id to chat service Send request id to chat service in headers.
diff --git a/crates/common_utils/src/consts.rs b/crates/common_utils/src/consts.rs index 3ef0ef555e6..28508749f35 100644 --- a/crates/common_utils/src/consts.rs +++ b/crates/common_utils/src/consts.rs @@ -152,6 +152,9 @@ pub const APPLEPAY_VALIDATION_URL: &str = /// Request ID pub const X_REQUEST_ID: &str = "x-reques...
2025-07-17T12:23:04Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Propagation request-id to chat service for consistency. Propagate chat session id as well in request Ad...
260df2836cea8f9aa7448888d3b61e942eda313b
Tested locally, x-request-id is getting populated correctly ``` curl --location 'http://localhost:8080/chat/ai/data' \ --header 'x-feature: integ-custom' \ --header 'x-chat-session-id: chat-ssdfasdsf' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer JWT' \ --data '{ ...
[ { "file_path": "crates/common_utils/src/consts.rs", "lines": [ "/// Chat Session ID\n", "pub const X_CHAT_SESSION_ID: &str = \"x-chat-session-id\";\n", "\n" ] }, { "file_path": "crates/router/src/core/chat.rs", "lines": [ " routes::{app::SessionStateInfo, SessionSt...
[ { "file_path": "crates/router/src/core/chat.rs", "lines": [ " routes::SessionState,\n", "#[instrument(skip_all)]\n", "\n", " let request = RequestBuilder::new()\n", " .set_body(RequestContent::Json(Box::new(request_body.clone())))\n", " .build();\n" ...
[ "rs" ]
4
juspay/hyperswitch
juspay__hyperswitch-8708
Bug: [REFACTOR] Add new variant for routing approach ### Feature Description We need to add a new variant other for `RoutingApproach` enum so that it does not break on stagger. ### Possible Implementation We need to introduce a enum variant `Other(String)` which will be defaulted to when deser errors happen ### ...
diff --git a/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql b/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql index 16815e9a33d..314c265a19c 100644 --- a/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql +++ b/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql @@ -45,...
2025-07-21T13:37:06Z
This pull request introduces a significant refactor in the `PaymentAttempt` module by replacing the `routing_approach` field with a new `routing_strategy` field across multiple structs and enums. This change is aimed at aligning data structures with updated business logic or requirements. ### Key Changes: #### Fi...
9bf1e95f06af4dd0620133cdadca6b2522b27e6e
1. make a straight through routing payment ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_BNOaWRzwyZ3hMAbhRNtp9t6Mx7ZSVyK5gPvd1bavl0FWehvrHlre1eMifYA244TE' \ --data-raw '{ "amount": 6540, "curr...
[ { "file_path": "crates/analytics/docs/clickhouse/scripts/payment_attempts.sql", "lines": [ " `routing_strategy` LowCardinality(Nullable(String)),\n", " `routing_strategy` LowCardinality(Nullable(String)),\n", " `routing_strategy` LowCardinality(Nullable(String)),\n", " ro...
[ { "file_path": "crates/analytics/src/payments/core.rs", "lines": [ " PaymentDimensions::RoutingApproach => fil.routing_approach.map(|i| i.as_ref().to_string()),\n" ] }, { "file_path": "crates/analytics/src/payments/distribution.rs", "lines": [ " pub routing_approach...
[ "sql", "rs" ]
49
juspay/hyperswitch
juspay__hyperswitch-8678
Bug: Add debit routing support for apple pay In the Apple Pay decryption flow, if debit routing is enabled by the merchant and the card type is debit, a call will be made to the decision engine to retrieve the supported card networks and the potential debit routing savings. Among these networks, the lowest-cost netw...
diff --git a/crates/common_enums/src/enums.rs b/crates/common_enums/src/enums.rs index 49f6d15a6da..687e42728f2 100644 --- a/crates/common_enums/src/enums.rs +++ b/crates/common_enums/src/enums.rs @@ -190,6 +190,30 @@ impl AttemptStatus { } } +#[derive( + Clone, + Copy, + Debug, + Hash, + Eq, + ...
2025-07-17T07:05:49Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pull request adds debit routing support for Apple Pay. In ...
bf8dc4959eab4e2a2ca8120055ff80900418fe0b
-> enable debit routing and make a apple pay payment ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_tT5kUVUp7uaQHR2Z824Iy7393nL5sEWLxAvJblCxxmttLizAkJbWtsdgoIjdGQE2' \ --data-raw '{ "amount": 65...
[ { "file_path": "crates/common_enums/src/enums.rs", "lines": [ "#[derive(\n", " Clone,\n", " Copy,\n", " Debug,\n", " Hash,\n", " Eq,\n", " PartialEq,\n", " serde::Deserialize,\n", " serde::Serialize,\n", " strum::Display,...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs", "lines": [ " brand: \"applepay\".to_string(),\n" ] }, { "file_path": "crates/router/src/core/debit_routing.rs", "lines": [ "use masking::Secret;\n", " let ...
[ "rs" ]
21
juspay/hyperswitch
juspay__hyperswitch-8677
Bug: [BUG]: Success Rate rule being created/listed twice for a new profile When creating an SR rule for a new profile, 2 rules with different algorithm ids are being listed in the get call for listing rules. This is happening only upon creating a new SR rule for a new profile (with no rules existing previously), and...
diff --git a/crates/api_models/src/events/routing.rs b/crates/api_models/src/events/routing.rs index 9f09bac8274..b1129f96afb 100644 --- a/crates/api_models/src/events/routing.rs +++ b/crates/api_models/src/events/routing.rs @@ -2,7 +2,7 @@ use common_utils::events::{ApiEventMetric, ApiEventsType}; use crate::routin...
2025-07-24T13:08:02Z
### **Summary** This PR introduces the **`/create`** endpoints for dynamic routing algorithm types (Success-Based and Elimination), allowing merchants to initialize and register dynamic routing logic via a new payload-capable flow. The implementation includes support for optional configuration payloads and integrati...
8bb8b2062e84e8d7116a9ca0e76c8ebd71b2b3ec
[ { "file_path": "crates/api_models/src/events/routing.rs", "lines": [ " CreateDynamicRoutingWrapper, DynamicRoutingUpdateConfigQuery, EliminationRoutingPayloadWrapper,\n", "impl ApiEventMetric for CreateDynamicRoutingWrapper {\n", " fn get_api_event_type(&self) -> Option<ApiEventsType...
[ { "file_path": "crates/api_models/src/events/routing.rs", "lines": [ " DynamicRoutingUpdateConfigQuery, EliminationRoutingPayloadWrapper,\n" ] }, { "file_path": "crates/router/src/core/routing.rs", "lines": [ " helpers::enable_dynamic_routing_algorithm(\n" ] }...
[ "rs" ]
8
juspay/hyperswitch
juspay__hyperswitch-8682
Bug: refactor(payments): Fetch payment method details n PaymentListAttempt api Need to fetch payment method information for attempts in attempt list api
diff --git a/config/docker_compose.toml b/config/docker_compose.toml index 2e37da5728d..faf1d25e3c7 100644 --- a/config/docker_compose.toml +++ b/config/docker_compose.toml @@ -272,6 +272,7 @@ cards = [ "coingate", "cryptopay", "ctp_visa", + "custombilling", "cybersource", "datatrans", ...
2025-07-17T14:01:37Z
## 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 adds fetches payment method data in payment attempt list v2 api. ### Additional Changes - [...
db14764671d18fbbd8d699f0c7c97a327bc1d0db
Request: ``` curl --location 'http://localhost:8080/v2/payments/12345_pay_0198179b2de5751292df2b555eaa3cf2/list_attempts' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_2Kk2ddRcJttgm6ONh0zm' \ --header 'api-key: dev_g5HfT4ijuVQs3QLUPf3xAT6M26ebVgHHTivreiSljKPdRvEsqBNSKxHJrhLboLsT' \ ...
[ { "file_path": "config/docker_compose.toml", "lines": [ " \"custombilling\",\n" ] }, { "file_path": "crates/api_models/src/enums.rs", "lines": [ " Custombilling,\n" ] }, { "file_path": "crates/api_models/src/payments.rs", "lines": [ "\n", " //...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors.rs", "lines": [ " ctp_mastercard::CtpMastercard, cybersource::Cybersource, datatrans::Datatrans,\n", " deutschebank::Deutschebank, digitalvirgo::Digitalvirgo, dlocal::Dlocal, dwolla::Dwolla,\n", " ebanx::Ebanx, elavon::E...
[ "sh", "toml", "rs" ]
19
juspay/hyperswitch
juspay__hyperswitch-8668
Bug: [REFACTOR] : Add feature metadata in payments response Currently we are adding feature metadata in the Payment Response. We'll incrementally populate the fields
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index f3d7d9b675c..cef094a98d5 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -5808,6 +5808,9 @@ pub struct PaymentsResponse { /// Stringified connector raw response body. Only returned if ...
2025-07-16T14:37:24Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Add feature_metadata in the payments response for revenue recovery in v2. Also added it in the open api ...
9bc02516d6ca4ce1a998f0a7c800ca1eaa078ad7
- Create a Org and MA and MCA in v2 - Create a payment in v2 ``` curl --location 'http://localhost:8080/v2/payments/create-intent' \ --header 'api-key: dev_RvJ0UsrpfypkXccsGyytfee97LjWGSymDBIoR2K1zpxmUvaDScyXr9e4QH5cSUKc' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_xwf1Kn6sgcq34ih9HH...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ "\n", " /// Additional data that might be required by hyperswitch based on the additional features.\n", " pub feature_metadata: Option<FeatureMetadata>,\n", " pub revenue_recovery: Option<PaymentRevenueRecoveryMe...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ " pub payment_revenue_recovery_metadata: Option<PaymentRevenueRecoveryMetadata>,\n", " self.payment_revenue_recovery_metadata\n", " payment_revenue_recovery_metadata: Some(payment_revenue_recovery_metadata)...
[ "rs" ]
3
juspay/hyperswitch
juspay__hyperswitch-8666
Bug: Update get organization details api response to contain organization type This is a part of the vsaas changes required. The updated response of retrieve organization`GET` api should also contain the organization type.
diff --git a/crates/api_models/src/organization.rs b/crates/api_models/src/organization.rs index 50632e66be7..e12b21c143f 100644 --- a/crates/api_models/src/organization.rs +++ b/crates/api_models/src/organization.rs @@ -74,6 +74,10 @@ pub struct OrganizationResponse { pub metadata: Option<pii::SecretSerdeValue>, ...
2025-07-16T07:14:24Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Updated `organization_retrieve` api response to contain `organization_type` for v1 and v2 api ### Ad...
cb83bf8c2f4486fee99f88bc85bd6e6cb4430e13
Curl for Organization Retrieve ``` curl --location 'http://localhost:8080/organization/org_nib3yNnE0BcUJJ8ptlh2' \ --header 'api-key: test_admin' \ --header 'Content-Type: application/json' ``` Current response ``` { "organization_id": "org_nib3yNnE0BcUJJ8ptlh2", "organization_name": "org_local"...
[ { "file_path": "crates/api_models/src/organization.rs", "lines": [ "\n", " /// Organization Type of the organization\n", " #[schema(value_type = Option<OrganizationType>, example = \"standard\")]\n", " pub organization_type: Option<OrganizationType>,\n", "\n", " ...
[]
[ "rs" ]
5
juspay/hyperswitch
juspay__hyperswitch-8644
Bug: feat(core): Add kill switch for Unified Connector Service (UCS) # feat(core): Add kill switch for Unified Connector Service (UCS) ## Feature Description We need to implement a kill switch mechanism for the Unified Connector Service (UCS) integration that allows operators to disable UCS immediately without req...
diff --git a/crates/router/src/consts.rs b/crates/router/src/consts.rs index f9d6daa53eb..a6c0954f8f0 100644 --- a/crates/router/src/consts.rs +++ b/crates/router/src/consts.rs @@ -309,7 +309,10 @@ pub const PSD2_COUNTRIES: [Country; 27] = [ ]; // Rollout percentage config prefix -pub const UCS_ROLLOUT_PERCENT_CONF...
2025-07-15T11:06:22Z
# feat(core): Implement UCS enable/disable configuration for operational control ## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ### Fixes #8644 ...
064113a4c96c77d83e1e0230a56678863dd8f7db
### Manual Testing #### **Test Scenario: UCS Enable/Disable Toggle Behavior** **1. Default Behavior (UCS Not Configured/Disabled)** - Make a payment request - Verify traditional connector flow is used when config is not set - Check logs confirm UCS integration is inactive **2. Enable U...
[ { "file_path": "crates/router/src/consts.rs", "lines": [ "pub const UCS_ROLLOUT_PERCENT_CONFIG_PREFIX: &str = \"ucs_rollout_config\";\n", "\n", "// UCS feature enabled config\n", "pub const UCS_ENABLED: &str = \"ucs_enabled\";\n" ] }, { "file_path": "crates/router/src/cor...
[ { "file_path": "crates/router/src/consts.rs", "lines": [ "pub const UCS_ROLLOUT_PERCENT_CONFIG_PREFIX: &str = \"UCS_ROLLOUT_CONFIG\";\n" ] }, { "file_path": "crates/router/src/core/payments.rs", "lines": [ " let router_data = if should_continue_further {\n", " ...
[ "rs" ]
4
juspay/hyperswitch
juspay__hyperswitch-8653
Bug: Recurring on NMI ### Discussed in https://github.com/juspay/hyperswitch/discussions/8291 <div type='discussions-op-text'> <sup>Originally posted by **jschrecurly** June 9, 2025</sup> Add recurring payment support for NMI.</div>
diff --git a/crates/hyperswitch_connectors/src/connectors/nmi.rs b/crates/hyperswitch_connectors/src/connectors/nmi.rs index b2037c45256..7ae21664e73 100644 --- a/crates/hyperswitch_connectors/src/connectors/nmi.rs +++ b/crates/hyperswitch_connectors/src/connectors/nmi.rs @@ -38,7 +38,7 @@ use hyperswitch_interfaces::{...
2025-07-15T11:32:51Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Mandate payments support has been added to NMI. https://suppor...
cf5737f48261905997571f2cd64feea7608ee825
Tested and added relevant cypress tests. CIT: Request: ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_6Qh8tlhJxGnzCnYSgZLYUcZg3se94a12xetjLpMLCE3srm2F6E3szTR3vJ8IRzxA' \ --data-raw '{ "amount"...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/nmi.rs", "lines": [ " RefundSyncType, Response, SetupMandateType,\n", " utils::{self, construct_not_supported_error_report, convert_amount, get_header_key_value},\n", "\n", " fn validate_mandate_payment(\n", ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/nmi.rs", "lines": [ " RefundSyncType, Response,\n", " utils::{construct_not_supported_error_report, convert_amount, get_header_key_value},\n", " let connector_req = nmi::NmiPaymentsRequest::try_from(req)?;\n", ...
[ "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-8639
Bug: [REFACTOR] payment link's flow An expected high level payment link's lifecycle is mentioned below - Create payment link - Render payment link - Confirm via payment widget - If 3DS [always perform top redirection] - Redirect to external page - Once actions are performed, submit on page - External pa...
diff --git a/crates/router/src/core/payment_link/payment_link_status/status.js b/crates/router/src/core/payment_link/payment_link_status/status.js index 371fdf1d2df..863c4239757 100644 --- a/crates/router/src/core/payment_link/payment_link_status/status.js +++ b/crates/router/src/core/payment_link/payment_link_status/s...
2025-07-15T08:42:49Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR updates the behavior of final redirection to use top redirection when payment link's status page ...
871c08249d8006b54fe46d78f835452a39242ba8
<details> <summary>1. Create a default payment link</summary> cURL curl --location --request POST 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_l9cbI5mKxdcSM5xnj2wiPTQGwO0lXCXDnHBeiCL9...
[ { "file_path": "crates/router/src/core/payment_link/payment_link_status/status.js", "lines": [ " window.top.location.href = url.toString();\n" ] } ]
[ { "file_path": "crates/router/src/core/payment_link/payment_link_status/status.js", "lines": [ " window.location.href = url.toString();\n" ] } ]
[ "js" ]
1
juspay/hyperswitch
juspay__hyperswitch-8674
Bug: [FEATURE] TRUSTPAYMENTS Template Code ### Feature Description TRUSTPAYMENTS Template Code ### Possible Implementation [FEATURE] TRUSTPAYMENTS Template Code ### 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...
diff --git a/config/config.example.toml b/config/config.example.toml index 9454b3f0adc..cf514a273d6 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -297,6 +297,7 @@ thunes.base_url = "https://api.limonetikqualif.com/" tokenio.base_url = "https://api.sandbox.token.io" stripe.base_url_file_u...
2025-07-17T07:04:50Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description TRUSTPAYMENTS Added Template Code ### Additional Changes - [ ] This PR modifies the API contract...
6214aca5f0f5c617a68f65ef5bcfd700060acccf
Only template code added hence no testing required
[ { "file_path": "config/config.example.toml", "lines": [ "trustpayments.base_url = \"https://webservices.securetrading.net/\"\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "trustpayments.base_url = \"https://webservices.securetrading.net/\"\n" ]...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors.rs", "lines": [ " tsys::Tsys, unified_authentication_service::UnifiedAuthenticationService, vgs::Vgs, volt::Volt,\n" ] }, { "file_path": "crates/router/src/connector.rs", "lines": [ " tokenio, tokenio::Tokenio, tr...
[ "sh", "toml", "rs" ]
22
juspay/hyperswitch
juspay__hyperswitch-8636
Bug: [BUG] card payouts using payout_method_id ### Bug Description Payout method data for card is not being fetched in payouts flow. This bug was introduced in https://github.com/juspay/hyperswitch/pull/7786/files where `get_pm_list_context` was refactored to return back only the additional details by removing the...
diff --git a/crates/payment_methods/src/controller.rs b/crates/payment_methods/src/controller.rs index bd5a9f316ef..095788fa368 100644 --- a/crates/payment_methods/src/controller.rs +++ b/crates/payment_methods/src/controller.rs @@ -229,6 +229,12 @@ pub trait PaymentMethodsController { merchant_id: &id_type::M...
2025-07-23T09:59:21Z
## Type of Change - [x] Bugfix ## Description Fixed payout method data not being fetched from card vault when using `payout_method_id` in payouts flow. **Changes:** - Added `force_fetch_card_from_vault` parameter to `get_pm_list_context` to enable card vault lookup for payouts - Added `get_card_details_from_l...
6214aca5f0f5c617a68f65ef5bcfd700060acccf
<details> <summary>1. Create a recurring card payout</summary> cURL curl --location --request POST 'http://localhost:8080/payouts/create' \ --header 'Content-Type: application/json' \ --header 'api-key: dev_ydIiVWyEGA60P3uQa2IHCKACVSRVHceIJEPrmSsb1TFfpJHfBmYRaMoqrrOiSab1' \ --d...
[ { "file_path": "crates/payment_methods/src/controller.rs", "lines": [ "\n", " #[cfg(feature = \"v1\")]\n", " async fn get_card_details_from_locker(\n", " &self,\n", " pm: &payment_methods::PaymentMethod,\n", " ) -> errors::PmResult<api::CardDetailFr...
[ { "file_path": "crates/router/src/core/payment_methods/cards.rs", "lines": [ " let card_details = cards.get_card_details_with_locker_fallback(pm).await?;\n" ] }, { "file_path": "crates/router/src/core/payouts/validator.rs", "lines": [ " expir...
[ "rs" ]
3
juspay/hyperswitch
juspay__hyperswitch-8637
Bug: [FEATURE] expiration for Pix payments ### Feature Description Pix is a payment method in Brazil where customers can scan a QR and pay. This QR code generation usually has an expiry which can be specified during payment intent creation with the underlying payment processors. Currently, there isn't a way to cre...
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index cef094a98d5..f7d8a808a71 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -3438,6 +3438,11 @@ pub enum BankTransferData { /// Destination bank account number #[schema(value...
2025-07-21T07:08:40Z
## 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 --> Enhanced Pix payment support for Adyen connector with two cha...
2b6f6c46a690514b9b10958433d89e95cd7e0c2e
<details> <summary>1. Create a Pix payment using custom SSN and expiry date</summary> cURL curl --location --request POST 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_uXENxlgLNNVyGV...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ "\n", " /// The expiration date and time for the Pix QR code in ISO 8601 format\n", " #[schema(value_type = Option<String>, example = \"2025-09-10T10:11:12Z\")]\n", " #[serde(default, with = \"common_...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs", "lines": [ " social_security_number: None,\n" ] } ]
[ "rs" ]
4
juspay/hyperswitch
juspay__hyperswitch-8633
Bug: [FEATURE] Add Incremental Authorization Flow for Stripe ### Feature Description Add Incremental Authorization Flow for Stripe ### Possible Implementation Add Incremental Authorization Flow for Stripe ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and d...
diff --git a/crates/common_enums/src/enums.rs b/crates/common_enums/src/enums.rs index 99b8c2e600e..f14695a7c74 100644 --- a/crates/common_enums/src/enums.rs +++ b/crates/common_enums/src/enums.rs @@ -2802,9 +2802,8 @@ pub enum CountryAlpha2 { #[strum(serialize_all = "snake_case")] pub enum RequestIncrementalAuthoriz...
2025-07-07T14:33:36Z
## 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/8633) ## Description <!-- Describe your changes in d...
00b792d8d1027e2997f5e7df7d11d3e072b81aa0
Postman Tests 1. Payments - Create Request: ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_GO27IMaWkZPcdQp7NA8uYvMJowN0WzpbyqEGtW7L3fxAtXZzCzy60mIZTzOjGon1' \ --data-raw ' { "amount":...
[ { "file_path": "crates/common_enums/src/enums.rs", "lines": [ " False,\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connectors/stripe.rs", "lines": [ " AccessTokenAuth, Authorize, Capture, CreateConnectorCustomer, Evidence, Execute,\n", " Incre...
[ { "file_path": "crates/common_enums/src/enums.rs", "lines": [ " False,\n", " Default,\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connectors/stripe.rs", "lines": [ " AccessTokenAuth, Authorize, Capture, CreateConnectorCustomer, Evidence, Execute, ...
[ "rs" ]
5
juspay/hyperswitch
juspay__hyperswitch-8623
Bug: [BUG] For trust pay in session token card brand is coming as empty so click to pay page is not loading ### Bug Description For trust pay in session token card brand is coming as empty so click to pay page is not loading ### Expected Behavior For trust pay in session token card brand should not come as empty ...
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml index 77775f87bf0..9c85481a235 100644 --- a/config/deployments/integration_test.toml +++ b/config/deployments/integration_test.toml @@ -786,4 +786,4 @@ monitoring_threshold_in_seconds = 2592000 retry_algorithm_type = "casc...
2025-07-13T08:29:09Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD Closes this [issue](https://github.com/juspay/hyperswitch/issues/8623) ## Description <!-- Describe your changes in d...
8ccaac7c10e9366772e43d34f271d946cc4b3baa
Steps for testing is given in this [PR](https://github.com/juspay/hyperswitch/pull/8304) Screenshot that is showing `card_brands` in Session Call for Trustpay: <img width="653" height="542" alt="Screenshot 2025-07-13 at 2 07 31 PM" src="https://github.com/user-attachments/assets/4249444b-9558-49b3-a257-cabc92...
[ { "file_path": "config/deployments/integration_test.toml", "lines": [ "click_to_pay = {connector_list = \"adyen, cybersource, trustpay\"}\n" ] }, { "file_path": "config/deployments/production.toml", "lines": [ "click_to_pay = {connector_list = \"adyen, cybersource, trustpay\"}\n"...
[ { "file_path": "config/deployments/integration_test.toml", "lines": [ "click_to_pay = {connector_list = \"adyen, cybersource\"}\n" ] }, { "file_path": "config/deployments/production.toml", "lines": [ "click_to_pay = {connector_list = \"adyen, cybersource\"}\n" ] }, { ...
[ "toml" ]
5
juspay/hyperswitch
juspay__hyperswitch-8638
Bug: [FEATURE] add payment_expired outgoing webhook ### Feature Description Payment methods related to QR code which generally has an expiration time / date associated comes to end of its lifecycle if they're not fulfilled. For such payments, underlying connector can send an incoming webhook when they expire. HS n...
diff --git a/crates/api_models/src/webhooks.rs b/crates/api_models/src/webhooks.rs index 75af0b19cf2..fcab9461a00 100644 --- a/crates/api_models/src/webhooks.rs +++ b/crates/api_models/src/webhooks.rs @@ -22,6 +22,7 @@ pub enum IncomingWebhookEvent { PaymentIntentAuthorizationFailure, PaymentIntentCaptureSucc...
2025-07-22T15:19:21Z
## Type of Change - [x] New feature ## Description This PR implements payment expiration handling for QR code-based payments through Adyen's OFFER_CLOSED webhook and fixes next_action display for terminal payment states. ### Changes: 1. Adyen `OFFER_CLOSED` webhook: - Added `OfferClosed` to `WebhookEvent...
f94f39ef0cae800a8ecde21e8d4a95b14c074f88
<details> <summary>1. Create a Pix Payment (with expiry)</summary> cURL curl --location --request POST 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_W8rGDzCct9xjU2Rqd8xxZubP9rRJ4u1Y42J...
[ { "file_path": "crates/api_models/src/webhooks.rs", "lines": [ " PaymentIntentExpired,\n", " | IncomingWebhookEvent::PaymentIntentCaptureFailure\n", " | IncomingWebhookEvent::PaymentIntentExpired => Self::Payment,\n" ] }, { "file_path": "crates/common_e...
[ { "file_path": "crates/api_models/src/webhooks.rs", "lines": [ " | IncomingWebhookEvent::PaymentIntentCaptureFailure => Self::Payment,\n" ] }, { "file_path": "crates/common_enums/src/enums.rs", "lines": [ " | Self::PartialCharged => true,\n", " ...
[ "sql", "rs" ]
33
juspay/hyperswitch
juspay__hyperswitch-8614
Bug: Add support to call decision engine PL Routing from hyperswitch after API key authentication
diff --git a/crates/router/src/core/payments/routing/utils.rs b/crates/router/src/core/payments/routing/utils.rs index d217cc04360..d373b4188b1 100644 --- a/crates/router/src/core/payments/routing/utils.rs +++ b/crates/router/src/core/payments/routing/utils.rs @@ -690,6 +690,7 @@ pub struct RoutingEvaluateRequest { ...
2025-07-15T12:45:54Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR adds the routing rule evaluation endpoint to Hyperswitc...
a6f4d7267f9d324096c112d824ba79fcaaa9648b
Curl ``` curl --location 'http://localhost:8080/routing/rule/evaluate' \ --header 'Content-Type: application/json' \ --header 'api-key: dev_Zgz3AVVEqf4l1IZtWu******tLXfe0CcbUmdQ3Ol91gfvt0aytHG5C2FXmCxc' \ --data '{ "created_by":"merchant_1752591820", "parameters": { "payment_method": { "type": "enum_v...
[ { "file_path": "crates/router/src/core/payments/routing/utils.rs", "lines": [ "impl common_utils::events::ApiEventMetric for RoutingEvaluateRequest {}\n", "impl common_utils::events::ApiEventMetric for RoutingEvaluateResponse {}\n" ] }, { "file_path": "crates/router/src/routes/app.rs...
[ { "file_path": "crates/router/src/core/payments/routing/utils.rs", "lines": [ "\n" ] }, { "file_path": "crates/router/src/routes/routing.rs", "lines": [ " core::{api_locking, conditional_config, routing, surcharge_decision_config},\n", " Ok(crate::services::Ap...
[ "rs" ]
5
juspay/hyperswitch
juspay__hyperswitch-8634
Bug: [FEATURE] add profile acquirer module ### Feature Description add profile acquirer create API, which allows us to create profile acquirer with the following fields - profile_id - acquirer_assigned_merchant_id - merchant_name - merchant_country_code - network - acquirer_bin - acquirer_ica - acquirer_fraud_rate ...
diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin.rs index 5ab7eae75f0..07f3e2431fa 100644 --- a/crates/api_models/src/admin.rs +++ b/crates/api_models/src/admin.rs @@ -2427,6 +2427,10 @@ pub struct ProfileResponse { #[schema(default = false, example = false)] pub is_pre_network_tokeni...
2025-05-27T11:08:05Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] New feature ## Description <!-- Describe your changes in detail --> added merchant acquirer create and list module ### Additional Changes - [ ] This PR modifies the API contract - [x] This PR modifies the database schema - [ ] This PR mo...
5ce2ab2d059d48a0f8305d65f45c7960c6939803
Create a merchant account Once done create merchant_acquirer Request ```shell curl --location 'localhost:8080/profile_acquirer' \ --header 'Content-Type: application/json' \ --header 'api-key: dev_rDKEInoZiJlNIfJPYNuqBMC2EOJjegGylLbzRMDw6kmSxV0FztdYfLcSoWZD6ZsT' \ --data '{ "acquirer_assigned_merchant...
[ { "file_path": "crates/api_models/src/admin.rs", "lines": [ " /// Acquirer configs\n", " #[schema(value_type = Option<AcquirerConfigMap>)]\n", " pub acquirer_configs: Option<common_types::domain::AcquirerConfigMap>,\n", "\n" ] }, { "file_path": "crates/api_models...
[ { "file_path": "crates/router/src/core/payouts.rs", "lines": [ " let mut payout_data = make_payout_data(\n", " )\n", " let mut payout_data = make_payout_data(\n", " )\n", " let mut payout_data = make_payout_data(\n", " )\n", " let mut payout_dat...
[ "sql", "rs" ]
31
juspay/hyperswitch
juspay__hyperswitch-8613
Bug: Add support to call decision engine Dynamic Routing from hyperswitch after API key authentication
diff --git a/crates/api_models/src/events/routing.rs b/crates/api_models/src/events/routing.rs index 62bc49dbe1b..9f09bac8274 100644 --- a/crates/api_models/src/events/routing.rs +++ b/crates/api_models/src/events/routing.rs @@ -178,3 +178,27 @@ impl ApiEventMetric for RuleMigrationError { Some(ApiEventsType::...
2025-07-15T08:27:49Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR adds API key auth to the decision engine endpoints for ...
126018e217bfbd8bdd44043ace8a815046193818
<details> <summary>decide-gateway</summary> curl --location 'http://localhost:8080/routing/evaluate' \ --header 'Content-Type: application/json' \ --header 'api-key: dev_UnrorzUwWmt9GUkRTalEmIjrWu3JwKNh8TkSZmMJ2Fsm***** \ --data '{ "merchantId": "pro_VTQjooFPAyPOBC0aj9...
[ { "file_path": "crates/api_models/src/events/routing.rs", "lines": [ "\n", "impl ApiEventMetric for crate::open_router::DecideGatewayResponse {\n", " fn get_api_event_type(&self) -> Option<ApiEventsType> {\n", " Some(ApiEventsType::Routing)\n", " }\n", "}\n",...
[ { "file_path": "crates/router/src/core/payments/routing/utils.rs", "lines": [ "#[derive(Debug)]\n" ] }, { "file_path": "crates/router/src/core/routing.rs", "lines": [ " enums, mandates as mandates_api, routing,\n" ] }, { "file_path": "crates/router/src/routes/lock_...
[ "rs" ]
8
juspay/hyperswitch
juspay__hyperswitch-8629
Bug: [FIX]: Make v2 endpoints follow standard API conventions There are a lot of minor inconsistencies in v2 endpoints. Fix them in accordance with https://google.aip.dev/general
diff --git a/crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs b/crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs index d7e0e93c592..e6007d1e249 100644 --- a/crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs +++ b/crates/hyperswitch_connectors/src/connectors/hyperswitch_...
2025-07-13T22:11:59Z
## 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 --> - Consistently use kebab case in endpoint URLs - Use plural fo...
53e7e7fa819183eaad1e8321f7e2b89b22867163
1. Organization Request: ``` curl --location 'http://localhost:8080/v2/organizations' \ --header 'Authorization: admin-api-key=test_admin' \ --header 'Content-Type: application/json' \ --data '{ "organization_name": "v2_org_1752571446" }' ``` Response: ```json { "id": "org_4YoqpRWuOelFCr7...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs", "lines": [ " \"{}/v2/payment-method-sessions\",\n" ] }, { "file_path": "crates/openapi/src/routes/organization.rs", "lines": [ " path = \"/v2/organizations\",\n", " path = \...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs", "lines": [ " \"{}/v2/payment-methods-session\",\n" ] }, { "file_path": "crates/openapi/src/routes/organization.rs", "lines": [ " path = \"/v2/organization\",\n", " path = \"...
[ "rs", "js" ]
10
juspay/hyperswitch
juspay__hyperswitch-8612
Bug: Add support to pass fallback_configs for PL routing in the /routing/evaulate request from hyperswitch
diff --git a/crates/router/src/core/payments/routing.rs b/crates/router/src/core/payments/routing.rs index 7feea3286ca..4bbffcde633 100644 --- a/crates/router/src/core/payments/routing.rs +++ b/crates/router/src/core/payments/routing.rs @@ -442,22 +442,24 @@ pub async fn perform_static_routing_v1( Vec<routing_type...
2025-07-11T11:51:03Z
## 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 --> Decision engine does not have the concept of fallback connector...
8a7590cf60a0610863e7b6ef8a3c4b780ba03a85
On making a payment from hyperswitch, with the routing rules defined and activated already. We will be passing the fallback_output to the decision engine <img width="1038" height="379" alt="Screenshot 2025-07-14 at 6 51 45 PM" src="https://github.com/user-attachments/assets/59540f64-00e6-475f-b528-a19ea0f71411" ...
[ { "file_path": "crates/router/src/core/payments/routing.rs", "lines": [ " let get_merchant_fallback_config = || async {\n", " return routing::helpers::get_merchant_default_config(\n", " .change_context(errors::RoutingError::FallbackConfigFetchFailed);\n", " re...
[ { "file_path": "crates/router/src/core/payments/routing.rs", "lines": [ " let algorithm_id = if let Some(id) = algorithm_id {\n", " id\n", " } else {\n", " let fallback_config = routing::helpers::get_merchant_default_config(\n", " .change_context(erro...
[ "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-8601
Bug: Deleting a user role and again assigning a role to user is not updating its previous role to new role Role id is not getting updated in the invited user account in case the role is deleted and assigned again to invited user. This is happening due to the lineage context stored in db not updating the role id in c...
diff --git a/crates/router/src/types/domain/user/decision_manager.rs b/crates/router/src/types/domain/user/decision_manager.rs index 7bc11383da0..15d5463ecff 100644 --- a/crates/router/src/types/domain/user/decision_manager.rs +++ b/crates/router/src/types/domain/user/decision_manager.rs @@ -158,7 +158,11 @@ impl JWTFl...
2025-07-09T15:17:58Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR fixes an issue where a stale `role_id` from the cac...
99885b699d7524e87697f78608e6f2b36c9d8a8e
#### Scenario: Validate fallback when `role_id` has changed 1. **Initial Setup** - Log in as an `org_admin` of **Org A**. - Invite **User X** to **Org A** with the role `org_admin`. - Ensure **User X** is also part of another organization (**Org B**) and has a valid user role there. 2. **Initial Sig...
[ { "file_path": "crates/router/src/types/domain/user/decision_manager.rs", "lines": [ " .inspect_err(|e| {\n", " logger::error!(\"Failed to validate V2 role: {e:?}\");\n", " })\n", " .map(|role| role.role_...
[ { "file_path": "crates/router/src/types/domain/user/decision_manager.rs", "lines": [ " .is_ok();\n", " .is_ok();\n" ] } ]
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-8604
Bug: add apple pay decrypt support for Adyen add apple pay decrypt support for Adyen
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml index cdf94d6e439..77fb8141c0f 100644 --- a/crates/connector_configs/toml/development.toml +++ b/crates/connector_configs/toml/development.toml @@ -286,7 +286,7 @@ label="Payment Processing Details At" placehol...
2025-07-10T11:41:04Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pull request introduces support for decrypting Apple Pay payme...
cb055134603478c5fb68e882fad65f25649e8cb4
-> Create a merchant connector account for adyen and enable apple pay ``` "apple_pay_combined": { "manual": { "session_token_data": { "initiative": "web", "certificate": "", "display_name": "apple pay", ...
[ { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ "options=[\"Connector\", \"Hyperswitch\"]\n" ] }, { "file_path": "crates/connector_configs/toml/production.toml", "lines": [ "options=[\"Connector\", \"Hyperswitch\"]\n" ] }, { "file_path": "c...
[ { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ "options=[\"Connector\"]\n" ] }, { "file_path": "crates/connector_configs/toml/production.toml", "lines": [ "options=[\"Connector\"]\n" ] }, { "file_path": "crates/connector_configs/toml/sandb...
[ "toml", "rs" ]
4
juspay/hyperswitch
juspay__hyperswitch-8595
Bug: fix(cypress): cypress tests for incremental auth getting skipped for all connectors ### 📌 Problem The Cypress test suite `00029-IncrementalAuth.cy.js` is currently being entirely, even though it should work for `cybersource` . <img width="930" height="320" alt="Image" src="https://github.com/user-attachments/...
2025-07-09T17:08:39Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [x] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> This PR introduces a set of improvements and refactors in the...
1991e38457f713daeb280e22b2dd19c2944840b6
| Cybersource (Skipped) | ArchiPEL | |----|----| | <img height="300" alt="image" src="https://github.com/user-attachments/assets/343f556a-26e8-43dc-b714-9b74446d4e35" /> | <img width="300" alt="image" src="https://github.com/user-attachments/assets/8fa0bf09-0cea-4b23-b656-5d0f3c236ab9" /> | ### Sanity | Str...
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-8620
Bug: [REFACTOR] Create and use a domain type for profile ID ### Feature Description Create a domain type for business profile ID and use the domain type throughout the codebase. The expected result at the end of this change is that profile IDs are never used as strings directly anywhere in the codebase. - Introduc...
diff --git a/Cargo.lock b/Cargo.lock index d2c3baf9fba..65d75aa4d81 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2094,6 +2094,7 @@ name = "connector_configs" version = "0.1.0" dependencies = [ "api_models", + "common_utils", "serde", "serde_with", "toml 0.8.12", diff --git a/api-reference-v2/openapi_spec.json...
2024-08-25T11:36:59Z
## 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 introduces a domain type for profile ID and refactors t...
963a2547e87fc7a4e8ed55627d3e7b9da2022f21
Sanity testing with Postman.
[ { "file_path": "Cargo.lock", "lines": [ " \"common_utils\",\n" ] }, { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"description\": \"Identifier for the business profile, if not provided default will be chosen from merchant account\",\n", " ...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"description\": \"Identifier for the business profile, if not provided default will be chosen from merchant account\"\n" ] }, { "file_path": "crates/api_models/src/admin.rs", "lines": [ " /// To unse...
[ "json", "toml", "rs", "lock", "sh" ]
117
juspay/hyperswitch
juspay__hyperswitch-8584
Bug: Add endpoints to support ai chat interactions - Add endpoints to talk to different ai services. - Add config for URLS - make feature flag for ai chat service that will help to manage feature across different environments.
diff --git a/config/config.example.toml b/config/config.example.toml index 2c35b1778cf..22ad2d6c666 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -1132,4 +1132,8 @@ version = "HOSTNAME" # value of HOSTNAME from deployment which tells its [platform] enabled = true # Enable or dis...
2025-07-09T09:19:51Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description The PR does the following actions - Adds endpoints to talk to ai services, particularly to n8n flow and ...
064113a4c96c77d83e1e0230a56678863dd8f7db
curl to test this ``` curl --location 'http://localhost:8080/chat/ai/data' \ --header 'x-feature: integ-custom' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer JWT' \ --data '{ "message": "get count of failed payments" }' ``` <img width="1340" height="674" alt="...
[ { "file_path": "config/config.example.toml", "lines": [ "allow_connected_merchants = false # Enable or disable connected merchant account features\n", "\n", "[chat]\n", "enabled = false # Enable or disable chat features\n", "hyperswitch_ai_host = ...
[ { "file_path": "config/config.example.toml", "lines": [ "allow_connected_merchants = false # Enable or disable connected merchant account features\n" ] }, { "file_path": "config/deployments/env_specific.toml", "lines": [ "connection_timeout = 10 # Connection Timeo...
[ "toml", "rs" ]
26
juspay/hyperswitch
juspay__hyperswitch-8592
Bug: [FEATURE] [CONNECTOR : SILVERFLOW] Cards No 3ds Alpha integration ### Feature Description Cards Non-3DS payments added for silverflow (Alpha Integration). ### Possible Implementation Cards Non-3DS payments added for silverflow (Alpha Integration). ### Have you spent some time checking if this feature reque...
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml index 9e493eb6a54..2737d7a2323 100644 --- a/crates/connector_configs/toml/development.toml +++ b/crates/connector_configs/toml/development.toml @@ -6330,9 +6330,20 @@ type="Text" api_key="API Key" [silverflo...
2025-07-09T14:05:09Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Cards Non-3DS payments added for silverflow (Alpha Integration). Ref: https://www.silverflow.com/ #...
6214aca5f0f5c617a68f65ef5bcfd700060acccf
Compilation and Clippy checks by cargo build and cargo clippy No cypress due to Alpha integration.
[ { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ "[[silverflow.credit]]\n", " payment_method_type = \"Mastercard\"\n", "[[silverflow.credit]]\n", " payment_method_type = \"Visa\"\n", "[[silverflow.debit]]\n", " payment_method_type = \"Masterc...
[ { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ "[silverflow.connector_auth.BodyKey]\n", "key1=\"Secret Key\"\n" ] }, { "file_path": "crates/connector_configs/toml/production.toml", "lines": [ "[silverflow.connector_auth.BodyKey]\n", "api_k...
[ "toml", "rs" ]
6
juspay/hyperswitch
juspay__hyperswitch-8582
Bug: feat(router): refactor PML response Remove duplicate responses and return bank_names
diff --git a/crates/api_models/src/payment_methods.rs b/crates/api_models/src/payment_methods.rs index 4cdfe9dcfe8..a70dceb962d 100644 --- a/crates/api_models/src/payment_methods.rs +++ b/crates/api_models/src/payment_methods.rs @@ -16,12 +16,11 @@ use masking::PeekInterface; use serde::de; use utoipa::{schema, ToSch...
2025-07-09T08:23:18Z
## 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 --> - Merge `payment_experience` for a pm_type, subtype into an a...
0f70fc512c90e4d5603af7b965c137465999b73c
Request: ``` curl --location 'http://localhost:8080/v2/payments/12345_pay_0197ee3c52887d51b074cecb88687a33/payment-methods' \ --header 'Content-Type: application/json' \ --header 'Authorization: publishable-key=pk_dev_bef28bbe20d64d52bf4658ad5f7bc91e,client-secret=cs_0197ee3c52bd71a38bf7932a4484b345' \ --hea...
[ { "file_path": "crates/api_models/src/payment_methods.rs", "lines": [ "#[cfg(feature = \"v1\")]\n", "use crate::payments::BankCodeResponse;\n", "use crate::{admin, enums as api_enums, open_router, payments};\n", " Bank {\n", " #[schema(value_type = BankNames)]\n", ...
[ { "file_path": "crates/api_models/src/payment_methods.rs", "lines": [ "use crate::{\n", " admin, enums as api_enums, open_router,\n", " payments::{self, BankCodeResponse},\n", "};\n", " Bank { bank_names: Vec<BankCodeResponse> },\n" ] }, { "file_path": "cra...
[ "rs" ]
5
juspay/hyperswitch
juspay__hyperswitch-8581
Bug: chore(stripe:EPS): enable bank_name as required field for eps stripe. bank_name should be mandatory for stripe/EPS for sdk changes
diff --git a/crates/api_models/src/enums.rs b/crates/api_models/src/enums.rs index df1827053a2..cad510b26de 100644 --- a/crates/api_models/src/enums.rs +++ b/crates/api_models/src/enums.rs @@ -257,6 +257,7 @@ pub enum FieldType { UserSocialSecurityNumber, UserBlikCode, UserBank, + UserBankOptions { op...
2025-07-08T11:26:24Z
## 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 --> Make bank_name field for EPS in stripe mandatore ### Additio...
99885b699d7524e87697f78608e6f2b36c9d8a8e
<details> <summary>Payment Request</summary> ```json { "payment_id": "pay_6W7NAlavGWBsNle4fjCm", "merchant_id": "merchant_1751973151", "status": "requires_payment_method", "amount": 6500, "net_amount": 6500, "amount_capturable": 0, "client_secret": "pay_6W7NAlavGWBsNle4fjCm_secret_cGp7bl...
[ { "file_path": "crates/api_models/src/enums.rs", "lines": [ " UserBankOptions { options: Vec<String> },\n" ] }, { "file_path": "crates/payment_methods/src/configs/payment_connector_required_fields.rs", "lines": [ " EpsBankOptions(HashSet<enums::BankNames>),\n", " ...
[]
[ "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-8588
Bug: refactor(dynamic_routing): make the dynamo configs optional
diff --git a/crates/external_services/src/grpc_client.rs b/crates/external_services/src/grpc_client.rs index 5a9bd6143da..1b93ac6bd89 100644 --- a/crates/external_services/src/grpc_client.rs +++ b/crates/external_services/src/grpc_client.rs @@ -35,7 +35,7 @@ pub type Client = hyper_util::client::legacy::Client<HttpConn...
2025-07-09T11:09:09Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pull request introduces changes to improve the handling of...
b1c9be1600dbd897c32adcc2d8b98e77ec67c516
This is a configuration level changes making the dynamo configs optional. CI checks should suffice
[ { "file_path": "crates/external_services/src/grpc_client.rs", "lines": [ " pub dynamic_routing: Option<RoutingStrategy>,\n", " pub dynamic_routing_client: Option<DynamicRoutingClientConfig>,\n", " .map(|config| config.get_dynamic_routing_connection(client.clone()))\n", ...
[ { "file_path": "crates/external_services/src/grpc_client.rs", "lines": [ " pub dynamic_routing: RoutingStrategy,\n", " pub dynamic_routing_client: DynamicRoutingClientConfig,\n", " .get_dynamic_routing_connection(client.clone())\n", " .await\n", " ...
[ "rs" ]
6
juspay/hyperswitch
juspay__hyperswitch-8575
Bug: [FEATURE] Cellero commerce integration ### Feature Description Integrate celero commerce Connector ### Possible Implementation Celero commerce integration ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and didn't find a similar issue ### Have you read...
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml index 83544e40cc1..160a29aa1a3 100644 --- a/crates/connector_configs/toml/development.toml +++ b/crates/connector_configs/toml/development.toml @@ -1446,6 +1446,35 @@ merchant_id_evoucher="MerchantId Evoucher" ...
2025-07-08T05:02:05Z
## 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 --> Integrate celero commerce connector Doc : https://sandbox.go...
a56d78a46a3ee80cdb2b48f9abfd2cd7b297e328
No creds for testing
[ { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ "[celero]\n", "[[celero.credit]]\n", " payment_method_type = \"AmericanExpress\"\n", "[[celero.credit]]\n", " payment_method_type = \"Discover\"\n", "[[celero.credit]]\n", " payment_metho...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/celero.rs", "lines": [ " types::{AmountConvertor, StringMinorUnit, StringMinorUnitForConnector},\n", " router_response_types::{PaymentsResponseData, RefundsResponseData},\n", " amount_converter: &'static (dyn AmountConve...
[ "toml", "rs" ]
6
juspay/hyperswitch
juspay__hyperswitch-8566
Bug: [REFACTOR] raw_connector_response as secret refactor raw_connector_response as secret
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index 13cd8fa472f..f3d7d9b675c 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -5186,7 +5186,8 @@ pub struct PaymentsResponse { pub is_iframe_redirection_enabled: Option<bool>, /// Co...
2025-07-07T08:27:00Z
## 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 makes raw_connector_response as a Secret and it also ad...
cb83bf8c2f4486fee99f88bc85bd6e6cb4430e13
Payments - Create ``` curl --location 'http://localhost:8080/v2/payments' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_2Epn3j4dw4PTTcAeiYCq' \ --header 'Authorization: api-key=dev_rVjIA9bnmFxbtjq0nZeACzzLz9mqAMLNNRBG26wWmCMnkUb3kAs2MaPXR0Nlxzkx' \ --data-raw '{ "amount_details": ...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ " #[schema(value_type = Option<String>)]\n", " pub whole_connector_response: Option<Secret<String>>,\n", " #[schema(value_type = Option<String>)]\n", " pub raw_connector_response: Option<Secret<String>>,\n" ...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ " pub whole_connector_response: Option<String>,\n", " pub raw_connector_response: Option<String>,\n" ] }, { "file_path": "crates/common_types/src/domain.rs", "lines": [ "/// Connector Response Data that ar...
[ "rs" ]
9
juspay/hyperswitch
juspay__hyperswitch-8564
Bug: chore: Conditoinal config for invoking DE routing There should be a conditional check for Decision Engine (DE) Euclid API integration within the static routing flow. Right now, the system always attempted to perform Euclid-based routing regardless of configuration. With this change, the Euclid routing flow is i...
diff --git a/config/config.example.toml b/config/config.example.toml index 3c6da56b240..02224da9024 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -1094,7 +1094,8 @@ background_color = "#FFFFFF" billing_connectors_which_require_payment_sync = "stripebilling, recurly" # List of billing conn...
2025-07-06T15:12:12Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR introduces a conditional check for Decision Engine (DE) Euclid API integration within the sta...
eb94cfe7e558348e8da3aeaaa01224a1ea2dbbe2
Can be tested directly in prod as that is the only environment where this env in missing.
[ { "file_path": "config/config.example.toml", "lines": [ "dynamic_routing_enabled = true # Enable or disable Open Router for dynamic routing\n", "static_routing_enabled = true # Enable or disable Open Router for static routing\n" ] }, { "file_path": ...
[ { "file_path": "config/config.example.toml", "lines": [ "enabled = true # Enable or disable Open Router\n" ] }, { "file_path": "config/development.toml", "lines": [ "enabled = false\n" ] }, { "file_path": "crates/router/src/configs/settings.rs...
[ "toml", "rs" ]
13
juspay/hyperswitch
juspay__hyperswitch-8549
Bug: fix(revenue_recovery) : Skip record-back for failed invoices on auto-voiding billing connectors ## Description <!-- Describe your changes in detail --> This PR addresses two issues : #### Unnecessary record-back for certain billing processors billing processors (like Stripebilling, Recurly) automatically void...
diff --git a/crates/hyperswitch_connectors/src/connectors/stripebilling.rs b/crates/hyperswitch_connectors/src/connectors/stripebilling.rs index a15ce5f1561..9d731621b77 100644 --- a/crates/hyperswitch_connectors/src/connectors/stripebilling.rs +++ b/crates/hyperswitch_connectors/src/connectors/stripebilling.rs @@ -597...
2025-07-04T11:18: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 --> This PR addresses two issues : #### Unnecessary record-back ...
1e6a088c04b40c7fdd5bc65c1973056bf58de764
#### Create a mca ``` curl --location 'http://localhost:8080/v2/connector-accounts' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'x-merchant-id: cloth_seller_UtjuUuRAKVfLLLoRfZgg' \ --header 'x-profile-id: pro_oCx1cn5sCSpSnwZaw63U' \ --header 'Authorization: admi...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/stripebilling.rs", "lines": [ " \"{}v1/charges/{}\",\n", " let response: stripebilling::StripebillingRecoveryDetailsData = res\n", " .parse_struct::<stripebilling::StripebillingRecoveryDetailsData>(\n...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/stripebilling.rs", "lines": [ " \"{}v1/payment_intents/{}?expand[0]=latest_charge\",\n", " let response: stripebilling::StripebillingBillingConnectorPaymentSyncResponseData = res\n", " .parse_struct::...
[ "rs" ]
3
juspay/hyperswitch
juspay__hyperswitch-8557
Bug: [FEATURE] [CONNECTOR: PAYLOAD] Add Webhook support connector does not support signature verification. - https://docs.payload.com/apis/webhooks/ - https://docs.payload.com/apis/webhooks/triggers/ - https://docs.payload.com/apis/webhooks/oauth/ - https://docs.payload.com/apis/object-reference/webhook/ - https://...
diff --git a/crates/api_models/src/webhooks.rs b/crates/api_models/src/webhooks.rs index 177310de18f..75af0b19cf2 100644 --- a/crates/api_models/src/webhooks.rs +++ b/crates/api_models/src/webhooks.rs @@ -10,9 +10,9 @@ use crate::{disputes, enums as api_enums, mandates, payments, refunds}; #[derive(Clone, Debug, Parti...
2025-07-06T10:29:15Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [x] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> This PR: - Adds support for webhooks to Payload connector. T...
99885b699d7524e87697f78608e6f2b36c9d8a8e
<details> <summary>Setup Webhooks in Merchant Account</summary> ```curl curl --location 'https://pix-mbp.orthrus-monster.ts.net/accounts' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: test_admin' \ --data-raw '{ "merchant_id": "postman_merchan...
[ { "file_path": "crates/api_models/src/webhooks.rs", "lines": [ " PaymentIntentFailure,\n", " /// Authorization + Capture success\n" ] }, { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ "\n" ] }, { "file_path": "crates/connector_...
[ { "file_path": "crates/api_models/src/webhooks.rs", "lines": [ " /// Authorization + Capture success\n", " PaymentIntentFailure,\n" ] }, { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ "[payload.connector_webhook_details]\n", "merchan...
[ "toml", "rs" ]
7
juspay/hyperswitch
juspay__hyperswitch-8556
Bug: [FEATURE] Add auto retries configs in profile CRUD apis ### Feature Description Add auto retries configs in profile CRUD apis 1. is_auto_retries_enabled - Boolean (denotes whether auto retries should be performed for a profile) 2. max_auto_retries_enabled - Int (i16) (maximum auto retries to be performed) ##...
diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin.rs index 6f656339569..6e7f4f29d03 100644 --- a/crates/api_models/src/admin.rs +++ b/crates/api_models/src/admin.rs @@ -1971,6 +1971,12 @@ pub struct ProfileCreate { /// If set to `true` is_network_tokenization_enabled will be checked. #...
2024-09-26T17:43:50Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> add auto retries configs in profile CRUD apis 1. is_auto_retri...
5912936f9f2178f002c96e25636b25f532b1ecb2
Tested Manually 1. Profile Create ``` curl --location '{{BASE_URL}}/account/{{MERCHANT_ID}}/business_profile' \ --header 'Content-Type: application/json' \ --header 'api-key: {{ADMIN_API_KEY}}' \ --data '{ "is_auto_retries_enabled": true, "max_auto_retries_enabled": 1 }' ``` Response `{ "...
[ { "file_path": "crates/api_models/src/admin.rs", "lines": [ "\n", " /// Indicates if is_auto_retries_enabled is enabled or not.\n", " pub is_auto_retries_enabled: Option<bool>,\n", "\n", " /// Maximum number of auto retries allowed for a payment\n", " pub max_...
[]
[ "sql", "rs" ]
9
juspay/hyperswitch
juspay__hyperswitch-8538
Bug: Migrate from cargo2nix to rust-flake Migrate the Nix build/shell system from cargo2nix to rust-flake. **Parent Issue:** #57 **Related PR:** #8503 ## Acceptance Criteria - [x] Migrate from cargo2nix to rust-flake - [x] Verify nix CI/CD compatibility
diff --git a/.gitignore b/.gitignore index 01f1f2e9007..1f31c3c1525 100644 --- a/.gitignore +++ b/.gitignore @@ -270,3 +270,4 @@ creds.json # Nix services data /data +.pre-commit-config.yaml diff --git a/flake.lock b/flake.lock index 36c888e7db1..9b65a841327 100644 --- a/flake.lock +++ b/flake.lock @@ -1,102 +1,113...
2025-06-30T14:11:32Z
# Migrate Nix Configuration to rust-flake This PR refactors the existing Nix setup by migrating from `cargo2nix` to `rust-flake`. Resolves: #8538 ## TODO: - [x] **Initial port** - Port current `flake.nix` functionality using rust-flake - [x] @kashif-m The current [`flake.nix`](https://github.com/juspay/hy...
8a7590cf60a0610863e7b6ef8a3c4b780ba03a85
[ { "file_path": ".gitignore", "lines": [ ".pre-commit-config.yaml\n" ] }, { "file_path": "flake.lock", "lines": [ " \"crane\": {\n", " \"locked\": {\n", " \"lastModified\": 1750266157,\n", " \"narHash\": \"sha256-tL42YoNg9y30u7zAqtoGDNdTyXTi...
[ { "file_path": "flake.lock", "lines": [ " \"cargo2nix\": {\n", " \"flake-compat\": \"flake-compat\",\n", " \"flake-utils\": \"flake-utils\",\n", " \"nixpkgs\": \"nixpkgs\",\n", " \"rust-overlay\": \"rust-overlay\"\n", " \"lastModified...
[ "gitignore", "lock", "nix" ]
7
juspay/hyperswitch
juspay__hyperswitch-8537
Bug: [FEATURE] Multisafe pay : EPS | MBWAY | SOFORT ### Feature Description Integrate EPS | MBWAY | SOFORT for multisafepay ### Possible Implementation integrate payments menthods ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and didn't find a similar is...
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml index 6d5cfb6585a..fcf7f12ec3d 100644 --- a/config/deployments/integration_test.toml +++ b/config/deployments/integration_test.toml @@ -229,12 +229,12 @@ wallet.twint.connector_list = "adyen" wallet.vipps.connector_list = ...
2025-07-01T05:58:27Z
## 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 new pm for multisafepay - EPS - SOFORT - MBWAY ### Ad...
7f5ec7439b3469df7d77b8151ae3f4218847641a
<details> <summary>MCA</summary> ```json { "connector_type": "payment_processor", "connector_account_details": { "auth_type": "HeaderKey", "api_key": "****" }, "connector_name": "multisafepay", "test_mode": false, "disabled": false, "payment_methods_...
[ { "file_path": "config/deployments/integration_test.toml", "lines": [ "bank_redirect.sofort.connector_list = \"globalpay,aci,multisafepay\" \n", "bank_redirect.eps.connector_list=\"globalpay,nexinets,aci,multisafepay\"\n", "eps = { country = \"AT\" , currency = \"EUR\" }\n", "mb_wa...
[ { "file_path": "config/deployments/integration_test.toml", "lines": [ "bank_redirect.sofort.connector_list = \"globalpay,aci\" \n", "bank_redirect.eps.connector_list=\"globalpay,nexinets,aci\"\n" ] }, { "file_path": "config/deployments/production.toml", "lines": [ "bank_re...
[ "toml", "rs" ]
6
juspay/hyperswitch
juspay__hyperswitch-8554
Bug: [FEATURE] [CONNECTOR] Silverflow ### Feature Description Integrate a new connector Silverflow in alpha integration ref: https://www.silverflow.com/ ### Possible Implementation Integrate a new connector Silverflow in alpha integration ref: https://www.silverflow.com/ ### Have you spent some time checking if ...
diff --git a/config/config.example.toml b/config/config.example.toml index 0bb5cb13007..10f796128f7 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -280,6 +280,7 @@ redsys.base_url = "https://sis-t.redsys.es:25443" riskified.base_url = "https://sandbox.riskified.com/api" santander.base_url...
2025-07-04T14:25:37Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Connector template code for new connector silverflow. ### Additional Changes - [ ] This PR modi...
6197df2e35a292238a9b393d7a1848f0d50ec09b
This is a template PR for Silverflow, just checked for compilation. Nothing else to test.
[ { "file_path": "config/config.example.toml", "lines": [ "silverflow.base_url = \"https://api-sbx.silverflow.co/v1\"\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "silverflow.base_url = \"https://api-sbx.silverflow.co/v1\"\n" ] }, { "fil...
[ { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ "merchant_secret=\"Source verification key\"\n" ] }, { "file_path": "crates/connector_configs/toml/sandbox.toml", "lines": [ "merchant_secret=\"Source verification key\"\n" ] }, { "file_path":...
[ "sh", "toml", "rs" ]
22
juspay/hyperswitch
juspay__hyperswitch-8497
Bug: chore: address Rust 1.88.0 clippy lints Address the clippy lints occurring due to new rust version 1.88.0 See https://github.com/juspay/hyperswitch/issues/3391 for more information.
diff --git a/crates/router/src/core/payment_methods/vault.rs b/crates/router/src/core/payment_methods/vault.rs index c59a2f84c35..d5848c7f418 100644 --- a/crates/router/src/core/payment_methods/vault.rs +++ b/crates/router/src/core/payment_methods/vault.rs @@ -1555,10 +1555,7 @@ pub async fn insert_cvc_using_payment_to...
2025-07-10T13:43:08Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pull request includes a minor improvement to error message...
1b08de652f6b0f3c08374d0806c8999f4b73ec2f
[ { "file_path": "crates/router/src/core/payment_methods/vault.rs", "lines": [ " let key = format!(\"pm_token_{payment_token}_{payment_method}_hyperswitch_cvc\");\n", " let key = format!(\"pm_token_{payment_token}_{payment_method}_hyperswitch_cvc\");\n" ] }, { "file_path": "c...
[ { "file_path": "crates/router/src/core/payment_methods/vault.rs", "lines": [ " let key = format!(\n", " \"pm_token_{}_{}_hyperswitch_cvc\",\n", " payment_token, payment_method\n", " );\n", " let key = format!(\n", " \"pm_token...
[ "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-8527
Bug: [FEATURE] [CONNECTOR] Payload Integrate a new connector Payload. Developer Docs: https://docs.payload.com Login Dashboard: https://app.payload.com
diff --git a/config/config.example.toml b/config/config.example.toml index 7d072f93e47..54d3fa43be4 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -262,6 +262,7 @@ opennode.base_url = "https://dev-api.opennode.com" paybox.base_url = "https://preprod-ppps.paybox.com/PPPS.php" paybox.second...
2025-07-02T07:58:09Z
## 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 --> Connector template code for new connector `Payload`. Check th...
f6aab3de0dbb57a7ac44a90e345dd5f00ea998c1
This is a template PR for Payload, just checked for compilation. Nothing else to test.
[ { "file_path": "config/config.example.toml", "lines": [ "payload.base_url = \"https://api.payload.com\"\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "payload.base_url = \"https://api.payload.com\"\n" ] }, { "file_path": "config/deploym...
[ { "file_path": "connector-template/mod.rs", "lines": [ " LazyLock::new(|| {\n", " SupportedPaymentMethods::new()\n", " });\n" ] }, { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ "type=\"Text\"\n" ] }, { "file_path"...
[ "sh", "toml", "rs" ]
28
juspay/hyperswitch
juspay__hyperswitch-8520
Bug: add `debit_routing_savings` in analytics payment attempt We need to add debit_routing_savings to the payment analytics. This will provide the savings per card network, as well as the total savings for a profile.
diff --git a/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql b/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql index 6673b73fedb..16815e9a33d 100644 --- a/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql +++ b/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql @@ -44,...
2025-07-02T07:21:14Z
<!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pull request introduces a new feature to track and analyze debit routing savi...
6678ee351748e5629a22e84677d58297cbac62a5
-> Enable debit routing for a profile -> Configure adyen connector with local debit networks enabled -> Make some debit routing payments ``` { "amount": 1, "amount_to_capture": 1, "currency": "USD", "confirm": true, "capture_method": "automatic", "setup_future_usage": "on_session", ...
[ { "file_path": "crates/analytics/docs/clickhouse/scripts/payment_attempts.sql", "lines": [ " `debit_routing_savings` Nullable(UInt32),\n", " `debit_routing_savings` Nullable(UInt32),\n", " `debit_routing_savings` Nullable(UInt32),\n", " debit_routing_savings,\n" ] }...
[ { "file_path": "crates/api_models/src/open_router.rs", "lines": [ " pub co_badged_card_networks_info: Vec<CoBadgedCardNetworksInfo>,\n", "impl DebitRoutingOutput {\n", " pub fn get_co_badged_card_networks(&self) -> Vec<common_enums::CardNetwork> {\n", " self.co_badged_ca...
[ "sql", "rs" ]
26
juspay/hyperswitch
juspay__hyperswitch-8516
Bug: [FEATURE] Add incremental authorization for Paypal, AuthorizeDotNet, Stripe ### Feature Description Add incremental authorization for Paypal, AuthorizeDotNet, Stripe ### Possible Implementation Add incremental authorization for Paypal, AuthorizeDotNet, Stripe ### Have you spent some time checking if this fe...
diff --git a/crates/hyperswitch_connectors/src/connectors/helcim.rs b/crates/hyperswitch_connectors/src/connectors/helcim.rs index 05165fbe91b..4845b2cbc7b 100644 --- a/crates/hyperswitch_connectors/src/connectors/helcim.rs +++ b/crates/hyperswitch_connectors/src/connectors/helcim.rs @@ -924,7 +924,7 @@ impl ConnectorT...
2025-07-01T23:24:24Z
## 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/8516) ## Description <!-- Describe your changes in d...
3c498714e76b400657fc0fc25b7559ca3dca1908
Postman Test Payments - Create: Request: ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_1PzpFzUXX4ZALEpOUNRFMeXyRB2WCZHfhd6AXOKifb7fqVRfrUFQLiqS4DchmszP' \ --data-raw ' { "amount": 10...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/helcim.rs", "lines": [ " payment_attempt: &PaymentAttempt,\n", " payment_attempt: &PaymentAttempt,\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connectors/nexinets.rs", "lines": [ " ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/helcim.rs", "lines": [ " payment_attempt: PaymentAttempt,\n", " payment_attempt: PaymentAttempt,\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connectors/nexinets.rs", "lines": [ " ...
[ "rs" ]
9
juspay/hyperswitch
juspay__hyperswitch-8492
Bug: [FIX] Fix routing approach update in wallet flow ### Feature Description Fix routing approach update in wallet flow ### Possible Implementation Fix routing approach update in wallet flow ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and didn't find a ...
diff --git a/crates/common_enums/src/enums.rs b/crates/common_enums/src/enums.rs index 29cf75ac504..1d00a451708 100644 --- a/crates/common_enums/src/enums.rs +++ b/crates/common_enums/src/enums.rs @@ -8523,6 +8523,7 @@ pub enum RoutingApproach { DebitRouting, RuleBasedRouting, VolumeBasedRouting, + St...
2025-06-30T08:06:48Z
## 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 --> Fixes routing approach updation for wallets flow ### Addit...
1c3811773ded20da19fac6f1dc679e337384f1cb
1. make wallet payment and check for `routing_approach` column in payment_attempt ApplePay payment create - ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_BNOaWRzwyZ3hMAbhRNtp9t6Mx7ZSVyK5gPvd1ba...
[ { "file_path": "crates/common_enums/src/enums.rs", "lines": [ " StraightThroughRouting,\n", " \"DEFAULT\" => Self::StraightThroughRouting,\n" ] }, { "file_path": "crates/diesel_models/src/payment_attempt.rs", "lines": [ " routing_approach: Option<storag...
[ { "file_path": "crates/diesel_models/src/payment_attempt.rs", "lines": [ " routing_approach: None,\n" ] }, { "file_path": "crates/hyperswitch_domain_models/src/payments/payment_attempt.rs", "lines": [ " routing_approach: Option<storage_enums::RoutingApproach...
[ "sql", "rs" ]
9
juspay/hyperswitch
juspay__hyperswitch-8507
Bug: [FEATURE] populate connector raw response and connector_response_reference_id in v2 populate connector raw response and connector_response_reference_id
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index 2ff07472a0d..9150697aa19 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -5347,6 +5347,9 @@ pub struct PaymentsConfirmIntentRequest { /// Merchant connector details used to make paymen...
2025-06-30T11:36:23Z
## 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 populates raw_connector_response for Payments when retu...
c275e13caf22362173e77d2260b440159abcabb3
- Payments - Create ``` curl --location 'http://localhost:8080/v2/payments' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_L5WeuuGWl0EUYBhEEME1' \ --header 'Authorization: api-key=_' \ --data-raw '{ "amount_details": { "order_amount": 100, "currency": "INR" ...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ "\n", " /// If true, returns stringified connector raw response body\n", " pub return_raw_connector_response: Option<bool>,\n", "\n", " /// Stringified connector raw response body. Only returned if `return_...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ " /// If enabled, provides whole connector response\n", " pub all_keys_required: Option<bool>,\n", " /// If enabled, provides whole connector response\n", " pub all_keys_required: Option<bool>,\n" ] }, ...
[ "rs" ]
52
juspay/hyperswitch
juspay__hyperswitch-8493
Bug: [FEATURE] [CONNECTOR] Checkbook ### Feature Description Integrate a new connector : Checkbook API Ref: https://docs.checkbook.io/reference/ ### Possible Implementation Integrate a new connector : Checkbook API Ref: https://docs.checkbook.io/reference/ ### Have you spent some time checking if this feature re...
diff --git a/config/config.example.toml b/config/config.example.toml index c781ec3705b..7d072f93e47 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -203,6 +203,7 @@ boku.base_url = "https://$-api4-stage.boku.com" braintree.base_url = "https://payments.sandbox.braintree-api.com/graphql" cas...
2025-06-30T09:30:05Z
## 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/8493) ## Description <!-- Describe your changes in d...
28d63575e63d87b1cba7c6215faee803f2fff7d8
No tests required
[ { "file_path": "config/config.example.toml", "lines": [ "checkbook.base_url = \"https://api.sandbox.checkbook.io\"\n", " \"checkbook\",\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "checkbook.base_url = \"https://api.sandbox.checkbook.io\"\...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors.rs", "lines": [ " cashtocode::Cashtocode, chargebee::Chargebee, checkout::Checkout, coinbase::Coinbase,\n", " coingate::Coingate, cryptopay::Cryptopay, ctp_mastercard::CtpMastercard,\n" ] }, { "file_path": "crates/hyp...
[ "sh", "toml", "rs" ]
24
juspay/hyperswitch
juspay__hyperswitch-8481
Bug: [BUG] GlobalPay throws 501 for mandates below function is the culprit: ```rs fn get_payment_method_data( item: &PaymentsAuthorizeRouterData, brand_reference: Option<String>, ) -> Result<PaymentMethodData, Error> { match &item.request.payment_method_data { payment_method_data::PaymentMethodD...
diff --git a/config/config.example.toml b/config/config.example.toml index 9454b3f0adc..c6ae6f75ec5 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -467,6 +467,7 @@ square = { long_lived_token = false, payment_method = "card" } braintree = { long_lived_token = false, payment_method = "card"...
2025-07-07T11:53: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 --> In One-off payments, we donot need to create the token. Just pa...
260df2836cea8f9aa7448888d3b61e942eda313b
1. Payments Create - One-off cURL: ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_v5jp7Ow9W5g6tgWaDHs4UR385iFfpg9dXQGYQkxxRXQdHlcvR70WmjJRPWJt7Xe7' \ --header 'Cookie: PHPSESSID=0b47db9d7de94...
[ { "file_path": "config/config.example.toml", "lines": [ "globalpay = { long_lived_token = false, payment_method = \"card\", flow = \"mandates\" }\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "globalpay = { long_lived_token = false, payment_method ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/globalpay.rs", "lines": [ " RefundsRouterData,\n", " Response,\n", " // Not Implemented (R)\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs", "lines": [ ...
[ "toml", "rs" ]
20
juspay/hyperswitch
juspay__hyperswitch-8467
Bug: [FEATURE] multisafepay : addpayment methods | TRUSTLY | WeChatpay | Alipay ### Feature Description Integrate 1. Turstly 2. WeChatPay 3. Alipay ### Possible Implementation Integrate the redirection flows for the wallet ### Have you spent some time checking if this feature request has been raised before? - ...
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml index 513cb587176..e04583cbfb5 100644 --- a/config/deployments/integration_test.toml +++ b/config/deployments/integration_test.toml @@ -541,6 +541,9 @@ paypal = { country = "AF,AX,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,B...
2025-06-26T04:34:28Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Add newer payment methods for `multisafepay` connector - Trustly - WeChatPay - Alipay ### MCA...
6d98d5721be41bbd2b9674ab0dbdeafe6c95b95f
[ { "file_path": "config/deployments/integration_test.toml", "lines": [ "trustly = { country = \"AT,CZ,DK,EE,FI,DE,LV,LT,NL,NO,PL,PT,ES,SE,GB\" , currency = \"EUR,GBP,SEK\"}\n", "ali_pay = {currency = \"EUR,USD\"}\n", "we_chat_pay = { currency = \"EUR\"}\n" ] }, { "file_path": "c...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs", "lines": [ "\n", " | WalletData::AliPayRedirect(_)\n", " | WalletData::WeChatPayRedirect(_)\n", " | BankRedirectData::Trustly { .. }\n", " ...
[ "toml", "rs" ]
6
juspay/hyperswitch
juspay__hyperswitch-8462
Bug: chore: bump tonic version bumping tonic version from 0.12 to 0.13.1
diff --git a/Cargo.lock b/Cargo.lock index 42add100ade..b578a5ff88f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1186,14 +1186,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a6c9af12842a67734c9a2e355436e5d03b22383ed60cf13cd0c18fbfe3dcbcf" dependencies = [ "async-trait", - "axum-...
2025-06-25T12:29:54Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description bumping tonic version from 0.12 to 0.13 ### Additional Changes - [ ] This PR modifies the API c...
0a06ad91252d76d0c937344d8c76c9a2bbbc84d7
- The client connection was success <img width="1725" alt="Screenshot 2025-06-25 at 6 00 12 PM" src="https://github.com/user-attachments/assets/7981c4cc-041e-4426-a158-d66af2d1e2cd" /> - got response for the health check api ``` { "database": true, "redis": true, "analytics": true, "opensearch":...
[ { "file_path": "Cargo.lock", "lines": [ " \"axum-core 0.4.3\",\n", " \"matchit 0.7.3\",\n", " \"tower 0.4.13\",\n", " \"tower-layer\",\n", " \"tower-service\",\n", "]\n", "\n", "[[package]]\n", "name = \"axum\"\n", "version = \"0.8.4\"\n", "s...
[ { "file_path": "Cargo.lock", "lines": [ " \"axum-core\",\n", " \"matchit\",\n", " \"tower\",\n", " \"tonic\",\n", " \"tonic\",\n", " \"tonic\",\n", " \"heck 0.4.1\",\n", " \"itertools 0.10.5\",\n", " \"itertools 0.10.5\",\n", " \"axum\",\n", ...
[ "toml", "lock", "rs" ]
4
juspay/hyperswitch
juspay__hyperswitch-8449
Bug: remove frm rule migration support as it is not supported in DE
diff --git a/crates/router/src/core/routing.rs b/crates/router/src/core/routing.rs index b52fc966721..0d34986c838 100644 --- a/crates/router/src/core/routing.rs +++ b/crates/router/src/core/routing.rs @@ -2483,11 +2483,6 @@ pub async fn migrate_rules_for_profile( .attach_printable("Failed to get payout rou...
2025-06-24T10:58:00Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [X] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> As FRM routing is not supported in DE we can remove support for...
bc767b9131e2637ce90997da9018085d2dadb80b
Compilation and cypress is working as expected.
[]
[ { "file_path": "crates/router/src/core/routing.rs", "lines": [ " business_profile\n", " .get_frm_routing_algorithm()\n", " .attach_printable(\"Failed to get frm routing algorithm\")?\n", " .unwrap_or_default()\n", " .algorithm_...
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-8464
Bug: [FEATURE] allow data migration at profile level ### Feature Description The `migrate_payment_methods` API is used for migrating customer and payment method data. Currently, it operates at the merchant level, but since the `merchant_connector_id` is tied to a specific profile, migrations are limited to a single...
diff --git a/crates/api_models/src/payment_methods.rs b/crates/api_models/src/payment_methods.rs index c681cf7edd0..b3e76e37291 100644 --- a/crates/api_models/src/payment_methods.rs +++ b/crates/api_models/src/payment_methods.rs @@ -19,7 +19,7 @@ use utoipa::{schema, ToSchema}; #[cfg(feature = "payouts")] use crate::...
2025-06-26T18:47:13Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This pull request enhances the data migration API to support migrating customer and payment method data a...
6c66c36a66b6644c43761b7ac9c1326945a6a820
<details> <summary>1. Batch migration for multiple profiles</summary> cURL curl --location --request POST 'http://localhost:8080/payment_methods/migrate-batch' \ --header 'api-key: test_admin' \ --form 'merchant_id="merchant_1751020165"' \ --form 'merchant_connector_ids="mca_lw...
[ { "file_path": "crates/api_models/src/payment_methods.rs", "lines": [ " admin, enums as api_enums,\n", " pub merchant_connector_ids: Option<String>,\n", " &PaymentMethodRecord,\n", " Option<&Vec<id_type::MerchantConnectorAccountId>>,\n", "\n", " ...
[ { "file_path": "crates/api_models/src/payment_methods.rs", "lines": [ " admin, customers, enums as api_enums,\n", "#[derive(Debug, Clone, serde::Deserialize, serde::Serialize)]\n", "pub struct ConnectorCustomerDetails {\n", " pub connector_customer_id: String,\n", " pu...
[ "rs", "nix" ]
9
juspay/hyperswitch
juspay__hyperswitch-8460
Bug: [BUG] DB constraints for events table ### Bug Description `idempotent_event_id` column is a combination of `payment_id` and the `event_type`. Length of this field in DB can be a maximum of 64 characters. However, since `payment_id` can also be 64 characters, the resulting `idempotent_event_id` can easily excee...
diff --git a/crates/common_utils/src/consts.rs b/crates/common_utils/src/consts.rs index 59ec5377690..bbb65e1afc6 100644 --- a/crates/common_utils/src/consts.rs +++ b/crates/common_utils/src/consts.rs @@ -97,6 +97,11 @@ pub const BASE64_ENGINE: base64::engine::GeneralPurpose = base64::engine::genera /// URL Safe base6...
2025-09-16T13:24:24Z
## 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 change updates the idempotent_event_id generation to first...
f3ab3d63f69279af9254f15eba5654c0680a0747
1. Started the local Node.js Express webhook listener on port 3000 using the server.js script. <details> <summary>server.js script</summary> ``` mkdir -p /tmp/hs-webhooks && cd /tmp/hs-webhooks npm init -y >/dev/null npm i express >/dev/null cat > server.js <<'JS' const express = require('express'); cons...
[ { "file_path": "crates/common_utils/src/consts.rs", "lines": [ "\n", "/// URL Safe base64 engine without padding\n", "pub const BASE64_ENGINE_URL_SAFE_NO_PAD: base64::engine::GeneralPurpose =\n", " base64::engine::general_purpose::URL_SAFE_NO_PAD;\n", "\n" ] }, { ...
[ { "file_path": "crates/router/src/core/errors.rs", "lines": [ " | Self::OutgoingWebhookRetrySchedulingFailed => true,\n" ] }, { "file_path": "crates/router/src/core/webhooks/outgoing.rs", "lines": [ " utils::get_idempotent_event_id(&primary_object_id, event_type...
[ "rs" ]
7
juspay/hyperswitch
juspay__hyperswitch-8445
Bug: fix(recovery) : Populate connector request reference id in revenue recovery record attempt flow. Previously there was no restriction in confirmData to connector request reference id to be mandatory. Recovery internally uses proxy flow, which internally uses confirmData where connector request reference id was h...
diff --git a/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs b/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs index c35fbc3163e..86821bfe6ef 100644 --- a/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs +++ b/crates/hyperswitch_domain_models/src/payments/payment_attemp...
2025-06-23T13:31:41Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Previously there was no restriction in confirmData to connector...
6fd7626c99e006bb7dcac864c30299bb8ef1d742
Test case 1 : **step 1 :** create a profile in hyperswitch and wait for 8 mins to move it from monitering to cascading , this would only get updated when webhooks are triggered . **step 2 :** create payment mca ``` curl --location 'http://localhost:8080/v2/connector-accounts' \ --header 'Content-Type: applica...
[ { "file_path": "crates/hyperswitch_domain_models/src/payments/payment_attempt.rs", "lines": [ " let connector_request_reference_id = payment_intent\n", " .merchant_reference_id\n", " .as_ref()\n", " .map(|id| id.get_string_repr().to_owned());\n...
[ { "file_path": "crates/hyperswitch_domain_models/src/payments/payment_attempt.rs", "lines": [ "\n", "\n", " connector_request_reference_id: None,\n" ] }, { "file_path": "crates/router/src/core/payments/operations/proxy_payments_intent.rs", "lines": [ " ...
[ "rs" ]
5
juspay/hyperswitch
juspay__hyperswitch-8491
Bug: [FEATURE] celero connector template ### Feature Description Create connector template ### Possible Implementation https://celerocommerce.com/developers/ ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and didn't find a similar issue ### Have you read...
diff --git a/config/config.example.toml b/config/config.example.toml index 3c6da56b240..0bb5cb13007 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -202,6 +202,7 @@ bluesnap.secondary_base_url = "https://sandpay.bluesnap.com/" boku.base_url = "https://$-api4-stage.boku.com" braintree.base_...
2025-06-30T08:05:39Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Template new connection integration `celero` ### Additional ...
9d7edb5cee030a13c8699a914a0d3600b058853d
No testing required as this is template
[ { "file_path": "config/config.example.toml", "lines": [ "celero.base_url = \"https://sandbox.gotnpgateway.com\"\n", " \"celero\",\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "celero.base_url = \"https://sandbox.gotnpgateway.com\"\n" ] ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors.rs", "lines": [ " cashtocode::Cashtocode, chargebee::Chargebee, checkbook::Checkbook, checkout::Checkout,\n", " coinbase::Coinbase, coingate::Coingate, cryptopay::Cryptopay, ctp_mastercard::CtpMastercard,\n", " cybersour...
[ "sh", "toml", "rs" ]
23
juspay/hyperswitch
juspay__hyperswitch-8470
Bug: [FEATURE] allow a dummy connector to succeed for a failure card to show smart routing ### Feature Description Objective is to show user how smart retry works ### Possible Implementation stripe_test if the card number is 4000000000009995 previously it was failure with insufficient funds. But now we need to a...
diff --git a/crates/router/src/routes/dummy_connector/utils.rs b/crates/router/src/routes/dummy_connector/utils.rs index 367c3bc63d4..0bec0398193 100644 --- a/crates/router/src/routes/dummy_connector/utils.rs +++ b/crates/router/src/routes/dummy_connector/utils.rs @@ -11,7 +11,10 @@ use super::{ consts, errors, ...
2025-06-26T10:37:04Z
…rd payment ## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> For one connector alone to hard code success wit...
ec6d0e4d62a530163ae1c806dcf40ccfd264b246
[ { "file_path": "crates/router/src/routes/dummy_connector/utils.rs", "lines": [ "use crate::{\n", " configs::settings,\n", " routes::{dummy_connector::types::DummyConnectors, SessionState},\n", "};\n", " match self.get_flow_from_card_number(payment_attempt.payment_r...
[ { "file_path": "crates/router/src/routes/dummy_connector/utils.rs", "lines": [ "use crate::{configs::settings, routes::SessionState};\n", " match self.get_flow_from_card_number()? {\n", " \"4000000000009995\" => Ok(types::DummyConnectorCardFlow::NoThreeDS(\n", " ...
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-8442
Bug: [FEATURE] Add x-mcp extension to OpenAPI schema Mintlify supports extracting API endpoints from openAPI json into MCP servers: https://mintlify.com/docs/mcp We need to add: ```json "x-mcp": { "enabled": true }, ``` at the top level of our OpenAPI schema to enable this functionality
diff --git a/README.md b/README.md index a46baab5244..35964d72bf5 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ <a href="https://x.com/hyperswitchio"> <img src="https://img.shields.io/badge/follow-%40hyperswitchio-white?logo=x&labelColor=grey"/> </a> - <a href="https://join.slack.com/t/hyperswitc...
2025-06-24T09:35:51Z
## 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 --> Modified `openapi/src/main.rs` to append `x-mcp` extension to v...
bc767b9131e2637ce90997da9018085d2dadb80b
Verified using: `mintlify openapi-check api-reference/v1/openapi_spec_v1.json` Tested mintlify's mcp server generation functionality by deploying the updated OpenAPI spec file on a custom mintlify account. Used the generated mcp server to do payments - create in cursor. ![image](https://github.com/user-attac...
[ { "file_path": "README.md", "lines": [ " <a href=\"https://inviter.co/hyperswitch-slack\">\n", "Join the conversation on [Slack](https://inviter.co/hyperswitch-slack) or explore open issues on [GitHub](https://github.com/juspay/hyperswitch/issues).\n" ] }, { "file_path": "crates/ope...
[ { "file_path": "README.md", "lines": [ " <a href=\"https://join.slack.com/t/hyperswitch-io/shared_invite/zt-2jqxmpsbm-WXUENx022HjNEy~Ark7Orw\">\n", "Join the conversation on [Slack](https://join.slack.com/t/hyperswitch-io/shared_invite/zt-2jqxmpsbm-WXUENx022HjNEy~Ark7Orw) or explore open issues...
[ "md", "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-8437
Bug: [REFACTOR] allow option for skipping billing details during batched data migration **Problem Statement** Currently, `/migrate-batch` API has below mandatory parameters ```rust { pub customer_id: id_type::CustomerId, pub nick_name: masking::Secret<String>, pub card_number_masked: masking::Secret<Str...
diff --git a/crates/api_models/src/payment_methods.rs b/crates/api_models/src/payment_methods.rs index 5ecd2f71ef7..25b583f5dc4 100644 --- a/crates/api_models/src/payment_methods.rs +++ b/crates/api_models/src/payment_methods.rs @@ -2481,7 +2481,7 @@ pub struct PaymentMethodRecord { pub merchant_id: Option<id_type...
2025-06-23T19:23:01Z
## 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 includes changes to make billing details related fields optional during batched operation of data...
a3cc44c6e15ce69f39104b2ce205bed632e3971e
1. Create MCA <details> <summary>2. Run batch migration</summary> cURL curl --location --request POST 'http://localhost:8080/payment_methods/migrate-batch' \ --header 'api-key: test_admin' \ --form 'merchant_id="merchant_1750764063"' \ --form 'merchant_connector_id="mca_F0qq...
[ { "file_path": "crates/api_models/src/payment_methods.rs", "lines": [ " pub nick_name: Option<masking::Secret<String>>,\n", " pub billing_address_zip: Option<masking::Secret<String>>,\n", " pub billing_address_state: Option<masking::Secret<String>>,\n", " pub billing_addr...
[ { "file_path": "crates/api_models/src/payment_methods.rs", "lines": [ " pub nick_name: masking::Secret<String>,\n", " pub billing_address_zip: masking::Secret<String>,\n", " pub billing_address_state: masking::Secret<String>,\n", " pub billing_address_first_name: masking:...
[ "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-8435
Bug: [FEAT] Implement Refund for JPMorgan this connector lacks basic feature i.e., refunds. relevant docs: - https://developer.payments.jpmorgan.com/api/commerce/online-payments/overview - https://developer.payments.jpmorgan.com/api/commerce/online-payments/online-payments/online-payments#/operations/V2RefundPost
diff --git a/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs b/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs index 9783324c042..043f140a174 100644 --- a/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs +++ b/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs @@ -665,9 +665,9 @@ impl Co...
2025-06-23T17:30:48Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> This PR implements refund flow for JPMorgan connector. Connec...
786fe699c2abd1a3eb752121a1915acd2012d94a
Updated Cypress tests: <img width="558" alt="image" src="https://github.com/user-attachments/assets/cb18d34e-d6d2-4145-8e94-773ab6638389" /> There exist an issue from the connector where it returns same `transaction_id` (`connector_transaction_id`) every single time which we have no control. Because of this, ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/jpmorgan.rs", "lines": [ " connectors: &Connectors,\n", " Ok(format!(\"{}/refunds\", self.base_url(connectors)))\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs", ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/jpmorgan.rs", "lines": [ " _connectors: &Connectors,\n", " Err(errors::ConnectorError::NotImplemented(\"Refunds\".to_string()).into())\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connectors/jpmor...
[ "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-8430
Bug: [BUG] adyen connector creates connector's customer reference on the fly ### Bug Description Connector's customer ID is a unique identifier for a customer's entity in the underlying connector for HyperSwitch for mapping a customer. This identifier is stored under `connector_customer` in `customers` table. Howe...
diff --git a/config/config.example.toml b/config/config.example.toml index 040e027dcf9..08589cbcc65 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -827,7 +827,7 @@ credit = {country = "AU,NZ,CN,HK,IN,LK,KR,MY,SG,GB,BE,FR,DE,IT,ME,NL,PL,ES,ZA,AR debit = {country = "AU,NZ,CN,HK,IN,LK,KR,MY,S...
2025-06-24T10:42:43Z
## 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 --> Adyen now uses `connector_customer_id` to form `shopper_referen...
bc767b9131e2637ce90997da9018085d2dadb80b
<img width="1081" alt="Screenshot 2025-06-24 at 4 01 08 PM" src="https://github.com/user-attachments/assets/08ad7563-b19a-41a5-8729-74aa3b5f6295" />
[ { "file_path": "config/config.example.toml", "lines": [ "connector_list = \"adyen,facilitapay,gocardless,hyperswitch_vault,stax,stripe\"\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "connector_list = \"adyen,facilitapay,gocardless,hyperswitch_vaul...
[ { "file_path": "config/config.example.toml", "lines": [ "connector_list = \"gocardless,stax,stripe,facilitapay,hyperswitch_vault\"\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "connector_list = \"gocardless,stax,stripe,facilitapay,hyperswitch_vaul...
[ "toml", "rs" ]
8
juspay/hyperswitch
juspay__hyperswitch-8407
Bug: ci(connector): [ARCHIPEL] configure test cases Automate CI Checks by Fixing, Adding and Configuring Test Cases over:- - [Postman](https://github.com/juspay/hyperswitch/pull/8360) - [Cypress](https://github.com/juspay/hyperswitch/pull/8189)
2025-05-30T16:25:08Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> Enhancements for `archipel` Cypress Tests. ### Additional Ch...
8ccaac7c10e9366772e43d34f271d946cc4b3baa
<img width="726" height="962" alt="image" src="https://github.com/user-attachments/assets/ee72bc01-69a1-4afb-ac76-8c3edec1c124" /> _PS: There is an issue with Incremental Auth, not anything related to the configs, but the spec itself, addressing it in another PR because that would affect 1 other connector as...
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-8406
Bug: Fix payment redirects for v2 Fix payment redirects for v2
diff --git a/crates/router/src/core/payments.rs b/crates/router/src/core/payments.rs index 59de54f41fa..e3fdf6e1cac 100644 --- a/crates/router/src/core/payments.rs +++ b/crates/router/src/core/payments.rs @@ -2996,7 +2996,7 @@ impl PaymentRedirectFlow for PaymentRedirectSync { force_sync: true, ...
2025-06-20T11:02:47Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR fixes payment redirects in v2. This was due to the fiel...
c99ec73885e0c64552f01826b20a1af7a934a65c
- Make 3DS payment ``` curl --location 'http://localhost:8080/v2/payments' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_295oknnkIU8LhiO6RTCy' \ --header 'Authorization: api-key=dev_8OKnwsVtu4ZIxxgqDfVQwnQrUfdORX3Ivo9i8Yxp0rB3mEZxiv9UZchQimjPgNnx' \ --data-raw '{ "amount_details...
[ { "file_path": "crates/router/src/core/payments.rs", "lines": [ " merchant_connector_details: None, // TODO: Implement for connectors requiring 3DS or redirection-based authentication flows.\n" ] } ]
[ { "file_path": "crates/router/src/core/payments.rs", "lines": [ " merchant_connector_details: todo!(), // TODO: Implement for connectors requiring 3DS or redirection-based authentication flows.\n" ] } ]
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-8440
Bug: [FEATURE] Implement V2 UCS (Unified Connector Service) Integration for Authorization Flow ### Feature Description # [Feature Request] Implement V2 UCS (Unified Connector Service) Integration for Authorization Flow ## Issue Type - [x] Feature Request - [ ] Bug Report - [ ] Enhancement - [ ] Documentation ## ...
diff --git a/Cargo.lock b/Cargo.lock index 848ccc6648f..f3ab37bbb5b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1651,6 +1651,20 @@ dependencies = [ "thiserror 1.0.69", ] +[[package]] +name = "cargo_metadata" +version = "0.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd5eb61...
2025-06-24T06:16:40Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ### Fixes #8440 ## Description <!-- Describe your changes in detail --> This PR implements...
b1c9be1600dbd897c32adcc2d8b98e77ec67c516
### Manual Testing (HAPPY CASE) #### **V2 Payment Intent Creation (Adyen via UCS)** *Request:* ```bash curl --location 'http://localhost:8080/v2/payments/create-intent' \ --header 'api-key: dev_ymXSN8By3WESknjGnFyLVwDE4tK9v8ZjnkMZsKb2cM7KgjlzLfU1SOnJ63LsIrfR' \ --header 'Content-Type: application/json' ...
[ { "file_path": "Cargo.lock", "lines": [ "[[package]]\n", "name = \"cargo_metadata\"\n", "version = \"0.19.2\"\n", "source = \"registry+https://github.com/rust-lang/crates.io-index\"\n", "checksum = \"dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba\"\n", "...
[ { "file_path": "Cargo.lock", "lines": [ "version = \"0.2.0\"\n", "checksum = \"312ad594dd0e3c26f860a52c8b703ab509c546931920f277f1afa9b7127fd755\"\n", "source = \"git+https://github.com/juspay/connector-service?rev=afaef3427f815befe253da152e5f37d3858bbc9f#afaef3427f815befe253da152e5f37d3858...
[ "toml", "lock", "rs" ]
13
juspay/hyperswitch
juspay__hyperswitch-8409
Bug: [FEATURE] Add routing metrics endpoint ### Feature Description Need to add an endpoint for routing metrics. Also add routing approach as a filter in payment analytics ### Possible Implementation Need to add an endpoint for routing metrics. Also add routing approach as a filter in payment analytics ### Hav...
diff --git a/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql b/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql index f5d0ca51fd7..6673b73fedb 100644 --- a/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql +++ b/crates/analytics/docs/clickhouse/scripts/payment_attempts.sql @@ -43,...
2025-06-20T18:09:08Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> - Added RoutingApproach column in Payment attempt - Added Rout...
0851c6ece574ce961830c14d91e6e2040cb3b286
```bash curl -X GET 'http://localhost:8080/analytics/v1/org/routing/info' \ -H 'Accept: */*' \ -H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \ -H 'Connection: keep-alive' \ -H 'Content-Type: application/json' \ -H 'Origin: http://localhost:9000' \ -H 'Referer: http://localhost:9000/' \ -H '...
[ { "file_path": "crates/analytics/docs/clickhouse/scripts/payment_attempts.sql", "lines": [ " `routing_approach` LowCardinality(Nullable(String)),\n", " `routing_approach` LowCardinality(Nullable(String)),\n", " `routing_approach` LowCardinality(Nullable(String)),\n", " ro...
[ { "file_path": "crates/analytics/src/payments/filters.rs", "lines": [ "use diesel_models::enums::{AttemptStatus, AuthenticationType, Currency};\n" ] }, { "file_path": "crates/analytics/src/query.rs", "lines": [ " PaymentMethod, PaymentMethodType,\n", " Order\n" ...
[ "sql", "rs" ]
54
juspay/hyperswitch
juspay__hyperswitch-8386
Bug: Api contract changes to accept `saving_percentage` in the decision engine response Api contract changes to accept `saving_percentage` in the decision engine response
diff --git a/crates/api_models/src/open_router.rs b/crates/api_models/src/open_router.rs index af91ece3f12..5d5f8f016c0 100644 --- a/crates/api_models/src/open_router.rs +++ b/crates/api_models/src/open_router.rs @@ -67,17 +67,32 @@ pub struct DecidedGateway { #[derive(Debug, Serialize, Deserialize, PartialEq, Clone...
2025-06-19T08:01:15Z
<!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pull request refactors the `DebitRoutingOutput` structure to introduce a new ...
305ca9bda9d3c5bf3cc97458b7ed07b79e894154
-> Enable debit routing for a profile and configure adyen connector -> Make a payment ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'x-feature: router-custom' \ --header 'x-tenant-id: hyperswitch' \ --header 'a...
[ { "file_path": "crates/api_models/src/open_router.rs", "lines": [ " pub co_badged_card_networks_info: Vec<CoBadgedCardNetworksInfo>,\n", "#[derive(Debug, Serialize, Deserialize, PartialEq, Clone)]\n", "pub struct CoBadgedCardNetworksInfo {\n", " pub network: common_enums::CardN...
[ { "file_path": "crates/api_models/src/open_router.rs", "lines": [ " pub co_badged_card_networks: Vec<common_enums::CardNetwork>,\n", " co_badged_card_networks: output.co_badged_card_networks.clone(),\n", " co_badged_card_networks: output.co_badged_card_networks,\n"...
[ "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-8381
Bug: fix(openapi): Fix broken pages in mintlify (v2) v2 mintlify docs have several broken pages and some endpoints are missing.
diff --git a/crates/openapi/src/routes/payments.rs b/crates/openapi/src/routes/payments.rs index 6160b68b44b..2d25ca4f77f 100644 --- a/crates/openapi/src/routes/payments.rs +++ b/crates/openapi/src/routes/payments.rs @@ -923,12 +923,7 @@ pub fn payments_update_intent() {} "X-Profile-Id" = String, Header, ...
2025-06-18T18:02:28Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [x] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Fixed the following mintlify pages: - `v2/customers/customer...
17c30b6105d9086585edac0c89432b1f4568c3de
Verified with `mint dev`
[ { "file_path": "crates/openapi/src/routes/payments.rs", "lines": [ " )\n" ] }, { "file_path": "crates/openapi/src/routes/tokenization.rs", "lines": [ "/// Tokenization - Create\n", "///\n", "/// Create a token with customer_id\n" ] } ]
[ { "file_path": "crates/openapi/src/routes/payments.rs", "lines": [ " ),\n", " (\n", " \"X-Client-Secret\" = String, Header,\n", " description = \"Client Secret Associated with the payment intent\",\n", " example = json!({\"X-Client-Secret\": \"123...
[ "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-8389
Bug: [FEATURE] Kv Redis feature for V2 models ### Feature Description Extend kv support for v2 models ### Possible Implementation Use existing construct to extend to v2 models ### Have you spent some time checking if this feature request has been raised before? - [x] I checked and didn't find a similar issue ...
diff --git a/crates/diesel_models/src/kv.rs b/crates/diesel_models/src/kv.rs index 6c0666e5903..ed984649e92 100644 --- a/crates/diesel_models/src/kv.rs +++ b/crates/diesel_models/src/kv.rs @@ -126,12 +126,7 @@ impl DBOperation { )), #[cfg(feature = "v2")] Updateable::P...
2025-06-02T04:50:28Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description #8389 - Added Kv Redis support to - payment_intent V2, payment_attempt V2 models - Added enable Kv ro...
c5c0e677f2a2d43170a66330c98e0ebc4d771717
Locally tested kv writes and drainer functionality
[ { "file_path": "crates/diesel_models/src/kv.rs", "lines": [ " a.orig.update_with_attempt_id(conn, a.update_data).await?,\n", "#[cfg(feature = \"v1\")]\n", "#[cfg(feature = \"v2\")]\n", "#[derive(Debug, Serialize, Deserialize)]\n", "pub struct PaymentAttemptUp...
[ { "file_path": "crates/diesel_models/src/kv.rs", "lines": [ " a.orig\n", " .update_with_attempt_id(\n", " conn,\n", " PaymentAttemptUpdateInternal::from(a.update_data),\n", " ...
[ "toml", "rs" ]
15
juspay/hyperswitch
juspay__hyperswitch-8398
Bug: [FEATURE] [AUTHIPAY] Integrate cards non-3ds payments ### Feature Description cards non-3ds payments needs to be integrated for authipay ### Possible Implementation cards non-3ds payments needs to be integrated for authipay ### Have you spent some time checking if this feature request has been raised before...
diff --git a/config/config.example.toml b/config/config.example.toml index 10f796128f7..2b1916d41c2 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -189,6 +189,7 @@ airwallex.base_url = "https://api-demo.airwallex.com/" amazonpay.base_url = "https://pay-api.amazon.com/v2" applepay.base_url...
2025-06-05T09:43:43Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Cards Non-3DS payments added for authipay https://docs.fiserv.dev/public/reference/payments-intro ###...
c322eb9cabb2ca7a8ad0c3ed57192dde9bf7eaa4
Tested using cargo build and cypress test <img width="738" alt="Screenshot 2025-07-04 at 11 49 02 AM" src="https://github.com/user-attachments/assets/d4927935-5af6-4b14-88c4-dc1c9f723886" />
[ { "file_path": "config/config.example.toml", "lines": [ "authipay.base_url = \"https://prod.emea.api.fiservapps.com/sandbox/ipp/payments-gateway/v2\"\n", " \"authipay\",\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "authipay.base_url = \"...
[ { "file_path": "config/payment_required_fields_v2.toml", "lines": [ "non_mandate = []\n" ] }, { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ "\n" ] }, { "file_path": "crates/connector_configs/toml/sandbox.toml", "lines": [ "\n" ...
[ "sh", "toml", "rs" ]
28
juspay/hyperswitch
juspay__hyperswitch-8394
Bug: feat(revenue_recovery): Invoke attempt list instead of payment get in recovery webhooks flow Previously we were using payment get to find whether attempt is present in db or not, but for the first invoice webhook there won't be any attempt present in db and recently we added a validation to use payment get only...
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index cb5480ed1f4..25e85c3f90c 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -1668,6 +1668,9 @@ pub struct PaymentAttemptRevenueRecoveryData { /// Flag to find out whether an attempt was c...
2025-06-19T17:51:05Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Previously we were using payment get to find whether attempt is...
7943fb4bfb156e22d5329d45a580f90e02283604
Tested complete revenue recovery flow with stripebilling 1) Set up merchant and mca for billing and payment connector for stripebilling and stripe 2) Make sure merchant have retry_algorithm_type to cascading in business profile 3) Trigger payment invoice from stripe, after threshold external attempts , pt entry sh...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ " // stripe specific field used to identify duplicate attempts.\n", " #[schema(value_type = Option<String>, example = \"ch_123abc456def789ghi012klmn\")]\n", " pub charge_id: Option<String>,\n", "impl PaymentAttem...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ "impl PaymentsResponse {\n", " self,\n", " self.attempts\n", " .as_ref()\n", " .and_then(|attempts| {\n", " attempts.iter().find(|attempt| {\n", " ...
[ "rs" ]
12
juspay/hyperswitch
juspay__hyperswitch-8379
Bug: [FEATURE] Add v2 kafka events for payment_intent, payment_attempt and refund
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index 7b14351a49a..ca382fa1479 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -5560,25 +5560,24 @@ impl From<&PaymentsRequest> for PaymentsCreateIntentRequest { billing: request.bil...
2025-06-12T06:01:54Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Added payment_intent payment_attempt and refund kafka events fo...
7b2919b46fda92aad14980280bc46c2c23d81086
Made a payment and refund and verified if proper events are logged into Kafka. <img width="1728" alt="Screenshot 2025-06-12 at 9 48 33 AM" src="https://github.com/user-attachments/assets/91286bfd-8c83-4cb4-85cb-a672efb81daa" /> <img width="1728" alt="Screenshot 2025-06-12 at 9 48 18 AM" src="https://github.com/...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ " customer_present: request.customer_present,\n", " apply_mit_exemption: request.apply_mit_exemption,\n", " payment_link_enabled: request.payment_link_enabled,\n", " .reques...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ " customer_present: request.customer_present.clone(),\n", " apply_mit_exemption: request.apply_mit_exemption.clone(),\n", " payment_link_enabled: request.payment_link_enabled.clone(),\n", ...
[ "rs" ]
12
juspay/hyperswitch
juspay__hyperswitch-8392
Bug: [FEATURE] allow payout_id to be configurable ### Feature Description `payout_id` is an unique identifier for payout resource which is auto generated during payout creation. This field needs to be configurable during payout creation by accepting in the API. Along with this, a `merchant_order_reference_id` need...
diff --git a/crates/api_models/src/events/payouts.rs b/crates/api_models/src/events/payouts.rs index a08f3ed94a8..b7eded681a3 100644 --- a/crates/api_models/src/events/payouts.rs +++ b/crates/api_models/src/events/payouts.rs @@ -9,7 +9,7 @@ use crate::payouts::{ impl ApiEventMetric for PayoutRetrieveRequest { fn ...
2025-06-20T04:35:56Z
feat(payouts): allow payout_id to be configurable in API request feat(payouts): add merchant_order_reference_id for referencing payouts ## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentati...
0c649158a8ee491e2ff6ff37e922266d5b64b22d
<details> <summary>1. Card payouts via API</summary> cURL curl --location --request POST 'http://localhost:8080/payouts/create' \ --header 'Content-Type: application/json' \ --header 'api-key: dev_lAISInmiO4UNrMmvkJogzRVKEGKlBKQbRCBFOkLJTXmq6nsD5G1H65BjOd4H72H8' \ --data '{"amo...
[ { "file_path": "crates/api_models/src/events/payouts.rs", "lines": [ " payout_id: self.payout_id.to_owned(),\n", " payout_id: id.to_owned(),\n", " payout_id: self.payout_id.to_owned(),\n", " payout_id: self.payout_id.to_owned(),\n", "...
[ { "file_path": "crates/api_models/src/events/payouts.rs", "lines": [ " payout_id: self.payout_id.clone(),\n", " payout_id: id.clone(),\n", " payout_id: self.payout_id.clone(),\n", " payout_id: self.payout_id.clone(),\n", " ...
[ "sql", "rs", "nix" ]
56
juspay/hyperswitch
juspay__hyperswitch-8377
Bug: feat(router): Add v2 endpoint to list payment attempts by intent_id In payment flows that involve retries—such as smart , cascading retires —a single payment intent may result in multiple attempts. Previously, there was no clean way to retrieve all these attempts together. ### API Flow: Adds a new endpoint: GE...
diff --git a/crates/api_models/src/events/payment.rs b/crates/api_models/src/events/payment.rs index ef55763b0af..ec4c8667f45 100644 --- a/crates/api_models/src/events/payment.rs +++ b/crates/api_models/src/events/payment.rs @@ -2,8 +2,8 @@ use common_utils::events::{ApiEventMetric, ApiEventsType}; #[cfg(feature = "...
2025-06-17T15:08:52Z
## 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 an API to list all payment attempts associat...
305ca9bda9d3c5bf3cc97458b7ed07b79e894154
I inserted two payment attempts for a payment intent as part of testing. ### Curl ``` curl --location 'http://localhost:8080/v2/payments/12345_pay_01978809316e7850b05ab92288ed7746/list_attempts' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_pF6sS2TBfhg0Vdp6N04E' \ --header 'api-key:...
[ { "file_path": "crates/api_models/src/events/payment.rs", "lines": [ " PaymentAttemptListRequest, PaymentAttemptListResponse, PaymentStartRedirectionRequest,\n", " PaymentsCreateIntentRequest, PaymentsGetIntentRequest, PaymentsIntentResponse, PaymentsRequest,\n", "#[cfg(feature = \"v...
[ { "file_path": "crates/api_models/src/events/payment.rs", "lines": [ " PaymentStartRedirectionRequest, PaymentsCreateIntentRequest, PaymentsGetIntentRequest,\n", " PaymentsIntentResponse, PaymentsRequest,\n" ] }, { "file_path": "crates/router/src/core/payments.rs", "lines":...
[ "rs" ]
14