repo
stringclasses
1 value
instance_id
stringlengths
22
24
problem_statement
stringlengths
30
24.1k
patch
stringlengths
0
1.9M
test_patch
stringclasses
1 value
created_at
stringdate
2022-11-25 05:12:07
2025-06-13 10:24:29
hints_text
stringlengths
0
234k
base_commit
stringlengths
40
40
test_instructions
stringlengths
0
232k
filenames
listlengths
0
300
juspay/hyperswitch
juspay__hyperswitch-2248
Bug: [FEATURE]: [Tsys] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount valu...
diff --git a/crates/router/src/connector/tsys.rs b/crates/router/src/connector/tsys.rs index 869aa535636..e7e818062e2 100644 --- a/crates/router/src/connector/tsys.rs +++ b/crates/router/src/connector/tsys.rs @@ -71,6 +71,10 @@ impl ConnectorCommon for Tsys { "tsys" } + fn get_currency_unit(&self) ->...
2023-10-31T16:54:55Z
## Description <!-- Describe your changes in detail --> - This PR is related with #2248 which implements `get_currency_unit` fn. , `TsysRouterData<T>` struct and functionality ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies appli...
8e484ddab8d3f4463299c7f7e8ce75b8dd628599
Got to test it by paying using Tsys and test the currency unit.
[ "crates/router/src/connector/tsys.rs", "crates/router/src/connector/tsys/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2322
Bug: [FEATURE]: [Airwallex] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a si...
diff --git a/crates/router/src/connector/airwallex/transformers.rs b/crates/router/src/connector/airwallex/transformers.rs index e38999d495b..d3824e9d0da 100644 --- a/crates/router/src/connector/airwallex/transformers.rs +++ b/crates/router/src/connector/airwallex/transformers.rs @@ -569,12 +569,12 @@ impl<F, T> ...
2023-10-31T14:25:53Z
## Description The `connector_response_reference_id` parameter has been set for the Airwallex Payment Solutions for uniform reference and transaction tracking. ### File Changes - [x] This PR modifies the Airwallex Transformers file. **Location- router/src/connector/airwallex/transformers.rs** ## Motiv...
2798f575605cc4439166344e57ff19b612f1304a
- **I ran the following command, and all the errors were addressed properly, and the build was successful.** ```bash cargo clippy --all-features ``` ![build](https://github.com/juspay/hyperswitch/assets/47860497/69cb247b-0a67-43c6-b006-5ec0c012822f) - The code changes were formatted with the following comman...
[ "crates/router/src/connector/airwallex/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2220
Bug: [FEATURE]: [BitPay] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount va...
diff --git a/crates/router/src/connector/bitpay.rs b/crates/router/src/connector/bitpay.rs index 2dc634426f3..e8826e93390 100644 --- a/crates/router/src/connector/bitpay.rs +++ b/crates/router/src/connector/bitpay.rs @@ -82,6 +82,10 @@ impl ConnectorCommon for Bitpay { "bitpay" } + fn get_currency_un...
2023-10-30T14:53:06Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Followin...
0a44f5699ed7b0c0ea0352b67c65df496ebe61f3
We need to create a payment using bitpay and test the currency unit from connector response and connector dashboard.
[ "crates/router/src/connector/bitpay.rs", "crates/router/src/connector/bitpay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2306
Bug: [FEATURE]: [NMI] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of uniformity ...
diff --git a/crates/router/src/connector/nmi/transformers.rs b/crates/router/src/connector/nmi/transformers.rs index 3f64ff9eaca..582bb9f7367 100644 --- a/crates/router/src/connector/nmi/transformers.rs +++ b/crates/router/src/connector/nmi/transformers.rs @@ -49,6 +49,7 @@ pub struct NmiPaymentsRequest { currency...
2023-10-30T02:40:45Z
Add orderid with value of connector_request_reference_id in NMI transformers. Fixes #2306 ## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/e...
8125ea19912f6d6446412d13842e35545cc1a484
Make any Payment for connector NMI and see that you are getting "reference_id" field in the logs of payment request.
[ "crates/router/src/connector/nmi/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2351
Bug: [FEATURE]: [Worldline] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a si...
diff --git a/crates/router/src/connector/worldline/transformers.rs b/crates/router/src/connector/worldline/transformers.rs index f11c2398080..8d18723f9ed 100644 --- a/crates/router/src/connector/worldline/transformers.rs +++ b/crates/router/src/connector/worldline/transformers.rs @@ -565,12 +565,12 @@ impl<F, T> TryFro...
2023-10-29T15:30:07Z
## Description <!-- Describe your changes in detail --> https://github.com/juspay/hyperswitch/issues/2351 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links...
8125ea19912f6d6446412d13842e35545cc1a484
Make any Payment for connector Worldline and see that you are getting "reference_id" field in the payments response of hyperswitch. It should not be null.
[ "crates/router/src/connector/worldline/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2282
Bug: [REFACTOR]: [Payme] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum varia...
diff --git a/crates/router/src/connector/payme/transformers.rs b/crates/router/src/connector/payme/transformers.rs index 4ced1a9bcda..1b7ce27439b 100644 --- a/crates/router/src/connector/payme/transformers.rs +++ b/crates/router/src/connector/payme/transformers.rs @@ -651,7 +651,20 @@ impl TryFrom<&types::PaymentsAutho...
2023-10-29T12:15:07Z
## Description This PR removes the default case handling and adds error handling for all the available cases. Fixes #2282 ## How did you test it? No test cases. As In this PR only error message have been populated for all default cases.
4afe552563c6a0cb9544a9a2f870bb9d07d7cf18
No test cases. As In this PR only error message have been populated for all default cases.
[ "crates/router/src/connector/payme/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2225
Bug: [FEATURE]: [Fiserv] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount va...
diff --git a/crates/router/src/connector/fiserv.rs b/crates/router/src/connector/fiserv.rs index 70f58ffe6eb..35d40f1a3fb 100644 --- a/crates/router/src/connector/fiserv.rs +++ b/crates/router/src/connector/fiserv.rs @@ -104,6 +104,10 @@ impl ConnectorCommon for Fiserv { "fiserv" } + fn get_currency_...
2023-10-28T02:46:57Z
## Description - Addressing Issue: #2225 - Modified two files in `hyperswitch/crates/router/src/connector/` - `fiserv.rs` - Implement `get_currency_unit` function - Modify `ConnectorIntegration` implementations for `Fiserv` - `fiserv/transformers.rs` - Implement `FiservRouterData<T>` structure ...
53b8fefbc2f8b58d1be7e9f35ca8b7e44e327bfb
We need to create a payment using Fiserv and test the currency unit from connector response and connector dashboard.
[ "crates/router/src/connector/fiserv.rs", "crates/router/src/connector/fiserv/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2281
Bug: [REFACTOR]: [Payeezy] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum var...
diff --git a/crates/router/src/connector/payeezy/transformers.rs b/crates/router/src/connector/payeezy/transformers.rs index 98e8ea12c00..efcd1b36d5b 100644 --- a/crates/router/src/connector/payeezy/transformers.rs +++ b/crates/router/src/connector/payeezy/transformers.rs @@ -37,11 +37,14 @@ impl TryFrom<utils::CardIss...
2023-10-27T14:47:44Z
## Description <!-- Describe your changes in detail --> - Fix issue #2281 - Changes to be made : Remove default case handling - File changed: ```transformers.rs``` (crates/router/src/connector/payeezy/transformers.rs) ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the ...
ca77c7ce3c6b806ff60e83725cc4e50855422037
No test cases. As In this PR only error message have been populated for all default cases.
[ "crates/router/src/connector/payeezy/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2246
Bug: [FEATURE]: [Stax] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount valu...
diff --git a/crates/router/src/connector/stax.rs b/crates/router/src/connector/stax.rs index 82a4c7ff323..7f5fde71938 100644 --- a/crates/router/src/connector/stax.rs +++ b/crates/router/src/connector/stax.rs @@ -70,6 +70,10 @@ impl ConnectorCommon for Stax { "stax" } + fn get_currency_unit(&self) ->...
2023-10-27T14:45:03Z
## Description <!-- Describe your changes in detail --> This PR solves the Currency Unit Conversion for STAX Connector and fixes issue #2246 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment ...
e40a29351c7aa7b86a5684959a84f0236104cafd
We need to create a payment using Stax and test the currency unit from connector response and connector dashboard.
[ "crates/router/src/connector/stax.rs", "crates/router/src/connector/stax/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2241
Bug: [FEATURE]: [Payeezy] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount v...
diff --git a/crates/router/src/connector/payeezy.rs b/crates/router/src/connector/payeezy.rs index da712605437..03e76af907c 100644 --- a/crates/router/src/connector/payeezy.rs +++ b/crates/router/src/connector/payeezy.rs @@ -90,6 +90,10 @@ impl ConnectorCommon for Payeezy { "payeezy" } + fn get_curre...
2023-10-27T13:51:28Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Followin...
cdca284b2a7a77cb22074fa8b3b380a088c10f00
We need to create a payment using payeezy and test the currency unit from connector response and connector dashboard.
[ "crates/router/src/connector/payeezy.rs", "crates/router/src/connector/payeezy/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2236
Bug: [FEATURE]: [NMI] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount value...
diff --git a/crates/router/src/connector/nmi.rs b/crates/router/src/connector/nmi.rs index cdeb9c99d5e..4f7ee15d730 100644 --- a/crates/router/src/connector/nmi.rs +++ b/crates/router/src/connector/nmi.rs @@ -58,6 +58,10 @@ impl ConnectorCommon for Nmi { "nmi" } + fn get_currency_unit(&self) -> api::...
2023-10-27T09:20:15Z
## Description - Addressing Issue: #2236 - Modified two files in `hyperswitch/crates/router/src/connector/` - `nmi.rs` - Implement `get_currency_unit` function - Modify `ConnectorIntegration` implementations for `Nmi` - `nmi/transformers.rs` - Implement `NmiRouterData<T>` structure and function...
53b8fefbc2f8b58d1be7e9f35ca8b7e44e327bfb
We need to create a payment using NMI and test the currency unit from connector response and connector dashboard.
[ "crates/router/src/connector/nmi.rs", "crates/router/src/connector/nmi/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2268
Bug: [REFACTOR]: [Cybersource] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum...
diff --git a/crates/router/src/connector/cybersource/transformers.rs b/crates/router/src/connector/cybersource/transformers.rs index 9b0bf61c545..324fe77d0bc 100644 --- a/crates/router/src/connector/cybersource/transformers.rs +++ b/crates/router/src/connector/cybersource/transformers.rs @@ -193,9 +193,22 @@ impl TryFr...
2023-10-26T21:29:00Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Followin...
a8c74321dbba5c7be6468fff7680d703d726a781
Make a mandate payment for cybersource, for the payment method which is not implemented like bank_debit or bank_transfer and check for the error message - it should be PM not implemented
[ "crates/router/src/connector/cybersource/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2297
Bug: [FEATURE]: [Dlocal] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of uniformi...
diff --git a/crates/router/src/connector/dlocal/transformers.rs b/crates/router/src/connector/dlocal/transformers.rs index 5146dd0ea03..668a335cce8 100644 --- a/crates/router/src/connector/dlocal/transformers.rs +++ b/crates/router/src/connector/dlocal/transformers.rs @@ -145,7 +145,7 @@ impl TryFrom<&DlocalRouterData<...
2023-10-26T19:01:06Z
…cal connector #2297 ## Description Use connector_request_reference_id as reference to the connector #2297 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables Provide links to ...
6dc71fe9923a793b76eee2ea1ac1060ab584a303
Make any Payment for connector Dlocal and see that you are getting "reference_id" field in the logs of payment request.
[ "crates/router/src/connector/dlocal/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2262
Bug: [REFACTOR]: [Airwallex] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum v...
diff --git a/crates/router/src/connector/airwallex/transformers.rs b/crates/router/src/connector/airwallex/transformers.rs index 51258643c64..031a8276bb0 100644 --- a/crates/router/src/connector/airwallex/transformers.rs +++ b/crates/router/src/connector/airwallex/transformers.rs @@ -186,8 +186,18 @@ impl TryFrom<&Airw...
2023-10-26T18:19:54Z
## Description <!-- Describe your changes in detail --> #2262 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Fo...
6dc71fe9923a793b76eee2ea1ac1060ab584a303
No test cases. As In this PR only error message have been populated for all default cases.
[ "crates/router/src/connector/airwallex/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2338
Bug: [FEATURE]: [NMI] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a single t...
diff --git a/crates/router/src/connector/nmi/transformers.rs b/crates/router/src/connector/nmi/transformers.rs index 5b486aae600..926f2c300d2 100644 --- a/crates/router/src/connector/nmi/transformers.rs +++ b/crates/router/src/connector/nmi/transformers.rs @@ -727,7 +727,7 @@ impl<T> Response::Approved => ...
2023-10-26T17:24:03Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Followin...
8ac4c205e8876ce596ff9a729e1f034360624ec2
Make any Payment for connector NMI and see that you are getting "reference_id" field in the payments response of hyperswitch. It should not be null.
[ "crates/router/src/connector/nmi/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2286
Bug: [REFACTOR]: [Square] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum vari...
diff --git a/crates/router/src/connector/square/transformers.rs b/crates/router/src/connector/square/transformers.rs index 01ed507bf34..54a7c461dbf 100644 --- a/crates/router/src/connector/square/transformers.rs +++ b/crates/router/src/connector/square/transformers.rs @@ -23,7 +23,10 @@ impl TryFrom<(&types::Tokenizati...
2023-10-26T14:35:57Z
## Description <!-- Describe your changes in detail --> - Fix issue #2286 - Changes to be made : Remove default case handling - File changed: ```transformers.rs``` (crates/router/src/connector/square/transformers.rs) ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the ...
88e1f29dae13622bc58b8f5df1cd84b929b28ac6
No test cases. As In this PR only error message have been populated for all default cases.
[ "crates/router/src/connector/square/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2298
Bug: [FEATURE]: [Fiserv] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of uniformi...
diff --git a/crates/router/src/connector/fiserv/transformers.rs b/crates/router/src/connector/fiserv/transformers.rs index c9c2f0c4087..ae8eed0af31 100644 --- a/crates/router/src/connector/fiserv/transformers.rs +++ b/crates/router/src/connector/fiserv/transformers.rs @@ -62,6 +62,7 @@ pub struct Amount { pub struct T...
2023-10-26T11:51:29Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Followin...
6dc71fe9923a793b76eee2ea1ac1060ab584a303
Make any Payment for connector Fiserv and see that you are getting "reference_id" field in the logs of payment request.
[ "crates/router/src/connector/fiserv/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2294
Bug: [FEATURE]: [Bitpay] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of uniformi...
diff --git a/crates/router/src/connector/bitpay/transformers.rs b/crates/router/src/connector/bitpay/transformers.rs index c5c20608a75..5af20d6423f 100644 --- a/crates/router/src/connector/bitpay/transformers.rs +++ b/crates/router/src/connector/bitpay/transformers.rs @@ -60,6 +60,7 @@ pub struct BitpayPaymentsRequest ...
2023-10-26T09:49:02Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Followin...
e40a29351c7aa7b86a5684959a84f0236104cafd
Make any Payment for connector Bitpay and see that you are getting "reference_id" field in the logs of payment request.
[ "crates/router/src/connector/bitpay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2335
Bug: [FEATURE]: [Mollie] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a singl...
diff --git a/crates/router/src/connector/mollie/transformers.rs b/crates/router/src/connector/mollie/transformers.rs index 3c23c9f1d39..56f280d288a 100644 --- a/crates/router/src/connector/mollie/transformers.rs +++ b/crates/router/src/connector/mollie/transformers.rs @@ -590,7 +590,7 @@ pub struct RefundResponse { ...
2023-10-26T04:17:27Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Followin...
8e484ddab8d3f4463299c7f7e8ce75b8dd628599
Make any Payment for connector Mollie and see that you are getting "reference_id" field in the payments response of hyperswitch. It should not be null.
[ "crates/router/src/connector/mollie/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2302
Bug: [FEATURE]: [Iatapay] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of uniform...
diff --git a/crates/router/src/connector/iatapay/transformers.rs b/crates/router/src/connector/iatapay/transformers.rs index f98798fe5be..d4731b024c8 100644 --- a/crates/router/src/connector/iatapay/transformers.rs +++ b/crates/router/src/connector/iatapay/transformers.rs @@ -110,7 +110,7 @@ impl TryFrom<&types::Paymen...
2023-10-25T18:56:03Z
## Description <!-- Describe your changes in detail --> fixes #2302 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables ## How did you test it? <!-- Did you write an integration/...
2815443c1b147e005a2384ff817292b1845a9f88
Make any Payment for connector Iatapay and see that you are getting "reference_id" field in the logs of payment request.
[ "crates/router/src/connector/iatapay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2279
Bug: [REFACTOR]: [Opayo] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum varia...
diff --git a/crates/router/src/connector/opayo/transformers.rs b/crates/router/src/connector/opayo/transformers.rs index d828232dbc1..41bcc1500ed 100644 --- a/crates/router/src/connector/opayo/transformers.rs +++ b/crates/router/src/connector/opayo/transformers.rs @@ -2,7 +2,7 @@ use masking::Secret; use serde::{Deser...
2023-10-25T12:28:59Z
## Description <!-- Describe your changes in detail --> #2279 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Fo...
27b97626245cab12dd9aefb4d85a77b5c913dba0
[ "crates/router/src/connector/opayo/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2233
Bug: [FEATURE]: [Nexi Nets] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount...
diff --git a/crates/router/src/connector/nexinets.rs b/crates/router/src/connector/nexinets.rs index 30ae4ab25e5..ac0d7494d2d 100644 --- a/crates/router/src/connector/nexinets.rs +++ b/crates/router/src/connector/nexinets.rs @@ -76,6 +76,10 @@ impl ConnectorCommon for Nexinets { "nexinets" } + fn get...
2023-10-25T01:48:47Z
## Description This pull request implements the get_currency_unit from the ConnectorCommon trait for the Nexinets connector. This function allows connectors to declare their accepted currency unit as either Base or Minor. For Nexinets it accepts currency as Minor units. ### Additional Changes - [ ] This PR mo...
8e484ddab8d3f4463299c7f7e8ce75b8dd628599
We need to create a payment using Nexinets and test the currency unit from connector response and connector dashboard.
[ "crates/router/src/connector/nexinets.rs", "crates/router/src/connector/nexinets/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2277
Bug: [REFACTOR]: [Noon] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum varian...
diff --git a/crates/router/src/connector/noon/transformers.rs b/crates/router/src/connector/noon/transformers.rs index cde6de2e43b..4a2128f7ec6 100644 --- a/crates/router/src/connector/noon/transformers.rs +++ b/crates/router/src/connector/noon/transformers.rs @@ -245,13 +245,51 @@ impl TryFrom<&types::PaymentsAuthoriz...
2023-10-25T00:59:43Z
## Description - Addresses Issue #2277 - Modified `crates/router/src/connector/noon/transformers.rs` - Convert `NotImplemented` to `NotSupported` in default case ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application ...
2815443c1b147e005a2384ff817292b1845a9f88
No test cases. As In this PR only error message have been populated for all default cases.
[ "crates/router/src/connector/noon/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2289
Bug: [REFACTOR]: [Worldline] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum v...
diff --git a/crates/router/src/connector/worldline/transformers.rs b/crates/router/src/connector/worldline/transformers.rs index f11c2398080..80378215a45 100644 --- a/crates/router/src/connector/worldline/transformers.rs +++ b/crates/router/src/connector/worldline/transformers.rs @@ -247,11 +247,19 @@ impl ...
2023-10-24T09:39:40Z
## Description <!-- Describe your changes in detail --> https://github.com/juspay/hyperswitch/issues/2289 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to ...
eaa972052024678ade122eec14261f9f33788e45
[ "crates/router/src/connector/worldline/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2288
Bug: [REFACTOR]: [Tsys] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum varian...
diff --git a/crates/router/src/connector/tsys/transformers.rs b/crates/router/src/connector/tsys/transformers.rs index 83134568c05..a3bd1c4a074 100644 --- a/crates/router/src/connector/tsys/transformers.rs +++ b/crates/router/src/connector/tsys/transformers.rs @@ -3,7 +3,7 @@ use masking::Secret; use serde::{Deseriali...
2023-10-23T21:26:08Z
## Description <!-- https://github.com/juspay/hyperswitch/issues/2288 --> Resolves: #2288 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with ...
eaa972052024678ade122eec14261f9f33788e45
[ "crates/router/src/connector/tsys/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2244
Bug: [FEATURE]: [Rapyd] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount val...
diff --git a/crates/router/src/connector/rapyd.rs b/crates/router/src/connector/rapyd.rs index 292e6c55f26..29f21f37381 100644 --- a/crates/router/src/connector/rapyd.rs +++ b/crates/router/src/connector/rapyd.rs @@ -64,6 +64,10 @@ impl ConnectorCommon for Rapyd { "rapyd" } + fn get_currency_unit(&se...
2023-10-22T19:22:53Z
## Description <!-- Describe your changes in detail --> This PR solves issue number #2244 for currency unit conversion in Rapyd Connector ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment vari...
af90089010e06ed45a70c51d4143260eec45b6dc
Create a payment via hyperswitch, (Rapyd connector) and match the amount you are passing in your request with amount you are getting in connector response. Both should be same
[ "crates/router/src/connector/rapyd.rs", "crates/router/src/connector/rapyd/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1793
Bug: [BUG] Add Create Merchant and Create Merchant Key Store in a DB transaction Currently MerchantAccount and MerchantKeyStore are getting inserted seperately. Since both of them are interdependent we need to make sure both are consistent with each other. If one of them fails other shouldn't get inserted. We n...
diff --git a/crates/diesel_models/src/errors.rs b/crates/diesel_models/src/errors.rs index 0a8422131ae..30e4273fdb5 100644 --- a/crates/diesel_models/src/errors.rs +++ b/crates/diesel_models/src/errors.rs @@ -10,7 +10,15 @@ pub enum DatabaseError { NoFieldsToUpdate, #[error("An error occurred when generating ...
2023-10-22T14:35:52Z
## Description Merchant account creation and respective key store creation now happen in a DB transaction ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to t...
8e484ddab8d3f4463299c7f7e8ce75b8dd628599
- Create a merchant account. - Check if both merchant account and merchant key store exists ``` SELECT * from merchant_account; SELECT * from merchant_key_store; ```
[ "crates/diesel_models/src/errors.rs", "crates/router/src/core/admin.rs", "crates/router/src/db/merchant_account.rs", "crates/storage_impl/src/errors.rs", "crates/storage_impl/src/lib.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2221
Bug: [FEATURE]: [Coinbase] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount ...
diff --git a/crates/router/src/connector/coinbase.rs b/crates/router/src/connector/coinbase.rs index d50e490cfc3..5b9bedbd9c1 100644 --- a/crates/router/src/connector/coinbase.rs +++ b/crates/router/src/connector/coinbase.rs @@ -74,6 +74,10 @@ impl ConnectorCommon for Coinbase { "coinbase" } + fn get...
2023-10-20T17:28:07Z
## Description This pull request introduces the get_currecny_unit from ConnectorCommon trait for `CoinBase`. This function allows connectors to declare their accepted currency unit as either "Base" or "Minor" .For coinbase it accepts currency as Base. ### Additional Changes - [ ] This PR modifies the API cont...
8e484ddab8d3f4463299c7f7e8ce75b8dd628599
We need to create a payment using coinbase and test the currency unit from connector response and connector dashboard.
[ "crates/router/src/connector/coinbase.rs", "crates/router/src/connector/coinbase/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2240
Bug: [FEATURE]: [OpenNode] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount ...
diff --git a/crates/router/src/connector/opennode.rs b/crates/router/src/connector/opennode.rs index 6fad0f47205..07d33382a21 100644 --- a/crates/router/src/connector/opennode.rs +++ b/crates/router/src/connector/opennode.rs @@ -72,6 +72,10 @@ impl ConnectorCommon for Opennode { "opennode" } + fn get...
2023-10-19T15:45:27Z
## Description - Addressing Issue: #2240 - Modified two files in `hyperswitch/crates/router/src/connector/` - `opennode.rs` - Implement `get_currency_unit` function - Modify `ConnectorIntegration` implementations for `Opennode` - `opennode/transformers.rs` - Implement `OpennodeRouterData<T>` st...
62d5727092ac482dd086ab9e814a8ba5e3011849
We need to create a payment using opennode and test the currency unit from connector response and connector dashboard.
[ "crates/router/src/connector/opennode.rs", "crates/router/src/connector/opennode/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2267
Bug: [REFACTOR]: [CryptoPay] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum v...
diff --git a/crates/router/src/connector/cryptopay/transformers.rs b/crates/router/src/connector/cryptopay/transformers.rs index a49380cb365..8d9f277dd0f 100644 --- a/crates/router/src/connector/cryptopay/transformers.rs +++ b/crates/router/src/connector/cryptopay/transformers.rs @@ -69,9 +69,23 @@ impl TryFrom<&Crypto...
2023-10-19T10:21:04Z
## Description <!-- Describe your changes in detail --> Removed the default match case as mentioned in the issue ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide li...
664093dc79743203196d912c17570885718b1c02
[ "crates/router/src/connector/cryptopay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2275
Bug: [REFACTOR]: [Nexi nets] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum v...
diff --git a/crates/router/src/connector/nexinets/transformers.rs b/crates/router/src/connector/nexinets/transformers.rs index 897d8f639d3..2af3ee0a1bb 100644 --- a/crates/router/src/connector/nexinets/transformers.rs +++ b/crates/router/src/connector/nexinets/transformers.rs @@ -9,7 +9,7 @@ use url::Url; use crate:...
2023-10-19T03:44:35Z
## Description <!-- https://github.com/juspay/hyperswitch/issues/2275 --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding c...
cc0b42263257b6cf6c7f94350442a74d3c02750b
[ "crates/router/src/connector/nexinets/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2646
Bug: [FEATURE] Add custom-headers support for Rustman ### Feature Description This will open up wide range of possibility for all the developers out there to add custom headers of their wish to test out new things and what not? ### Possible Implementation Pass the headers in the form of a key-value pair in th...
diff --git a/crates/test_utils/README.md b/crates/test_utils/README.md index 1e92174b333..2edbc7104c2 100644 --- a/crates/test_utils/README.md +++ b/crates/test_utils/README.md @@ -28,9 +28,16 @@ Required fields: Optional fields: +- `--delay` -- To add a delay between requests in milliseconds. + - Maximum delay i...
2023-10-18T17:58:48Z
## Description <!-- Describe your changes in detail --> Closes #2646 This PR as usual, narrows the main aim of rustman by making specific to Hyperswitch. With this, you should now be able to: - Set delay between each request sent as per your own wish while default being `7` milliseconds - Pass in custom-headers ...
cdca284b2a7a77cb22074fa8b3b380a088c10f00
Command used: (Custom headers taken from #2116) Delay set to 0.5 seconds ```sh cargo run --bin test_utils -- --base_url=http://127.0.0.1:8080 --admin_api_key=test_admin --connector_name=stripe --folder "QuickStart" --header "payment_confirm_source:merchant_server" --header "another_header_key:and_its_value" --del...
[ "crates/test_utils/README.md", "crates/test_utils/src/main.rs", "crates/test_utils/src/newman_runner.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2324
Bug: [FEATURE]: [Bambora] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a sing...
diff --git a/crates/router/src/connector/bambora/transformers.rs b/crates/router/src/connector/bambora/transformers.rs index bfcd9846292..e686186c901 100644 --- a/crates/router/src/connector/bambora/transformers.rs +++ b/crates/router/src/connector/bambora/transformers.rs @@ -214,7 +214,7 @@ impl<F, T> ...
2023-10-18T17:09:58Z
## Description The `connector_response_reference_id` parameter has been set for the Bambora Payment Solutions for uniform reference and transaction tracking. ### File Changes - [x] This PR modifies the Bambora Transformers file. **Location- router/src/connector/bambora/transformers.rs** ## Motivation ...
03b6eaebeccd628115b8f4c52aa8645abbccdd29
- **I ran the following command, and all the errors were addressed properly, and the build was successful.** ```bash cargo clippy --all-features ``` ![build](https://github.com/juspay/hyperswitch/assets/47860497/74082946-5ce8-4202-87f2-05648e7fd2ff) - The code changes were formatted with the following comman...
[ "crates/router/src/connector/bambora/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2930
Bug: [FEATURE]: Add partner flow for PayPal ### Feature Description PayPal offers an onboarding flow, where merchants can be onboarded directly from a partner account. But for that, we need to change the authentication logic for PayPal request. We should be able to take a 3rd field in the connector_account_detai...
diff --git a/crates/router/src/connector/paypal.rs b/crates/router/src/connector/paypal.rs index e514ebbed2f..0e8cff8c056 100644 --- a/crates/router/src/connector/paypal.rs +++ b/crates/router/src/connector/paypal.rs @@ -5,10 +5,10 @@ use base64::Engine; use common_utils::ext_traits::ByteSliceExt; use diesel_models::...
2023-10-18T14:16:43Z
## Description <!-- Describe your changes in detail --> - Make PayPal support `SignatureKey` `auth_type`. - Add extra fields in `orders` request. ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environ...
938b63a1fceb87b4aae4211dac4d051e024028b1
Postman. ### Payment Connector - Create Paypal now supports `TemporaryAuth` in the `auth_type`. You can find more details about this in this PR #2833. Paypal also support `SignatureKey` in the `auth_type`. ``` curl --location 'http://localhost:8080/account/merchant_1700133263/connectors' \ --header 'Content-Typ...
[ "crates/router/src/connector/paypal.rs", "crates/router/src/connector/paypal/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2319
Bug: [FEATURE]: [Tsys] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of uniformity...
diff --git a/crates/router/src/connector/tsys/transformers.rs b/crates/router/src/connector/tsys/transformers.rs index d8516c8293b..83134568c05 100644 --- a/crates/router/src/connector/tsys/transformers.rs +++ b/crates/router/src/connector/tsys/transformers.rs @@ -34,6 +34,7 @@ pub struct TsysPaymentAuthSaleRequest { ...
2023-10-18T13:20:35Z
## Description The `connector_request_reference_id` parameter has been set for the Tsys Payment Solutions for uniform reference and transaction tracking. ### File Changes - [x] This PR modifies the Tsys Transformers file. **Location- router/src/connector/tsys/transformers.rs** ## Motivation and Contex...
6cf8f0582cfa4f6a58c67a868cb67846970b3835
- **I ran the following command, and all the errors were addressed properly, and the build was successful.** ```bash cargo clippy --all-features ``` ![build](https://github.com/juspay/hyperswitch/assets/47860497/6ad99801-288c-4bd5-b125-ddf19c645f1a) - The code changes were formatted with the following comman...
[ "crates/router/src/connector/tsys/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2222
Bug: [FEATURE]: [Cybersource] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amou...
diff --git a/crates/router/src/connector/cybersource.rs b/crates/router/src/connector/cybersource.rs index d1ad36b26d1..0a13aa0cf14 100644 --- a/crates/router/src/connector/cybersource.rs +++ b/crates/router/src/connector/cybersource.rs @@ -93,6 +93,10 @@ impl ConnectorCommon for Cybersource { connectors.cyber...
2023-10-18T09:03:55Z
## Description This PR implements `get_currency_unit` for cybersource to convert payments from `Base` to `Minor` it also implements router data to handle the conversion. ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application...
664093dc79743203196d912c17570885718b1c02
I tested by sending a payment request & verifying the amount is showed in minor units in the cybersource console ![image](https://github.com/juspay/hyperswitch/assets/33598169/db8bea1c-23ed-4df4-a8a2-72f2e55c6131)
[ "crates/router/src/connector/cybersource.rs", "crates/router/src/connector/cybersource/transformers.rs", "crates/router/src/connector/utils.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2270
Bug: [REFACTOR]: [Forte] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum varia...
diff --git a/crates/router/src/connector/forte/transformers.rs b/crates/router/src/connector/forte/transformers.rs index bc7c55c4f87..7851608d11b 100644 --- a/crates/router/src/connector/forte/transformers.rs +++ b/crates/router/src/connector/forte/transformers.rs @@ -101,9 +101,23 @@ impl TryFrom<&types::PaymentsAutho...
2023-10-18T08:56:41Z
## Description - Addresses Issue #2270 - Modified `crates/router/src/connector/forte/transformers.rs` - Convert `NotImplemented` to `NotSupported` in default case ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application...
6cf8f0582cfa4f6a58c67a868cb67846970b3835
[ "crates/router/src/connector/forte/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2269
Bug: [REFACTOR]: [Dlocal] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum vari...
diff --git a/crates/router/src/connector/dlocal/transformers.rs b/crates/router/src/connector/dlocal/transformers.rs index 8558836372e..18a6ad46755 100644 --- a/crates/router/src/connector/dlocal/transformers.rs +++ b/crates/router/src/connector/dlocal/transformers.rs @@ -118,7 +118,20 @@ impl TryFrom<&types::PaymentsA...
2023-10-18T08:01:14Z
## Description removed all the default case in dlocal and handle all the missing cases closes #2269 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the f...
a1472c6b78afa819cbe026a7db1e0c2b9016715e
[ "crates/router/src/connector/dlocal/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2223
Bug: [FEATURE]: [Dlocal] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount va...
diff --git a/crates/router/src/connector/dlocal.rs b/crates/router/src/connector/dlocal.rs index 90be2399ba0..b706d694a3d 100644 --- a/crates/router/src/connector/dlocal.rs +++ b/crates/router/src/connector/dlocal.rs @@ -109,6 +109,10 @@ impl ConnectorCommon for Dlocal { "dlocal" } + fn get_currency_...
2023-10-17T13:50:19Z
## Description - Addressing Issue: #2223 - Modified two files in `hyperswitch/crates/router/src/connector/` - `dlocal.rs` - Implement `get_currency_unit` function - Modify `ConnectorIntegration` implementations for `Dlocal` - `dlocal/transformers.rs` - Implement `DlocalRouterData<T>` structure ...
6cf8f0582cfa4f6a58c67a868cb67846970b3835
[ "crates/router/src/connector/dlocal.rs", "crates/router/src/connector/dlocal/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2334
Bug: [FEATURE]: [Klarna] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a singl...
diff --git a/crates/router/src/connector/klarna/transformers.rs b/crates/router/src/connector/klarna/transformers.rs index 31e356d4765..563410ee99d 100644 --- a/crates/router/src/connector/klarna/transformers.rs +++ b/crates/router/src/connector/klarna/transformers.rs @@ -159,12 +159,14 @@ impl TryFrom<types::PaymentsR...
2023-10-17T13:15:34Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Followin...
67d006272158372a4b9ec65cbbe7b2ae8f35eb69
[ "crates/router/src/connector/klarna/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2598
Bug: [CI] Add ci workflow for validating hotfix pr ### Feature Description Add support for creating a new workflow for validating the hotfix pr. Workflow should be triggered when baseRef is prefixed with hotfix- ### Possible Implementation Assumption - Hotfix PR description contains one or more original PR'...
2023-10-16T07:23:49Z
## Description <!-- Describe your changes in detail --> This PR adds a new workflow for validating the hotfix PR. Workflow is triggered when baseRef of hotfix PR is prefixed with `hotfix-` **Assumption** - * Hotfix PR description contains one or more original PR's link * If description contains any issues...
cecea8718a48b4e896b2bafce0f909ef8d9a6e8a
CI passing ![image](https://github.com/juspay/hyperswitch/assets/70657455/431347b5-99d6-4d77-af6c-36d9028cca34) CI failing because Original PR is not merged ![image](https://github.com/juspay/hyperswitch/assets/70657455/1f6e1416-dfd2-4f7e-8bf9-a72468d8d8cb) CI failing because Original PR title does not ...
[]
juspay/hyperswitch
juspay__hyperswitch-2311
Bug: [FEATURE]: [OpenNode] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of unifor...
diff --git a/crates/router/src/connector/opennode/transformers.rs b/crates/router/src/connector/opennode/transformers.rs index aa3fae3a516..b367012ca75 100644 --- a/crates/router/src/connector/opennode/transformers.rs +++ b/crates/router/src/connector/opennode/transformers.rs @@ -19,6 +19,7 @@ pub struct OpennodePaymen...
2023-10-15T19:43:10Z
## Description <!-- Describe your changes in detail --> Use connector_request_reference_id as reference to the connector #2311 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables ...
027385eca6e76c5cbe65450f058ececa012d1175
Need help in doing test?
[ "crates/router/src/connector/opennode/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2292
Bug: [FEATURE]: [Authorizedotnet] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack...
diff --git a/crates/router/src/connector/authorizedotnet/transformers.rs b/crates/router/src/connector/authorizedotnet/transformers.rs index 20d78729a1b..561723be46c 100644 --- a/crates/router/src/connector/authorizedotnet/transformers.rs +++ b/crates/router/src/connector/authorizedotnet/transformers.rs @@ -261,6 +261,...
2023-10-15T08:07:18Z
…ference to the connector ## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corre...
94947bdb33ca4eb91daad13b2a427592d3b69851
Make any Payment for connector Authorizedotnet and see that you are getting "reference_id" field in the logs of payment request.
[ "crates/router/src/connector/authorizedotnet/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2229
Bug: [FEATURE]: [IataPay] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount v...
diff --git a/crates/router/src/connector/iatapay.rs b/crates/router/src/connector/iatapay.rs index 3a813c50cf6..4db2faa2d42 100644 --- a/crates/router/src/connector/iatapay.rs +++ b/crates/router/src/connector/iatapay.rs @@ -90,6 +90,10 @@ impl ConnectorCommon for Iatapay { "application/json" } + fn ...
2023-10-15T07:21:50Z
## Description - Addresses issue #2229 - Modified the files `hyperswitch/crates/router/src/connector/iatapay/transformers.rs` and `hyperswitch/crates/router/src/connector/iatapay.rs` - Rebased with most recent changes ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies t...
ca77c7ce3c6b806ff60e83725cc4e50855422037
We need to create a payment using Iatapay and test the currency unit from connector response and connector dashboard.
[ "crates/router/src/connector/iatapay.rs", "crates/router/src/connector/iatapay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2325
Bug: [FEATURE]: [Bitpay] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a singl...
diff --git a/crates/router/src/connector/bitpay/transformers.rs b/crates/router/src/connector/bitpay/transformers.rs index 5af20d6423f..89dd2368b2b 100644 --- a/crates/router/src/connector/bitpay/transformers.rs +++ b/crates/router/src/connector/bitpay/transformers.rs @@ -134,6 +134,7 @@ pub struct BitpayPaymentRespons...
2023-10-15T04:51:11Z
## Description <!-- Describe your changes in detail --> [Relevant documentation](https://developer.bitpay.com/docs/create-invoice#notificationurl) ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/envir...
4563935372d2cdff3f746fa86a47f1166ffd32ac
Make any Payment for connector Bitpay and see that you are getting "reference_id" field in the payments response of hyperswitch. It should not be null.
[ "crates/router/src/connector/bitpay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2272
Bug: [REFACTOR]: [Iatapay] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum var...
diff --git a/crates/router/src/connector/iatapay/transformers.rs b/crates/router/src/connector/iatapay/transformers.rs index 9d4ecdff197..f98798fe5be 100644 --- a/crates/router/src/connector/iatapay/transformers.rs +++ b/crates/router/src/connector/iatapay/transformers.rs @@ -86,7 +86,18 @@ impl TryFrom<&types::Payment...
2023-10-14T15:42:37Z
## Description <!-- Describe your changes in detail --> - Fix issue https://github.com/juspay/hyperswitch/issues/2272 - Changes to be made : Remove default case handling - Added all the ```ConnectorAuthType``` (which are not ```auth_type``` ) against the default case - File **changed: transformers.rs** (crates/ro...
5d88dbc92ce470c951717debe246e182b3fe5656
[ "crates/router/src/connector/iatapay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2274
Bug: [REFACTOR]: [Multisafepay] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enu...
diff --git a/crates/router/src/connector/multisafepay/transformers.rs b/crates/router/src/connector/multisafepay/transformers.rs index a8366fadf81..385c85e0aa6 100644 --- a/crates/router/src/connector/multisafepay/transformers.rs +++ b/crates/router/src/connector/multisafepay/transformers.rs @@ -229,11 +229,13 @@ impl ...
2023-10-14T13:54:31Z
## Description Removed all the default case handling in multisafepay and handle all the missing cases. Closes: #2274 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Pro...
500405d78938772e0e9f8e3ce4f930d782c670fa
[ "crates/router/src/connector/multisafepay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2683
Bug: [FEATURE] Add support for tokenising bank details and fetching masked details while listing ### Feature Description Add support for tokenising the fetched bank details during list_customer_payment_method and return masked bank details ### Possible Implementation For each bank account fetched from payment_me...
diff --git a/crates/api_models/src/payment_methods.rs b/crates/api_models/src/payment_methods.rs index c40dffe4cf3..8710c69aa5c 100644 --- a/crates/api_models/src/payment_methods.rs +++ b/crates/api_models/src/payment_methods.rs @@ -811,10 +811,20 @@ pub struct CustomerPaymentMethod { #[schema(value_type = Option<...
2023-10-14T12:17:42Z
## Description <!-- Describe your changes in detail --> This PR includes changes for tokenising the fetched bank details and return masked bank details while fetching the customer payment methods ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] T...
037e310aab5fac90ba33cdff2acda2f031261a6c
List customer payment method - ![image](https://github.com/juspay/hyperswitch/assets/70657455/a9bc01d8-aeef-4ee2-b1cb-7fd0e99df685) Redis Entry - ![image](https://github.com/juspay/hyperswitch/assets/70657455/5aa3deab-3489-47aa-bb71-315c07e436e2)
[ "crates/api_models/src/payment_methods.rs", "crates/router/src/core/payment_methods/cards.rs", "crates/router/src/openapi.rs", "openapi/openapi_spec.json" ]
juspay/hyperswitch
juspay__hyperswitch-2278
Bug: [REFACTOR]: [Nuvei] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum varia...
diff --git a/crates/router/src/connector/nuvei/transformers.rs b/crates/router/src/connector/nuvei/transformers.rs index 2fd1a9c272f..88ebe1d8dbe 100644 --- a/crates/router/src/connector/nuvei/transformers.rs +++ b/crates/router/src/connector/nuvei/transformers.rs @@ -490,11 +490,145 @@ impl TryFrom<api_models::enums::...
2023-10-13T18:46:35Z
## Description <!-- Describe your changes in detail --> - Fix issue #2278 - Changes to be made : Remove default case handling - Added all the ```Banknames``` (which are not ```NuveiBIC``` ) against the default case - File changed: **```transformers.rs```** (crates/router/src/connector/nuvei/transformers.rs) #...
5d88dbc92ce470c951717debe246e182b3fe5656
[ "crates/router/src/connector/nuvei/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2215
Bug: [FEATURE]: [Airwallex] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the am...
diff --git a/crates/router/src/connector/airwallex.rs b/crates/router/src/connector/airwallex.rs index 8a22c14dd32..8ef7ba08211 100644 --- a/crates/router/src/connector/airwallex.rs +++ b/crates/router/src/connector/airwallex.rs @@ -66,6 +66,10 @@ impl ConnectorCommon for Airwallex { "airwallex" } + ...
2023-10-13T07:44:28Z
## Description - Addressing Issue: #2215 - Modified two files in `hyperswitch/crates/router/src/connector/` - `airwallex.rs` - Implement `get_currency_unit` function - Modify `ConnectorIntegration` implementations for `Airwallex` - `airwallex/transformers.rs` - Implement `AirwallexRouterData<T>`...
500405d78938772e0e9f8e3ce4f930d782c670fa
[ "crates/router/src/connector/airwallex.rs", "crates/router/src/connector/airwallex/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2218
Bug: [FEATURE]: [Authorizedotnet] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the ...
diff --git a/crates/router/src/connector/authorizedotnet.rs b/crates/router/src/connector/authorizedotnet.rs index 99e87ca1edf..7ff2098344e 100644 --- a/crates/router/src/connector/authorizedotnet.rs +++ b/crates/router/src/connector/authorizedotnet.rs @@ -49,6 +49,10 @@ impl ConnectorCommon for Authorizedotnet { ...
2023-10-12T19:48:15Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Followin...
fbf3c03d418242b1f5f1a15c69029023d0b25b4e
[ "crates/router/src/connector/authorizedotnet.rs", "crates/router/src/connector/authorizedotnet/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2249
Bug: [FEATURE]: [Worldline] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount...
diff --git a/crates/router/src/connector/worldline.rs b/crates/router/src/connector/worldline.rs index 4e69fd5ca0a..b10e3dcd74c 100644 --- a/crates/router/src/connector/worldline.rs +++ b/crates/router/src/connector/worldline.rs @@ -112,6 +112,10 @@ impl ConnectorCommon for Worldline { "worldline" } + ...
2023-10-12T18:04:53Z
## Description This pull request implements the get_currency_unit from the ConnectorCommon trait for the Worldline connector. This function allows connectors to declare their accepted currency unit as either Base or Minor. For Worldline it accepts currency as Minor units. ### Additional Changes - [ ] This PR m...
1afae7e69a81afeff3a7ff55f2b2d5b063afb7c1
[ "crates/router/src/connector/worldline.rs", "crates/router/src/connector/worldline/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2226
Bug: [FEATURE]: [Forte] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount val...
diff --git a/crates/router/src/connector/forte.rs b/crates/router/src/connector/forte.rs index 7cc3f9f9a4e..6184b130bb6 100644 --- a/crates/router/src/connector/forte.rs +++ b/crates/router/src/connector/forte.rs @@ -82,6 +82,10 @@ impl ConnectorCommon for Forte { "forte" } + fn get_currency_unit(&se...
2023-10-11T18:34:00Z
## Description <!-- Describe your changes in detail --> This pull request implements the get_currency_unit from the Connector trait for the Forte connector. This function allows connectors to declare their accepted currency unit as either `Base` or `Minor`. For Forte it accepts currency as `Base` units. ### A...
2d4f6b3fa004a3f03beaa604e2dbfe95fcbe22a6
We need to create a payment using Forte and test the currency unit from connector response and connector dashboard.
[ "crates/router/src/connector/forte.rs", "crates/router/src/connector/forte/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2321
Bug: [FEATURE]: [Worldpay] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of unifor...
diff --git a/crates/router/src/connector/worldpay/transformers.rs b/crates/router/src/connector/worldpay/transformers.rs index aabe27fc4eb..61d04a8e9f1 100644 --- a/crates/router/src/connector/worldpay/transformers.rs +++ b/crates/router/src/connector/worldpay/transformers.rs @@ -167,10 +167,14 @@ impl ...
2023-10-11T18:13:27Z
## Description <!-- Describe your changes in detail --> As mentioned in the issue #2321 , I had to work on the attempt_id and payment_id in the Router data , it should have been replaced with the new introduced connector_request_reference_id. I think I have did it. please have a look and merge if it's done @Ve...
cd9030506c6843c0331bc93d67590d12e280ecca
[ "crates/router/src/connector/worldpay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2205
Bug: [FEATURE]: [ACI] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a single t...
diff --git a/crates/router/src/connector/aci/transformers.rs b/crates/router/src/connector/aci/transformers.rs index 7d30c80c49c..f6c1daffe4d 100644 --- a/crates/router/src/connector/aci/transformers.rs +++ b/crates/router/src/connector/aci/transformers.rs @@ -682,12 +682,12 @@ impl<F, T> } ...
2023-10-11T17:54:29Z
## Description The connector_response_reference_id parameter has been set for the ACIs Payment Solutions for uniform reference and transaction tracking. ## File Changes This PR modifies the Aci Transformers file. Location- router/src/connector/aci/transformers.rs ## Motivation and Context The PR was raised ...
3807601ee1c140310abf7a7e6ee4b83d44de9558
[ "crates/router/src/connector/aci/transformers.rs", "crates/router/src/core/payments/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2203
Bug: [FEATURE]: [ACI] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of uniformity ...
diff --git a/crates/router/src/connector/aci/transformers.rs b/crates/router/src/connector/aci/transformers.rs index 30ed9f5d8db..7d30c80c49c 100644 --- a/crates/router/src/connector/aci/transformers.rs +++ b/crates/router/src/connector/aci/transformers.rs @@ -203,7 +203,9 @@ impl bank_account_iban...
2023-10-11T14:39:49Z
## Description <!-- Describe your changes in detail --> Replaced payment_id with connector_request_reference_id ### Additional Changes - [X] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide lin...
550377a6c3943d9fec4ca6a8be5a5f3aafe109ab
[ "crates/router/src/connector/aci/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2283
Bug: [REFACTOR]: [PowerTranz] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum ...
diff --git a/crates/router/src/connector/powertranz/transformers.rs b/crates/router/src/connector/powertranz/transformers.rs index 4032f8019b0..5bbfe094352 100644 --- a/crates/router/src/connector/powertranz/transformers.rs +++ b/crates/router/src/connector/powertranz/transformers.rs @@ -1,6 +1,7 @@ use api_models::pa...
2023-10-11T13:10:38Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Followin...
31431e41357d4d3d12668fa0d678cce0b3d86611
[ "crates/router/src/connector/powertranz/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2350
Bug: [FEATURE]: [Tsys] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a single ...
diff --git a/crates/router/src/connector/tsys/transformers.rs b/crates/router/src/connector/tsys/transformers.rs index 5aa4574c91e..d8516c8293b 100644 --- a/crates/router/src/connector/tsys/transformers.rs +++ b/crates/router/src/connector/tsys/transformers.rs @@ -192,12 +192,14 @@ fn get_error_response( fn get_paym...
2023-10-11T12:40:42Z
## Description The `connector_response_reference_id` parameter has been set for the Tsys Payment Solutions for uniform reference and transaction tracking. ### File Changes - [x] This PR modifies the Tsys Transformers file. **Location- router/src/connector/tsys/transformers.rs** ## Motivation and Conte...
62638c4230bfd149c43c2805cbad0ce9be5386b3
- **I ran the following command, and all the errors were addressed properly, and the build was successful.** ```bash cargo clippy --all-features ``` ![build](https://github.com/juspay/hyperswitch/assets/47860497/39d95c9a-d14b-44c5-a402-9bd9cecf8b8e) - The code changes were formatted with the following comman...
[ "crates/router/src/connector/tsys/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2337
Bug: [FEATURE]: [Nexi Nets] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a si...
diff --git a/crates/router/src/connector/nexinets/transformers.rs b/crates/router/src/connector/nexinets/transformers.rs index 5949e48ae18..7b2a41cfb0b 100644 --- a/crates/router/src/connector/nexinets/transformers.rs +++ b/crates/router/src/connector/nexinets/transformers.rs @@ -364,7 +364,7 @@ impl<F, T> ...
2023-10-10T14:22:43Z
## Description The `connector_response_reference_id` parameter has been set for the Nexi Nets Payment Solutions for uniform reference and transaction tracking. ### File Changes - [x] This PR modifies the Nexi Nets Transformers file. **Location- router/src/connector/nexinets/transformers.rs** ## Motiva...
3854d58270937ac4d2e5901eeb215bc19fffc838
- **I ran the following command, and all the errors were addressed properly, and the build was successful.** ```bash cargo clippy --all-features ``` ![build](https://github.com/juspay/hyperswitch/assets/47860497/19ebeb9b-a14a-4213-9528-262c8fefecb4) - The code changes were formatted with the following comman...
[ "crates/router/src/connector/nexinets/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2526
Bug: [REFACTOR] delete requires cvv config when merchant account is deleted ### Feature Description Add support for removing the requires cvv config from configs table when merchant account is deleted. ### Possible Implementation When merchant account delete request is sent, delete an entry in configs with key = ...
diff --git a/crates/router/src/core/admin.rs b/crates/router/src/core/admin.rs index ec229bd8a56..226d77d598e 100644 --- a/crates/router/src/core/admin.rs +++ b/crates/router/src/core/admin.rs @@ -491,6 +491,25 @@ pub async fn merchant_account_delete( .to_not_found_response(errors::ApiErrorResponse::Mercha...
2023-10-10T08:03:09Z
## Description <!-- Describe your changes in detail --> This PR includes changes for removing the requires cvv config from configs table when merchant account is deleted. ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies applicati...
cf0db35923d39caca9bf267b7d87a3f215884b66
![image](https://github.com/juspay/hyperswitch/assets/70657455/d9b02042-104f-4b09-a5be-f4b49591dfd9)
[ "crates/router/src/core/admin.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2333
Bug: [FEATURE]: [Iatapay] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a sing...
diff --git a/crates/router/src/connector/iatapay/transformers.rs b/crates/router/src/connector/iatapay/transformers.rs index 39dfd61b9a3..9d4ecdff197 100644 --- a/crates/router/src/connector/iatapay/transformers.rs +++ b/crates/router/src/connector/iatapay/transformers.rs @@ -212,10 +212,14 @@ impl<F, T> item:...
2023-10-10T07:58:03Z
## Description <!-- Describe your changes in detail --> - Adressess issue #2333 : Implement `connector_response_reference_id ` as reference to connector for Iatapay - Modified the file `hyperswitch/crates/router/src/connector/iatapay/transformers.rs` - Rebased with changes from [https://github.com/juspay/hypersw...
d9fb5d4a52f44809ab4a1576a99e97b4c8b8c41b
[ "crates/router/src/connector/iatapay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2300
Bug: [FEATURE]: [GlobalPayments] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of ...
diff --git a/crates/router/src/connector/globalpay/transformers.rs b/crates/router/src/connector/globalpay/transformers.rs index 7a35a5f578f..78a83e70026 100644 --- a/crates/router/src/connector/globalpay/transformers.rs +++ b/crates/router/src/connector/globalpay/transformers.rs @@ -39,7 +39,7 @@ impl TryFrom<&types::...
2023-10-10T05:28:11Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Followin...
cf0db35923d39caca9bf267b7d87a3f215884b66
[ "crates/router/src/connector/globalpay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2293
Bug: [FEATURE]: [Bambora] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of uniform...
diff --git a/crates/router/src/connector/bambora/transformers.rs b/crates/router/src/connector/bambora/transformers.rs index d34dda73eb6..bfcd9846292 100644 --- a/crates/router/src/connector/bambora/transformers.rs +++ b/crates/router/src/connector/bambora/transformers.rs @@ -48,6 +48,7 @@ pub struct BamboraBrowserInfo...
2023-10-10T02:00:08Z
Addresses #2293 ## Description <!-- Describe your changes in detail --> This PR updates the use of `RequestData.request.connector_transaction_id` to `RequestData.connector_request_reference_id` for Bambora. ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database s...
9e450b81ca8bc4b1ddbbe2c1d732dbc58c61934e
I ensured compilation was successful and existing tests ran successfully after changes were applied.
[ "crates/router/src/connector/bambora/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2291
Bug: [FEATURE]: [Airwallex] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of unifo...
diff --git a/crates/router/src/connector/airwallex/transformers.rs b/crates/router/src/connector/airwallex/transformers.rs index ecdddfb3672..fc90743ab08 100644 --- a/crates/router/src/connector/airwallex/transformers.rs +++ b/crates/router/src/connector/airwallex/transformers.rs @@ -48,7 +48,7 @@ impl TryFrom<&types::...
2023-10-09T23:09:19Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Following are the path...
c34f1bf36ffb3a3533dd51ac87e7f66ab0dcce79
[ "crates/router/src/connector/airwallex/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2307
Bug: [FEATURE]: [Nexi Nets] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of unifo...
diff --git a/crates/router/src/connector/nexinets/transformers.rs b/crates/router/src/connector/nexinets/transformers.rs index 7b2a41cfb0b..897d8f639d3 100644 --- a/crates/router/src/connector/nexinets/transformers.rs +++ b/crates/router/src/connector/nexinets/transformers.rs @@ -27,6 +27,7 @@ pub struct NexinetsPaymen...
2023-10-09T20:55:20Z
## Description For all payment methods, Hyperswitch should transmit a reference to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. In this PR, such reference is obtained by calling `connector_request_reference_id()` in `RouterData`. The result is then passed as ...
8029a895b2c27a1ac14a19aea23bbc06cc364809
[ "crates/router/src/connector/nexinets/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2201
Bug: [REFACTOR]: [ACI] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum variant...
diff --git a/crates/router/src/connector/aci/transformers.rs b/crates/router/src/connector/aci/transformers.rs index fe621bccd05..7fb3ba7c411 100644 --- a/crates/router/src/connector/aci/transformers.rs +++ b/crates/router/src/connector/aci/transformers.rs @@ -123,9 +123,32 @@ impl TryFrom<&api_models::payments::Wallet...
2023-10-09T13:50:33Z
## Description <!-- Describe your changes in detail --> Instead of _ case, handled each and every case explicitly. Fixes #2201 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables ...
d82960c1cca5ae43d1a51f8fff6f7b6b9e016c2b
Test a Payment Method which is not implemented for Aci connector It should give Not implemented error This is an Crypto payment request. ``` { "amount": 6540, "currency": "USD", "confirm": true, "capture_method": "automatic", "capture_on": "2022-09-10T10:11:12Z", "amount_to_capture...
[ "crates/router/src/connector/aci/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2296
Bug: [FEATURE]: [Cybersource] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of uni...
diff --git a/crates/router/src/connector/cybersource/transformers.rs b/crates/router/src/connector/cybersource/transformers.rs index 3558f752841..5a3060f99eb 100644 --- a/crates/router/src/connector/cybersource/transformers.rs +++ b/crates/router/src/connector/cybersource/transformers.rs @@ -21,6 +21,7 @@ pub struct Cy...
2023-10-09T13:40:40Z
Add reference with value of connector_request_reference_id in Cybersource transformers. Fixes #2296 ## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application confi...
550377a6c3943d9fec4ca6a8be5a5f3aafe109ab
[ "crates/router/src/connector/cybersource/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2504
Bug: [REFACTOR] Limiting `Tracing` to only Payments API ## Description We are tracing all the APIs, which isn't effective due to the variance of the traffic. This change will include the tracing layer to a specific scope instead of the entire application
diff --git a/config/config.example.toml b/config/config.example.toml index e980ea4fffd..b69519b6ac4 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -28,6 +28,7 @@ port = 5432 # DB Port dbname = "hyperswitch_db" # Name of Database pool_size = 5 # Number of co...
2023-10-09T12:09:44Z
## Description This change introduces a new middleware for tracing requests with the specified url. Providing a filtration mechanism. This change also includes changing the bb8 queue strategy from FIFO to LIFO. ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the datab...
14cf0e735a31a823a1909a2886a3fedb4a9ea3e1
[ "config/config.example.toml", "crates/router/src/configs/defaults.rs", "crates/router/src/configs/kms.rs", "crates/router/src/configs/settings.rs", "crates/router_env/src/logger/config.rs", "crates/router_env/src/logger/setup.rs", "crates/storage_impl/src/config.rs", "crates/storage_impl/src/database/...
juspay/hyperswitch
juspay__hyperswitch-2510
Bug: [REFACTOR] remove ansi escape characters from logs when format is set to json ### Feature Description Fix log formatting by removing the ansi escape characters from logs when the log format is set to json ### Possible Implementation This will help in making the logs much cleaner as opposed to having ansi esc...
diff --git a/Cargo.lock b/Cargo.lock index 9e026101d1a..abecaf6ae24 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4179,6 +4179,7 @@ version = "0.1.0" dependencies = [ "cargo_metadata 0.15.4", "config", + "error-stack", "gethostname", "once_cell", "opentelemetry", diff --git a/crates/router_env/Cargo.toml b/cr...
2023-10-09T11:46:27Z
## Description <!-- Describe your changes in detail --> This PR includes changes for removing the ansi escape characters from logs when the logs format is set to json ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application c...
e02838eb5d3da97ef573926ded4a318ed24b6f1c
Current log - ![image](https://github.com/juspay/hyperswitch/assets/70657455/e6658b04-23d4-41fd-af15-e8aba7b83c81) Log due to current PR changes - ![image](https://github.com/juspay/hyperswitch/assets/70657455/92e49a22-e1c7-449b-9519-286f0b1a2dbb)
[ "Cargo.lock", "crates/router_env/Cargo.toml", "crates/router_env/src/logger/setup.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2305
Bug: [FEATURE]: [Multisafepay] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of un...
diff --git a/crates/router/src/connector/multisafepay.rs b/crates/router/src/connector/multisafepay.rs index 1629f2ab36d..120ea23d7ca 100644 --- a/crates/router/src/connector/multisafepay.rs +++ b/crates/router/src/connector/multisafepay.rs @@ -165,7 +165,7 @@ impl ConnectorIntegration<api::PSync, types::PaymentsSyncDa...
2023-10-09T07:12:04Z
## Description - Addressing Issue [#2305](https://github.com/juspay/hyperswitch/issues/2305): Use connector_request_reference_id as reference to the connector - Modified two files in `hyperswitch/crates/router/src/connector/` - `multisafepay.rs` - `multisafepay/transformers.rs` - Rebase with changes from comm...
e02838eb5d3da97ef573926ded4a318ed24b6f1c
[ "crates/router/src/connector/multisafepay.rs", "crates/router/src/connector/multisafepay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2320
Bug: [FEATURE]: [Worldline] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of unifo...
diff --git a/crates/router/src/connector/worldline/transformers.rs b/crates/router/src/connector/worldline/transformers.rs index f1267c09766..d02ab60c8b9 100644 --- a/crates/router/src/connector/worldline/transformers.rs +++ b/crates/router/src/connector/worldline/transformers.rs @@ -40,11 +40,18 @@ pub struct AmountOf...
2023-10-08T15:33:20Z
## Description Replace `payment_id` with `connector_request_reference_id` in worldline. Closes #2320 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to th...
53d760460305e16f03d86f699acb035151dfdfad
[ "crates/router/src/connector/worldline/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2323
Bug: [FEATURE]: [Authorizedotnet] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` fo...
diff --git a/crates/router/src/connector/authorizedotnet/transformers.rs b/crates/router/src/connector/authorizedotnet/transformers.rs index a2faeddb50f..1b7480f78e4 100644 --- a/crates/router/src/connector/authorizedotnet/transformers.rs +++ b/crates/router/src/connector/authorizedotnet/transformers.rs @@ -540,7 +540,...
2023-10-08T15:12:53Z
## Description <!-- Describe your changes in detail --> Implement `connector_response_reference_id` as reference for Authorizedotnet ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables...
3f1e7c2152a839a6fe69f60b906277ca831e7611
Manually
[ "crates/router/src/connector/authorizedotnet/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2303
Bug: [FEATURE]: [Klarna] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of uniformi...
diff --git a/crates/router/src/connector/klarna/transformers.rs b/crates/router/src/connector/klarna/transformers.rs index b31d56d51b9..31e356d4765 100644 --- a/crates/router/src/connector/klarna/transformers.rs +++ b/crates/router/src/connector/klarna/transformers.rs @@ -45,6 +45,7 @@ pub struct KlarnaPaymentsRequest ...
2023-10-08T05:56:23Z
## Description <!-- Describe your changes in detail --> Included a `merchant_reference1` field in `KlarnaPaymentsRequest` and map it to `connector_request_reference_id` ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies applicat...
b5feab61d950921c75267ad88e944e7e2c4af3ca
[ "crates/router/src/connector/klarna/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2309
Bug: [FEATURE]: [Nuvei] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of uniformit...
diff --git a/crates/router/src/connector/nuvei/transformers.rs b/crates/router/src/connector/nuvei/transformers.rs index cf7d480e0c1..2fd1a9c272f 100644 --- a/crates/router/src/connector/nuvei/transformers.rs +++ b/crates/router/src/connector/nuvei/transformers.rs @@ -384,7 +384,7 @@ impl TryFrom<&types::PaymentsAuthor...
2023-10-08T01:05:10Z
## Description <!-- Describe your changes in detail --> `connector_request_reference_id` is being passed as "attempt_id" or "payment_id" to improve consistency in transmitting payment information to the Nuvei payment gateway. ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifie...
3f1e7c2152a839a6fe69f60b906277ca831e7611
[ "crates/router/src/connector/nuvei/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2347
Bug: [FEATURE]: [Shift4] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a singl...
diff --git a/crates/router/src/connector/shift4/transformers.rs b/crates/router/src/connector/shift4/transformers.rs index 23c91e48d8c..0dd3b858349 100644 --- a/crates/router/src/connector/shift4/transformers.rs +++ b/crates/router/src/connector/shift4/transformers.rs @@ -717,6 +717,7 @@ impl<T, F> types::...
2023-10-08T00:13:23Z
## Description <!-- Describe your changes in detail --> fixes #2316 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding change...
31431e41357d4d3d12668fa0d678cce0b3d86611
[ "crates/router/src/connector/shift4/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2316
Bug: [FEATURE]: [Shift4] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of uniformi...
diff --git a/crates/router/src/connector/shift4/transformers.rs b/crates/router/src/connector/shift4/transformers.rs index 23c91e48d8c..0dd3b858349 100644 --- a/crates/router/src/connector/shift4/transformers.rs +++ b/crates/router/src/connector/shift4/transformers.rs @@ -717,6 +717,7 @@ impl<T, F> types::...
2023-10-08T00:13:23Z
## Description <!-- Describe your changes in detail --> fixes #2316 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding change...
31431e41357d4d3d12668fa0d678cce0b3d86611
[ "crates/router/src/connector/shift4/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2329
Bug: [FEATURE]: [Fiserv] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a singl...
diff --git a/crates/router/src/connector/fiserv/transformers.rs b/crates/router/src/connector/fiserv/transformers.rs index 6c6c346dccc..c9c2f0c4087 100644 --- a/crates/router/src/connector/fiserv/transformers.rs +++ b/crates/router/src/connector/fiserv/transformers.rs @@ -315,7 +315,9 @@ impl<F, T> man...
2023-10-07T15:44:04Z
Update connector_response_reference_id to use gateway_resp.transaction_processing_details.order_id in fiserv transformers. Fixes #2329 ## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ]...
3f1e7c2152a839a6fe69f60b906277ca831e7611
[ "crates/router/src/connector/fiserv/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2290
Bug: [REFACTOR]: [Worldpay] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum va...
diff --git a/crates/router/src/connector/worldpay/transformers.rs b/crates/router/src/connector/worldpay/transformers.rs index 61d04a8e9f1..d31f4d65e78 100644 --- a/crates/router/src/connector/worldpay/transformers.rs +++ b/crates/router/src/connector/worldpay/transformers.rs @@ -217,7 +217,13 @@ impl From<EventType> f...
2023-10-07T11:57:43Z
## Description Instead of relying on a default match case `_` I have added conditions for each type in match statements. Changes are made at https://github.com/juspay/hyperswitch/blob/main/crates/router/src/connector/worldpay/transformers.rs ## Motivation and Context Closes #2290
adad77f0433bb7691f4313a27e021849cd5a6c1d
[ "crates/router/src/connector/worldpay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2287
Bug: [REFACTOR]: [Trustpay] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum va...
diff --git a/Cargo.lock b/Cargo.lock index cca3b6f58d9..9e026101d1a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -393,6 +393,7 @@ dependencies = [ "serde", "serde_json", "strum 0.24.1", + "thiserror", "time 0.3.22", "url", "utoipa", @@ -471,18 +472,6 @@ dependencies = [ "serde_json", ] -[[package]] -nam...
2023-10-06T16:14:34Z
## Description <!-- Describe your changes in detail --> Handling the unhandled variants for trustpay Issue #2287 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide...
ba2efac4fa2af22f81b0841350a334bc36e91022
[ "Cargo.lock", "crates/router/src/connector/trustpay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2327
Bug: [FEATURE]: [Cybersource] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a ...
diff --git a/crates/router/src/connector/cybersource/transformers.rs b/crates/router/src/connector/cybersource/transformers.rs index 106ce2e3c29..3558f752841 100644 --- a/crates/router/src/connector/cybersource/transformers.rs +++ b/crates/router/src/connector/cybersource/transformers.rs @@ -275,6 +275,13 @@ pub struct...
2023-10-05T19:02:15Z
## Description Use connector_response_reference_id as reference to merchant for Cybersource Fixes #2327 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to...
503823408b782968fb59f6ff5d7df417b9aa7dbe
[ "crates/router/src/connector/cybersource/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2326
Bug: [FEATURE]: [Coinbase] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a sin...
diff --git a/crates/router/src/connector/coinbase/transformers.rs b/crates/router/src/connector/coinbase/transformers.rs index acc08e36e49..6cc097bc9d8 100644 --- a/crates/router/src/connector/coinbase/transformers.rs +++ b/crates/router/src/connector/coinbase/transformers.rs @@ -136,7 +136,7 @@ impl<F, T> ...
2023-10-05T17:50:31Z
## Description <!-- Describe your changes in detail --> Relevant documentation [here](https://docs.cloud.coinbase.com/commerce/docs/webhooks-events). I'm not 100% sure what `code` is in the documentation but they haven't provided more clarity, the only other identifier for the transaction is id, so I've used that. ...
bb2ba0815330578295de8036ea1a5e6d66a36277
[ "crates/router/src/connector/coinbase/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2308
Bug: [FEATURE]: [Noon] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of uniformity...
diff --git a/crates/router/src/connector/noon/transformers.rs b/crates/router/src/connector/noon/transformers.rs index 6c3084a75e4..3e584e204ae 100644 --- a/crates/router/src/connector/noon/transformers.rs +++ b/crates/router/src/connector/noon/transformers.rs @@ -264,7 +264,7 @@ impl TryFrom<&types::PaymentsAuthorizeR...
2023-10-05T17:35:30Z
## Description <!-- Describe your changes in detail --> Closes #2308 Use `connector_request_reference_id` instead of `payment_id` as Order reference ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/en...
414996592b3016bfa9f3399319c6e02ccd333c68
[ "crates/router/src/connector/noon/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2276
Bug: [REFACTOR]: [NMI] Remove Default Case Handling ### :memo: Feature Description - We utilize match statements to make pivotal decisions, such as generating requests based on the payment method type and managing responses received from the connector. - These conditions generally go hand in hand with enum variant...
diff --git a/crates/router/src/connector/nmi/transformers.rs b/crates/router/src/connector/nmi/transformers.rs index a57ac4271d0..3f64ff9eaca 100644 --- a/crates/router/src/connector/nmi/transformers.rs +++ b/crates/router/src/connector/nmi/transformers.rs @@ -112,14 +112,51 @@ impl TryFrom<&api_models::payments::Payme...
2023-10-05T15:12:18Z
## Description <!-- Describe your changes in detail --> Adds the error handles for all unhandled variants ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links t...
414996592b3016bfa9f3399319c6e02ccd333c68
[ "crates/router/src/connector/nmi/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2330
Bug: [FEATURE]: [Forte] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a single...
diff --git a/crates/router/src/connector/forte/transformers.rs b/crates/router/src/connector/forte/transformers.rs index dcc8b97788d..bc7c55c4f87 100644 --- a/crates/router/src/connector/forte/transformers.rs +++ b/crates/router/src/connector/forte/transformers.rs @@ -259,7 +259,7 @@ impl<F, T> aut...
2023-10-05T07:22:01Z
## Description <!-- Describe your changes in detail --> Addreses issue #2330 Updated `connector_response_reference_id` to use `transaction_id` from Forte response. Forte 'POST' Payment Docs -> https://restdocs.forte.net/#c35427927-d955-4087-88d3-f99413ed91c2 ### Additional Changes - [ ] This PR modifi...
bb2ba0815330578295de8036ea1a5e6d66a36277
This code was tested manually, I was able to verify the updated `connector_response_reference_id` in the response to the POST request to create a payment. <img width="1382" alt="forte_response" src="https://github.com/juspay/hyperswitch/assets/29712119/ffd4859c-e23d-48bb-800d-7acb25b0ebcc">
[ "crates/router/src/connector/forte/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2344
Bug: [FEATURE]: [PayU] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a single ...
diff --git a/crates/router/src/connector/payu/transformers.rs b/crates/router/src/connector/payu/transformers.rs index c43e59ac76c..9a2e14215c7 100644 --- a/crates/router/src/connector/payu/transformers.rs +++ b/crates/router/src/connector/payu/transformers.rs @@ -194,12 +194,17 @@ impl<F, T> Ok(Self { ...
2023-10-04T16:32:38Z
## Description Fixes #2344 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Following are the paths where you ca...
b5cc7483f99dcd995b9022d21c94f2f9710ea7fe
[ "crates/router/src/connector/payu/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2336
Bug: [FEATURE]: [Multisafepay] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a...
diff --git a/crates/router/src/connector/multisafepay/transformers.rs b/crates/router/src/connector/multisafepay/transformers.rs index 2fa8a4c9030..dfc7bad277d 100644 --- a/crates/router/src/connector/multisafepay/transformers.rs +++ b/crates/router/src/connector/multisafepay/transformers.rs @@ -530,7 +530,9 @@ impl<F,...
2023-10-04T16:17:19Z
## Description Updated the `connector_response_reference_id` value from the response. closes #2336 ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the ...
65ca5f12da54715e5db785d122e2ec9714147c68
[ "crates/router/src/connector/multisafepay/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2328
Bug: [FEATURE]: [Dlocal] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a singl...
diff --git a/crates/router/src/connector/dlocal/transformers.rs b/crates/router/src/connector/dlocal/transformers.rs index e6db1503e59..8558836372e 100644 --- a/crates/router/src/connector/dlocal/transformers.rs +++ b/crates/router/src/connector/dlocal/transformers.rs @@ -250,6 +250,7 @@ pub struct DlocalPaymentsRespon...
2023-10-04T11:16:52Z
## Description <!-- Describe your changes in detail --> I have populated the 'id' which is provided as a payment-specific ID in their response to then be populated as 'connector_reference_id'. As per the docs they don't require a payment reference ID in their payment requests. So populated the existing id. ![...
d177b4d94f08fb8ef44b5c07ec1bdc771baa016d
[ "crates/router/src/connector/dlocal/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2339
Bug: [FEATURE]: [Noon] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a single ...
diff --git a/crates/router/src/connector/noon/transformers.rs b/crates/router/src/connector/noon/transformers.rs index d7dc832b445..6c3084a75e4 100644 --- a/crates/router/src/connector/noon/transformers.rs +++ b/crates/router/src/connector/noon/transformers.rs @@ -356,6 +356,7 @@ pub struct NoonPaymentsOrderResponse { ...
2023-10-04T10:01:42Z
## Description I have added `reference` that's sent to noon payments order to the `TransactionResponse` in `transformer.rs` of noon that's present in the `connector` directory. https://github.com/juspay/hyperswitch/blob/main/crates/router/src/connector/noon/transformers.rs ## Motivation and Context Closes ...
ab2cde799371a66eb045cf8b20431b3b108dac44
[ "crates/router/src/connector/noon/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2250
Bug: [FEATURE]: [Worldpay] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount ...
diff --git a/crates/router/src/connector/worldpay.rs b/crates/router/src/connector/worldpay.rs index 0c69cd981bb..60a5fc83045 100644 --- a/crates/router/src/connector/worldpay.rs +++ b/crates/router/src/connector/worldpay.rs @@ -56,6 +56,10 @@ impl ConnectorCommon for Worldpay { "worldpay" } + fn get...
2023-10-03T16:27:58Z
## Description <!-- Describe your changes in detail --> This pull request implements the get_currency_unit from the ConnectorCommon trait for the Worldpay connector. This function allows connectors to declare their accepted currency unit as either Base or Minor. For Worldpay it accepts currency as Minor units. ##...
b5b3625efdd70c619e9fc206721c4bedf8af30a4
I tried setting up and testing using VS code and codesandbox but was not able to do it. So kindly review the changes and do let me know if any further issues.
[ "crates/router/src/connector/worldpay.rs", "crates/router/src/connector/worldpay/transformers.rs", "package.json" ]
juspay/hyperswitch
juspay__hyperswitch-2349
Bug: [FEATURE]: [Square] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a singl...
diff --git a/crates/router/src/connector/square/transformers.rs b/crates/router/src/connector/square/transformers.rs index ff33914c4fd..01ed507bf34 100644 --- a/crates/router/src/connector/square/transformers.rs +++ b/crates/router/src/connector/square/transformers.rs @@ -327,6 +327,7 @@ pub struct SquarePaymentsRespon...
2023-10-03T14:40:02Z
## Description Populated reference ID from the response ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables ## Motivation and Context - Reference id are used to map transactions in ...
0aa6b30d2c9056e9a21a88bdc064daa7e8659bd6
[ "crates/router/src/connector/square/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2441
Bug: [REFACTOR] add support for passing context generic to api calls ### Feature Description Add support for including a new generic, context, which will be passed during api call (server_wrap) to call the related implementation depending on context ### Possible Implementation To have multiple implementation to a...
diff --git a/crates/router/src/compatibility/stripe/payment_intents.rs b/crates/router/src/compatibility/stripe/payment_intents.rs index e44ce0a1fd3..1076dfe410f 100644 --- a/crates/router/src/compatibility/stripe/payment_intents.rs +++ b/crates/router/src/compatibility/stripe/payment_intents.rs @@ -6,7 +6,7 @@ use rou...
2023-10-03T13:46:00Z
## Description <!-- Describe your changes in detail --> This PR includes changes for adding a new generic, context, which will be passed during api call (server_wrap) to call the related implementation depending on context ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies t...
f364a069b90dd63a28cf25457b2cd4fda0829a8b
[ "crates/router/src/compatibility/stripe/payment_intents.rs", "crates/router/src/compatibility/stripe/setup_intents.rs", "crates/router/src/core/payment_methods.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations.rs", "crate...
juspay/hyperswitch
juspay__hyperswitch-2432
Bug: [REFACTOR] add `requires_cvv` config while creating merchant account ### Feature Description Insert requires_cvv config during merchant account creation itself. while getting that config during list_customer_payment_method, if not found in db, we insert it into db. ### Possible Implementation in order to red...
diff --git a/crates/router/src/core/admin.rs b/crates/router/src/core/admin.rs index dabe22da626..c7009bf4cc9 100644 --- a/crates/router/src/core/admin.rs +++ b/crates/router/src/core/admin.rs @@ -219,6 +219,17 @@ pub async fn create_merchant_account( .insert_merchant(merchant_account, &key_store) .aw...
2023-10-03T13:39:33Z
## Description <!-- Describe your changes in detail --> This PR includes changes for inserting requires_cvv config during merchant account creation itself. while getting that config during `list_customer_payment_method`, if not found in db, we insert it into db. ### Additional Changes - [ ] This PR modifies th...
d177b4d94f08fb8ef44b5c07ec1bdc771baa016d
![image](https://github.com/juspay/hyperswitch/assets/70657455/5daec1a0-4a85-4896-b183-86fb585e0a0d)
[ "crates/router/src/core/admin.rs", "crates/router/src/core/payment_methods/cards.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2341
Bug: [FEATURE]: [Opayo] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a single...
diff --git a/crates/router/src/connector/opayo/transformers.rs b/crates/router/src/connector/opayo/transformers.rs index e6c3d90fa4f..d828232dbc1 100644 --- a/crates/router/src/connector/opayo/transformers.rs +++ b/crates/router/src/connector/opayo/transformers.rs @@ -86,6 +86,7 @@ impl From<OpayoPaymentStatus> for enu...
2023-10-02T18:54:39Z
## Description <!-- Describe your changes in detail --> opayo uses [transaction_Id ](https://developer-eu.elavon.com/docs/opayo/spec/api-reference#operation/createTransaction) filled the connector_response_reference_id ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the da...
688557ef95826622fe87a4de1dfbc09446496686
[ "crates/router/src/connector/opayo/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2342
Bug: [FEATURE]: [OpenNode] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a sin...
diff --git a/crates/router/src/connector/opennode/transformers.rs b/crates/router/src/connector/opennode/transformers.rs index 70a50e1b922..aa3fae3a516 100644 --- a/crates/router/src/connector/opennode/transformers.rs +++ b/crates/router/src/connector/opennode/transformers.rs @@ -78,6 +78,7 @@ pub struct OpennodePaymen...
2023-10-02T13:56:34Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Followin...
f720aecf1fb676cec71e636b877a46f9791d713a
[ "crates/router/src/connector/opennode/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2348
Bug: [FEATURE]: [Stax] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a single ...
diff --git a/crates/router/src/connector/stax/transformers.rs b/crates/router/src/connector/stax/transformers.rs index 42c7c02a363..4ee28be1937 100644 --- a/crates/router/src/connector/stax/transformers.rs +++ b/crates/router/src/connector/stax/transformers.rs @@ -23,6 +23,7 @@ pub struct StaxPaymentsRequest { is_...
2023-10-02T10:52:24Z
## Description <!-- Describe your changes in detail --> This pull request fixes #2348 issue in STAX and uses connector_response_reference_id as reference to merchant. ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application c...
36805411772da00719a716d05c650f10ca990d49
[ "crates/router/src/connector/stax/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2317
Bug: [FEATURE]: [Stax] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of uniformity...
diff --git a/crates/router/src/connector/stax/transformers.rs b/crates/router/src/connector/stax/transformers.rs index 42c7c02a363..4ee28be1937 100644 --- a/crates/router/src/connector/stax/transformers.rs +++ b/crates/router/src/connector/stax/transformers.rs @@ -23,6 +23,7 @@ pub struct StaxPaymentsRequest { is_...
2023-10-02T10:52:24Z
## Description <!-- Describe your changes in detail --> This pull request fixes #2348 issue in STAX and uses connector_response_reference_id as reference to merchant. ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application c...
36805411772da00719a716d05c650f10ca990d49
[ "crates/router/src/connector/stax/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2230
Bug: [FEATURE]: [Klarna] Currency Unit Conversion ### :memo: Feature Description - Each currency can be described in terms of base or minor units. - For instance, when dealing with USD currency, the Cent is considered as the minor unit, while the Dollar is considered the base unit. - In Hyperswitch, the amount va...
diff --git a/crates/router/src/connector/klarna.rs b/crates/router/src/connector/klarna.rs index 1814f9de809..2611c062ebe 100644 --- a/crates/router/src/connector/klarna.rs +++ b/crates/router/src/connector/klarna.rs @@ -32,6 +32,10 @@ impl ConnectorCommon for Klarna { "klarna" } + fn get_currency_un...
2023-10-02T10:10:41Z
## Description This pull request implements the `get_currency_unit` from the `ConnectorCommon` trait for the Klarna connector. This function allows connectors to declare their accepted currency unit as either `Base` or `Minor`. For Klarna it accepts currency as `Minor` units. ### Additional Changes - [ ] This...
89cb63be3328010d26b5f6322449fc50e80593e4
`cargo check`, `cargo clippy`, and `cargo test` all pass without any new errors.
[ "crates/router/src/connector/klarna.rs", "crates/router/src/connector/klarna/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2345
Bug: [FEATURE]: [PowerTranz] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a s...
diff --git a/crates/router/src/connector/powertranz/transformers.rs b/crates/router/src/connector/powertranz/transformers.rs index 4703a81f30f..4032f8019b0 100644 --- a/crates/router/src/connector/powertranz/transformers.rs +++ b/crates/router/src/connector/powertranz/transformers.rs @@ -123,7 +123,7 @@ impl TryFrom<&t...
2023-10-02T08:23:45Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Followin...
89cb63be3328010d26b5f6322449fc50e80593e4
[ "crates/router/src/connector/powertranz/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2314
Bug: [FEATURE]: [PowerTranz] Use `connector_request_reference_id` as reference to the connector ### :memo: Feature Description - We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard. - Presently, there is a lack of unif...
diff --git a/crates/router/src/connector/powertranz/transformers.rs b/crates/router/src/connector/powertranz/transformers.rs index 4703a81f30f..4032f8019b0 100644 --- a/crates/router/src/connector/powertranz/transformers.rs +++ b/crates/router/src/connector/powertranz/transformers.rs @@ -123,7 +123,7 @@ impl TryFrom<&t...
2023-10-02T08:23:45Z
## Description <!-- Describe your changes in detail --> ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies the database schema - [ ] This PR modifies application configuration/environment variables <!-- Provide links to the files with corresponding changes. Followin...
89cb63be3328010d26b5f6322449fc50e80593e4
[ "crates/router/src/connector/powertranz/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-2343
Bug: [FEATURE]: [Payeezy] Use `connector_response_reference_id` as reference to merchant ### :memo: Feature Description - Reference id are used to map transactions in the connector’s dashboard. - Hyperswitch manages several reference ids, such as `payment_id`, `attempt_id`, and `connector_transaction_id` for a sing...
diff --git a/crates/router/src/connector/payeezy/transformers.rs b/crates/router/src/connector/payeezy/transformers.rs index d6c22ba67c3..98e8ea12c00 100644 --- a/crates/router/src/connector/payeezy/transformers.rs +++ b/crates/router/src/connector/payeezy/transformers.rs @@ -67,6 +67,7 @@ pub struct PayeezyPaymentsReq...
2023-10-01T19:11:46Z
## Description <!-- Describe your changes in detail --> Add `connector_response_reference_id` support for Payeezy - Used `transaction_id` as the reference id, while implementing this! Resolves #2343 and resolves #2312. ### Additional Changes - [ ] This PR modifies the API contract - [ ] This PR modifies...
89cb63be3328010d26b5f6322449fc50e80593e4
Need help testing!
[ "crates/router/src/connector/payeezy/transformers.rs" ]