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-7500
Bug: [REFACTOR][payment_methods] refactor network tokenization flow for v2 Refactor network tokenization flow for v2 payment method. - moved the network tokenization req, response types from domain to router types, since the types are not generic for Hyperswitch but req and response types of token service. - replac...
diff --git a/crates/api_models/src/payment_methods.rs b/crates/api_models/src/payment_methods.rs index 77963ee90df..6b9b35ac2c0 100644 --- a/crates/api_models/src/payment_methods.rs +++ b/crates/api_models/src/payment_methods.rs @@ -11,7 +11,10 @@ use common_utils::{ id_type, link_utils, pii, types::{MinorUni...
2025-02-19T10:30:38Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Refactor network tokenization flow for v2 payment method. 1. ...
3667a7ffd216e165e1f51ad1ceac05d6901bb187
[ { "file_path": "crates/api_models/src/payment_methods.rs", "lines": [ "#[cfg(all(any(feature = \"v1\", feature = \"v2\"), not(feature = \"customer_v2\")))]\n", "#[cfg(all(feature = \"v2\", feature = \"payment_methods_v2\"))]\n", "use masking::{ExposeInterface, PeekInterface};\n", " ...
[ { "file_path": "crates/api_models/src/payment_methods.rs", "lines": [ " pub token: String,\n", "\n" ] }, { "file_path": "crates/hyperswitch_domain_models/src/network_tokenization.rs", "lines": [ "use std::fmt::Debug;\n", "\n", "use api_models::enums as api_en...
[ "rs" ]
16
juspay/hyperswitch
juspay__hyperswitch-7495
Bug: refactor(connector): [BILLWERK, FISERVEMEA, TSYS] use LazyLock instead of lazy_static! Use LazyLock instead of lazy_static!
diff --git a/crates/hyperswitch_connectors/src/connectors/billwerk.rs b/crates/hyperswitch_connectors/src/connectors/billwerk.rs index 4d76dcd5706..4d5e324b39f 100644 --- a/crates/hyperswitch_connectors/src/connectors/billwerk.rs +++ b/crates/hyperswitch_connectors/src/connectors/billwerk.rs @@ -1,5 +1,7 @@ pub mod tr...
2025-03-12T08:31:27Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD Closes this [issue](https://github.com/juspay/hyperswitch/issues/7495) ## Description <!-- Describe your changes in d...
662e45f0037c0aa039c1de72500c6004322f3ffb
Postman Test Feature API curl: ``` curl --location 'http://localhost:8080/feature_matrix' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: {{api_key}}' ``` Response: ``` { "connector_count": 3, "connectors": [ { "nam...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/billwerk.rs", "lines": [ "use std::sync::LazyLock;\n", "\n", "static BILLWERK_SUPPORTED_PAYMENT_METHODS: LazyLock<SupportedPaymentMethods> =\n", " LazyLock::new(|| {\n", " PaymentMethodDetails {\n", ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/billwerk.rs", "lines": [ "use lazy_static::lazy_static;\n", "lazy_static! {\n", " static ref BILLWERK_SUPPORTED_PAYMENT_METHODS: SupportedPaymentMethods = {\n", " PaymentMethodDetails{\n", " }...
[ "rs" ]
3
juspay/hyperswitch
juspay__hyperswitch-7469
Bug: [BUG] [WISE] Changed type of error status from i32 to String ### Bug Description While creating payouts, Hyperswitch throws an error because the connector sends an error status as String, while Hyperswitch accepts it as i32. ### Expected Behavior Hyperswitch should not throw error while creating payouts. #...
diff --git a/crates/router/src/connector/wise/transformers.rs b/crates/router/src/connector/wise/transformers.rs index 513a762bfd3..d3e9efa0f7f 100644 --- a/crates/router/src/connector/wise/transformers.rs +++ b/crates/router/src/connector/wise/transformers.rs @@ -56,7 +56,7 @@ impl TryFrom<&types::ConnectorAuthType> f...
2025-03-10T09:55:07Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> The error status was previously being accepted as i32, which ...
617adfa33fd543131b5c4d8983319bfdcaa6c425
**Postman Tests** **1. Payouts Create** -Request ``` curl --location 'http://localhost:8080/payouts/create' \ --header 'Content-Type: application/json' \ --header 'api-key: dev_gBOBAd2KdnQ2Sicn24ETzOLMqRjdMVtjSjy17FYmjQjmj26klfRIWLOnspqQX9YW' \ --data-raw '{ "amount": 10, "currency": "GBP", ...
[ { "file_path": "crates/router/src/connector/wise/transformers.rs", "lines": [ " pub status: Option<String>,\n" ] } ]
[ { "file_path": "crates/router/src/connector/wise/transformers.rs", "lines": [ " pub status: Option<i32>,\n" ] } ]
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-7482
Bug: feat(analytics): modify authentication queries and add generate report for authentications Need to modify the authentication analytics queries to differentiate between **frictionless flow** and **challenge flow** through the authentication_type field. Introduce support for **authentication report generation**,...
diff --git a/crates/analytics/src/auth_events/core.rs b/crates/analytics/src/auth_events/core.rs index a2640be6ead..bdcbdd86a94 100644 --- a/crates/analytics/src/auth_events/core.rs +++ b/crates/analytics/src/auth_events/core.rs @@ -165,6 +165,7 @@ pub async fn get_filters( .filter_map(|fil: AuthEventFilterRow...
2025-03-11T17:25:35Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR modifies authentication queries to improve the way we d...
5cdfe8325481909a8a1596f967303eff44ffbcec
Can check the test cases from the `How did you test it?` section from these 2 PRs: - [https://github.com/juspay/hyperswitch/pull/7451](https://github.com/juspay/hyperswitch/pull/7451) - [https://github.com/juspay/hyperswitch/pull/7433](https://github.com/juspay/hyperswitch/pull/7433) **Note**: The Response body...
[ { "file_path": "crates/analytics/src/auth_events/core.rs", "lines": [ " AuthEventDimensions::AuthenticationType => fil.authentication_type.map(|i| i.as_ref().to_string()),\n" ] }, { "file_path": "crates/analytics/src/auth_events/filters.rs", "lines": [ "use common_enum...
[ { "file_path": "crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs", "lines": [ " .add_negative_filter_clause(\"authentication_status\", AuthenticationStatus::Pending)\n" ] }, { "file_path": "crates/analytics/src/auth_events/metrics/authentication_error_mes...
[ "rs" ]
19
juspay/hyperswitch
juspay__hyperswitch-7492
Bug: ci: paypal ci failing ref: https://developer.paypal.com/docs/multiparty/checkout/advanced/customize/3d-secure/test/ replacing visa card with the mastercard fixed it upon testing. also fixe the assertion. 65 != 60
2025-03-12T06:39:17Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> <img width="861" alt="image" src="https://github.com/user-att...
833da1c3c5a0f006a689b05554c547205774c823
`CYPRESS_CONNECTOR=paypal npm run cypress:payments` ![image](https://github.com/user-attachments/assets/d8f52cc9-3bbb-45f3-97fc-6cdd713f6dc1)
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-7490
Bug: refactor(organization): add api version column Add api version column to organization.
diff --git a/Cargo.lock b/Cargo.lock index debcaf5d289..f0026e2d29a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6960,6 +6960,7 @@ name = "scheduler" version = "0.1.0" dependencies = [ "async-trait", + "common_types", "common_utils", "diesel_models", "error-stack", diff --git a/crates/common_types/src/consts....
2025-03-04T09:12:22Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR adds version column to the organisation. ### Additio...
f3d6b15a2ade7dd98fec59777301f44d166f3be3
Test sanity of organization - Create organization in v1 <img width="406" alt="image" src="https://github.com/user-attachments/assets/6c013b47-b1ac-4918-a14b-ff8a0f0725f7" /> - Create organization in v2 <img width="402" alt="image" src="https://github.com/user-attachments/assets/864caf2d-d845-4368-942b-c8fd2778...
[ { "file_path": "Cargo.lock", "lines": [ " \"common_types\",\n" ] }, { "file_path": "crates/common_types/src/consts.rs", "lines": [ "//! Constants that are used in the domain level.\n", "\n", "/// API version\n", "#[cfg(feature = \"v1\")]\n", "pub const API...
[ { "file_path": "crates/diesel_models/Cargo.toml", "lines": [ "v1 = [\"common_utils/v1\"]\n", "v2 = [\"common_utils/v2\"]\n" ] }, { "file_path": "crates/hyperswitch_domain_models/Cargo.toml", "lines": [ "v2 = [\"api_models/v2\", \"diesel_models/v2\", \"common_utils/v2\"]\n",...
[ "toml", "rs", "lock", "sql" ]
32
juspay/hyperswitch
juspay__hyperswitch-7488
Bug: feat(core): Add V2 Authentication to all available endpoints Introduces V2 authentication mechanisms for various admin and client-side APIs : - [ ] Add V2AdminApiAuth and modified AdminApiAuthWithMerchantIdFromRoute for V2 - [ ] Add V2ApiKeyAuth , V2AdminApiAuth and V2ClientAuth to the endpoints - [ ] Refactor...
diff --git a/crates/router/src/core/errors.rs b/crates/router/src/core/errors.rs index b32fe76f5ec..d82bef27d1f 100644 --- a/crates/router/src/core/errors.rs +++ b/crates/router/src/core/errors.rs @@ -483,6 +483,6 @@ pub enum RevenueRecoveryError { PaymentIntentCreateFailed, #[error("Source verification faile...
2025-03-12T04:05:17Z
## Type of Change - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This commit introduces V2 authentication mechanisms for various admin and client-side APIs : - [x] Added V2AdminApiAuth and modified AdminApiAuthWi...
4f6174d1bf6dd0713b0a3d8e005671c884555144
For `/v2/merchant-accounts` Request ``` curl --location 'http://localhost:8080/v2/merchant-accounts' \ --header 'x-organization-id: org_d2lZPiRPOGbIMmFcb59A' \ --header 'Content-Type: application/json' \ --header 'Authorization: admin-api-key=test_admin' \ --data '{ "merchant_name": "cloth_seller" }...
[ { "file_path": "crates/router/src/core/errors.rs", "lines": [ " #[error(\"Payment merchant connector account not found using account reference id\")]\n" ] }, { "file_path": "crates/router/src/routes/admin.rs", "lines": [ "#[cfg(all(feature = \"olap\", feature = \"v1\"))]\n", ...
[ { "file_path": "crates/router/src/core/errors.rs", "lines": [ " #[error(\"Payment merchant connector account not found using acccount reference id\")]\n" ] }, { "file_path": "crates/router/src/routes/admin.rs", "lines": [ "#[cfg(feature = \"olap\")]\n", "\n", "#[cf...
[ "rs" ]
9
juspay/hyperswitch
juspay__hyperswitch-7486
Bug: refactor(currency_conversion): add support for expiring forex data in redis ## Description Adding a custom expiry time for Forex data saved in redis (172800 seconds ~ 2days). A new config is added as well: `redis_cache_expiry_in_seconds = 172800`
diff --git a/config/config.example.toml b/config/config.example.toml index a52f7486cf5..caeb82c805a 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -74,10 +74,11 @@ max_feed_count = 200 # The maximum number of frames that will be fe # This section provides configs for currenc...
2025-03-06T19:18:34Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Adding a custom expiry time for Forex data saved in redis (1728...
5cdfe8325481909a8a1596f967303eff44ffbcec
``` curl --location 'http://localhost:8080/forex/rates' \ --header 'api-key: dev_Gt1XtwvVZ9bw94pn30Cvs3Oc5buVwgAxPEIyNwz1hFjyNUIYEHC7NDSWzHlFc84H' \ --data '' ```
[ { "file_path": "config/config.example.toml", "lines": [ "redis_ttl_in_seconds = 172800 # Time to expire for forex data stored in Redis\n", "data_expiration_delay_in_seconds = 21600 # Expiration time for data in cache as well as redis in seconds\n", "redis_lock_timeout_in_seconds = 10...
[ { "file_path": "config/config.example.toml", "lines": [ "call_delay = 21600 # Expiration time for data in cache as well as redis in seconds\n", "redis_lock_timeout = 100 # Redis remains write locked for 100 s once the acquire_redis_lock is called\n", "connectors_wit...
[ "toml", "rs" ]
8
juspay/hyperswitch
juspay__hyperswitch-7460
Bug: fix(postman): nmi manual capture state Previously the manually captured payments through `nmi` connector stayed in processing state after confirming the payment. Now, it goes to `requires_capture` state. So, the necessary changes are required.
diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Save card payments - Confirm/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Save card payments - Confirm/event.test.js index eedc017...
2025-03-07T10:12:51Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API co...
15ad6da0793be4bc149ae2e92f4805735be8712a
_**Before**_ <img width="500" alt="image" src="https://github.com/user-attachments/assets/b22d850f-ad64-4fce-a7c2-26a946db3c52" /> <details> <summary>Changes</summary> - Previously the manually captured payments through `nmi` connector stayed in `processing` state after confirming the payment. But now, it goe...
[ { "file_path": "postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Save card payments - Confirm/event.test.js", "lines": [ "// Response body should have value \"requires_capture\" for \"status\"\n", " \"[POST]::/payments/:id/confirm - Conten...
[ { "file_path": "postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Save card payments - Confirm/event.test.js", "lines": [ "// Response body should have value \"processing\" for \"status\"\n", " \"[POST]::/payments/:id/confirm - Content chec...
[ "js" ]
5
juspay/hyperswitch
juspay__hyperswitch-7464
Bug: Handle optional fields in nexixpay payments requests. Optional billing details should be used for non-mandatory billing fields.
diff --git a/config/config.example.toml b/config/config.example.toml index ad910ef415a..a95cc7c1405 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -618,8 +618,8 @@ debit = { country = "US, CA", currency = "USD, CAD" } klarna = { country = "AU,AT,BE,CA,CZ,DK,FI,FR,DE,GR,IE,IT,NL,NZ,NO,PL,PT...
2025-03-09T03:32:45Z
## 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 --> Optional billing details should be used for non-mandatory billi...
833da1c3c5a0f006a689b05554c547205774c823
- Curl to test the optional billing address. ``` curl --location 'localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_RFY4WCFOFu2eEmA13QTQGzHyyjIvaTgdTqKsp2yBy4ofwyZ7fdyIMIJKHcHzGbC5' \ --data-raw '{ "amount": 3545, "cur...
[ { "file_path": "config/config.example.toml", "lines": [ "credit = { country = \"AT,BE,CY,EE,FI,FR,DE,GR,IE,IT,LV,LT,LU,MT,NL,PT,SK,SI,ES,BG,HR,DK,GB,NO,PL,CZ,RO,SE,CH,HU\", currency = \"ARS,AUD,BHD,CAD,CLP,CNY,COP,HRK,CZK,DKK,HKD,HUF,INR,JPY,KZT,JOD,KRW,KWD,MYR,MXN,NGN,NOK,PHP,QAR,RUB,SAR,SGD,VND,ZAR,...
[ { "file_path": "config/config.example.toml", "lines": [ "credit = { country = \"PL,CZ,RO,SE,CH,HU,US,GB,DK,UA,MK,BG,HR,BA,IS,RS,GI\", currency = \"PLN,CZK,RON,SEK,CHF,HUF,USD,GBP,DKK,UAH,MKD,BGN,HRK,BAM,ISK,RSD,GIP\" }\n", "debit = { country = \"PL,CZ,RO,SE,CH,HU,US,GB,DK,UA,MK,BG,HR,BA,IS,RS,GI...
[ "toml", "rs" ]
9
juspay/hyperswitch
juspay__hyperswitch-7463
Bug: feat(router):add connector field to PaymentRevenueRecoveryMetadata and update related logic Add connector field in PaymentRevenueRecoveryMetadata and make insert_execute_pcr_task function which creates and inserts a process tracker entry for executing a PCR (Payment Control & Reconciliation) workflow. It genera...
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index f9540fd08fc..c55ef483287 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -7473,6 +7473,15 @@ pub struct FeatureMetadata { pub payment_revenue_recovery_metadata: Option<PaymentRevenueRe...
2025-03-08T10:28:12Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Dependency updates - [ ] Refactoring - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Added connector field in `PaymentRevenueRecoveryMetadata` and m...
d1f53036c75771d8387a9579a544c1e2b3c17353
Testcase 1: create payment connector mca ``` curl --location 'http://localhost:8080/v2/connector-accounts' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'x-merchant-id: cloth_seller_FFzEuYGiJhp3SfL7AXoZ' \ --header 'x-profile-id: pro_upiJkbJOOOTQny6DRwAF' \ --he...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ "#[cfg(feature = \"v2\")]\n", "impl FeatureMetadata {\n", " pub fn get_retry_count(&self) -> Option<u16> {\n", " self.payment_revenue_recovery_metadata\n", " .as_ref()\n", " .ma...
[ { "file_path": "crates/diesel_models/src/process_tracker.rs", "lines": [ " retry_count: 0,\n" ] }, { "file_path": "crates/hyperswitch_domain_models/src/payments.rs", "lines": [ " pub fn set_payment_connector_transmission(\n", " &self,\n", " ...
[ "rs" ]
18
juspay/hyperswitch
juspay__hyperswitch-7413
Bug: [FEATURE] Add support for Google Pay Mandates in `Authorize.Net` At present, `Authorize.Net` connector only support normal payments via Google Pay. We need to add support for making Mandate payments via Google Pay. Just modify the `transformers.rs` and `authorizedotnet.rs` file to add support to it.
diff --git a/config/config.example.toml b/config/config.example.toml index a52f7486cf5..448d65bb6ee 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -474,9 +474,9 @@ bank_debit.bacs = { connector_list = "adyen" } bank_debit.sepa = { connector_list = "gocardless,adyen" } ...
2025-03-03T17:54:29Z
## 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 mandates support for Google Pay and Apple Pay Pa...
586adea99275df7032d276552688da6012728f3c
**Google Pay (confirm: `true`)** <details> <summary>0. Generate Token</summary> Generated with jsfiddle. A snippet from it has been attached below: ```js paymentToken = paymentData.paymentMethodData.tokenizationData.token; // Stringified payment token is passed in the request console.log("STRINGIFIED_T...
[ { "file_path": "config/config.example.toml", "lines": [ "wallet.apple_pay = { connector_list = \"stripe,adyen,cybersource,noon,bankofamerica,authorizedotnet\" }\n", "wallet.google_pay = { connector_list = \"bankofamerica,authorizedotnet\" }\n" ] }, { "file_path": "config/deployments/...
[ { "file_path": "config/config.example.toml", "lines": [ "wallet.apple_pay = { connector_list = \"stripe,adyen,cybersource,noon,bankofamerica\" }\n", "wallet.google_pay = { connector_list = \"bankofamerica\" }\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lin...
[ "toml", "rs" ]
9
juspay/hyperswitch
juspay__hyperswitch-7436
Bug: [CYPRESS] Fix lints and address code duplication - [ ] Fix lints that is resulting in checks to fail on every PRs - [ ] Reduce duplicate code in connector configs
2025-03-05T16:07:30Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> This PR is just a minor refactor of removing duplicate / redu...
6df1578922b7bdc3d0b20ef1bc0b8714f43cc4bf
CI should pass
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-7406
Bug: refactor(core): filter default routing config response based on connector type ## Description <!-- Describe your changes in detail --> We are filtering the response for payment and payout processors.
diff --git a/crates/router/src/core/routing.rs b/crates/router/src/core/routing.rs index 8d03e82a328..64207b4b5d7 100644 --- a/crates/router/src/core/routing.rs +++ b/crates/router/src/core/routing.rs @@ -1,6 +1,6 @@ pub mod helpers; pub mod transformers; -use std::collections::HashSet; +use std::collections::{HashMa...
2025-02-05T21:11:16Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> We are filtering the response for payment and payout processors...
d6e13dd0c87537e6696dd6dfc02280f825d116ab
Tested after creating JWT locally and adding 1 payment and 1 payout connector. Payment : ``` curl --location 'http://localhost:8080/routing/default/profile' \ --header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMWMyMTJhODgtOGFmYy00YjJjLWIwYWQtODY3MmQ2NTI3MzdlIiwibWVyY2hhbnRfaWQiOi...
[ { "file_path": "crates/router/src/core/routing.rs", "lines": [ "use std::collections::{HashMap, HashSet};\n", "use common_utils::id_type::MerchantConnectorAccountId;\n", "use hyperswitch_domain_models::{\n", " mandates, merchant_connector_account::MerchantConnectorAccount, payment...
[ { "file_path": "crates/router/src/core/routing.rs", "lines": [ "use std::collections::HashSet;\n", "use hyperswitch_domain_models::{mandates, payment_address};\n", " helpers::get_merchant_default_config(db, &id, transaction_type)\n", " .map(|conn_choice| {\n", " ...
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-7450
Bug: feat(analytics): add new filters, dimensions and metrics for authentication analytics Add support for filters and dimensions for authentication analytics. Create new metrics: - Authentication Error Message - Authentication Funnel
diff --git a/crates/analytics/src/auth_events.rs b/crates/analytics/src/auth_events.rs index e708c3c8830..3aa23d0793d 100644 --- a/crates/analytics/src/auth_events.rs +++ b/crates/analytics/src/auth_events.rs @@ -1,6 +1,8 @@ pub mod accumulator; mod core; +pub mod filters; pub mod metrics; +pub mod types; pub use a...
2025-03-06T14:57:01Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Added support for filters and dimensions for authentication...
957a22852522a10378fc06dd30521a3a0c530ee5
Hit the curls: #### AuthenticationErrorMessage: ```bash curl --location 'http://localhost:8080/analytics/v1/metrics/auth_events' \ --header 'Accept: */*' \ --header 'Accept-Language: en-US,en;q=0.9' \ --header 'Connection: keep-alive' \ --header 'Content-Type: application/json' \ --header 'Origin: http://loca...
[ { "file_path": "crates/analytics/src/auth_events.rs", "lines": [ "pub mod filters;\n", "pub mod types;\n", "pub use self::core::{get_filters, get_metrics};\n" ] }, { "file_path": "crates/analytics/src/auth_events/accumulator.rs", "lines": [ " pub authentication_err...
[ { "file_path": "crates/analytics/src/auth_events.rs", "lines": [ "pub use self::core::get_metrics;\n" ] }, { "file_path": "crates/analytics/src/auth_events/core.rs", "lines": [ " auth_events::{AuthEventMetrics, AuthEventMetricsBucketIdentifier, MetricsBucketResponse},\n", ...
[ "rs" ]
27
juspay/hyperswitch
juspay__hyperswitch-7452
Bug: feat(analytics): add new filters, dimensions and metrics for authentication analytics hotfix Add support for filters and dimensions for authentication analytics. Create new metrics: - Authentication Error Message - Authentication Funnel
diff --git a/crates/analytics/src/auth_events.rs b/crates/analytics/src/auth_events.rs index e708c3c8830..3aa23d0793d 100644 --- a/crates/analytics/src/auth_events.rs +++ b/crates/analytics/src/auth_events.rs @@ -1,6 +1,8 @@ pub mod accumulator; mod core; +pub mod filters; pub mod metrics; +pub mod types; pub use a...
2025-03-06T17:03:44Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Hotfix PR Original PR: [https://github.com/juspay/hyperswi...
ec0718f31edf165def85aa71e5d63711d31b4c36
[ { "file_path": "crates/analytics/src/auth_events.rs", "lines": [ "pub mod filters;\n", "pub mod types;\n", "pub use self::core::{get_filters, get_metrics};\n" ] }, { "file_path": "crates/analytics/src/auth_events/accumulator.rs", "lines": [ " pub authentication_err...
[ { "file_path": "crates/analytics/src/auth_events.rs", "lines": [ "pub use self::core::get_metrics;\n" ] }, { "file_path": "crates/analytics/src/auth_events/core.rs", "lines": [ " auth_events::{AuthEventMetrics, AuthEventMetricsBucketIdentifier, MetricsBucketResponse},\n", ...
[ "rs" ]
27
juspay/hyperswitch
juspay__hyperswitch-7447
Bug: feat(analytics): refactor and rewrite authentication related analytics hotfix Need to refactor and re-write the authentication related analytics. The table which should be queried is authentications. The existing metrics need to be modified and a few new metrics should be created to provide enhanced insights i...
diff --git a/crates/analytics/src/auth_events/accumulator.rs b/crates/analytics/src/auth_events/accumulator.rs index 2958030c8da..446ac6ac8c2 100644 --- a/crates/analytics/src/auth_events/accumulator.rs +++ b/crates/analytics/src/auth_events/accumulator.rs @@ -4,7 +4,7 @@ use super::metrics::AuthEventMetricRow; #[de...
2025-03-06T12:31:40Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Hotfix PR Original PR: [https://github.com/juspay/hyperswi...
bf0b9bb9ebd58b85f1f92bd9cb00d8f29cec5d57
[ { "file_path": "crates/analytics/src/auth_events/accumulator.rs", "lines": [ " pub authentication_count: CountAccumulator,\n", " authentication_count: self.authentication_count.collect(),\n" ] }, { "file_path": "crates/analytics/src/auth_events/core.rs", "lines": [ ...
[ { "file_path": "crates/analytics/src/auth_events/accumulator.rs", "lines": [ " pub three_ds_sdk_count: CountAccumulator,\n", " three_ds_sdk_count: self.three_ds_sdk_count.collect(),\n" ] }, { "file_path": "crates/analytics/src/auth_events/core.rs", "lines": [ ...
[ "rs" ]
18
juspay/hyperswitch
juspay__hyperswitch-7432
Bug: feat(analytics): refactor and rewrite authentication related analytics Need to refactor and re-write the authentication related analytics. The table which should be queried is `authentications`. The existing metrics need to be modified and a few new metrics should be created to provide enhanced insights into a...
diff --git a/crates/analytics/src/auth_events/accumulator.rs b/crates/analytics/src/auth_events/accumulator.rs index 2958030c8da..446ac6ac8c2 100644 --- a/crates/analytics/src/auth_events/accumulator.rs +++ b/crates/analytics/src/auth_events/accumulator.rs @@ -4,7 +4,7 @@ use super::metrics::AuthEventMetricRow; #[de...
2025-03-05T09:12:15Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [x] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Refactored and re-wrote the authentication related analytics. ...
30f321bc2001264f5197172428ecae79896ad2f5
Hit the following curls: #### Authentication Attempt Count: ```bash curl --location 'http://localhost:8080/analytics/v1/metrics/auth_events' \ --header 'Accept: */*' \ --header 'Accept-Language: en-US,en;q=0.9' \ --header 'Connection: keep-alive' \ --header 'Content-Type: application/json' \ --header 'Ori...
[ { "file_path": "crates/analytics/src/auth_events/accumulator.rs", "lines": [ " pub authentication_count: CountAccumulator,\n", " authentication_count: self.authentication_count.collect(),\n" ] }, { "file_path": "crates/analytics/src/auth_events/core.rs", "lines": [ ...
[ { "file_path": "crates/analytics/src/auth_events/accumulator.rs", "lines": [ " pub three_ds_sdk_count: CountAccumulator,\n", " three_ds_sdk_count: self.three_ds_sdk_count.collect(),\n" ] }, { "file_path": "crates/analytics/src/auth_events/core.rs", "lines": [ ...
[ "rs" ]
18
juspay/hyperswitch
juspay__hyperswitch-7407
Bug: [FEATURE]: Add `Payment Method - Delete` endpoint to payment methods session for V2 Required for Payment Methods Service
diff --git a/api-reference-v2/api-reference/payment-method-session/payment-method-session--delete-a-saved-payment-method.mdx b/api-reference-v2/api-reference/payment-method-session/payment-method-session--delete-a-saved-payment-method.mdx new file mode 100644 index 00000000000..2f9e800ebe8 --- /dev/null +++ b/api-refer...
2025-03-03T12:56:33Z
## 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 endpoint allows deleting saved payment methods for a cus...
8bf0f8df35dccc07749df380d183ed21b0bc6c8e
1. Request: ``` curl --location --request DELETE 'http://localhost:8080/v2/payment-methods-session/12345_pms_01955b8bed367ee09f81e053cde47593' \ --header 'Authorization: publishable-key=pk_dev_16fea0a9bf5447ed9f25aa835565f285,client-secret=cs_01955b8bed37771282694611c1db81e5' \ --header 'X-Profile-Id: pro_0xa...
[ { "file_path": "api-reference-v2/api-reference/payment-method-session/payment-method-session--delete-a-saved-payment-method.mdx", "lines": [ "---\n", "openapi: delete /v2/payment-method-session/:id\n", "---\n" ] }, { "file_path": "api-reference-v2/mint.json", "lines": [ ...
[ { "file_path": "api-reference-v2/mint.json", "lines": [ " \"api-reference/payment-method-session/payment-method-session--confirm-a-payment-method-session\"\n" ] }, { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"status\",\n", " \...
[ "json", "rs", "mdx" ]
11
juspay/hyperswitch
juspay__hyperswitch-7467
Bug: [FEATURE] scheme error code and messages in /payments API response ### Feature Description If the payment is declined for a card transaction, the card scheme or issuer can send a raw response explaining why. These are the raw acquirer responses which helps in understanding why a card transaction was declined. ...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index d93208fb665..081ec577185 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -7633,6 +7633,7 @@ "globepay", "gocardless", "gpayments", + "hipay", ...
2025-03-16T14:34:27Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR introduces - - Core functionality to read and store raw acquirer responses for `payment` and `re...
c39ecda79a9b1df1ccb4e469111e0dfb92a3d82c
Not possible to test raw acquirer codes in connector sandbox env. Can only be enabled and tested in production.
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"hipay\",\n", " },\n", " \"network_tokenization\": {\n", " \"allOf\": [\n", " {\n", " \"$ref\": \"#/components/schemas/NetworkTokenResponse...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"payment_method_subtype\"\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs", "lines": [ ") -> Result<PaymentsResponseData, ErrorResponse> {\n", " ...
[ "sql", "json", "rs" ]
164
juspay/hyperswitch
juspay__hyperswitch-7405
Bug: [FEATURE] display DuitNow QR code in expected color ### Feature Description DuitNow is a realtime payment method offered in Malaysia. This works using a QR code which is scanned for completing the payment transactions. Displaying the QR code has guidelines mentioned in - https://docs.developer.paynet.my/brand...
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index 59ea6e97fbb..12da310ac61 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -4406,6 +4406,8 @@ pub enum NextActionData { #[schema(value_type = String)] /// The url for Qr cod...
2025-03-04T06:02:20Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR adds functionality to - Create QR image data URI for a given hex color - Send back the border ...
9bcffa6436e6b9207b1711768737a13783a2e907
Tested locally by creating payment links and proceeding with DuitNow payment method. <details> <summary>Create a payment link (ensure DuitNow is enabled)</summary> cURL curl --location --request POST 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --hea...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ " display_text: Option<String>,\n", " border_color: Option<String>,\n", " QrColorDataUrl {\n", " color_image_data_url: Url,\n", " display_to_timestamp: Option<i64>,\n", " ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs", "lines": [ " let image_data = QrImage::new_from_data(response.txn_data.request_data.qr_data.peek().clone())\n", " .change_context(errors::ConnectorError::ResponseHandlingFailed)?;\n", " if let ...
[ "rs" ]
8
juspay/hyperswitch
juspay__hyperswitch-7392
Bug: [BUG] GooglePay for Ayden Fixed GooglePay for Ayden Fixed
diff --git a/crates/router/src/connector/adyen/transformers.rs b/crates/router/src/connector/adyen/transformers.rs index 8aba3573f68..93a43f25b8a 100644 --- a/crates/router/src/connector/adyen/transformers.rs +++ b/crates/router/src/connector/adyen/transformers.rs @@ -568,6 +568,7 @@ pub enum AdyenPaymentMethod<'a> { ...
2025-02-27T12:28:31Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> GooglePay fixed in Ayden ### Additional Changes - [ ] Th...
5965d0f8acf486909951e427b578aae8d630de13
<img width="1063" alt="Screenshot 2025-02-27 at 6 39 19 PM" src="https://github.com/user-attachments/assets/eead90cb-da62-4e5d-9ade-f8f0f2f2de19" /> ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_...
[ { "file_path": "crates/router/src/connector/adyen/transformers.rs", "lines": [ " #[serde(rename = \"googlepay\")]\n" ] } ]
[]
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-7403
Bug: [ENHANCEMENT] Payment link enhancements Payment link flows to be updated, below is a list of enhancements - **UI** - Check the existing UI on Windows based browsers, and ensure it's rendered as expected **Flows** - In case `skip_status_screen` is true, re-opening the payment link on a terminal status should r...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index cd8b8458364..4ca9f57efb3 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -12587,6 +12587,14 @@ "type": "string", "description": "The url for Qr code gi...
2025-03-04T13:52:10Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR exposes customizations for payment links. Below configs are added - - SDK UI rules - https://doc...
759474cd4866aa7a6fba055594b9a96de26681a4
Tested locally. <details> <summary>1. Add a payment link style ID</summary> cURL curl --location --request POST 'http://localhost:8080/account/merchant_1741095653/business_profile/pro_dgzCAaE0KhqCTj6cY5a7' \ --header 'Content-Type: application/json' \ --header 'api-key: test_admin' \...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"display_text\": {\n", " \"type\": \"string\",\n", " \"nullable\": true\n", " },\n", " \"border_color\": {\n", " \"type\"...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"associated_payment\": {\n", " \"$ref\": \"#/components/schemas/PaymentsResponse\"\n", " \"PaymentMethodsSessionResponse\": {\n", " \"type\": \"object\",\n", " \"requir...
[ "json", "js", "rs" ]
15
juspay/hyperswitch
juspay__hyperswitch-7391
Bug: docs:correction of content in the api-ref
2025-02-27T07:12:48Z
Corrected the tip content. ## 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 --> Corrected the content of the ti...
d945da635dfc84a2135aef456292fa54d9d5982e
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-7363
Bug: chore: resolve v2 warnings in diesel_models Resolve v2 warnings in diesel_models.
diff --git a/crates/diesel_models/src/merchant_connector_account.rs b/crates/diesel_models/src/merchant_connector_account.rs index 769a185c13c..be7f1b7ebeb 100644 --- a/crates/diesel_models/src/merchant_connector_account.rs +++ b/crates/diesel_models/src/merchant_connector_account.rs @@ -11,7 +11,7 @@ use crate::enums ...
2025-02-24T10:36: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 --> This PR resolves the v2 warnings generated in diesel_models. ...
eabef328c665cfbaf953a5eb15bd15484c62dcf7
[ { "file_path": "crates/diesel_models/src/merchant_connector_account.rs", "lines": [ "use crate::schema_v2::merchant_connector_account;\n" ] }, { "file_path": "crates/diesel_models/src/payment_attempt.rs", "lines": [ " pub fn apply_changeset(self, _source: PaymentAttempt) -> Pa...
[ { "file_path": "crates/diesel_models/src/merchant_connector_account.rs", "lines": [ "use crate::{enums, schema_v2::merchant_connector_account, types};\n" ] }, { "file_path": "crates/diesel_models/src/payment_attempt.rs", "lines": [ " pub fn apply_changeset(self, source: Paymen...
[ "rs" ]
7
juspay/hyperswitch
juspay__hyperswitch-7379
Bug: [REFACTOR] Multiple SDK queries fixed Multiple SDK queries fixed: Modified field_type text to some unique enum Corrected multiple required fields Voucher payments error billing.phone.number is required fixed Cashapp and Swish payment_experience fixed.
diff --git a/crates/api_models/src/enums.rs b/crates/api_models/src/enums.rs index 6ae46a5ede0..c2a1261508a 100644 --- a/crates/api_models/src/enums.rs +++ b/crates/api_models/src/enums.rs @@ -232,6 +232,7 @@ pub enum FieldType { UserShippingAddressPincode, UserShippingAddressState, UserShippingAddressCo...
2025-02-26T07:27:49Z
## 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 --> Multiple SDK queries fixed: 1. Modified field_type text to s...
a5f898f915a79c52fa2033f8f3f7ee043b83e5e4
Voucher payment ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_7u1WfwhlOfuf9PlZpwf54Ejwwi7d6cEBn51jXQiQXBzoQEY4C0CMB8ddkJ6ES0GZ' \ --data-raw '{ "amount": 1000, "currency": "JPY", "con...
[ { "file_path": "crates/api_models/src/enums.rs", "lines": [ " UserSocialSecurityNumber,\n" ] }, { "file_path": "crates/connector_configs/src/transformer.rs", "lines": [ " (_, PaymentMethodType::Cashapp) | (_, PaymentMethodType::Swish) => {\n", " ...
[ { "file_path": "crates/hyperswitch_domain_models/src/address.rs", "lines": [ " phone: self\n", " .phone\n", " .clone()\n", " .or(other.and_then(|other| other.phone.clone())),\n" ] }, { "file_path": "crates/router/src...
[ "toml", "rs" ]
6
juspay/hyperswitch
juspay__hyperswitch-7354
Bug: chore: resolve v2 warnings in api_models Resolve all v2 warnings in api_models crate.
diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin.rs index ae66147b104..ffbbdeb351e 100644 --- a/crates/api_models/src/admin.rs +++ b/crates/api_models/src/admin.rs @@ -14,7 +14,6 @@ use common_utils::{crypto::OptionalEncryptableName, ext_traits::ValueExt}; use masking::ExposeInterface; use ma...
2025-02-24T07:15:31Z
## 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 resolves the v2 warnings generated in api_models. ...
50cbe20ee1da0392f4f590bade9f866435356b87
[ { "file_path": "crates/api_models/src/events/payment.rs", "lines": [ "use crate::payments::{\n", " ExtendedCardInfoResponse, PaymentIdType, PaymentListFilterConstraints, PaymentListResponseV2,\n", " PaymentsApproveRequest, PaymentsCancelRequest, PaymentsCaptureRequest,\n", " ...
[ { "file_path": "crates/api_models/src/admin.rs", "lines": [ "use url;\n" ] }, { "file_path": "crates/api_models/src/events/payment.rs", "lines": [ "#[cfg(all(\n", " any(feature = \"v2\", feature = \"v1\"),\n", " not(feature = \"payment_methods_v2\")\n", ")...
[ "rs" ]
5
juspay/hyperswitch
juspay__hyperswitch-7388
Bug: feat(users): Add V2 User APIs to Support Modularity for Merchant Accounts Add v2 routes for supporting dashboard functions: - create new v2 merchant account - list v2 merchant accounts for user in org - switch to a v2 merchant account Also: - add merchant account permission for recon
diff --git a/crates/api_models/src/events/user.rs b/crates/api_models/src/events/user.rs index aab8f518abe..5e0564b4187 100644 --- a/crates/api_models/src/events/user.rs +++ b/crates/api_models/src/events/user.rs @@ -19,8 +19,9 @@ use crate::user::{ SendVerifyEmailRequest, SignUpRequest, SignUpWithMerchantIdReques...
2025-02-27T06:26:07Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> As part of the modularity effort, we are introducing user sup...
e9496007889350f78af5875566c806f79c397544
The flow looks like this: - Sign Up / Sign In through V1 merchant account --> Create Merchant Account (V1 or V2) --> List Merchant Accounts (V1 and V2)--> Switch Merchant Account (V1 and V2) ### Testing V2 Flow: Sign In to a V1 merchant account #### Create v2 Merchant Account: ```bash curl --location 'htt...
[ { "file_path": "crates/api_models/src/events/user.rs", "lines": [ " UpdateUserAuthenticationMethodRequest, UserFromEmailRequest, UserMerchantAccountResponse,\n", " UserMerchantCreate, UserOrgMerchantCreateRequest, VerifyEmailRequest,\n", " VerifyRecoveryCodeRequest, VerifyTotpRequ...
[ { "file_path": "crates/api_models/src/events/user.rs", "lines": [ " UpdateUserAuthenticationMethodRequest, UserFromEmailRequest, UserMerchantCreate,\n", " UserOrgMerchantCreateRequest, VerifyEmailRequest, VerifyRecoveryCodeRequest, VerifyTotpRequest,\n" ] }, { "file_path": "cra...
[ "rs" ]
12
juspay/hyperswitch
juspay__hyperswitch-7375
Bug: chore: address Rust 1.85.0 clippy lints Address the clippy lints occurring due to new rust version 1.85.0 See https://github.com/juspay/hyperswitch/issues/3391 for more information.
diff --git a/crates/hyperswitch_domain_models/src/customer.rs b/crates/hyperswitch_domain_models/src/customer.rs index 1497c9e3622..02c25d722c1 100644 --- a/crates/hyperswitch_domain_models/src/customer.rs +++ b/crates/hyperswitch_domain_models/src/customer.rs @@ -232,8 +232,8 @@ impl super::behaviour::Conversion for C...
2025-02-25T12:54:09Z
## Type of Change - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This PR addresses the clippy lints occurring due to new rust version 1.85.0 https://rust-lang.github.io...
6553e29e478a70e4d2f0124e5a55931377bd8123
[ { "file_path": "crates/hyperswitch_domain_models/src/customer.rs", "lines": [ " default_billing_address: self.default_billing_address,\n", " default_shipping_address: self.default_shipping_address,\n" ] }, { "file_path": "crates/hyperswitch_domain_models/src/err...
[ { "file_path": "crates/hyperswitch_domain_models/src/customer.rs", "lines": [ " default_billing_address: self.default_billing_address.map(Encryption::from),\n", " default_shipping_address: self.default_shipping_address.map(Encryption::from),\n" ] }, { "file_path...
[ "rs" ]
16
juspay/hyperswitch
juspay__hyperswitch-7338
Bug: add payment_method_type duplication check for samsung pay As we do not have a unique identifier to store when we save a wallet, we are unable to prevent payment method duplication. As a result, when a customer uses a saved wallet, we end up saving it again. During the next payment, the customer will see two but...
diff --git a/crates/common_enums/src/enums.rs b/crates/common_enums/src/enums.rs index 54514f6e05a..c286ae04d5f 100644 --- a/crates/common_enums/src/enums.rs +++ b/crates/common_enums/src/enums.rs @@ -1651,6 +1651,12 @@ pub enum PaymentMethodType { DirectCarrierBilling, } +impl PaymentMethodType { + pub fn s...
2025-02-21T09:00:17Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> As we do not have a unique identifier to store when we save a w...
de865bd13440f965c0d3ffbe44a71925978212dd
-> Create a merchant connector account with google pay or samsung pay enabled -> Enable the below config ``` curl --location 'localhost:8080/configs/' \ --header 'api-key: api-key' \ --header 'Content-Type: application/json' \ --data '{ "key": "skip_saving_wallet_at_connector_merchant_1740130285", "va...
[ { "file_path": "crates/common_enums/src/enums.rs", "lines": [ "impl PaymentMethodType {\n", " pub fn should_check_for_customer_saved_payment_method_type(self) -> bool {\n", " matches!(self, Self::ApplePay | Self::GooglePay | Self::SamsungPay)\n", " }\n", "}\n", ...
[ { "file_path": "crates/router/src/core/payments/helpers.rs", "lines": [ " } else if request.payment_method_type\n", " == Some(api_models::enums::PaymentMethodType::ApplePay)\n", " || request.payment_method_type\n", " ...
[ "rs" ]
3
juspay/hyperswitch
juspay__hyperswitch-7382
Bug: feat(core): create process tracker workflow create process tracker workflow
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index 8f14dc8d860..0c58411dbf7 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -325,7 +325,7 @@ impl PaymentsCreateIntentRequest { } // This struct is only used internally, not visible in API...
2025-01-28T06:07:28Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description - This PR ,creates a process_tracker execute workflow , to trigger a MIT Payment retry - The fir...
d945da635dfc84a2135aef456292fa54d9d5982e
> This is a v2 PR, cannot be tested , until this [PR](https://github.com/juspay/hyperswitch/pull/7215) gets merged
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ "#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]\n" ] }, { "file_path": "crates/diesel_models/src/enums.rs", "lines": [ " // Review the task\n", " Review,\n" ] }, { "file_path": "...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ "#[derive(Debug, Clone, serde::Serialize)]\n" ] }, { "file_path": "crates/hyperswitch_domain_models/src/payments/payment_intent.rs", "lines": [ " active_attempt_id: id_type::GlobalAttemptId,\n", " ...
[ "rs" ]
23
juspay/hyperswitch
juspay__hyperswitch-7328
Bug: [BUG] [DATATRANS] Add new payment status ### Bug Description For connector Datatrans new payment status need to be added: ChallengeOngoing and ChallengeRequired ### Expected Behavior ChallengeOngoing and ChallengeRequired status should be handled ### Actual Behavior ChallengeOngoing and ChallengeRequired n...
diff --git a/crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs b/crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs index 68daa3743bf..9297f783d3e 100644 --- a/crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs +++ b/crates/hyperswitch_connectors/src/connecto...
2025-02-20T15:27:59Z
## 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 --> For connector Datatrans add new payment status: ChallengeOngoin...
de865bd13440f965c0d3ffbe44a71925978212dd
Payments Create: Request: ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_pzCQPy1Bguc8j2kV8DQeqQJHIqJQJCjF5kLyDVep1qhmsjAPfl6GUbb10RId0cr8' \ --data-raw '{ "amount": 1000, "currency": "GBP"...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs", "lines": [ " pub alias: Option<String>,\n", " let mandate_reference = sync_response\n", " .card\n", " .as_ref()\n", " ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs", "lines": [ " pub alias: String,\n", " let mandate_reference =\n", " sync_response.card.as_ref().map(|card| MandateReference {\n", " ...
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-7362
Bug: chore: resolve v2 warnings in common_utils Resolve all v2 warnings in common_utils crate.
diff --git a/crates/common_utils/src/id_type/global_id.rs b/crates/common_utils/src/id_type/global_id.rs index 1e376dfe4de..bb296d7ef1a 100644 --- a/crates/common_utils/src/id_type/global_id.rs +++ b/crates/common_utils/src/id_type/global_id.rs @@ -134,7 +134,7 @@ impl GlobalId { ) -> Result<Self, GlobalIdError> {...
2025-02-24T09:50:06Z
## 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 resolves the v2 warnings generated in common_utils. ...
eabef328c665cfbaf953a5eb15bd15484c62dcf7
Tested sanity of common_utils on both v1 and v2
[ { "file_path": "crates/common_utils/src/id_type/global_id.rs", "lines": [ " let (cell_id, _remaining) = input_string\n" ] }, { "file_path": "crates/common_utils/src/id_type/global_id/customer.rs", "lines": [ "use crate::errors;\n", " type Error = error_stack::Repo...
[ { "file_path": "crates/common_utils/src/id_type/global_id.rs", "lines": [ " let (cell_id, remaining) = input_string\n" ] }, { "file_path": "crates/common_utils/src/id_type/global_id/customer.rs", "lines": [ "use error_stack::ResultExt;\n", "\n", "use crate::{er...
[ "rs" ]
4
juspay/hyperswitch
juspay__hyperswitch-7323
Bug: docs: API-ref revamp for better user experience API-ref revamp for better user experience
2025-02-20T09:28:47Z
## 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 --> We have changes the Intro page of the API-ref to make it more...
74bbf4bf271d45e61e594857707250c95a86f43f
<img width="1140" alt="Screenshot 2025-02-20 at 5 55 09 PM" src="https://github.com/user-attachments/assets/9e979280-e081-48a0-b60e-33135d2461ec" /> <img width="1153" alt="Screenshot 2025-02-20 at 5 56 20 PM" src="https://github.com/user-attachments/assets/52f6adb1-3d5d-4ba7-99c9-3fdbadb2d4d4" />
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-7316
Bug: Integrate EFT into Hyperswitch SDK ## Description EFT is a bank redirect payment method. This issue involves adding EFT as a payment method in the Hyperswitch SDK. ## Implementation Steps - **`PaymentDetails.res`** Define EFT as a payment method by specifying its type, icon, and display name. - **`PaymentMet...
diff --git a/connector-template/mod.rs b/connector-template/mod.rs index 80330a97429..75f2f02c027 100644 --- a/connector-template/mod.rs +++ b/connector-template/mod.rs @@ -1,7 +1,6 @@ mod transformers; use std::fmt::Debug; -use common_utils::errors::ReportSwitchExt; use error_stack::{ResultExt, IntoReport}; us...
2023-04-18T16:43:29Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates ## Description <!-- Describe your changes in detail --> When `add_connector.sh` is called to generate new connector files `mod.rs` had an unused declarat...
9c9c52f9af74ebc7e835a5750dd05967b39a0ade
[ { "file_path": "connector-template/transformers.rs", "lines": [ " complete: item.request.is_auto_capture()?,\n" ] } ]
[ { "file_path": "connector-template/mod.rs", "lines": [ "use common_utils::errors::ReportSwitchExt;\n" ] }, { "file_path": "connector-template/transformers.rs", "lines": [ " complete: item.request.is_auto_capture(),\n" ] } ]
[ "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-7318
Bug: [V2]: Return connector specific customer reference ID in `CustomerResponse` Required for tokenization flows in some connectors
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index d93208fb665..67725d8c644 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -8833,6 +8833,11 @@ "maxLength": 64, "minLength": 1 }, + "connecto...
2025-02-19T12:31:39Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Add a field `connector_customer` to `CustomerResponse` that con...
ba3ad87e06d63910d78fdb217db47064b4d926be
- Request: ``` curl --location 'http://localhost:8080/v2/customers/12345_cus_01951dbc16d57d03ac193a7e297d4899' \ --header 'x-profile-id: pro_Vb32qOaqvkJClXH7aNWK' \ --header 'Authorization: api-key=dev_f4mNrhkUeCtLcsqUaG1fpzHpqTCnPdJMBSPNZAP2nWwwr7FRYtbj1RUdWBPKBKZ0' \ --header 'api-key: dev_f4mNrhkUeCtLcsqU...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"connector_customer_ids\": {\n", " \"type\": \"object\",\n", " \"description\": \"Connector specific customer reference ids\",\n", " \"nullable\": true\n", " },...
[ { "file_path": "crates/api_models/Cargo.toml", "lines": [ "v2 = [\"common_utils/v2\", \"customer_v2\"]\n" ] }, { "file_path": "crates/diesel_models/src/customers.rs", "lines": [ " pub connector_customer: Option<ConnectorCustomerMap>,\n", " pub connector_customer: Opti...
[ "toml", "json", "rs" ]
8
juspay/hyperswitch
juspay__hyperswitch-7346
Bug: FEAT[CONNECTOR]: Add feature_matrix support for coinbase, iatapay, nexixpay and square connectors add feature matrix endpoint to 4 more connectors: - coinbase - nexixpay - iatapay - square and also update the pm filters list for these 4 connectors scripts: ```check.sh #!/bin/bash # The lengthy string fet...
diff --git a/config/config.example.toml b/config/config.example.toml index 3457d330c9a..410b8dbe037 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -579,8 +579,25 @@ debit = { currency = "USD" } klarna = { country = "AU,AT,BE,CA,CZ,DK,FI,FR,DE,GR,IE,IT,NL,NZ,NO,PL,PT,ES,SE,CH,GB,US", curren...
2025-02-21T09:22: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 --> this pr introduces feature_matrix api to 4 more connectors an...
9f334c1ebcf0e8ee15ae2af608fb8f27fab2a6b2
tested by making a request to the feature matrix endpoint: request: ```curl curl --location 'http://Localhost:8080/feature_matrix' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' ``` response: ```json { "connector_count": 7, "connectors": [ { ...
[ { "file_path": "config/config.example.toml", "lines": [ "credit = { country = \"PL,CZ,RO,SE,CH,HU,US,GB,DK,UA,MK,BG,HR,BA,IS,RS,GI\", currency = \"PLN,CZK,RON,SEK,CHF,HUF,USD,GBP,DKK,UAH,MKD,BGN,HRK,BAM,ISK,RSD,GIP\" }\n", "debit = { country = \"PL,CZ,RO,SE,CH,HU,US,GB,DK,UA,MK,BG,HR,BA,IS,RS,GI...
[ { "file_path": "config/config.example.toml", "lines": [ "credit = { country = \"AT,BE,CY,EE,FI,FR,DE,GR,IE,IT,LV,LT,LU,MT,NL,PT,SK,SI,ES,BG,HR,DK,GB,NO,PL,CZ,RO,SE,CH,HU\", currency = \"ARS,AUD,BHD,CAD,CLP,CNY,COP,HRK,CZK,DKK,HKD,HUF,INR,JPY,KZT,JOD,KRW,KWD,MYR,MXN,NGN,NOK,PHP,QAR,RUB,SAR,SGD,VND,ZAR,...
[ "toml", "rs" ]
11
juspay/hyperswitch
juspay__hyperswitch-7315
Bug: Implement the PaymentAuthorize, PaymentSync, Refund and RefundSync flows for Paystack Follow the steps outlined in the `add_connector.md` file. Implement the PaymentAuthorize, PaymentSync, Refund, RefundSync, and Webhooks flows for Paystack connector. Connector doc (Paystack): https://paystack.com/docs/paymen...
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml index b63c4eea2a1..1faac62d6c6 100644 --- a/crates/connector_configs/toml/development.toml +++ b/crates/connector_configs/toml/development.toml @@ -2846,6 +2846,14 @@ client_id="Client ID" api_key="Client Secre...
2025-03-06T08:07: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 --> Paystack EFT flow (Payments, PSync, Refunds, RSync, Webhooks). ...
13a274909962872f1d663d082af33fc44205d419
1. Merchant Account Create: ``` curl --location 'http://localhost:8080/accounts' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: test_admin' \ --data-raw '{ "merchant_id": "merchant_1739960795", "locker_id": "m0010", "merchant_name": "NewAge Retail...
[ { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ "[paystack]\n", "[[paystack.bank_redirect]]\n", " payment_method_type = \"eft\"\n", "[paystack.connector_auth.HeaderKey]\n", "api_key=\"API Key\"\n", "[paystack.connector_webhook_details]\n", ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/paystack.rs", "lines": [ " ext_traits::BytesExt,\n", " types::{AmountConvertor, StringMinorUnit, StringMinorUnitForConnector},\n", "use error_stack::{report, ResultExt};\n", " amount_converter: &'static (dyn Amount...
[ "toml", "rs" ]
5
juspay/hyperswitch
juspay__hyperswitch-7306
Bug: [CYPRESS] Fiuu Connector Configuration and Payment Processing Issues The FIUU Connector is not functioning as expected. ### Expected Behavior: - The Fiuu Connector should be configurable without errors. - Test Cases should pass successfully through the Fiuu Payment Connector. ### Actual Behavior: - Er...
2025-02-18T12:33:02Z
## Type of Change - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> The FIUU Connector was not functioning as expected. ## Key Changes - Added fiuu connector configs for ...
c0c08d05ef04d914e07d49f163e43bdddf5c885b
Initial Condition <img width="710" alt="image" src="https://github.com/user-attachments/assets/976bb14e-c200-4d34-a61d-a8ab46115824" /> Current Condition <img width="710" alt="image" src="https://github.com/user-attachments/assets/3f01b9c3-3de1-468a-b022-2733d1c03c0b" />
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-7321
Bug: add support to collect customer address details form Samsung Pay based on business profile config and connector required fields add support to collect customer address details form Samsung Pay based on business profile config and connector required fields
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index c91810a9902..5616da620bd 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -19766,7 +19766,9 @@ "merchant", "amount", "protocol", - "allowed_bran...
2025-02-19T13:28:35Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pull request includes changes to enhance the handling of b...
f3ca2009c1902094a72b8bf43e89b406e44ecfd4
-> Create a merchant connector account with the samsung pay enabled for it -> Create a payment with confirm false ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: api-key' \ --data-raw '{ "amount": 6...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"allowed_brands\",\n", " \"billing_address_required\",\n", " \"shipping_address_required\"\n", " },\n", " \"billing_address_required\": {\n", " \"typ...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"allowed_brands\"\n" ] }, { "file_path": "crates/router/src/core/payments/flows/session_flow.rs", "lines": [ " let always_collect_billing_details_from_wallet_connector = business_profile\n", ...
[ "json", "rs" ]
3
juspay/hyperswitch
juspay__hyperswitch-7313
Bug: Integrate EFT as a Payment Method in Hyperswitch Electronic Fund Transfer is a redirection flow, that falls under Bank Redirect in Hyperswitch. We have to add EFT as a payment method. - Add EFT under `BankRedirectData` enum in `crates/api_models/src/payments.rs` which has a structure: ``` Eft { /// The...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index bef1bcdeb55..4f801c2dd0c 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -5578,6 +5578,27 @@ "type": "object" } } + }, + {...
2025-02-18T19:46:27Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD Active Issue: https://github.com/juspay/hyperswitch/issues/7313 ## Description <!-- Describe your changes in detail --> ...
30f321bc2001264f5197172428ecae79896ad2f5
EFT is a new payment payment method and there is no connector to test that. Paystack is the only connector with EFT.
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " },\n", " {\n", " \"type\": \"object\",\n", " \"required\": [\n", " \"eft\"\n", " ],\n", " \"properties\": {\n", " ...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ " | Self::Blik { .. } => None,\n" ] } ]
[ "json", "rs" ]
30
juspay/hyperswitch
juspay__hyperswitch-7299
Bug: add Samsung pay mandate support for Cybersource add Samsung pay mandate support for Cybersource
diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml index b7b57690474..f9b9fb1b414 100644 --- a/crates/connector_configs/toml/sandbox.toml +++ b/crates/connector_configs/toml/sandbox.toml @@ -1215,6 +1215,8 @@ merchant_secret="Source verification key" payment_method_t...
2025-02-18T12:45:16Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pr adds Samsung pay mandate support for Cybersource and en...
d6e13dd0c87537e6696dd6dfc02280f825d116ab
-> Create a Cybersource connector with Samsung pay enabled for it -> Make a samsung pay off_session payment with amount set to zero. Payment will be in failed status with `"error_message": "SERVER_ERROR"`. This is expected, we need to get off_session payments enabled for our cybersource account. ``` curl --loc...
[ { "file_path": "crates/connector_configs/toml/sandbox.toml", "lines": [ "[[cybersource.wallet]]\n", " payment_method_type = \"samsung_pay\"\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connectors/cybersource.rs", "lines": [ " PaymentMethodDataType::...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs", "lines": [ " | WalletData::SamsungPay(_)\n", " let samsung_pay_fluid_data_value =\n", " get_samsung_pay_fluid_data_value(&samsung_pay_data.payment_credential.token_da...
[ "toml", "rs" ]
4
juspay/hyperswitch
juspay__hyperswitch-7314
Bug: Generating the Template Code for Paystack using add_connector script Follow the steps outlined in the [add_connector.md](https://github.com/juspay/hyperswitch/blob/main/add_connector.md) file. Execute the script provided in the markdown file with Connector name(eg: Paystack) and Connector base url. This will ad...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index f81eca420a0..93e95761d09 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -7433,6 +7433,7 @@ "payme", "payone", "paypal", + "paystack", ...
2025-02-17T11:23:37Z
## 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 --> Paystack template PR. Follow the steps outlined in the add_c...
5e7e0d829a7deeed6b50af9633f6d2307b51c4bd
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"paystack\",\n", " \"paystack\",\n" ] }, { "file_path": "config/config.example.toml", "lines": [ "paystack.base_url = \"https://api.paystack.co\"\n", " \"paystack\",\n" ] }, ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors.rs", "lines": [ " paybox::Paybox, payeezy::Payeezy, payu::Payu, placetopay::Placetopay, powertranz::Powertranz,\n", " prophetpay::Prophetpay, rapyd::Rapyd, razorpay::Razorpay, redsys::Redsys, shift4::Shift4,\n", " square...
[ "sh", "toml", "json", "rs" ]
27
juspay/hyperswitch
juspay__hyperswitch-7292
Bug: South African EFT Payment Method Integration via Paystack ### Feature Description This issue tracks the implementation of EFT (Electronic Funds Transfer) as a payment method in Hyperswitch system. The feature involves generating the necessary template code, integrating EFT as a supported payment method, and co...
diff --git a/connector-template/mod.rs b/connector-template/mod.rs index 80330a97429..75f2f02c027 100644 --- a/connector-template/mod.rs +++ b/connector-template/mod.rs @@ -1,7 +1,6 @@ mod transformers; use std::fmt::Debug; -use common_utils::errors::ReportSwitchExt; use error_stack::{ResultExt, IntoReport}; us...
2023-04-18T16:43:29Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates ## Description <!-- Describe your changes in detail --> When `add_connector.sh` is called to generate new connector files `mod.rs` had an unused declarat...
9c9c52f9af74ebc7e835a5750dd05967b39a0ade
[ { "file_path": "connector-template/transformers.rs", "lines": [ " complete: item.request.is_auto_capture()?,\n" ] } ]
[ { "file_path": "connector-template/mod.rs", "lines": [ "use common_utils::errors::ReportSwitchExt;\n" ] }, { "file_path": "connector-template/transformers.rs", "lines": [ " complete: item.request.is_auto_capture(),\n" ] } ]
[ "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-7294
Bug: [MASKING] add peek_mut function in PeekInterface
diff --git a/crates/masking/src/abs.rs b/crates/masking/src/abs.rs index 6501f89c9db..8996db65f23 100644 --- a/crates/masking/src/abs.rs +++ b/crates/masking/src/abs.rs @@ -6,6 +6,9 @@ use crate::Secret; pub trait PeekInterface<S> { /// Only method providing access to the secret value. fn peek(&self) -> &S; ...
2025-02-17T09:29:37Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Enhancement ## Description <!-- Describe your changes in detail --> Add `peek_mut` function to PeekInterface to get mutable reference for the inner data. ## Motivation and Context <!-- Why is this change required? What problem does it solve...
3607b30c26cc24341bf88f8ce9968e094fb7a60a
** THIS CANNOT BE TESTED IN ENVIRONMENTS **
[ { "file_path": "crates/masking/src/abs.rs", "lines": [ "\n", " /// Provide a mutable reference to the inner value.\n", " fn peek_mut(&mut self) -> &mut S;\n" ] }, { "file_path": "crates/masking/src/bytes.rs", "lines": [ "\n", " fn peek_mut(&mut self) ->...
[]
[ "rs" ]
4
juspay/hyperswitch
juspay__hyperswitch-7289
Bug: [BUG] Fix contract updation for Contract routing ### Feature Description We need to update the contract once it is not found in the dynamic routing service. ### Possible Implementation The updation happening in the post-update tracker does not work when the payment goes through a different connector. Need t...
diff --git a/crates/external_services/src/grpc_client/dynamic_routing.rs b/crates/external_services/src/grpc_client/dynamic_routing.rs index e34f721b30e..67069b9fe8b 100644 --- a/crates/external_services/src/grpc_client/dynamic_routing.rs +++ b/crates/external_services/src/grpc_client/dynamic_routing.rs @@ -32,9 +32,12...
2025-02-14T15:17:21Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Fixed the contract updation when contract is not set in dynamo....
0688972814cf03edbff4bf125a59c338a7e49593
Same as https://github.com/juspay/hyperswitch/pull/6761 New error log - ![image](https://github.com/user-attachments/assets/26b7f7c0-ac06-4d8c-9996-d08f4c5b74fb)
[ { "file_path": "crates/external_services/src/grpc_client/dynamic_routing.rs", "lines": [ " /// Generic Error from Dynamic Routing Server while performing contract based routing\n", " /// Generic Error from Dynamic Routing Server while performing contract based routing\n", " #[erro...
[ { "file_path": "crates/external_services/src/grpc_client/dynamic_routing.rs", "lines": [ " /// Error from Dynamic Routing Server while performing contract based routing\n" ] }, { "file_path": "crates/external_services/src/grpc_client/dynamic_routing/contract_routing_client.rs", "lin...
[ "rs" ]
5
juspay/hyperswitch
juspay__hyperswitch-7268
Bug: [BUG] NMI cypress failing ### Bug Description Cypress test for NMi failing due to this `[PR](https://github.com/juspay/hyperswitch/pull/7200)` ### Expected Behavior Cypress test should run perfectly for NMI ### Actual Behavior Cypress test for NMi failing due to this `[PR](https://github.com/juspay/hypersw...
2025-02-14T08:20:34Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD Fixes this issue - github.com/juspay/hyperswitch/issues/7268 ## Description <!-- Describe your changes in detail --> ...
3916ba6e3d4707b3a1f28439a314e6ea098597f2
Cypress Test <img width="767" alt="Screenshot 2025-02-14 at 13 45 56" src="https://github.com/user-attachments/assets/58733baf-303d-45a0-8eb9-c9d93cf0335d" /> <img width="795" alt="Screenshot 2025-02-14 at 15 56 41" src="https://github.com/user-attachments/assets/6406627d-a05d-4c1b-bfb1-c7bf6454b4ad" />
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-7279
Bug: [BUG] Analytics giving 5xx on forex crate returning no data ### Bug Description Forex return error because there is no data in redis which is present for the currency exchange rate ### Expected Behavior Forex create should always return data when queried for exchange rates ### Actual Behavior Analytics API...
diff --git a/crates/router/src/consts.rs b/crates/router/src/consts.rs index 0fce7048e69..d6872bcf06c 100644 --- a/crates/router/src/consts.rs +++ b/crates/router/src/consts.rs @@ -229,3 +229,6 @@ pub(crate) const PROTOCOL: &str = "ECv2"; /// Sender ID for Google Pay Decryption pub(crate) const SENDER_ID: &[u8] = b...
2025-02-17T09:09:50Z
## 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 --> Implementing a retry logic for forex crate call with linear tim...
10371af561ecc7536bb1db191af90a3cac2ab515
As soon as you hit the API of analytics `curl --location 'http://localhost:8080/analytics/v1/org/metrics/payments' \ --header 'Accept: */*' \ --header 'Accept-Language: en-US,en;q=0.9' \ --header 'Connection: keep-alive' \ --header 'Content-Type: application/json' \ --header 'authorization: Bearer token \ ...
[ { "file_path": "crates/router/src/consts.rs", "lines": [ "\n", "/// Default value for the number of attempts to retry fetching forex rates\n", "pub const DEFAULT_ANALYTICS_FOREX_RETRY_ATTEMPTS: u64 = 3;\n" ] }, { "file_path": "crates/router/src/core/currency.rs", "lines": [...
[ { "file_path": "crates/router/src/core/currency.rs", "lines": [ " utils::currency::{self, convert_currency, get_forex_rates},\n", " let rates = get_forex_rates(&state, forex_api.data_expiration_delay_in_seconds)\n", " .await\n", " .change_context(AnalyticsError::F...
[ "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-7283
Bug: feat(connector): add template code for recurly add a template code for recurly connector
diff --git a/config/config.example.toml b/config/config.example.toml index 9e54c7e8c88..453e1161284 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -255,6 +255,7 @@ powertranz.base_url = "https://staging.ptranz.com/api/" prophetpay.base_url = "https://ccm-thirdparty.cps.golf/" rapyd.base_u...
2025-02-17T11:09:07Z
## 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 --> connector integration template code for recurly. Issue: This...
8e922d30da367bc0baf3cba64a86c385764fff39
No testing required since its a template code
[ { "file_path": "config/config.example.toml", "lines": [ "recurly.base_url = \"https://{{merchant_subdomain_name}}.recurly.com\"\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "recurly.base_url = \"https://{{merchant_subdomain_name}}.recurly.com\"\n"...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors.rs", "lines": [ " redsys::Redsys, shift4::Shift4, square::Square, stax::Stax, stripebilling::Stripebilling,\n", " taxjar::Taxjar, thunes::Thunes, trustpay::Trustpay, tsys::Tsys,\n" ] }, { "file_path": "crates/router/s...
[ "sh", "toml", "rs" ]
24
juspay/hyperswitch
juspay__hyperswitch-7265
Bug: Add trait based implementation for relay Refactor the relay flow to add trait based implication for it
diff --git a/crates/api_models/src/relay.rs b/crates/api_models/src/relay.rs index f54e1471632..aded73b4345 100644 --- a/crates/api_models/src/relay.rs +++ b/crates/api_models/src/relay.rs @@ -24,11 +24,11 @@ pub struct RelayRequest { #[serde(rename_all = "snake_case")] pub enum RelayData { /// The data that is ...
2025-02-13T11:05: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 refactors the relay flow to add trait based implementat...
eea4d6ff8d93cee031670e147343861335884229
-> Make a relay payment ``` curl --location 'http://localhost:8080/relay' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_Zv50p4TBhOIRJFnynXL7' \ --header 'api-key: <api-key>' \ --data '{ "connector_id": "mca_5dVmrsd0IwgQAsu3uiUo", "connector_resource_id": "pi_3Qs0CqEOqOywnAI...
[ { "file_path": "crates/api_models/src/relay.rs", "lines": [ " Refund(RelayRefundRequestData),\n", "pub struct RelayRefundRequestData {\n" ] }, { "file_path": "crates/hyperswitch_domain_models/src/merchant_connector_account.rs", "lines": [ "\n", " pub fn get_conn...
[ { "file_path": "crates/api_models/src/relay.rs", "lines": [ " Refund(RelayRefundRequest),\n", "pub struct RelayRefundRequest {\n" ] }, { "file_path": "crates/hyperswitch_domain_models/src/relay.rs", "lines": [ " api_models::relay::RelayData::Refund(api_mod...
[ "rs" ]
6
juspay/hyperswitch
juspay__hyperswitch-7250
Bug: [BUG] zero amount mandates for wallets through Novalnet ### Bug Description Zero amount mandates for wallets through Novalnet throws errors saying some required fields are missing. This is needed to be fixed in the connector integration. ### Expected Behavior Zero amount mandates for wallets (GPay + PayPal +...
diff --git a/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs b/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs index ba00162281f..44f84bf475d 100644 --- a/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/...
2025-02-12T09:46:32Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR updates connector integration for SetupMandate flow for Novalnet. ### Additional Changes ...
fa09db1534884037947c6d488e33a3ce600c2a0c
<details> <summary>1. Zero amount mandate through GPay (CIT)</summary> cURL (create a payment link) curl --location --request POST 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_Z6hI0px...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs", "lines": [ " self, AddressData, AddressDetailsData, ApplePay, PaymentsAuthorizeRequestData,\n", " let req_address = item.get_optional_billing();\n", " let email = item.get_billing_e...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs", "lines": [ " self, AddressDetailsData, ApplePay, PaymentsAuthorizeRequestData,\n", " let req_address = item.get_billing_address()?.to_owned();\n", " first_name: req_address.get_...
[ "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-7255
Bug: [FEATURE] [GETNET] Implement Card Flows Getnet Card Implementation
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index d93208fb665..53af0100c4f 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -7629,6 +7629,7 @@ "fiservemea", "fiuu", "forte", + "getnet", ...
2025-02-12T19:48:53Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Added `no-3ds cards` flow for new connector `Getnet` ### A...
cb256dcdac0533af51a6c77eef0039121a8ee110
1) No-3DS AutoCapture <img width="1725" alt="Screenshot 2025-02-17 at 9 29 29 PM" src="https://github.com/user-attachments/assets/5041b6b8-53c6-48e3-9c8e-587e3ffdbee1" /> 2) 3DS AutoCapture <img width="1728" alt="Screenshot 2025-02-17 at 9 30 03 PM" src="https://github.com/user-attachments/assets/ade93c4c-246f-4...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"getnet\",\n", " {\n", " \"type\": \"string\",\n", " \"enum\": [\n", " \"user_card_network\"\n", " ]\n", " },\n", " ...
[ { "file_path": "crates/common_enums/src/connector_enums.rs", "lines": [ " // Getnet,\n", " // Getnet,\n", " // | Self::Getnet\n" ] }, { "file_path": "crates/connector_configs/src/connector.rs", "lines": [ " // pub getnet: Option<ConnectorTomlConfig...
[ "toml", "json", "rs" ]
22
juspay/hyperswitch
juspay__hyperswitch-7240
Bug: [FEATURE]: Add `customer_list_saved_payment_methods` to OLAP (v2) Needed for the dashboard
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index ba795d40594..cd076aa0d5b 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -2498,6 +2498,47 @@ ] } }, + "/v2/customers/{id}/saved-payment-methods": { + "delet...
2025-02-11T07:39:41Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Add `customer_list_saved_payment_methods` to OLAP and allow JWT...
b38a958a9218df2ae4b10c38ca81f4e862ebde3d
- Request ```bash curl --location 'http://localhost:8080/v2/customers/12345_cus_0195187353c47d438edd6044cadb0969/saved-payment-methods' \ --header 'api-key: dev_Z0aXn9A50mSviMWnWLC02YHDhCxoLdKawgHzVMRwErbyyYQ5O4XvqjNYMQoCCaT1' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_9glqJzp3eR...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"/v2/customers/{id}/saved-payment-methods\": {\n", " \"delete\": {\n", " \"tags\": [\n", " \"Payment Methods\"\n", " ],\n", " \"summary\": \"Payment Method - List Cust...
[ { "file_path": "crates/router/src/core/payment_methods.rs", "lines": [ "#[cfg(all(\n", " feature = \"v2\",\n", " feature = \"payment_methods_v2\",\n", " feature = \"customer_v2\"\n", "))]\n" ] } ]
[ "json", "rs" ]
6
juspay/hyperswitch
juspay__hyperswitch-7224
Bug: [BUG] Fix just run_v2 ### Feature Description A trait in Dynamic Routing wasn't feature gated, which led to the command `just run_v2` not working. This is to be fixed ### Possible Implementation Just have to feature gate the trait ### Have you spent some time checking if this feature request has been rais...
diff --git a/crates/router/src/core/routing/helpers.rs b/crates/router/src/core/routing/helpers.rs index a08f80354bf..6a21dddc066 100644 --- a/crates/router/src/core/routing/helpers.rs +++ b/crates/router/src/core/routing/helpers.rs @@ -2,9 +2,11 @@ //! //! Functions that are used to perform the retrieval of merchant...
2025-02-08T07:19:30Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> The command `just run_v2` errored out due to missing feature fl...
90ea0764aeb8524cac88031e1e887966a5c4fa76
v2 server should run
[ { "file_path": "crates/router/src/core/routing/helpers.rs", "lines": [ "use std::fmt::Debug;\n", "#[cfg(all(feature = \"dynamic_routing\", feature = \"v1\"))]\n", "use std::sync::Arc;\n", "#[cfg(all(feature = \"dynamic_routing\", feature = \"v1\"))]\n", "#[cfg(all(feature = \"d...
[ { "file_path": "crates/router/src/core/routing/helpers.rs", "lines": [ "use std::{fmt::Debug, sync::Arc};\n", "#[cfg(feature = \"v1\")]\n", "#[cfg(feature = \"v1\")]\n", "#[cfg(any(feature = \"dynamic_routing\", feature = \"v1\"))]\n", "use storage_impl::redis::cache::{self, Ca...
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-7222
Bug: [BUG] Void Reason accepted as string for Nmi ### Bug Description We were accepting void_reason as string, but since Nmi accepts specific values for void_reason. ### Expected Behavior Enum should be created for void_reason. ### Actual Behavior If cancellation_request is passed as any random string, the req...
diff --git a/crates/router/src/connector/nmi/transformers.rs b/crates/router/src/connector/nmi/transformers.rs index 1e8b745107d..d6f1cb1962f 100644 --- a/crates/router/src/connector/nmi/transformers.rs +++ b/crates/router/src/connector/nmi/transformers.rs @@ -783,19 +783,43 @@ pub struct NmiCancelRequest { pub tr...
2025-02-07T13:30:40Z
## 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 accepting void_reason as string, but sinc...
9f334c1ebcf0e8ee15ae2af608fb8f27fab2a6b2
**Postman Tests** **1. Create Payment** -Request ``` curl --location 'localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_XtFublrRhWIHc7iuKjgQtABwUOjTGaEujjdXNQLUs8cI4xaPZiS4YOAO6gMjQ8fK' \ --data-raw '{ "amount": 300...
[ { "file_path": "crates/router/src/connector/nmi/transformers.rs", "lines": [ " pub void_reason: NmiVoidReason,\n", "}\n", "\n", "#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]\n", "#[serde(rename_all = \"snake_case\")]\n", "pub enum NmiVoidReason {\n", ...
[ { "file_path": "crates/router/src/connector/nmi/transformers.rs", "lines": [ " pub void_reason: Option<String>,\n", " Ok(Self {\n", " transaction_type: TransactionType::Void,\n", " security_key: auth.api_key,\n", " transactionid: item....
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-7217
Bug: feat(core): add api for hypersense integration # Hypersense ### Description: #### An AI Ops tool build for Payments Cost Observability - Monitor your overall transaction payment-related costs across multiple regions, PSPs, and businesses. - Obtain actionable insights to optimise costs, track cost deviations, a...
diff --git a/crates/api_models/src/events.rs b/crates/api_models/src/events.rs index 2124ff1aff9..9a2a0ca8396 100644 --- a/crates/api_models/src/events.rs +++ b/crates/api_models/src/events.rs @@ -2,6 +2,7 @@ pub mod apple_pay_certificates_migration; pub mod connector_onboarding; pub mod customer; pub mod dispute; +...
2025-02-07T11:38:25Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> #### Endpoints - GET `hypersense/token` (returns hypersense to...
90ea0764aeb8524cac88031e1e887966a5c4fa76
1. get the hypersense_token from the response by hitting this curl. ```sh curl --location '<BASE_URL>/hypersense/token' \ --header 'Authorization: Bearer <TOKEN>' ``` 2. using the token obtained above try hitting this to verify. ```sh curl --location '<BASE_URL>/hypersense/verify_token' \ --header 'Content-Ty...
[ { "file_path": "crates/api_models/src/events.rs", "lines": [ "pub mod external_service_auth;\n" ] }, { "file_path": "crates/api_models/src/events/external_service_auth.rs", "lines": [ "use common_utils::events::{ApiEventMetric, ApiEventsType};\n", "\n", "use crate::ex...
[ { "file_path": "crates/router/src/routes.rs", "lines": [ " Customers, Disputes, EphemeralKey, FeatureMatrix, Files, Forex, Gsm, Health, Mandates,\n", " MerchantAccount, MerchantConnectorAccount, PaymentLink, PaymentMethods, Payments, Poll,\n", " Profile, ProfileNew, Refunds, Relay...
[ "rs" ]
14
juspay/hyperswitch
juspay__hyperswitch-7198
Bug: [BUG] Incorrect mapping of attempt status in NMI connector ### Bug Description When the payment status is `processing`, the backend was returning an incorrect error message. The message incorrectly stated that the issue was with the capture method, whereas it should indicate that the payment status is `proc...
diff --git a/crates/router/src/connector/nmi/transformers.rs b/crates/router/src/connector/nmi/transformers.rs index 19f03cb1b2c..473901f007d 100644 --- a/crates/router/src/connector/nmi/transformers.rs +++ b/crates/router/src/connector/nmi/transformers.rs @@ -910,7 +910,7 @@ impl TryFrom<types::PaymentsResponseRouterD...
2025-02-05T21:11:50Z
## 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 --> After making a `capture` call following the `Payments-Create`...
3da637e6960f73a3a69aef98b9de2e6de01fcb5e
Postman Test 1. Payments Connector - Create (NMI) Request - ``` curl --location 'http://localhost:8080/account/:merchant_id/connectors' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: {{api-key}}' \ --data '{ "connector_type": "payment_process...
[ { "file_path": "crates/router/src/connector/nmi/transformers.rs", "lines": [ " enums::AttemptStatus::Authorized\n" ] } ]
[ { "file_path": "crates/router/src/connector/nmi/transformers.rs", "lines": [ " enums::AttemptStatus::Authorizing\n" ] } ]
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-7212
Bug: feat(connector): add template code for stripebilling add a template code for stripe billing connector
diff --git a/config/config.example.toml b/config/config.example.toml index 641c06b366e..b653b099733 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -263,6 +263,7 @@ square.base_url = "https://connect.squareupsandbox.com/" square.secondary_base_url = "https://pci-connect.squareupsandbox.com/...
2025-02-09T07:26:58Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description connector integration template code for stripe billing. Issue: This PR closes the issue #7212 ##...
cdfbb82ffa893d65d1707d6795f07c0a71e8d0a9
No testing required since its a template code
[ { "file_path": "config/config.example.toml", "lines": [ "stripebilling.base_url = \"https://api.stripe.com/\"\n", " \"stripebilling\",\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "stripebilling.base_url = \"https://api.stripe.com/\"\n" ...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors.rs", "lines": [ " redsys::Redsys, shift4::Shift4, square::Square, stax::Stax, taxjar::Taxjar, thunes::Thunes,\n", " tsys::Tsys, unified_authentication_service::UnifiedAuthenticationService, volt::Volt,\n" ] }, { "file...
[ "sh", "toml", "rs" ]
24
juspay/hyperswitch
juspay__hyperswitch-7186
Bug: Update openssl dependency Update openssl dependency from `version = "0.10.66"` to `version = "0.10.70"`
diff --git a/Cargo.lock b/Cargo.lock index 7583fb2eeee..8a637917c61 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5336,9 +5336,9 @@ dependencies = [ [[package]] name = "openssl" -version = "0.10.66" +version = "0.10.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9529f4786b70a3e8c6...
2025-02-04T14:16:22Z
## 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 --> Update openssl dependency from `version = "0.10.66"` to `versio...
e2ddcc26b84e4ddcd69005080e19d211b1604827
Verified by code compilation
[ { "file_path": "Cargo.lock", "lines": [ "version = \"0.10.70\"\n", "checksum = \"61cfb4e166a8bb8c9b55c500bc2308550148ece889be90f609377e58140f42c6\"\n", "version = \"0.9.105\"\n", "checksum = \"8b22d5b84be05a8d6947c7cb71f7c849aa0f112acd4bf51c2a7c1c988ac0a9dc\"\n" ] }, { "f...
[ { "file_path": "Cargo.lock", "lines": [ "version = \"0.10.66\"\n", "checksum = \"9529f4786b70a3e8c61e11179af17ab6188ad8d0ded78c5529441ed39d4bd9c1\"\n", "version = \"0.9.103\"\n", "checksum = \"7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6\"\n" ] }, { "f...
[ "toml", "lock" ]
2
juspay/hyperswitch
juspay__hyperswitch-7260
Bug: [FEATURE] Add support for network tokenization for v2/payment-methods Description: Add support for network tokenization for v2/payment-methods create api. Implementation: for v2/payment-methods api, if the payment method is card and merchant opted for network tokenization, then card should be tokenized with ne...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index ba795d40594..f386d554dda 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -13741,6 +13741,14 @@ } ], "nullable": true + }, + "n...
2025-01-30T07:49:02Z
## 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 support for network tokenization for v2/payment-methods - ...
b38a958a9218df2ae4b10c38ca81f4e862ebde3d
test cases - enable network tokenization for profile payment-method create api - ``` curl --location 'http://localhost:8080/v2/payment-methods' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'X-Profile-Id: pro_1Z1F459LoQzRTieDsLW2' \ --header 'api-key: dev_sewkg...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " },\n", " \"network_tokenization\": {\n", " \"allOf\": [\n", " {\n", " \"$ref\": \"#/components/schemas/NetworkTokenization\"\n", " }\n",...
[ { "file_path": "crates/api_models/src/payment_methods.rs", "lines": [ " Debug, serde::Deserialize, serde::Serialize, Clone, ToSchema, strum::EnumString, strum::Display,\n" ] }, { "file_path": "crates/cards/src/lib.rs", "lines": [ "pub use crate::validate::{CardNumber, CardNumb...
[ "toml", "json", "rs" ]
21
juspay/hyperswitch
juspay__hyperswitch-7203
Bug: feat(vsaas): Add platform merchant validations for payment intent Currently `payment_intent` stores `platform_merchant_id`. This can be used to identify if the payment was created by platform merchant. If the payment was initialized by platform merchant, the merchant who is the owner of the payment should not ...
diff --git a/crates/router/src/core/payments/operations/payment_approve.rs b/crates/router/src/core/payments/operations/payment_approve.rs index c830b7618d0..bdb0548d6a4 100644 --- a/crates/router/src/core/payments/operations/payment_approve.rs +++ b/crates/router/src/core/payments/operations/payment_approve.rs @@ -11,...
2025-02-06T13:49:12Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Currently payment_intent stores platform_merchant_id. This can ...
9772cb36ee038023bee6d970d424e494b2e7aef6
1. Create two merchant accounts and make one platform. Refer #6882 to know what is a platform merchant and how to create a platform merchant account. 2. Create a payment for normal merchant account using platform merchant account ```bash curl --location 'http://localhost:8080/payments' \ --header 'Con...
[ { "file_path": "crates/router/src/core/payments/operations/payment_approve.rs", "lines": [ " utils::ValidatePlatformMerchant,\n", " platform_merchant_account: Option<&domain::MerchantAccount>,\n", " payment_intent\n", " .validate_platform_merchant(plat...
[ { "file_path": "crates/router/src/core/payments/operations/payment_approve.rs", "lines": [ " _platform_merchant_account: Option<&domain::MerchantAccount>,\n" ] }, { "file_path": "crates/router/src/core/payments/operations/payment_cancel.rs", "lines": [ " _platform_m...
[ "rs" ]
21
juspay/hyperswitch
juspay__hyperswitch-7184
Bug: disable stripe disable stripe
2025-02-04T10:36:41Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> disable sprite. closes #7184 ### Additional Changes ...
55bb284ba063dc84e80b4f0d83c82ec7c30ad4c5
ci should pass
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-7177
Bug: refactor(router): add revenue_recovery_metadata to payment intent in diesel and api model for v2 flow Add the following fields to the api and diesel models Feature meta data retry_count: Total number of billing connector + recovery retries for a payment intent. payment_connector_transmission: It's supposed to...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index cadae4fa45c..3a43b1bfca2 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -5793,6 +5793,23 @@ } } }, + "BillingConnectorPaymentDetails": { + "type"...
2025-02-03T17:31:54Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Adds the following fields to the api and diesel models Feature meta data retry_count: Total number of ...
b09905ecb4c7b33576b3ca1f13affe5341ea6e6f
Create Intent Request ``` curl --location 'http://localhost:8080/v2/payments/create-intent' \ --header 'api-key: dev_7iySXObGOGY3S9g2OgXlwnQIYJACCsn72FDRXcs6lNlSpheMRHD8bzg0WcUpb9KL' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_vxOhrwYLpaKZXp6llHo1' \ --data-raw '{ "amount_d...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"BillingConnectorPaymentDetails\": {\n", " \"type\": \"object\",\n", " \"required\": [\n", " \"payment_processor_token\",\n", " \"connector_customer_id\"\n", " ]...
[ { "file_path": "crates/api_models/src/payments.rs", "lines": [ " // TODO: Convert this to hashedstrings to avoid PII sensitive data\n" ] }, { "file_path": "crates/diesel_models/src/types.rs", "lines": [ "use serde::{Deserialize, Serialize};\n", " // TODO: Convert this...
[ "json", "rs" ]
6
juspay/hyperswitch
juspay__hyperswitch-7175
Bug: [CYPRESS] Add Cypress Tests for Card Payment Methods in `Braintree` Connectors Implement end-to-end Cypress tests to validate **card payment flow configs** for the **Braintree** and **Authorize.net** payment connectors. These tests should cover various flows.
2025-02-13T11:25:00Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> Adding Cypress Test Case Flows related Configs for the `Braintr...
2c9b8abdb58d5b97f9d01a112569ad82b99ea00d
<img width="700" alt="image" src="https://github.com/user-attachments/assets/28d84bc1-1890-4b22-baf4-e94de421c233" />
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-7190
Bug: [FEATURE]: Add Payments - List to v2 `Payments - List` endpoint is needed for the dashboard
diff --git a/api-reference-v2/api-reference/payments/payments--list.mdx b/api-reference-v2/api-reference/payments/payments--list.mdx new file mode 100644 index 00000000000..80350a5705e --- /dev/null +++ b/api-reference-v2/api-reference/payments/payments--list.mdx @@ -0,0 +1,3 @@ +--- +openapi: get /v2/payments/list +--...
2025-02-05T08:06:09Z
## 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 `Payments - List` endpoint for v2 ### Additional Chang...
3607b30c26cc24341bf88f8ce9968e094fb7a60a
- Request: ``` curl --location 'http://localhost:8080/v2/payments/list?profile_id=pro_4jOKADI7FmJF09Sp30bM' \ --header 'Content-Type: application/json' \ --header 'x-profile-id: pro_syRDLhwbDPVbVgrDQDN5' \ --header 'api-key: dev_S529hQ8b0xLFAC4WvYFOgM9VFvUkxB8btBfmxVh83pejCCBmB33wK7ujJYoVcKAe' ``` - Resp...
[ { "file_path": "api-reference-v2/api-reference/payments/payments--list.mdx", "lines": [ "---\n", "openapi: get /v2/payments/list\n", "---\n" ] }, { "file_path": "api-reference-v2/mint.json", "lines": [ " \"api-reference/payments/payments--create-and-confirm-int...
[ { "file_path": "api-reference-v2/mint.json", "lines": [ " \"api-reference/payments/payments--create-and-confirm-intent\"\n" ] }, { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"id\": {\n", " \"type\": \"string\",\n", " ...
[ "json", "rs", "mdx" ]
20
juspay/hyperswitch
juspay__hyperswitch-7172
Bug: [Cypress] Add more connectors to GitHub CI - Bluesnap - PayPal - Iatapay
2025-02-03T13:21:31Z
## 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 fixes NTID for PayPal by disabling it from running. ...
ed8ef2466b7f059ed0f534aa1f3fca9b5ecbeefd
|NMI|PayPal| |-|-| |![image](https://github.com/user-attachments/assets/043013dd-f326-47c6-83f4-3ce9e284b335)|![image](https://github.com/user-attachments/assets/94fdc7a8-362a-4866-a17a-db121183e1f9)|
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-7164
Bug: [FEATURE] : [CONNECTOR] Add Billwerk, Fiservemea, Tsys supported payment methods, currencies and countries in feature matrix ### Feature Description Add Billwerk, Fiservemea, Tsys supported payment methods, currencies and countries in feature matrix ### Possible Implementation Add Billwerk, Fiservemea, Tsys ...
diff --git a/config/config.example.toml b/config/config.example.toml index 3457d330c9a..48db200f9c4 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -521,6 +521,18 @@ seicomart = { country = "JP", currency = "JPY" } pay_easy = { country = "JP", currency = "JPY" } boleto = { country = "BR", ...
2025-02-02T18:20:24Z
## 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 Billwerk, Fiservemea, Tsys supported payment methods, curre...
2451e9b771dcef6ed88e17800e4e3ef434328044
Postman Test Feature API curl: ``` curl --location 'http://localhost:8080/feature_matrix' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_JQif2lR5NNugTdsi6xSqQ1ozsn6QA4r750wFN5yvwrAsRlcsdyk24VnEiYguAAxZ' ``` Response - ``` { "connector...
[ { "file_path": "config/config.example.toml", "lines": [ "[pm_filters.tsys]\n", "credit = { country = \"NA\", currency = \"AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BZD, CAD, CDF, CHF, CLP, CNY, COP, CRC, CUP, CVE, CZK, DJF,...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/billwerk.rs", "lines": [ " router_response_types::{PaymentsResponseData, RefundsResponseData},\n", " utils::{construct_not_implemented_error_report, convert_amount, RefundsRequestData},\n", "impl ConnectorValidation for Bil...
[ "toml", "rs" ]
9
juspay/hyperswitch
juspay__hyperswitch-7181
Bug: [FEATURE] enable currencies and countries for different payment methods for Fiuu ### Feature Description A few countries and currencies has to be enabled for Fiuu for below payment methods - ApplePay - GooglePay For below countries and currencies - MY and MYR ### Possible Implementation Add this to pm_filt...
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml index d606f192e4e..81eb028a46a 100644 --- a/config/deployments/integration_test.toml +++ b/config/deployments/integration_test.toml @@ -380,7 +380,9 @@ red_pagos = { country = "UY", currency = "UYU" } local_bank_transfer =...
2025-02-04T08:34:27Z
## 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 enables country Malaysia for processing APay and GPay transactions via Fiuu ### Additional C...
55bb284ba063dc84e80b4f0d83c82ec7c30ad4c5
For valid currency - MYR <img width="665" alt="Screenshot 2025-02-05 at 7 46 56 PM" src="https://github.com/user-attachments/assets/3611f5ae-0c69-4a11-9907-81ec4eca4385" /> For invalid currency - ex. USD <img width="628" alt="Screenshot 2025-02-05 at 7 47 51 PM" src="https://github.com/user-attachments/assets/f12d...
[ { "file_path": "config/deployments/integration_test.toml", "lines": [ "duit_now = { country = \"MY\", currency = \"MYR\" }\n", "apple_pay = { country = \"MY\", currency = \"MYR\" }\n", "google_pay = { country = \"MY\", currency = \"MYR\" }\n" ] }, { "file_path": "config/deploym...
[ { "file_path": "config/deployments/integration_test.toml", "lines": [ "duit_now = { country =\"MY\", currency = \"MYR\" }\n" ] }, { "file_path": "config/deployments/production.toml", "lines": [ "duit_now = { country =\"MY\", currency = \"MYR\" }\n" ] }, { "file_path":...
[ "toml" ]
4
juspay/hyperswitch
juspay__hyperswitch-7155
Bug: [BUG] CASHTOCODE Error Message appearing as null ### Bug Description There is a bug which causes error_message to appear as null on failed payments for Cashtocode. ### Expected Behavior Error_message should not be null on failed payments for Cashtocode ### Actual Behavior Error_message is null on failed p...
diff --git a/crates/hyperswitch_connectors/src/connectors/cashtocode.rs b/crates/hyperswitch_connectors/src/connectors/cashtocode.rs index cc7ac381237..a2a8cf9df65 100644 --- a/crates/hyperswitch_connectors/src/connectors/cashtocode.rs +++ b/crates/hyperswitch_connectors/src/connectors/cashtocode.rs @@ -142,8 +142,8 @@...
2025-01-31T09:49:08Z
## 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 --> Error message from cashtocode is now populated in error reaso...
0c952cc148654468c7fec8e32620dff4178f6138
Cashtocode cannot be tested locally due to unavailability of credentials.
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/cashtocode.rs", "lines": [ " message: response.error_description.clone(),\n", " reason: Some(response.error_description),\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connectors/cashtocode...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/cashtocode.rs", "lines": [ " message: response.error_description,\n", " reason: None,\n" ] }, { "file_path": "crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs", "lines": [ ...
[ "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-7162
Bug: [FEATURE] : [CONNECTOR] Add Airwallex, Elavon, Novalnet, Xendit supported payment methods, currencies and countries in feature matrix ### Feature Description Add Airwallex, Elavon, Novalnet, Xendit supported payment methods, currencies and countries in feature matrix ### Possible Implementation Add Airwallex...
diff --git a/config/config.example.toml b/config/config.example.toml index 3464bcb1364..f79a31848c8 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -471,9 +471,9 @@ slack_invite_url = "https://www.example.com/" # Slack invite url for hyperswit discord_invite_url = "https://www.example.com...
2025-02-01T21:36:53Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Add Airwallex, Elavon, Novalnet, Xendit supported payment metho...
ab3dcea82fafc3cef9e1da9ac98c20d27f127652
Postman Test Feature API curl: ``` curl --location 'http://localhost:8080/feature_matrix' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: ***' ``` Response - ``` { "connector_count": 4, "connectors": [ { "name": ...
[ { "file_path": "config/config.example.toml", "lines": [ "card.credit.connector_list = \"stripe,adyen,authorizedotnet,cybersource,datatrans,globalpay,worldpay,multisafepay,nmi,nexinets,noon,bankofamerica,braintree,nuvei,payme,wellsfargo,bamboraapac,elavon,fiuu,nexixpay,novalnet,paybox,paypal,xendit\"\n...
[ { "file_path": "config/config.example.toml", "lines": [ "card.credit.connector_list = \"stripe,adyen,authorizedotnet,cybersource,datatrans,globalpay,worldpay,multisafepay,nmi,nexinets,noon,bankofamerica,braintree,nuvei,payme,wellsfargo,bamboraapac,elavon,fiuu,nexixpay,novalnet,paybox,paypal\"\n", ...
[ "toml", "rs" ]
11
juspay/hyperswitch
juspay__hyperswitch-7142
Bug: [BUG] Deutschebank Payment Method Card not appearing in Dashboard ### Bug Description In Dashboard, card payment method is not appearing for Deutschebank Connector. ### Expected Behavior In Dashboard, card payment method should appear for Deutschebank Connector. ### Actual Behavior In Dashboard, card payme...
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml index 2ab348d5dd5..190114fee3a 100644 --- a/crates/connector_configs/toml/development.toml +++ b/crates/connector_configs/toml/development.toml @@ -1408,6 +1408,14 @@ api_secret="Shared Secret" [deutschebank] ...
2025-01-17T11:13:19Z
## 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 --> Added support for Debit Card payments for deutschebank and up...
55bb284ba063dc84e80b4f0d83c82ec7c30ad4c5
**Cypress Tests** **1. No3DSManualCapture** ![image](https://github.com/user-attachments/assets/cca4c8ed-2205-419b-8eb4-4759daf20f8a) **2. 3DSAutoCapture** ![image](https://github.com/user-attachments/assets/38318c13-fba1-40f9-a4a8-16ee655e6127) **3. 3DSManualCapture** ![image](https://github.com/...
[ { "file_path": "crates/connector_configs/toml/development.toml", "lines": [ "[[deutschebank.credit]]\n", " payment_method_type = \"Visa\"\n", "[[deutschebank.credit]]\n", " payment_method_type = \"Mastercard\"\n", "[[deutschebank.debit]]\n", " payment_method_type = \"V...
[]
[ "toml", "rs" ]
4
juspay/hyperswitch
juspay__hyperswitch-7138
Bug: [BUG] Trustly and Ideal Failing Payments for Ayden Fixed Trustly and Ideal Failing Payments for Ayden Fixed
diff --git a/crates/router/src/connector/adyen/transformers.rs b/crates/router/src/connector/adyen/transformers.rs index c9bfdbf3d4a..8aba3573f68 100644 --- a/crates/router/src/connector/adyen/transformers.rs +++ b/crates/router/src/connector/adyen/transformers.rs @@ -148,7 +148,7 @@ pub struct LineItem { pub struct A...
2025-01-29T11:56:59Z
## 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 --> `Trustly` and `Ideal` Bank Redirect payments were failing for `...
90fbb62ecd418b85804c6ae824843237ff740302
No-3DS auto capture <img width="1720" alt="Screenshot 2025-02-10 at 5 25 26 PM" src="https://github.com/user-attachments/assets/0ca86a25-1c0c-41cf-9348-9676b1254cf7" /> 3DS auto capture <img width="1715" alt="Screenshot 2025-02-10 at 5 25 46 PM" src="https://github.com/user-attachments/assets/fb4f99ae-2d89-483...
[ { "file_path": "crates/router/src/connector/adyen/transformers.rs", "lines": [ " payment_method: PaymentMethod<'a>,\n", "pub enum PaymentMethod<'a> {\n", " AdyenPaymentMethod(Box<AdyenPaymentMethod<'a>>),\n", " AdyenMandatePaymentMethod(Box<AdyenMandate>),\n", "}\n", ...
[ { "file_path": "crates/router/src/connector/adyen/transformers.rs", "lines": [ " payment_method: AdyenPaymentMethod<'a>,\n", " AdyenAffirm(Box<PmdForPaymentType>),\n", " AdyenKlarna(Box<PmdForPaymentType>),\n", " AdyenPaypal(Box<PmdForPaymentType>),\n", " AfterPa...
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-7114
Bug: add stripe in network_transaction_id_supported_connectors list add stripe in network_transaction_id_supported_connectors list
diff --git a/config/deployments/production.toml b/config/deployments/production.toml index 3537834fd07..90a34403637 100644 --- a/config/deployments/production.toml +++ b/config/deployments/production.toml @@ -191,7 +191,7 @@ card.credit = { connector_list = "cybersource" } # Update Mandate sup card.debit = ...
2025-01-24T06:47:08Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description adding `stripe` in connector list for network transaction id. ### Additional Changes - [ ] This P...
a9a1ded77e2ba0cc7fa9763ce2da4bb0852d82af
[ { "file_path": "config/deployments/production.toml", "lines": [ "connector_list = \"adyen,stripe\"\n" ] } ]
[ { "file_path": "config/deployments/production.toml", "lines": [ "connector_list = \"adyen\"\n" ] } ]
[ "toml" ]
1
juspay/hyperswitch
juspay__hyperswitch-7126
Bug: Refactor(customer) : Return redacted customer instead of error. Instead of returning error for querying deleted customer, we should return Customer with redacted values to help in frontend.
diff --git a/crates/router/src/core/customers.rs b/crates/router/src/core/customers.rs index 4f69cf41963..dabc9d37086 100644 --- a/crates/router/src/core/customers.rs +++ b/crates/router/src/core/customers.rs @@ -463,7 +463,7 @@ pub async fn retrieve_customer( let key_manager_state = &(&state).into(); let r...
2025-01-27T13:10:56Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Return redacted customer response instead of error when querying deleted customers. ## Motivation an...
ecab2b1f512eb7e78ca2e75c20b3adc753b97a2f
- Create Customer API Call ``` curl --location 'http://localhost:8080/customers' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --data-raw '{ "email": "guest@example.com", "name": "John Doe", "phone": "999999999", "phone_country_code": "+65", "descripti...
[ { "file_path": "crates/router/src/core/customers.rs", "lines": [ " .find_customer_optional_with_redacted_customer_details_by_customer_id_merchant_id(\n", " .switch()?\n", " .ok_or(errors::CustomersErrorResponse::CustomerNotFound)?;\n", "\n" ] } ]
[ { "file_path": "crates/router/src/core/customers.rs", "lines": [ " .find_customer_by_customer_id_merchant_id(\n", " .switch()?;\n" ] } ]
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-7128
Bug: fix(diesel_models, api_models): mask `poc_email` and `data_value` for DashboardMetadata ## Current behaviour - `poc_email` isn't masked for `DashboardMetadata` which leads to it being logged both at API and diesel query level. Example: <img width="1114" alt="Image" src="https://github.com/user-attachments/ass...
diff --git a/crates/api_models/src/user/dashboard_metadata.rs b/crates/api_models/src/user/dashboard_metadata.rs index 1d606ef63e8..f15029a7a49 100644 --- a/crates/api_models/src/user/dashboard_metadata.rs +++ b/crates/api_models/src/user/dashboard_metadata.rs @@ -94,7 +94,7 @@ pub struct ProdIntent { pub business...
2025-01-28T09:34:50Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [x] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> - (api_models): change the `poc_email` type to `Secret<String>`...
c02cb20b02501eb027e61e4f4a342eeda1fb9b70
Curl to set metadata: ```bash curl --location 'http://localhost:8080/user/data' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {{TOKEN}}' \ --data ' { "ProdIntent": { "is_completed": true, "legal_business_name": "test", "business_label": "test", ...
[ { "file_path": "crates/api_models/src/user/dashboard_metadata.rs", "lines": [ " pub poc_email: Option<Secret<String>>,\n" ] }, { "file_path": "crates/diesel_models/src/user/dashboard_metadata.rs", "lines": [ "use masking::Secret;\n", " pub data_value: Secret<serde_jso...
[ { "file_path": "crates/api_models/src/user/dashboard_metadata.rs", "lines": [ " pub poc_email: Option<String>,\n" ] }, { "file_path": "crates/diesel_models/src/user/dashboard_metadata.rs", "lines": [ " pub data_value: serde_json::Value,\n", " pub data_value: serde_...
[ "rs" ]
5
juspay/hyperswitch
juspay__hyperswitch-7150
Bug: [FEATURE] : [CONNECTOR] Add Multisafepay, Wellsfargo, Worldpay supported payment methods, currencies and countries in feature matrix ### Feature Description Add Multisafepay, Wellsfargo, Worldpay supported payment methods, currencies and countries in feature matrix ### Possible Implementation Add Multisafepa...
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml index aab4829f069..f65f1dba78b 100644 --- a/config/deployments/integration_test.toml +++ b/config/deployments/integration_test.toml @@ -204,9 +204,9 @@ bank_debit.sepa = { connector_list = "gocardless,adyen,stripe,deutscheb...
2025-01-31T06:07:14Z
## 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 --> Added Feature Matrix supported payment methods, countries and...
212ac27057762f9d4cd2073d93c2216f61711cfe
### MULTISAFEPAY **Card(Credit)** -Request ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_BRLi0eobwJCQvfjdD0MZbuGVAIaX16cvGPAM80Rpdn0j0ixXtlg3jtpzTDnMJUeH' \ --data-raw '{ "amount": 12...
[ { "file_path": "config/deployments/integration_test.toml", "lines": [ "wallet.apple_pay.connector_list = \"stripe,adyen,cybersource,noon,bankofamerica,nexinets,novalnet,authorizedotnet,wellsfargo\" \n", "wallet.google_pay.connector_list = \"stripe,adyen,cybersource,bankofamerica,noon,glob...
[ { "file_path": "config/deployments/integration_test.toml", "lines": [ "wallet.apple_pay.connector_list = \"stripe,adyen,cybersource,noon,bankofamerica,nexinets,novalnet,authorizedotnet\" \n", "wallet.google_pay.connector_list = \"stripe,adyen,cybersource,bankofamerica,noon,globalpay,multi...
[ "toml", "rs" ]
10
juspay/hyperswitch
juspay__hyperswitch-7119
Bug: [BUG] Deserialization Error Due to Error Coming in HTML format from Bluesnap Connector ### Bug Description The Bluesnap Connector propagates errors received from its cloud service (Cloudflare). Cloudflare returns these errors in HTML format, and Bluesnap forwards them in the same HTML format. When an error is ...
diff --git a/crates/hyperswitch_connectors/src/connectors/bluesnap.rs b/crates/hyperswitch_connectors/src/connectors/bluesnap.rs index 8fac36424e2..3f319ee74f5 100644 --- a/crates/hyperswitch_connectors/src/connectors/bluesnap.rs +++ b/crates/hyperswitch_connectors/src/connectors/bluesnap.rs @@ -11,7 +11,7 @@ use commo...
2025-01-27T11:29:17Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> The code ensures any unexpected responses from the connector ar...
3da637e6960f73a3a69aef98b9de2e6de01fcb5e
Unable to test 5xx error codes Normal testing done through postman 1. Payment Connector - Create Request - ``` curl --location 'http://localhost:8080/account/merchant_1737978930/connectors' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: test_admin...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/bluesnap.rs", "lines": [ "use error_stack::{report, Report, ResultExt};\n", " handle_json_response_deserialization_failure, to_connector_meta_from_secret,\n", " to_currency_lower_unit, ConnectorErrorType, ConnectorE...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/bluesnap.rs", "lines": [ "use error_stack::{report, ResultExt};\n", " to_connector_meta_from_secret, to_currency_lower_unit, ConnectorErrorType,\n", " ConnectorErrorTypeMapping, ForeignTryFrom, PaymentsAuthorizeRequ...
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-7161
Bug: Postman Connector Integration Tests Failing Several Postman integration tests are failing. The issue needs analyzing to determine the reasons of the failures. ### **Observation** #### **Failed Tests** - `postman-test-adyen_uk-INTEGRATION` - `postman-test-cybersource-INTEGRATION` - `postman-test-nmi-INT...
diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json index f1199e53330..3175fdd1dd5 10...
2025-01-31T18:42:38Z
## Type of Change - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application ...
6e19a9b48af67f39e632f8b94d2b92a59f98e37b
### Connector:`adyen_uk` <img width="1270" alt="image" src="https://github.com/user-attachments/assets/b4886786-5f02-4657-8d74-dee18ee45734" /> _**Note:** The `Sofort` Test Cases are removed in PR #7099 after being deprecated by `adyen` connector._ <img width="500" alt="image" src="https://github.com/user-attach...
[ { "file_path": "postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json", "lines": [ " \"card_exp_year\": \"35\",\n" ] }, { "file_path": "postman/collection-dir/cybersource/Flow Testcases/Happy Cases/S...
[ { "file_path": "postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json", "lines": [ " \"card_exp_year\": \"25\",\n" ] }, { "file_path": "postman/collection-dir/cybersource/Flow Testcases/Happy Cases/S...
[ "json", "js" ]
293
juspay/hyperswitch
juspay__hyperswitch-7112
Bug: [FEATURE] Card Testing Guard ### Feature Description We have implemented three rules for detecting and preventing this card testing attacks: I) Card <> IP Blocking for Merchant : If there are X number of unsuccessful payment attempts from a single IP Address for a specific merchant, then that combination of C...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index aebc0b38c27..f81eca420a0 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -7096,6 +7096,56 @@ } } }, + "CardTestingGuardConfig": { + "type": "objec...
2025-01-27T04:37:24Z
## 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 --> **Problem Statement:** Card testing attacks involve fraud...
db498c272caa8a8a875da14c51fffd1d17efb4cc
**Postman Tests** **Step By Step Guide to Test:** 1. Use Adyen Connector to test the curls (because for Adyen, only a specific CVC works for test cards) 2. Update Business Profile to set `card_ip_blocking_status` as `enabled`, `guest_user_card_blocking_status` as `disabled` and `customer_id_blocking_status` ...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"CardTestingGuardConfig\": {\n", " \"type\": \"object\",\n", " \"required\": [\n", " \"card_ip_blocking_status\",\n", " \"card_ip_blocking_threshold\",\n", " \...
[ { "file_path": "crates/hyperswitch_domain_models/src/business_profile.rs", "lines": [ " crypto::OptionalEncryptableValue,\n", " ProfileUpdateInternal, WebhookDetails,\n" ] }, { "file_path": "crates/router/src/core/admin.rs", "lines": [ "use diesel_models::organization...
[ "sql", "json", "rs" ]
40
juspay/hyperswitch
juspay__hyperswitch-7103
Bug: [CHORE] Bump Cypress to v14 bump cypress version to `v14` from `v13.17.0`. there's a ton of under the hood changes and improvements. check: [docs.cypress.io/app/references/changelog](https://docs.cypress.io/app/references/changelog) cypress v14 has significant impact on the way we do the redirection flow. che...
2025-01-24T10:57:50Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [x] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> closes #7103 - video recording - video recording gets a...
b5b50036088b72338156e29be23f77a62d673f30
ci should pass. especially the redirections. ![image](https://github.com/user-attachments/assets/ffa781f0-99a9-481c-8ee4-8fc7b2767106)
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-7104
Bug: [FEATURE] [GETNET] Add Connector Template Code ### Feature Description Add Connector Template Code for Getnet ### Possible Implementation Add Connector Template Code for Getnet ### 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/config.example.toml b/config/config.example.toml index 16b5ef6c3a1..15012c92405 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -213,6 +213,7 @@ fiuu.base_url = "https://sandbox.merchant.razer.com/" fiuu.secondary_base_url="https://sandbox.merchant.razer.com/" fiuu.thir...
2025-01-24T17:12:47Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Template code added for connector Getnet ### Additional Chan...
b616bd130b19b259a3b05377bdbae37834f8647d
Only template PR, hence no testing required.
[ { "file_path": "config/config.example.toml", "lines": [ "getnet.base_url = \"https://api-test.getneteurope.com/engine/rest\"\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "getnet.base_url = \"https://api-test.getneteurope.com/engine/rest\"\n" ]...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors.rs", "lines": [ " fiserv::Fiserv, fiservemea::Fiservemea, fiuu::Fiuu, forte::Forte, globalpay::Globalpay,\n", " globepay::Globepay, gocardless::Gocardless, helcim::Helcim, iatapay::Iatapay, inespay::Inespay,\n", " itauba...
[ "sh", "toml", "rs" ]
26
juspay/hyperswitch
juspay__hyperswitch-7098
Bug: [REFACTOR] : remove deprecated PMTs from Adyen (Giropay and Sofort) Remove deprecated PMTs from Adyen (Giropay and Sofort)
diff --git a/config/config.example.toml b/config/config.example.toml index e982a01eb11..7a810414b4d 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -458,11 +458,11 @@ bank_debit.becs = { connector_list = "gocardless" } bank_debit.bacs = { connector_list = "adyen" } ...
2025-01-24T10:22:32Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Removed deprecated PMTs from Ayden: https://www.adyen.com/payme...
3da637e6960f73a3a69aef98b9de2e6de01fcb5e
Removed the deprecated payment methods, so no testing required. Reference that the payment methods are actually no longer available: https://www.adyen.com/payment-methods No-3DS auto capture <img width="1720" alt="Screenshot 2025-02-10 at 5 25 26 PM" src="https://github.com/user-attachments/assets/0ca86a25-1c0c...
[ { "file_path": "config/config.example.toml", "lines": [ "bank_redirect.sofort = { connector_list = \"stripe,globalpay\" }\n", "bank_redirect.giropay = { connector_list = \"globalpay\" }\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "bank_redi...
[ { "file_path": "config/config.example.toml", "lines": [ "bank_redirect.sofort = { connector_list = \"stripe,adyen,globalpay\" }\n", "bank_redirect.giropay = { connector_list = \"adyen,globalpay\" }\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ ...
[ "toml", "rs" ]
12
juspay/hyperswitch
juspay__hyperswitch-7093
Bug: [BUG] hyperswitch.io website has some uncaught exceptions resulting in cypress ci checks to fail ignore uncaught errors
2025-01-23T09:34:12Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> the return url i.e., `hyperswitch.io` is throwing uncaught ex...
a9a1ded77e2ba0cc7fa9763ce2da4bb0852d82af
ci checks should pass, but works in local: payouts: wise ![image](https://github.com/user-attachments/assets/d800afb3-18b0-4480-ba49-73cd16ae3dc1) payments: adyen ![image](https://github.com/user-attachments/assets/50ee5f99-4e1d-4454-b89e-be09b2ab451b) payments: bankofamerica ![image](https://github.c...
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-7082
Bug: prioritise connector_mandate_id over network_transaction_id during MITs During the MIT if the decided connector is same as the connector with which the mandate is created then the MIT should be processed with the connector mandate _id.
diff --git a/crates/router/src/core/payments.rs b/crates/router/src/core/payments.rs index ceeb384ed21..c88cc161287 100644 --- a/crates/router/src/core/payments.rs +++ b/crates/router/src/core/payments.rs @@ -5799,26 +5799,7 @@ where .as_ref() .ok_or(errors::ApiErrorResponse::InternalServerErr...
2025-01-21T07:40:34Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> During the MIT if the decided connector is same as the connecto...
90c932a6d798453f7e828c55a7668c5c64c933a5
-> Create a business profile and enable connector agnostic mandate feature ``` curl --location 'http://localhost:8080/account/merchant_1737444280/business_profile/pro_h1bdGYYiQic3IHdVU1Mm' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: test_admin' \ --data...
[ { "file_path": "crates/router/src/core/payments.rs", "lines": [ " if connector_mandate_details\n", " } else if is_network_transaction_id_flow(\n", " state,\n", " is_connector_agnostic_mit_enabled,\n", " connector_data.connector_nam...
[ { "file_path": "crates/router/src/core/payments.rs", "lines": [ " if is_network_transaction_id_flow(\n", " state,\n", " is_connector_agnostic_mit_enabled,\n", " connector_data.connector_name,\n", " payment_method_info,\n", ...
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-7091
Bug: add dynamic fields support for samsung_pay add dynamic fields support for samsung_pay so that it samsung pay button will be displayed in the merchant pml call
diff --git a/config/config.example.toml b/config/config.example.toml index c860420da38..f507df58a77 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -462,6 +462,7 @@ bank_debit.sepa = { connector_list = "gocardless,adyen" } bank_redirect.ideal = { connector_list = "stripe,adyen,globalpay" } ...
2025-01-23T07:09:51Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> add dynamic fields support for samsung_pay ### Additional Ch...
cf82861e855bbd055fcbfc2367b23eaa58d8f842
-> Create a merchant connector account with samsung pay enabled -> Create a payment with confirm false ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: ,api-key.' \ --data-raw '{ "amount": 6100, ...
[ { "file_path": "config/config.example.toml", "lines": [ "wallet.samsung_pay = { connector_list = \"cybersource\" }\n" ] }, { "file_path": "config/deployments/integration_test.toml", "lines": [ "wallet.samsung_pay.connector_list = \"cybersource\"\n" ] }, { "file_path":...
[]
[ "toml", "rs" ]
8
juspay/hyperswitch
juspay__hyperswitch-7080
Bug: [BUG] Deployed on a cloud server using Docker Compose, sign up keeps prompting 'Register failed, Try again' ### Bug Description ![Image](https://github.com/user-attachments/assets/44e85cba-02ea-485a-8ea6-8642aa047b79) ### Expected Behavior None ### Actual Behavior None ### Steps To Reproduce 1. git clon...
diff --git a/docker-compose-development.yml b/docker-compose-development.yml index d7a0e365c36..416646f013c 100644 --- a/docker-compose-development.yml +++ b/docker-compose-development.yml @@ -64,7 +64,7 @@ services: FROM rust:latest RUN apt-get update && \ apt-get install -y protobuf-com...
2025-01-29T05:02:03Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Playground is not running properly and throwing errors as it is not able to find HyperLoader file. #...
c3333894ce64b1bc694f8c1eb09a8744aa850443
[ { "file_path": "docker-compose-development.yml", "lines": [ " RUN rustup component add rustfmt clippy\n", " RUN npm i --ignore-scripts\n" ] }, { "file_path": "docker-compose.yml", "lines": [ "\n", " image: juspaydotin/hyperswitch-web:latest\n" ] ...
[ { "file_path": "docker-compose-development.yml", "lines": [ " RUN rustup component add rustfmt clippy \n", " RUN npm i --force\n" ] }, { "file_path": "docker-compose.yml", "lines": [ " \n", " build:\n", " context: ./docker\n", " ...
[ "yml", "Dockerfile" ]
3
juspay/hyperswitch
juspay__hyperswitch-7084
Bug: store `network_transaction_id` for `off_session` payments irrespective of the `is_connector_agnostic_mit_enabled` config Currently, we store the `network_transaction_id` for the setup_mandate/off_session payments only if the `is_connector_agnostic_mit_enabled` config is enabled. During the MITs, we refer to thi...
diff --git a/crates/router/src/core/payments/operations/payment_response.rs b/crates/router/src/core/payments/operations/payment_response.rs index 9692b1ca8a5..1cc0975af47 100644 --- a/crates/router/src/core/payments/operations/payment_response.rs +++ b/crates/router/src/core/payments/operations/payment_response.rs @@ ...
2025-01-22T05:52:16Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Currently, we store the `network_transaction_id` for the setup_...
5247a3c6512d39d5468188419cf22d362118ee7b
-> Create a business profile and `is_connector_agnostic_mit_enabled` disabled. #### Initial CIT -> Make an off_session payment. Even though the `is_connector_agnostic_mit_enabled` is false `network_transaction_id` should be stored in the payment methods table. ``` curl --location 'http://localhost:8080/payments' ...
[ { "file_path": "crates/router/src/core/payments/operations/payment_response.rs", "lines": [ " _business_profile: &domain::Profile,\n", " _business_profile: &domain::Profile,\n", " let network_transaction_id = if payment_data.payment_intent.setup_future_usage\n", ...
[ { "file_path": "crates/router/src/core/payments/operations/payment_response.rs", "lines": [ " business_profile: &domain::Profile,\n", " business_profile.is_connector_agnostic_mit_enabled,\n", " business_profile: &domain::Profile,\n", " business_pro...
[ "rs" ]
2
juspay/hyperswitch
juspay__hyperswitch-7094
Bug: populate `payment_method_data` in the samsung pay payment response populate `payment_method_data` in the samsung pay payment response
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index 892931256bc..df71a0249b5 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -21469,8 +21469,7 @@ "type": "object", "required": [ "last4", - "card_netw...
2025-01-23T10:29:42Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> This pr contains the changes to populate `payment_method_data` ...
cf82861e855bbd055fcbfc2367b23eaa58d8f842
-> Create a connector with samsung pay enabled -> Make a samsung pay payment, payment_method_data would be populated in the resposne. ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: <api-key>' \ --data-r...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"card_network\"\n", " \"description\": \"The type of payment method\",\n", " \"nullable\": true\n", " },\n", " {\n", " \"type\": \"object\",\n", ...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"card_network\",\n", " \"type\"\n", " \"description\": \"The type of payment method\"\n" ] }, { "file_path": "crates/api_models/src/payment_methods.rs", "lines": [ " pub...
[ "json", "rs" ]
9
juspay/hyperswitch
juspay__hyperswitch-7075
Bug: feat(opensearch): add amount and customer_id as filters and handle name for different indexes Add amount as a filter / category for global search. Also, add customer_id as a filter for searching based on customer_id on Customers page.
diff --git a/crates/analytics/src/opensearch.rs b/crates/analytics/src/opensearch.rs index e85340e49d2..f12198d0054 100644 --- a/crates/analytics/src/opensearch.rs +++ b/crates/analytics/src/opensearch.rs @@ -456,7 +456,7 @@ pub struct OpenSearchQueryBuilder { pub query: String, pub offset: Option<i64>, ...
2025-01-20T10:18: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 --> ### `amount` filter - Added `amount` as a filter / category fo...
22072fd750940ac7fec6ea971737409518600891
`amount` filter: - Hit the curl: ```bash curl --location 'http://localhost:8080/analytics/v1/search' \ --header 'sec-ch-ua-platform: "macOS"' \ --header 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNmNkZTA0NzYtMTFlMi00NGE5LTlkMjUtOTA5M2QzNDQwZjhlIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFu...
[ { "file_path": "crates/analytics/src/opensearch.rs", "lines": [ " pub filters: Vec<(String, Vec<Value>)>,\n", " \"amount\",\n", " \"customer_id.keyword\",\n", " pub fn add_filter_clause(&mut self, lhs: String, rhs: Vec<Value>) -> QueryResult<()> {\...
[ { "file_path": "crates/analytics/src/opensearch.rs", "lines": [ " pub filters: Vec<(String, Vec<String>)>,\n", " pub fn add_filter_clause(&mut self, lhs: String, rhs: Vec<String>) -> QueryResult<()> {\n", " case_sensitive_filters: Vec<&(String, Vec<String>)>,\n", " ...
[ "rs" ]
3
juspay/hyperswitch
juspay__hyperswitch-7070
Bug: [INTEGRATION] Worldpay Integration This issue is a continuation of #6316 for tagging the relevant development work in PRs.
diff --git a/crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs b/crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs index cd028e81ef1..6ae507790dd 100644 --- a/crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs +++ b/crates/hyperswitch_connectors/src/connectors/...
2025-01-20T08:50:04Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [x] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description This PR fixes the ApplePay integration with WorldPay. ### Additional Changes - [ ] This PR modifies...
a9a1ded77e2ba0cc7fa9763ce2da4bb0852d82af
Tested locally by setting up ApplePay with Worldpay connector <details> <summary>Process an ApplePay txn through WP</summary> - Create a payment link cURL curl --location --request POST 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept...
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs", "lines": [ " self, AddressData, ApplePay, CardData, ForeignTryFrom, PaymentsAuthorizeRequestData,\n", " wallet_token: data.get_applepay_decoded_payment_data()?,\n" ] } ]
[ { "file_path": "crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs", "lines": [ " self, AddressData, CardData, ForeignTryFrom, PaymentsAuthorizeRequestData,\n", " wallet_token: Secret::new(data.payment_data),\n" ] } ]
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-7067
Bug: [BUG] previous rules are being considered for surcharge calculation even after updating surcharge rules in database ### Bug Description When I updated surcharge rules using the `PUT /routing/decision/surcharge` endpoint, the surcharge rules are being updated in DB but when I do merchant payment method list(PML...
diff --git a/crates/router/src/core/surcharge_decision_config.rs b/crates/router/src/core/surcharge_decision_config.rs index 0ff5f3fb373..2d817fd1afe 100644 --- a/crates/router/src/core/surcharge_decision_config.rs +++ b/crates/router/src/core/surcharge_decision_config.rs @@ -56,7 +56,7 @@ pub async fn upsert_surcharge...
2024-12-20T09:07:57Z
## 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 --> When surcharge rules where updated or deleted, the in memory ca...
3fdc41e6c946609461db6b5459e10e6351694d4c
1. upsert surcharge rules. If amount >500 and <1000 add a surcharge of 40%. ``` curl --location --request PUT 'http://localhost:8080/routing/decision/surcharge' \ --header 'Content-Type: application/json' \ --header 'api-key: dev_bLGFEtyJtHdvJqXtbnwOcnxpBuNk9lcGIHewiAgCcQQKXYdyoHw8SyAz5JcfikMl' \ --data '{ ...
[ { "file_path": "crates/router/src/core/surcharge_decision_config.rs", "lines": [ " let surcharge_cache_key = merchant_account.get_id().get_surcharge_dsk_key();\n", " let config_key = cache::CacheKind::Surcharge(surcharge_cache_key.into());\n", " let config_key = ca...
[ { "file_path": "crates/router/src/core/surcharge_decision_config.rs", "lines": [ "\n", " let config_key = cache::CacheKind::Surcharge(key.into());\n", " let config_key = cache::CacheKind::Surcharge(key.clone().into());\n", " let config_key = cache::CacheKind:...
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-7101
Bug: [REFACTOR] Remove Deprecated Adyen PMTs Sofort and Trustly Test Cases This issue addresses the cleanup of deprecated payment methods (PMTs) in the Adyen connector (i.e., Sofort and Trustly) and updates test cases to ensure compatibility with current configurations. ### Details 1. Postman Test Cases Update: R...
diff --git a/postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/.meta.json b/postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/.meta.json index 8bfdb580671..6980f1fe85e 100644 --- a/postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/.meta.json +++ b/postman/collection-dir/adyen_uk/Flow Testcas...
2025-01-24T09:47:40Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> **Postman Collection Update**: Removed the Sofort test cases ...
ed8ef2466b7f059ed0f534aa1f3fca9b5ecbeefd
_**Before**_ <img width="1279" alt="image" src="https://github.com/user-attachments/assets/91073ae0-a62c-40d7-863b-ddda5e2620a8" /> _**After**_ <img width="1093" alt="image" src="https://github.com/user-attachments/assets/f45d07f3-47eb-4331-90d9-b7a2fedf4d2f" />
[ { "file_path": "postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/.meta.json", "lines": [ " \"Scenario11-Bank Redirect-eps\",\n", " \"Scenario12-Refund recurring payment\",\n", " \"Scenario13-Bank debit-ach\",\n", " \"Scenario14-Bank debit-Bacs\",\n", " ...
[ { "file_path": "postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/.meta.json", "lines": [ " \"Scenario11-Bank Redirect-sofort\",\n", " \"Scenario12-Bank Redirect-eps\",\n", " \"Scenario13-Refund recurring payment\",\n", " \"Scenario14-Bank debit-ach\",\n", ...
[ "json", "js" ]
174
juspay/hyperswitch
juspay__hyperswitch-7053
Bug: [CHORE] update Cypress creds update cypress creds. wise failing
2025-01-17T08:17:42Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> updates wise creds ### Additional Changes - [ ] This PR...
da5443cbca323ec7e1166b77c635b6076f291157
ci should pass
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-7058
Bug: fix cybersource cypress redirection address ci inconsistency. cybersource cypress test in github has been failing randomly left right and center for no good reason.
2025-01-17T11:02:32Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [x] CI/CD ## Description <!-- Describe your changes in detail --> - enabled video recording for tests that fail - cybersource ...
776ed9a2eb0e5ad8125112fe01bb3ea4b34195bc
this issue is not reproducible in local but only in github ci. so, the ci check should never fail! <img width="465" alt="image" src="https://github.com/user-attachments/assets/bb724420-251d-45dd-96bd-9be307bdc99c" />
[]
[]
[]
0
juspay/hyperswitch
juspay__hyperswitch-7049
Bug: refactor(euclid): update proto file for elimination routing
diff --git a/proto/elimination_rate.proto b/proto/elimination_rate.proto index c5f10597ade..d585dd2494b 100644 --- a/proto/elimination_rate.proto +++ b/proto/elimination_rate.proto @@ -28,8 +28,17 @@ message EliminationResponse { message LabelWithStatus { string label = 1; - bool is_eliminated = 2; - str...
2025-01-13T08:39:40Z
## 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 --> This will update the proto file for elimination routing to incl...
7fd3551afd7122ed28fe5532639e4a256863de6b
Testing isn't required as this is only env change
[ { "file_path": "proto/elimination_rate.proto", "lines": [ " EliminationInformation elimination_information = 2;\n", "}\n", "\n", "message EliminationInformation {\n", " BucketInformation entity = 1;\n", " BucketInformation global = 2;\n", "}\n", "\n",...
[ { "file_path": "proto/elimination_rate.proto", "lines": [ " bool is_eliminated = 2; \n", " string bucket_name = 3;\n", "}\n" ] } ]
[ "proto" ]
1
juspay/hyperswitch
juspay__hyperswitch-7048
Bug: populate connector metadata in the relay refunds flow Some connector requires connector metadata in the refund flow. Example adyen requires endpoint_prefix. Hence this change is to populate the connector metadata in the relay refunds flow.
diff --git a/crates/router/src/core/relay/utils.rs b/crates/router/src/core/relay/utils.rs index 78e42039e02..0f28db0f0e4 100644 --- a/crates/router/src/core/relay/utils.rs +++ b/crates/router/src/core/relay/utils.rs @@ -86,7 +86,7 @@ pub async fn construct_relay_refund_router_data<F>( description: None, ...
2025-01-16T11:41: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 --> Some connector requires connector metadata in the refund flow. ...
aa8e2e73ebda3d7764c03067fe5bc9b086683dc7
-> Create a adyen merchant connector account with `endpoint_prefix` in the metadata -> Create a payment ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'x-tenant-id: hyperswitch' \ --header 'api-key: ' \ --data-r...
[ { "file_path": "crates/router/src/core/relay/utils.rs", "lines": [ " connector_meta_data: connector_account.metadata.clone(),\n" ] } ]
[ { "file_path": "crates/router/src/core/relay/utils.rs", "lines": [ " connector_meta_data: None,\n" ] } ]
[ "rs" ]
1
juspay/hyperswitch
juspay__hyperswitch-7040
Bug: chore: Update readme with juspay's vision, product offering, architecture diagram, setup steps and output
diff --git a/README.md b/README.md index 10fdb6afc76..c09176b172a 100644 --- a/README.md +++ b/README.md @@ -3,22 +3,11 @@ <img src="./docs/imgs/hyperswitch-logo-light.svg#gh-light-mode-only" alt="Hyperswitch-Logo" width="40%" /> </p> -<h1 align="center">The open-source payments switch</h1> +<h1 align="center">Op...
2025-01-10T11:26:08Z
## 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 --> Update readme with vision, product offering, architecture diagr...
7b306a9015a55b573731414c210d4c684c802f7a
[ { "file_path": "README.md", "lines": [ "<h1 align=\"center\">Open-Source Payments Orchestration</h1>\n", "Single API to access the payments ecosystem and its features\n", "</div>\n", "## Table of Contents\n", "1. [Introduction](#introduction)\n", "2. [Architectural Overvi...
[ { "file_path": "README.md", "lines": [ "<h1 align=\"center\">The open-source payments switch</h1>\n", "The single API to access payment ecosystems across 130+ countries</div>\n", "\n", "<p align=\"center\">\n", " <a href=\"#try-a-payment\">Try a Payment</a> •\n", " <a h...
[ "md" ]
1
juspay/hyperswitch
juspay__hyperswitch-7055
Bug: FEAT: Add Support for Amazon Pay Redirect and Amazon Pay payment via Stripe Add Support for Amazon Pay Redirect and Amazon Pay payment via Stripe
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index 892931256bc..8cd818f2919 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -3052,6 +3052,9 @@ "AliPayRedirection": { "type": "object" }, + "AmazonPayRedirectDa...
2025-01-17T10:00:25Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [ ] Enhancement - [ ] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Add Support for Amazon Pay Redirect and Amazon Pay payment via ...
cf82861e855bbd055fcbfc2367b23eaa58d8f842
1. Create connector ``` curl --location 'http://localhost:8080/account/merchant_1737107777/connectors' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: test_admin' \ --data '{ "connector_type": "payment_processor", "connector_name": "stripe", ...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"AmazonPayRedirectData\": {\n", " \"type\": \"object\"\n", " },\n", " \"amazon_pay\",\n", " {\n", " \"type\": \"object\",\n", " \"required\": ...
[ { "file_path": "crates/hyperswitch_domain_models/src/payment_method_data.rs", "lines": [ " payments::{additional_info as payment_additional_types, ExtendedCardInfo},\n" ] }, { "file_path": "crates/router/src/connector/adyen.rs", "lines": [ " PaymentMethodType::C...
[ "toml", "json", "rs" ]
48
juspay/hyperswitch
juspay__hyperswitch-7037
Bug: feat(router): Unify Auth in single layer (V2) In-efficiency in design * Currently we have many types of auth and auth is evaluated in multiple places, with multiple ways. * This indeed required multiple approaches and solution needs to be maintained * More cognitive load * We can’t authenticate a request ...
diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json index 041cae13ca6..0be5dd8ec2b 100644 --- a/api-reference-v2/openapi_spec.json +++ b/api-reference-v2/openapi_spec.json @@ -6705,6 +6705,42 @@ } } }, + "ClientSecretResponse": { + "type": "object"...
2025-01-15T07:11:21Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [x] New feature - [x] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description <!-- Describe your changes in detail --> Added an enum `V2Auth` (name subject to change) to encapsulate ...
afcf1ef56bf61b84bd9d1070a22964ae4c08c5fc
1a. Payment method intent create request: ```bash curl --location 'http://localhost:8080/v2/payment-methods/create-intent' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'X-Profile-Id: pro_hOlRnOdewwhXSV9l7TJJ' \ --header 'api-key: dev_XLbxcbVTqGoxcd8rVlt48b0Qhb...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"ClientSecretResponse\": {\n", " \"type\": \"object\",\n", " \"description\": \"client_secret for the resource_id mentioned\",\n", " \"required\": [\n", " \"id\",\n", " ...
[ { "file_path": "api-reference-v2/openapi_spec.json", "lines": [ " \"EphemeralKeyCreateResponse\": {\n", " \"type\": \"object\",\n", " \"description\": \"ephemeral_key for the customer_id mentioned\",\n", " \"required\": [\n", " \"customer_id\"...
[ "json", "rs" ]
30
juspay/hyperswitch
juspay__hyperswitch-7033
Bug: refactor(RouterData): Add customer email and brower Information Refactoring RouterData for v2. Refactored customer email and browser information fields.
diff --git a/crates/hyperswitch_domain_models/src/router_request_types.rs b/crates/hyperswitch_domain_models/src/router_request_types.rs index 2517559e2fc..2f8594662eb 100644 --- a/crates/hyperswitch_domain_models/src/router_request_types.rs +++ b/crates/hyperswitch_domain_models/src/router_request_types.rs @@ -491,6 +...
2025-01-13T10:01:16Z
## Type of Change <!-- Put an `x` in the boxes that apply --> - [ ] Bugfix - [ ] New feature - [ ] Enhancement - [x] Refactoring - [ ] Dependency updates - [ ] Documentation - [ ] CI/CD ## Description Refactored customer email and browser information in router data ## Motivation and Context <!-- Why ...
1d993055d221eba72c81e3ba0c0b0e6a7e1313a0
- Confirm Intent API Call for trustpay connector. ``` curl --location 'http://localhost:8080/v2/payments/12345_pay_01945e865f697553bbf0eb847611cfcd/confirm-intent' \ --header 'x-client-secret: 1secret-client-secret' \ --header 'x-profile-id: pro_id' \ --header 'Content-Type: application/json' \ --header 'api-ke...
[ { "file_path": "crates/hyperswitch_domain_models/src/router_request_types.rs", "lines": [ "#[cfg(feature = \"v2\")]\n", "impl From<common_utils::types::BrowserInformation> for BrowserInformation {\n", " fn from(value: common_utils::types::BrowserInformation) -> Self {\n", " ...
[ { "file_path": "crates/router/src/core/payments/transformers.rs", "lines": [ " browser_info: None,\n", " email: None,\n" ] } ]
[ "rs" ]
2