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
228k
base_commit
stringlengths
40
40
test_instructions
stringlengths
0
232k
filenames
listlengths
0
300
juspay/hyperswitch
juspay__hyperswitch-1173
Bug: feat(connector) : [Authorizedotnet] Webhooks support for Authorizedotnet payment and refund webhook support for authorizedotnet
diff --git a/crates/router/src/connector/authorizedotnet.rs b/crates/router/src/connector/authorizedotnet.rs index 49869f0137f..83e96138833 100644 --- a/crates/router/src/connector/authorizedotnet.rs +++ b/crates/router/src/connector/authorizedotnet.rs @@ -3,6 +3,7 @@ mod transformers; use std::fmt::Debug; +use co...
2023-05-16T14:35:52Z
## Description <!-- Describe your changes in detail --> Payments and refund Webhook Flow for Authorizedotnet ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting ...
7567d831ccb2d46352d2010acb78abe71e807f8d
Outgoing payment webhook <img width="1169" alt="Screenshot 2023-05-16 at 7 55 40 PM" src="https://github.com/juspay/hyperswitch/assets/121822803/0a35ba1a-9c4a-4cd3-9863-4ec22fd5029f"> Payment retrieve for same payment <img width="1280" alt="Screenshot 2023-05-16 at 7 56 17 PM" src="https://github.com/juspay/hyp...
[ "crates/router/src/connector/authorizedotnet.rs", "crates/router/src/connector/authorizedotnet/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1172
Bug: feat(connector):[Authorizedotnet] Capture flow for Authorizedotnet Manual Capture Flow for Authorizedotnet
diff --git a/crates/router/src/connector/authorizedotnet.rs b/crates/router/src/connector/authorizedotnet.rs index 3e443286773..83e96138833 100644 --- a/crates/router/src/connector/authorizedotnet.rs +++ b/crates/router/src/connector/authorizedotnet.rs @@ -3,6 +3,7 @@ mod transformers; use std::fmt::Debug; +use co...
2023-05-15T20:46:20Z
## Description <!-- Describe your changes in detail --> This PR modifies following changes 1)add capture flow to authorizedotnet 2)add unit tests for authorizedotnet 3)refactor exisiting code for authorizedotnet 4)Payments and refund Webhooks #1176 **Note** :To update the status after authorization, we need ...
919c03e679c4ebbb138509da52a18bface7ba319
<img width="1311" alt="Screenshot 2023-05-16 at 2 11 42 AM" src="https://github.com/juspay/hyperswitch/assets/121822803/7bd1769a-57a3-4de6-a096-71e410864d05">
[ "crates/router/src/connector/authorizedotnet.rs", "crates/router/src/connector/authorizedotnet/transformers.rs", "crates/router/tests/connectors/authorizedotnet.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1094
Bug: [FEATURE] Implement email service implement an email service to OSS. The integration allows us to send emails to our merchants directly from our OSS and helps us to enhance the application experience. Use AWS SES (Simple Email Service) service to develop and build email communications.
diff --git a/Cargo.lock b/Cargo.lock index b504c3db426..da0033c8336 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -598,9 +598,9 @@ dependencies = [ [[package]] name = "aws-credential-types" -version = "0.55.1" +version = "0.55.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4232d372...
2023-05-15T09:27:00Z
## Description <!-- Describe your changes in detail --> Integrate an email service to OSS. The integration allows us to send emails to our merchants directly from our OSS and helps us to enhance the application experience. Use AWS SES (Simple Email Service) service to develop and build email communications. ## M...
ea9814531880584435c122b3e32e9883e4518fd2
Manual
[ "Cargo.lock", "config/config.example.toml", "config/development.toml", "crates/external_services/Cargo.toml", "crates/external_services/src/email.rs", "crates/external_services/src/lib.rs", "crates/router/Cargo.toml", "crates/router/src/configs/settings.rs", "crates/router/src/routes/app.rs" ]
juspay/hyperswitch
juspay__hyperswitch-726
Bug: [FEATURE] Create a dummy connector for internal and external testing of payments and refunds flows ### Feature Description A dummy test connector needs to be created with the ability to process all the payment methods available on Hyperswitch. This dummy connector will be useful for internal and external tes...
diff --git a/crates/api_models/src/enums.rs b/crates/api_models/src/enums.rs index ae13a34d103..f391f3a3a60 100644 --- a/crates/api_models/src/enums.rs +++ b/crates/api_models/src/enums.rs @@ -596,9 +596,17 @@ pub enum Connector { Dummy, Iatapay, #[cfg(feature = "dummy_connector")] - #[serde(rename = ...
2023-05-12T00:13:39Z
## Description <!-- Describe your changes in detail --> Add multiple dummy connectors and enable dummy connector by default ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd reco...
fee0e9dadd2e20c5c75dcee50de0e53f4e5e6deb
[ "crates/api_models/src/enums.rs", "crates/router/Cargo.toml", "crates/router/src/connector/dummyconnector.rs", "crates/router/src/core/payments/flows.rs", "crates/router/src/types/api.rs", "crates/router/tests/connectors/dummyconnector.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1145
Bug: [FEATURE] add `set_config` route the the configs API ### Feature Description Currently, API provided are retrieve config and update config. But, inherently there is not way provided to add a config externally. This feature request is to add such a route. ### Possible Implementation #1144 ### Have you spent...
diff --git a/crates/router/src/core/configs.rs b/crates/router/src/core/configs.rs index b71c31b1043..5f0e7d76c03 100644 --- a/crates/router/src/core/configs.rs +++ b/crates/router/src/core/configs.rs @@ -1,3 +1,5 @@ +use error_stack::ResultExt; + use crate::{ core::errors::{self, utils::StorageErrorExt, RouterRe...
2023-05-11T22:39:30Z
## Description Adding an API route to provide ways to add keys and values in database/cache. Currently, we only have exposed retrieve_config and read_config as possible paths. <!-- Describe your changes in detail --> ## Motivation and Context <!-- Why is this change required? What problem does it solve?...
d7cfb4a179083580a7e195fa07077af23a262ceb
[ "crates/router/src/core/configs.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/configs.rs", "crates/router/src/types/api/configs.rs", "crates/router_env/src/logger/types.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1142
Bug: [BUG] Disable flag from `merchant connector account` isn't validated ### Bug Description Disable flag from `merchant connector account` isn't validated while making a payment. This would provide degraded merchant experience and is logically invalid. ### Expected Behavior The payment should throw an error and...
diff --git a/crates/router/src/compatibility/stripe/errors.rs b/crates/router/src/compatibility/stripe/errors.rs index 78c5c551719..8566d1837a4 100644 --- a/crates/router/src/compatibility/stripe/errors.rs +++ b/crates/router/src/compatibility/stripe/errors.rs @@ -91,6 +91,9 @@ pub enum StripeErrorCode { #[error(e...
2023-05-11T21:35:10Z
## Description The `disabled` field in the merchant connector account, was being populated, but it's presence wasn't being validated during a payment. This PR resolves this issue. <!-- Describe your changes in detail --> ## Motivation and Context <!-- Why is this change required? What problem does it sol...
fee0e9dadd2e20c5c75dcee50de0e53f4e5e6deb
<img width="1142" alt="Screenshot 2023-05-12 at 3 04 35 AM" src="https://github.com/juspay/hyperswitch/assets/51093026/ed9822d8-be64-4b8f-99b7-3c568d1be102">
[ "crates/router/src/compatibility/stripe/errors.rs", "crates/router/src/core/errors/api_error_response.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1139
Bug: [BUG] Make payment method data accessible for `network_transaction_id` ### Bug Description In the case of `network_transaction_id` some connectors require payment method data. After the new mandate changes a new payment method `MandatePayment` was introduced, which doesn't consider this use case. ### Expected...
diff --git a/Cargo.lock b/Cargo.lock index 100e28daaf4..c701a355ebb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2969,7 +2969,7 @@ dependencies = [ [[package]] name = "opentelemetry" version = "0.18.0" -source = "git+https://github.com/open-telemetry/opentelemetry-rust?rev=44b90202fd744598db8b0ace5b8f0bad7ec45658#44...
2023-05-11T19:09:36Z
## Description This change fixes the case where connectors require payment data, when network transaction id is passed. In case of mandate id, no payment data is provided. <!-- Describe your changes in detail --> ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it...
acb91eb4f9d448834eef19aacca1601c3476de82
Tested for `stripe` and `authorizedotnet` via postman (manually)
[ "Cargo.lock", "crates/router/src/connector/authorizedotnet/transformers.rs", "crates/router/src/core/payments.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1091
Bug: [FEATURE] add support for filtering in `payments_session` ### Feature Description After supporting multiple connector accounts through `business_label` , `business_country` and `business_sub_label`, PaymentsSession flow ( creating session tokens - wallets ) should filter based on this. ### Possible Implementa...
diff --git a/crates/router/src/core/payment_methods/cards.rs b/crates/router/src/core/payment_methods/cards.rs index b3c7c031c5e..8e12da732bb 100644 --- a/crates/router/src/core/payment_methods/cards.rs +++ b/crates/router/src/core/payment_methods/cards.rs @@ -838,7 +838,8 @@ pub async fn list_payment_methods( ...
2023-05-11T11:58:25Z
## Description <!-- Describe your changes in detail --> - This PR refactors the get connector function of `PaymentsSession` operation to use idiomatic rust. - Add business country and business label filtering. <!-- Provide links to the files with corresponding changes. Following are the paths where you can...
f790099368ed6ed73ecc729cb18b85e0c6b5f809
Tested manually. - Create payments - Create session token - With `wallets` fields as empty list <img width="1195" alt="Screenshot 2023-05-11 at 6 27 48 PM" src="https://github.com/juspay/hyperswitch/assets/48803246/2bae4c34-92d5-49ef-9aa2-80c31800052e"> - With `wallets` field as `google_pay` only <im...
[ "crates/router/src/core/payment_methods/cards.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations.rs", "crates/router/src/core/payments/operations/payment_complete_authorize.rs", "crates/router/src/core/payments/operations/pa...
juspay/hyperswitch
juspay__hyperswitch-1121
Bug: [BUG] A connector side failure still executes mandate procedure ### Bug Description Consider a scenario where, we are creating a mandate, and there was a failure at the connector side, even in that case the mandate is created. The bug prominently affects `single_use` mandate. Where, in the recurring payment, ...
diff --git a/crates/router/src/core/mandate.rs b/crates/router/src/core/mandate.rs index a5afa04d348..c07a6499349 100644 --- a/crates/router/src/core/mandate.rs +++ b/crates/router/src/core/mandate.rs @@ -134,82 +134,85 @@ pub async fn mandate_procedure<F, FData>( where FData: MandateBehaviour, { - match resp...
2023-05-11T08:25:16Z
## Description Consider a scenario where, we are creating a mandate, and there was a failure at the connector side, even in that case the mandate is created. The bug prominently affects single_use mandate. Where, in the recurring payment, if there was a failure on the connector side, the system still marks the...
cef8914372fa051f074e89fc76b76c6aee0d7bca
Postman and Manual
[ "crates/router/src/core/mandate.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1066
Bug: [FEATURE] Add Bank redirects for Paypal payment processor Add Bank redirect support for Paypal
diff --git a/crates/api_models/src/payment_methods.rs b/crates/api_models/src/payment_methods.rs index 0d1b3f8f9b6..248525fcc40 100644 --- a/crates/api_models/src/payment_methods.rs +++ b/crates/api_models/src/payment_methods.rs @@ -665,3 +665,13 @@ pub struct TokenizedBankTransferValue1 { pub struct TokenizedBankTran...
2023-05-10T10:07:42Z
## Description <!-- Describe your changes in detail --> Add bank redirects - Ideal, Eps, Giropay, and Sofort for Paypal connector. ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, ...
f5c0544e5a6f990b3d475146c9faab8350b5047a
Tested using postman. <img width="1264" alt="Screenshot 2023-05-10 at 2 54 12 PM" src="https://github.com/juspay/hyperswitch/assets/70575890/4959d087-59eb-446e-8d16-d8300a48fe4a"> <img width="1240" alt="Screenshot 2023-05-10 at 2 55 11 PM" src="https://github.com/juspay/hyperswitch/assets/70575890/0cfbd9f7-a745-4...
[ "crates/api_models/src/payment_methods.rs", "crates/api_models/src/payments.rs", "crates/router/src/connector/paypal.rs", "crates/router/src/connector/paypal/transformers.rs", "crates/router/src/connector/utils.rs", "crates/router/src/core/payment_methods/vault.rs", "crates/router/src/core/payments/help...
juspay/hyperswitch
juspay__hyperswitch-996
Bug: [FEATURE] Implement `ApiKeyInterface` for `MockDb` Spin out from #172. Please refer to that issue for more information.
diff --git a/crates/router/src/db.rs b/crates/router/src/db.rs index 89d51908cdf..2b55db74a62 100644 --- a/crates/router/src/db.rs +++ b/crates/router/src/db.rs @@ -82,6 +82,7 @@ pub struct MockDb { processes: Arc<Mutex<Vec<storage::ProcessTracker>>>, connector_response: Arc<Mutex<Vec<storage::ConnectorRespon...
2023-05-09T22:50:45Z
## Description <!-- Describe your changes in detail --> Stores API keys in a vector in `MockDB`. ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one fir...
32a3722f073c3ea22220abfa62034e476ee8acef
Wrote a unit test (included in the PR, but ignored). It passes locally if I make some unrelated changes to allow the test to run without needing redis, but I have it ignored for now because of that (the tests can probably be removed too, they arent vital just wanted to verify it worked)
[ "crates/router/src/db.rs", "crates/router/src/db/api_keys.rs", "crates/storage_models/src/api_keys.rs" ]
juspay/hyperswitch
juspay__hyperswitch-995
Bug: [FEATURE] add a route that will invalidate cache ### Feature Description Currently we don't have any way to manually invalidate cache that's stored in redis and in-memory, Add a route that given a key will invalidate both of redis and inmemory cache. ### Possible Implementation So the in memory cache current...
diff --git a/crates/drainer/src/utils.rs b/crates/drainer/src/utils.rs index c06615759f1..7ba10185952 100644 --- a/crates/drainer/src/utils.rs +++ b/crates/drainer/src/utils.rs @@ -96,11 +96,14 @@ pub async fn make_stream_available( stream_name_flag: &str, redis: &redis::RedisConnectionPool, ) -> errors::Dra...
2023-05-09T21:42:02Z
## Description A new route to invalidate the in-memory cache and redis ## Motivation and Context Currently we don't have any way to manually invalidate cache that's stored in redis and in-memory, Closes #995. #
3e64321bfd25cfeb6b02b70188c8e08b3cd4bfcc
A unit test is added to test the in-memory cache and postman script used for redis cache.
[ "crates/drainer/src/utils.rs", "crates/redis_interface/src/commands.rs", "crates/redis_interface/src/errors.rs", "crates/redis_interface/src/types.rs", "crates/router/src/cache.rs", "crates/router/src/core.rs", "crates/router/src/core/cache.rs", "crates/router/src/db/queue.rs", "crates/router/src/li...
juspay/hyperswitch
juspay__hyperswitch-1053
Bug: [ENHANCEMENT] Add `id` field in `MerchantConnectorAccountNotFound` error type ### Feature Description A `MerchantConnectorAccountNotFound` will occur when using `merchant_id` and `merchant_connector_id` to select a row from the `merchant_connector_account` table if there is no row in the table that matches t...
diff --git a/crates/router/src/compatibility/stripe/errors.rs b/crates/router/src/compatibility/stripe/errors.rs index f1099a09da8..cec4b738039 100644 --- a/crates/router/src/compatibility/stripe/errors.rs +++ b/crates/router/src/compatibility/stripe/errors.rs @@ -88,8 +88,8 @@ pub enum StripeErrorCode { #[error(e...
2023-05-09T17:17:29Z
## Description <!-- Describe your changes in detail --> Add `id` field to `MerchantConnectorAccountNotFound`, Send `connector_label` when possible, Send `merchant_connector_id` otherwise, Change `create_payment_connector` function to raise `InternalServerError` instead of `MerchantConnectorAccountNotFound` ...
3fe24b3255039d6a5dff59203ffcfd024ff0d60b
[ "crates/router/src/compatibility/stripe/errors.rs", "crates/router/src/core/admin.rs", "crates/router/src/core/errors/api_error_response.rs", "crates/router/src/core/payments/helpers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1088
Bug: feat: in memory cache for merchant account and merchant connector account
diff --git a/crates/common_utils/src/errors.rs b/crates/common_utils/src/errors.rs index de776954e71..ba324e0b260 100644 --- a/crates/common_utils/src/errors.rs +++ b/crates/common_utils/src/errors.rs @@ -27,7 +27,7 @@ pub enum ParsingError { /// Validation errors. #[allow(missing_docs)] // Only to prevent warnings...
2023-05-09T09:47:09Z
## Description <!-- Describe your changes in detail --> Added accounts in memory cache static. This also seperates publisher key through `CacheKind` enum so the publisher publishes the key into the channel in the form of `{cachekind}_rediskey`, to differentiate between accounts and config cache. ## Motivation an...
fee0e9dadd2e20c5c75dcee50de0e53f4e5e6deb
Manual
[ "crates/common_utils/src/errors.rs", "crates/redis_interface/src/errors.rs", "crates/redis_interface/src/types.rs", "crates/router/src/cache.rs", "crates/router/src/db/cache.rs", "crates/router/src/db/configs.rs", "crates/router/src/db/merchant_account.rs", "crates/router/src/services.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1067
Bug: [FEATURE] Add BNPL for Nuvei payment processor Add Buy Now Pay Later support for Nuvei
diff --git a/crates/router/src/connector/nuvei/transformers.rs b/crates/router/src/connector/nuvei/transformers.rs index 1653ecdc849..4fc70bba81d 100644 --- a/crates/router/src/connector/nuvei/transformers.rs +++ b/crates/router/src/connector/nuvei/transformers.rs @@ -177,6 +177,10 @@ pub enum AlternativePaymentMethodT...
2023-05-08T21:15:52Z
## Description <!-- Describe your changes in detail --> add payment methods like klarna, afterpay support for Nuvei connector ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd ...
aa610c49f5a24e3e858515d9dfe0872d43251ee5
Since Nuvei is a closed connector, couldn't test it successfully as it needs enabling the payment method - Klarna and AfterPay. <img width="1276" alt="Screenshot 2023-05-09 at 2 14 08 AM" src="https://user-images.githubusercontent.com/70575890/236936491-ade451cc-8816-4303-b07a-beeb9c6ca457.png"> <img width="1250"...
[ "crates/router/src/connector/nuvei/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1061
Bug: [Feature] Bank redirect support (IDeal, Giropay) for worldline This issue is regarding Bank redirect(Ideal ,Giropay) support for worldline
diff --git a/Cargo.lock b/Cargo.lock index 3ef85ac8f6a..a310cff5c1a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2968,7 +2968,7 @@ dependencies = [ [[package]] name = "opentelemetry" version = "0.18.0" -source = "git+https://github.com/open-telemetry/opentelemetry-rust?rev=44b90202fd744598db8b0ace5b8f0bad7ec45658#44...
2023-05-05T14:16:07Z
## Description <!-- Describe your changes in detail --> This PR has following changes 1)Bank Redirects (Ideal and giropay) 2) Add `FrieslandBank` bank in `BankNames` enum **Note** : For the worldline connector , the final status of card payments remains in the processing state within their sandbox environmen...
3fe24b3255039d6a5dff59203ffcfd024ff0d60b
**tested existing card payment** <img width="871" alt="Screenshot 2023-05-05 at 7 14 48 PM" src="https://user-images.githubusercontent.com/121822803/236483230-2eebf35a-ccf1-4661-ab59-4bc8becc34f2.png"> **tested bank redirects using postman** **Giropay** <img width="1285" alt="Screenshot 2023-05-05 at 4 59 1...
[ "Cargo.lock", "crates/api_models/src/enums.rs", "crates/router/src/connector/worldline/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1042
Bug: [FEATURE] replace manual implementation using `from_str` function of strum ### Feature Description In the `convert_connector` function the manual implementation of converting the connector from string can be replaced using the `from_str` function provided by `strum` ### Possible Implementation Use `from_str...
diff --git a/crates/api_models/src/enums.rs b/crates/api_models/src/enums.rs index 476d121eec5..be33941e033 100644 --- a/crates/api_models/src/enums.rs +++ b/crates/api_models/src/enums.rs @@ -567,7 +567,6 @@ pub enum MandateStatus { Clone, Copy, Debug, - Default, Eq, PartialEq, ToSchem...
2023-05-04T13:23:42Z
## Description <!-- Describe your changes in detail --> - fixes #1042 - added test cases for type conversions ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starti...
bc5497f03ab7fde585e7c57815f55cf7b4b8d475
- added 3 unit tests supporting the change
[ "crates/api_models/src/enums.rs", "crates/router/src/types/api.rs", "crates/router/src/types/storage/payment_attempt.rs", "crates/router/tests/connectors/noon.rs", "crates/router/tests/connectors/payeezy.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1035
Bug: [BUG] panic on RedisPoolConnection close. ### Bug Description Currently the RedisPoolConnection close panics on [this line](https://github.com/juspay/hyperswitch/blob/ed99655ebc11d53f4b2ffcb8c0eb9ef6b56f32c4/crates/router/src/bin/router.rs#L47). The root cause of this issue is `Arc::get_mut` throws None when...
diff --git a/crates/drainer/src/main.rs b/crates/drainer/src/main.rs index c9a8533a43f..a8b63e14477 100644 --- a/crates/drainer/src/main.rs +++ b/crates/drainer/src/main.rs @@ -33,6 +33,5 @@ async fn main() -> DrainerResult<()> { ) .await?; - store.close().await; Ok(()) } diff --git a/crates/draine...
2023-05-04T12:03:35Z
## Description <!-- Describe your changes in detail --> This fixes #1035 ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one first so the PR can focus ...
68360d4d6a31d8d7361c83021ca3049780d6d0a3
Manual
[ "crates/drainer/src/main.rs", "crates/drainer/src/services.rs", "crates/redis_interface/src/lib.rs", "crates/router/src/bin/router.rs", "crates/router/src/bin/scheduler.rs", "crates/router/src/db.rs", "crates/router/src/lib.rs", "crates/router/tests/utils.rs" ]
juspay/hyperswitch
juspay__hyperswitch-242
Bug: Support Wechatpay Scan and Pay
diff --git a/crates/router/src/connector/stripe/transformers.rs b/crates/router/src/connector/stripe/transformers.rs index 4538ae2d140..5124b0064d9 100644 --- a/crates/router/src/connector/stripe/transformers.rs +++ b/crates/router/src/connector/stripe/transformers.rs @@ -298,6 +298,7 @@ pub enum StripeWallet { Ap...
2023-05-04T09:35:14Z
## Description Implemented Wechatpay digital wallet, payment method for Stripe. ## Motivation and Context In Stripe connector Wechatpay was not implemented, but it is important payment method which is needed in market so I implemented it. Closes #242. #
bc4ac529aa981150de6882d425bd274bc6272e30
I tested it using Postman <img width="1728" alt="Screenshot 2023-05-04 at 2 37 58 PM" src="https://user-images.githubusercontent.com/131388445/236166786-0f534d8f-1073-4b9d-b14f-e3537ef3fe8e.png"> <img width="1728" alt="Screenshot 2023-05-04 at 2 38 01 PM" src="https://user-images.githubusercontent.com/131388445/23616...
[ "crates/router/src/connector/stripe/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1045
Bug: Implement verify flow for Adyen Implement Verify flow for the connectors. Verify flow makes sure if the card is valid or not for future payments like mandate etc.
diff --git a/config/development.toml b/config/development.toml index ad0b5891d23..3ef6509f46f 100644 --- a/config/development.toml +++ b/config/development.toml @@ -229,7 +229,7 @@ stripe = { long_lived_token = false, payment_method = "wallet", payment_method_t checkout = { long_lived_token = false, payment_method = "...
2023-05-03T20:12:21Z
## Description <!-- Describe your changes in detail --> Add mandate support for gpay, apple_pay and klarna Closes #1045 ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recomm...
5c5c3ef3831991ccfefd9b0561f5eac976ed2191
<img width="1123" alt="Screen Shot 2023-05-04 at 1 27 01 AM" src="https://user-images.githubusercontent.com/20727598/236036746-0811f3e0-99c3-4096-9a9d-17e4305d7346.png">
[ "config/development.toml", "crates/router/src/compatibility/stripe/errors.rs", "crates/router/src/connector/adyen.rs", "crates/router/src/connector/adyen/transformers.rs", "crates/router/src/connector/airwallex.rs", "crates/router/src/connector/nuvei.rs", "crates/router/src/connector/shift4.rs", "crat...
juspay/hyperswitch
juspay__hyperswitch-899
Bug: [ENHANCEMENT] Add connector_label field in error type ### Feature Description A `DuplicateMerchantConnectorAccount` will occur when inserting a row in the `merchant_connector_account` table if there is a row that already exists with the same merchant_id and connector_label. The connector_label is created by Hy...
diff --git a/crates/router/src/compatibility/stripe/errors.rs b/crates/router/src/compatibility/stripe/errors.rs index 766aadd2128..f1099a09da8 100644 --- a/crates/router/src/compatibility/stripe/errors.rs +++ b/crates/router/src/compatibility/stripe/errors.rs @@ -103,8 +103,8 @@ pub enum StripeErrorCode { #[error...
2023-05-03T18:07:23Z
## Description <!-- Describe your changes in detail --> This PR adds the connector_label to the message of the DuplicateMerchantConnectorAccount variant in the ApiErrorResponse enum ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link...
36cc13d44bb61b840195e1a24f1bebdb0115d13b
[ "crates/router/src/compatibility/stripe/errors.rs", "crates/router/src/core/admin.rs", "crates/router/src/core/errors/api_error_response.rs" ]
juspay/hyperswitch
juspay__hyperswitch-940
Bug: [FEATURE] Mandates for alternate payment methods via Stripe ### Feature Description **Scope:** Implementation of - [ ] Applepay recurring payments via Stripe connector - [ ] Googlepay recurring payments via Stripe connector ### Possible Implementation Recurring payments for Applepay and Googlepay needs t...
diff --git a/config/development.toml b/config/development.toml index 4ecd69879cf..b684c497652 100644 --- a/config/development.toml +++ b/config/development.toml @@ -225,8 +225,8 @@ credit = {currency = "USD"} debit = {currency = "USD"} [tokenization] -stripe = { long_lived_token = false, payment_method = "wallet" }...
2023-05-03T12:58:07Z
## Description <!-- Describe your changes in detail --> Closes #940 ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one first so the PR can focus on ...
35196493c4509a6f9f1c202bf8b8a6aa7605346b
<img width="1160" alt="Screen Shot 2023-05-04 at 2 54 18 AM" src="https://user-images.githubusercontent.com/20727598/236053199-e91a6c42-828a-4579-867e-84c9f7ad0ec4.png">
[ "config/development.toml", "crates/api_models/src/payments.rs", "crates/router/src/configs/settings.rs", "crates/router/src/connector/adyen/transformers.rs", "crates/router/src/connector/globalpay/transformers.rs", "crates/router/src/connector/multisafepay/transformers.rs", "crates/router/src/connector/...
juspay/hyperswitch
juspay__hyperswitch-1011
Bug: [FEATURE] Making CVV optional field for payments flow ### Feature Description CVV should be Optional and should only be passed for first time payment else depending upon use cases we don't need to pass the CVV. It gets handeled by the conntector itslef ### Possible Implementation We need to make the CVV fi...
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index 3740c996ed3..a8c69d04e52 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -520,6 +520,7 @@ pub enum PaymentMethodData { BankRedirect(BankRedirectData), BankDebit(BankDebitData), ...
2023-05-02T18:25:25Z
## Description <!-- Describe your changes in detail --> For Recurring mandate payments we don't need payment_method_data, currently we are storing all card_details in locker so payment_method_data can be built from card_details in locker for card_payment but in other_payment_methods(google_pay, apple_pay) it won't b...
3d05e50abcb92fe7e6c4472faafc03fb70920048
[ "crates/api_models/src/payments.rs", "crates/router/src/connector/aci/transformers.rs", "crates/router/src/connector/authorizedotnet/transformers.rs", "crates/router/src/connector/stripe/transformers.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/...
juspay/hyperswitch
juspay__hyperswitch-1028
Bug: [FEATURE]:Payments of statuses like requires_payment_method, requires_capture, requires_confirmation, requires_action can be cancelled ### Feature Description When trying the below curl, getting the following error ``` curl --location 'https://sandbox.hyperswitch.io/payments/pay_GqU4LxURmOgj4W9iZXeG/cance...
diff --git a/crates/router/src/core/payments/operations/payment_cancel.rs b/crates/router/src/core/payments/operations/payment_cancel.rs index f589b61745d..9c613cf782a 100644 --- a/crates/router/src/core/payments/operations/payment_cancel.rs +++ b/crates/router/src/core/payments/operations/payment_cancel.rs @@ -53,6 +5...
2023-05-02T10:50:27Z
requires_payment_method, requires_capture, requires_confirmation, requires_action ## Description Previously while cancelling payment from some of the the payment intent statuses like requires_payment_method, requires_capture, requires_confirmation, requires_action there was an error thrown that these can't be canc...
736a236651523b7f72ff95ad9223f4dda875301a
Tested it by using postman as now we are able to cancel the payment in all those cases.
[ "crates/router/src/core/payments/operations/payment_cancel.rs", "crates/router/src/routes/payments.rs" ]
juspay/hyperswitch
juspay__hyperswitch-961
Bug: [FEATURE] Refactor Stripe compatibility routes ### Feature Description Use `web::resource` to specify the paths in [`/crates/router/src/compatibility/stripe/app.rs`](https://github.com/juspay/hyperswitch/blob/main/crates/router/src/compatibility/stripe/app.rs) ### Possible Implementation Refer this file http...
diff --git a/crates/router/src/compatibility/stripe/app.rs b/crates/router/src/compatibility/stripe/app.rs index 898ffc0aee2..24abb90b423 100644 --- a/crates/router/src/compatibility/stripe/app.rs +++ b/crates/router/src/compatibility/stripe/app.rs @@ -7,14 +7,34 @@ pub struct PaymentIntents; impl PaymentIntents { ...
2023-04-28T08:21:27Z
## Description <!-- Describe your changes in detail --> - fixes #961 ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one first so the PR can focus on ...
36cc13d44bb61b840195e1a24f1bebdb0115d13b
- run cargo check on the entire project - format the code
[ "crates/router/src/compatibility/stripe/app.rs", "crates/router/src/compatibility/stripe/customers.rs", "crates/router/src/compatibility/stripe/payment_intents.rs", "crates/router/src/compatibility/stripe/refunds.rs", "crates/router/src/compatibility/stripe/setup_intents.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1018
Bug: [Documentation] Update Readme link ### Feature Description - [x] Replace stale link in the readme file #1019 ### Possible Implementation NA ### Have you spent some time to check if this feature request has been raised before? - [X] I checked and didn't find similar issue ### Have you read the...
diff --git a/README.md b/README.md index 89f6e94f4df..128c39a3ec7 100644 --- a/README.md +++ b/README.md @@ -259,7 +259,7 @@ Get updates on HyperSwitch development and chat with the community: - Join our [Slack workspace][slack]. - Ask and explore our [GitHub Discussions][github-discussions]. -[blog]: https://blog....
2023-04-28T06:24:07Z
## Description Update the link to hyperswitch blog. The link was broken ## Motivation and Context Update the link to hyperswitch blog. The link was broken #
897250ebc3ee57392aae7e2e926d8c635ac9fc4f
Not applicable
[ "README.md" ]
juspay/hyperswitch
juspay__hyperswitch-988
Bug: [FEATURE] Add a Filter for Payment Methods Visibility only if It allows the requested capture Method ### Feature Description There should be only those Payment Methods Visible in **Payments Method's list** that supports the applied **Capture type**. For a concise **example** If Merchant has provided for man...
diff --git a/config/development.toml b/config/development.toml index 07a005ae9a2..7ba940bc582 100644 --- a/config/development.toml +++ b/config/development.toml @@ -177,9 +177,33 @@ ideal = { country = "NL", currency = "EUR" } [pm_filters.braintree] paypal = { currency = "AUD,BRL,CAD,CNY,CZK,DKK,EUR,HKD,HUF,ILS,JPY...
2023-04-26T12:59:19Z
## Description We are adding a filter for the payment methods list that whenever the capture method on payment_intent is set to Manual it will evaluate whether that connector issues for the manual capture of payment or not. If not it won't be visible in payments method list ## Motivation and Context\ As of now...
9240e16ae4e4f4092a7f64f09ba1fcb058e0cdcf
When we will make the payment create in manual mode we will won't get the cards available as it don't supports manual capture <img width="1728" alt="Screenshot 2023-04-26 at 18 26 15" src="https://user-images.githubusercontent.com/61520228/234581609-917e425a-fc8a-458e-a38a-fb94cbf8ed37.png">
[ "config/development.toml", "crates/router/src/configs/settings.rs", "crates/router/src/core/payment_methods/cards.rs" ]
juspay/hyperswitch
juspay__hyperswitch-984
Bug: [BUG] Remove default values for created_at and modified_at from the database # Context Currently we are setting `created_at` and `modified_at` in the database during insert through Posgresql `now()` function which gives the current time according to the current time zone. But when we modify the data we pass `c...
diff --git a/crates/router/src/types/domain/address.rs b/crates/router/src/types/domain/address.rs index d69343cc798..8b88cf229cc 100644 --- a/crates/router/src/types/domain/address.rs +++ b/crates/router/src/types/domain/address.rs @@ -115,6 +115,7 @@ impl behaviour::Conversion for Address { message: ...
2023-04-26T11:13:10Z
## Description <!-- Describe your changes in detail --> This closes #984 ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one first so the PR can focus...
83d2871b4bded0a84e068e7a456d3dfeed7d642a
Manual
[ "crates/router/src/types/domain/address.rs", "crates/router/src/types/domain/customer.rs", "crates/router/src/types/domain/merchant_account.rs", "crates/router/src/types/domain/merchant_connector_account.rs", "crates/router/src/types/domain/merchant_key_store.rs", "crates/storage_models/src/address.rs", ...
juspay/hyperswitch
juspay__hyperswitch-954
Bug: [FEATURE] Implement `AddressInterface` for `MockDb` Spin out from #172. Please refer to that issue for more information.
diff --git a/Cargo.lock b/Cargo.lock index fb22127838b..44a48169ffd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -876,6 +876,7 @@ version = "0.55.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22d2a2bcc16e5c4d949ffd2b851da852b9bbed4bb364ed4ae371b42137ca06d9" dependencies = [ + "aws-sm...
2023-04-24T23:25:58Z
## Description <!-- Describe your changes in detail --> ## Motivation and Context The main motivation is to have MockDb stubs, help to void mocking, and invocation of external database api's. For more information check [#172](https://github.com/juspay/hyperswitch/issues/172) Fixes #954. #
8947e1c9dba3585c3d998110b53747cbc1007bc2
[ "Cargo.lock", "crates/router/src/db.rs", "crates/router/src/db/address.rs", "crates/storage_models/src/address.rs" ]
juspay/hyperswitch
juspay__hyperswitch-920
Bug: [FEATURE] Add Refund Sync route in Stripe compatibility ### Feature Description There is a refund sync route https://github.com/juspay/hyperswitch/blob/573a4d384ee6a9d72648ab537804799a3993e1e8/crates/router/src/routes/app.rs#L184 A similar route needs to be added in the compatibility layer in this file - h...
diff --git a/Cargo.lock b/Cargo.lock index 40c8891825e..99a37d53a60 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3846,7 +3846,7 @@ checksum = "bcec881020c684085e55a25f7fd888954d56609ef363479dc5a1305eb0d40cab" dependencies = [ "proc-macro2", "quote", - "syn 2.0.11", + "syn 2.0.15", ] [[package]] diff --git a/cr...
2023-04-22T09:12:25Z
## Description <!-- Describe your changes in detail --> This PR is based on the issue #920 to add refund sync with gateway creds in stripe compatibility. Adds a new service refund_retrieve_with_gateway_creds which parses the JSON to type RefundsRetrieveRequest which already has an optional field merchant_connect...
85c7629061ebbe5c9e0393f138af9b8876c3643d
[ "Cargo.lock", "crates/router/src/compatibility/stripe/app.rs", "crates/router/src/compatibility/stripe/refunds.rs" ]
juspay/hyperswitch
juspay__hyperswitch-1000
Bug: [FEATURE] Client Secret Expiry ### Feature Description We need to implement a TTL (Time to Live) for client secret so that once it expires there can be certain restriction on Payment Intent and even no further actions on Intent too. ### Possible Implementation Possible implementation is to create a field in...
diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin.rs index df245fbfad5..52524aea8c3 100644 --- a/crates/api_models/src/admin.rs +++ b/crates/api_models/src/admin.rs @@ -75,6 +75,10 @@ pub struct MerchantAccountCreate { #[cfg(not(feature = "multiple_mca"))] #[schema(value_type = Option<...
2023-04-22T07:29:20Z
## Description We have added a new Optional field in MerchantAccount table i.e intent_fulfillment_time that will set by the merchant during the account creation and by default it is of 900secs(15 mins). So If the intent is set then the customer needs to fulfill it within that time limit or else it will expire and thr...
9240e16ae4e4f4092a7f64f09ba1fcb058e0cdcf
Written 3 tests which verifies 1. Client secret is itself mismatching or not from req and from payment intent. 2. intent_filfillment_time once expired should throw error. 3. intent_fulfillment_time not expired should pass the test.
[ "crates/api_models/src/admin.rs", "crates/router/src/consts.rs", "crates/router/src/core/admin.rs", "crates/router/src/core/cards_info.rs", "crates/router/src/core/payment_methods/cards.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/pay...
juspay/hyperswitch
juspay__hyperswitch-451
Bug: [FEATURE] return all the `missing_fields` in a request ### Feature Description During address validation, It would be a good experience to have all the missing fields returned at once instead of making many requests to know the missing fields. Referring the discussion here https://github.com/juspay/hypers...
diff --git a/.gitignore b/.gitignore index ced4be3d728..a8e6412fb1a 100644 --- a/.gitignore +++ b/.gitignore @@ -256,3 +256,5 @@ loadtest/*.tmp/ # Nix output result* + +.idea/ diff --git a/Cargo.lock b/Cargo.lock index 99a37d53a60..f9c1f539918 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -107,6 +107,44 @@ dependenci...
2023-04-20T14:57:39Z
## Description <!-- Describe your changes in detail --> On address field validation return all the mandatory fields having a null or empty values. ## Motivation and Context <!-- During address validation, It would be a good experience to have all the missing fields returned at once instead of making many reque...
897250ebc3ee57392aae7e2e926d8c635ac9fc4f
[ ".gitignore", "Cargo.lock", "crates/common_utils/Cargo.toml", "crates/common_utils/src/signals.rs", "crates/router/Cargo.toml", "crates/router/src/connector/stripe/transformers.rs", "crates/router/src/core/errors.rs", "crates/router/src/macros.rs", "crates/router/src/scheduler/utils.rs" ]
juspay/hyperswitch
juspay__hyperswitch-932
Bug: [DOCUMENTATION] Updating the readme for dashboard visibility ### Feature Description Sandbox dashboard is one step away for new users landing on Github page. Hence increasing the visibility of app.hyperswitch.io ### Possible Implementation Sandbox dashboard is one step away for new users landing on Github ...
diff --git a/README.md b/README.md index c477ed15aa9..89f6e94f4df 100644 --- a/README.md +++ b/README.md @@ -52,21 +52,24 @@ Using HyperSwitch, you can: ## Quick Start Guide -You have three options to try out HyperSwitch: -1. [Try it in our Sandbox Environment](/docs/try_sandbox.md): Fast and easy to +<a href="h...
2023-04-20T12:56:15Z
## Description Adding a button linking to dashboard <!-- Describe your changes in detail --> ## Motivation and Context Suggested by @NarsGNA <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recomme...
afeb83194f0772e7550c5d4a6ed4ba16216d2a28
[ "README.md" ]
juspay/hyperswitch
juspay__hyperswitch-967
Bug: [FEATURE] unix timestamp to primitive date time ### Feature Description add a deserialization logic to convert unix timestamp to primitive date time so that there will no need to timestamp conversion in connectors ### Possible Implementation need to implement a new trait which has implementations of conver...
diff --git a/crates/api_models/src/disputes.rs b/crates/api_models/src/disputes.rs index 8dc56fba940..da3463185d7 100644 --- a/crates/api_models/src/disputes.rs +++ b/crates/api_models/src/disputes.rs @@ -31,11 +31,14 @@ pub struct DisputeResponse { /// Reason code of dispute sent by connector pub connector_r...
2023-04-19T08:01:57Z
## Description Implemented Dispute Webhooks for Stripe <!-- Describe your changes in detail --> ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one fi...
897250ebc3ee57392aae7e2e926d8c635ac9fc4f
I tested this change manually Out going webhook to merchant <img width="1144" alt="Screenshot 2023-04-19 at 1 15 10 PM" src="https://user-images.githubusercontent.com/83439957/233008843-1fba37a8-7908-4232-8e19-df7d2ae7cd5b.png">
[ "crates/api_models/src/disputes.rs", "crates/api_models/src/enums.rs", "crates/common_utils/src/custom_serde.rs", "crates/router/src/connector/adyen.rs", "crates/router/src/connector/adyen/transformers.rs", "crates/router/src/connector/checkout.rs", "crates/router/src/connector/checkout/transformers.rs"...
juspay/hyperswitch
juspay__hyperswitch-7316
Bug: Integrate EFT into Hyperswitch SDK ## Description EFT is a bank redirect payment method. This issue involves adding EFT as a payment method in the Hyperswitch SDK. ## Implementation Steps - **`PaymentDetails.res`** Define EFT as a payment method by specifying its type, icon, and display name. - **`PaymentMet...
diff --git a/connector-template/mod.rs b/connector-template/mod.rs index 80330a97429..75f2f02c027 100644 --- a/connector-template/mod.rs +++ b/connector-template/mod.rs @@ -1,7 +1,6 @@ mod transformers; use std::fmt::Debug; -use common_utils::errors::ReportSwitchExt; use error_stack::{ResultExt, IntoReport}; us...
2023-04-18T16:43:29Z
## Description <!-- Describe your changes in detail --> When `add_connector.sh` is called to generate new connector files `mod.rs` had an unused declaration, removed it. At the time of development, if needed, one can import it directly instead of pre-bloating the stuff. `Transformers.rs` straight away failed and ...
9c9c52f9af74ebc7e835a5750dd05967b39a0ade
[ "connector-template/mod.rs", "connector-template/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-7292
Bug: South African EFT Payment Method Integration via Paystack ### Feature Description This issue tracks the implementation of EFT (Electronic Funds Transfer) as a payment method in Hyperswitch system. The feature involves generating the necessary template code, integrating EFT as a supported payment method, and co...
diff --git a/connector-template/mod.rs b/connector-template/mod.rs index 80330a97429..75f2f02c027 100644 --- a/connector-template/mod.rs +++ b/connector-template/mod.rs @@ -1,7 +1,6 @@ mod transformers; use std::fmt::Debug; -use common_utils::errors::ReportSwitchExt; use error_stack::{ResultExt, IntoReport}; us...
2023-04-18T16:43:29Z
## Description <!-- Describe your changes in detail --> When `add_connector.sh` is called to generate new connector files `mod.rs` had an unused declaration, removed it. At the time of development, if needed, one can import it directly instead of pre-bloating the stuff. `Transformers.rs` straight away failed and ...
9c9c52f9af74ebc7e835a5750dd05967b39a0ade
[ "connector-template/mod.rs", "connector-template/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-838
Bug: [FEATURE] Add support for Bank Debits payment method ### Feature Description ### Problem statement Bank Debits enables merchants to directly pull funds from the customers' bank accounts once the customers provide authorization for the same. It is primarily used for recurring transactions/mandates and for large...
diff --git a/crates/api_models/src/enums.rs b/crates/api_models/src/enums.rs index f7985c1fc42..43c341dcd67 100644 --- a/crates/api_models/src/enums.rs +++ b/crates/api_models/src/enums.rs @@ -409,11 +409,14 @@ pub enum PaymentExperience { #[serde(rename_all = "snake_case")] #[strum(serialize_all = "snake_case")] pu...
2023-04-18T07:35:31Z
## Description <!-- Describe your changes in detail --> This PR will add support for creating payments using `bank_debits` payment method. This has been implemented for stripe. Mandate details have to passed for all the payment methods. - Sample mandate data ```json { "mandate_data": { "customer_accept...
3e2a7eaed2e830b419964e486757c022a0ebca63
- ACH bank debit <img width="844" alt="Screenshot 2023-04-18 at 12 43 41 PM" src="https://user-images.githubusercontent.com/48803246/232700078-0e6670df-810e-4aa0-ad50-c9988f676714.png"> - Microdeposit verification for ACH <img alt="Screenshot 2023-04-18 at 12 45 26 PM" src = "https://user-images.githubusercontent....
[ "crates/api_models/src/enums.rs", "crates/api_models/src/payments.rs", "crates/router/src/connector/aci/transformers.rs", "crates/router/src/connector/authorizedotnet/transformers.rs", "crates/router/src/connector/stripe/transformers.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/...
juspay/hyperswitch
juspay__hyperswitch-938
Bug: [FEATURE] Nexinets support for auth & capture, bank redirects and paypal ### Feature Description - [x] Authorize, Capture, Void ThreeDS and non ThreeDS cards #898 - [x] Bank redirects : ideal, sofort, eps and Giropay #898 - [x] Wallet : Paypal redirection #898 - [x] Refund, Psync and Rsync #898 ### Possibl...
diff --git a/connector-template/mod.rs b/connector-template/mod.rs index 75f2f02c027..f7653f16189 100644 --- a/connector-template/mod.rs +++ b/connector-template/mod.rs @@ -303,6 +303,7 @@ impl .headers(types::PaymentsCaptureType::get_headers( self, req, connectors, ...
2023-04-17T13:01:49Z
## Description <!-- Describe your changes in detail --> Adding following features to connector Nexinets 1) Authorize ,Capture ,Void ,Refund, Psync and Rsync for ThreeDS and non ThreeDS cards [connector.rs](https://github.com/juspay/hyperswitch/blob/8950f291dde537bed54271eb39bbf051d66908c1/crates/router/sr...
0df224479416533579dd6d96e7f0dd9c246b739c
Integration Tests <img width="1024" alt="Screenshot 2023-04-17 at 4 27 37 PM" src="https://user-images.githubusercontent.com/121822803/232481485-37ac635f-2500-4d89-8d18-b74fffcfbf12.png"> **3ds test cards** 1)friction less flow : 4111111111111111 2)challenge flow : 4000007000000031 Intiate 3ds transaction...
[ "connector-template/mod.rs", "crates/api_models/src/enums.rs", "crates/router/src/connector/nexinets.rs", "crates/router/src/connector/nexinets/transformers.rs", "crates/router/src/connector/utils.rs", "crates/router/src/core/errors.rs", "crates/router/src/core/payments/flows.rs", "crates/router/src/c...
juspay/hyperswitch
juspay__hyperswitch-606
Bug: [FEATURE] Validate card numbers when accepting payment method information ### Feature Description As of now, we just pass the card information to the payment processor without performing any form of validation on the provided card number. It'd be great if the card number could have been validated on our end ...
diff --git a/Cargo.lock b/Cargo.lock index 82cc4015a53..3ef85ac8f6a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -364,6 +364,7 @@ name = "api_models" version = "0.1.0" dependencies = [ "actix-web", + "cards", "common_enums", "common_utils", "error-stack", @@ -1154,9 +1155,11 @@ version = "0.1.0" dependencies ...
2023-04-14T16:34:00Z
Fixes #606 ## Description <!-- Describe your changes in detail --> The PR adds a new crate called `cards`. Which currently just has a single module named validate which exposes the `CardNumber` struct as well as a `CCValError`. The validation of a correct CC number is done via the Luhn Algorithm implemented in...
736a236651523b7f72ff95ad9223f4dda875301a
Tests for successful and failing CC number validation have been added.
[ "Cargo.lock", "connector-template/test.rs", "connector-template/transformers.rs", "crates/api_models/Cargo.toml", "crates/api_models/src/payment_methods.rs", "crates/api_models/src/payments.rs", "crates/cards/Cargo.toml", "crates/cards/src/lib.rs", "crates/cards/src/validate.rs", "crates/common_ut...
juspay/hyperswitch
juspay__hyperswitch-916
Bug: [FEATURE] Checkout.com support for Applepay, Googlepay and Webhooks ### Feature Description Scope: - [ ] Add support for Applepay, Googlepay digital wallets #875 - [ ] Enable tokenization for respective Googlepay/ Applepay endpoint to make wallet payment #875 - [ ] Webhook support for asynchronous payment...
diff --git a/config/development.toml b/config/development.toml index 1a335764d67..49c7c91c53d 100644 --- a/config/development.toml +++ b/config/development.toml @@ -181,3 +181,4 @@ apple_pay = { country = "AU,CN,HK,JP,MO,MY,NZ,SG,TW,AM,AT,AZ,BY,BE,BG,HR,CY,CZ,D [tokenization] stripe = { long_lived_token = false, pa...
2023-04-13T11:24:26Z
## Description <!-- Describe your changes in detail --> - Added Wallets ( GooglePay, ApplePay ) and Webhooks support for [checkout](https://www.checkout.com/docs) - Introduced tokenization and then called the respective endpoint to make wallet payment [GooglePay](https://www.checkout.com/docs/payments/payment-me...
573a4d384ee6a9d72648ab537804799a3993e1e8
Introduced all the basic unit tests, `Rsync` is ignored as it is throwing error from connector side although working in Postman. `ApplePay` is not tested due to token availability issue. ![Screenshot 2023-04-13 at 4 38 36 PM](https://user-images.githubusercontent.com/55536657/231742922-03afe2dd-edc5-478f-bf5c-d...
[ "config/development.toml", "crates/router/src/connector/checkout.rs", "crates/router/src/connector/checkout/transformers.rs", "crates/router/src/connector/utils.rs", "crates/router/tests/connectors/checkout.rs", "crates/router/tests/connectors/connector_auth.rs", "crates/router/tests/connectors/sample_a...
juspay/hyperswitch
juspay__hyperswitch-607
Bug: [FEATURE] Validate card security codes and expiration month/year ### Feature Description As of now, we don't perform any validations on card security codes (CVC/CVV/CID code) and card expiration month and year. It'd be great if the following validations can be done: 1. Card security code must be 3 or 4 di...
diff --git a/Cargo.lock b/Cargo.lock index d065e56825f..3e9de17d58d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1148,6 +1148,18 @@ dependencies = [ "serde", ] +[[package]] +name = "cards" +version = "0.1.0" +dependencies = [ + "common_utils", + "error-stack", + "masking", + "serde", + "serde_json", + "time", +] +...
2023-04-13T11:14:23Z
## Description Add basic validations for card security codes (CVC/CVV/CID code) and card expiration month and year. This logic resides in a new crate called cards. Validations included (as of now): - [x] Card security code must be 3 or 4 digits only - [x] Expiration month is valid (1-12) - [x] Expiration year i...
897250ebc3ee57392aae7e2e926d8c635ac9fc4f
run `cargo test --cards`
[ "Cargo.lock", "crates/cards/Cargo.toml", "crates/cards/src/lib.rs", "crates/cards/tests/basic.rs", "crates/masking/src/serde.rs" ]
juspay/hyperswitch
juspay__hyperswitch-5131
Bug: feat: add connector zsl and local bank transfer payment method to dashboard ### Feature Description Add ZSL to dashboard connectors and add local bank transfer payment method type to dashboard ### Have you spent some time checking if this feature request has been raised before? - [X] I checked and ...
diff --git a/config/config.example.toml b/config/config.example.toml index 56d4500cba2..6f880acbba4 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -79,6 +79,7 @@ sampling_rate = 0.1 # decimal rate between 0.0 - 1.0 [secrets] admin_api_key = "test_admin" # admin API key for admin authentic...
2023-04-13T09:59:59Z
## Description <!-- Describe your changes in detail --> This PR adds key store DB which stores encryption key per merchant account. The encryption key will be further encrypted by `master_key` which will further be KMS encrypted. ## Motivation and Context <!-- Why is this change required? What problem does it...
a8e45bb718d4a6fe44ae5ad938bfd6d239447ebd
Manual
[ "config/config.example.toml", "crates/router/src/configs/defaults.rs", "crates/router/src/configs/settings.rs", "crates/router/src/core/admin.rs", "crates/router/src/core/customers.rs", "crates/router/src/core/errors.rs", "crates/router/src/core/payment_methods/cards.rs", "crates/router/src/core/payme...
juspay/hyperswitch
juspay__hyperswitch-915
Bug: [FEATURE] Nuvei support for bank redirects ### Feature Description **Scope:** - [x] Add support for EPS, Sofort, Giropay, Ideal #870 ### Possible Implementation Bank redirects as a payment method is already supported by payments core. This change will be an extension of the feature without changes in the c...
diff --git a/Cargo.lock b/Cargo.lock index 94d137885dc..40c8891825e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -226,7 +226,7 @@ dependencies = [ "serde_urlencoded", "smallvec", "socket2", - "time", + "time 0.3.20", "url", ] @@ -338,7 +338,7 @@ dependencies = [ "serde", "serde_json", "strum", - "time",...
2023-04-13T00:09:41Z
## Description <!-- Describe your changes in detail --> 1. Add support for bank redirect Eps, Sofort, Giropay, Ideal 2. Add UI tests for redirection flow using selenium ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue ...
3e2a7eaed2e830b419964e486757c022a0ebca63
<img width="1132" alt="Screen Shot 2023-04-13 at 4 04 18 AM" src="https://user-images.githubusercontent.com/20727598/231612357-875adfe1-a9b6-4b6c-83a6-25ebeab7de5f.png">
[ "Cargo.lock", "crates/api_models/src/payments.rs", "crates/router/Cargo.toml", "crates/router/src/connector/nuvei.rs", "crates/router/src/connector/nuvei/transformers.rs", "crates/router/src/core/payments/flows/authorize_flow.rs", "crates/router/src/core/payments/operations/payment_response.rs", "crat...
juspay/hyperswitch
juspay__hyperswitch-478
Bug: [FEATURE] add unit tests for non 3DS, wallets & webhooks in connector tests ### Feature Description Unit tests should be added in the connector tests for cards Non 3DS, Wallets & Webhooks. ### Possible Implementation Unit tests for cards Non 3ds, Wallets & webhooks should be added to the template file ...
diff --git a/Cargo.lock b/Cargo.lock index 94d137885dc..40c8891825e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -226,7 +226,7 @@ dependencies = [ "serde_urlencoded", "smallvec", "socket2", - "time", + "time 0.3.20", "url", ] @@ -338,7 +338,7 @@ dependencies = [ "serde", "serde_json", "strum", - "time",...
2023-04-13T00:09:41Z
## Description <!-- Describe your changes in detail --> 1. Add support for bank redirect Eps, Sofort, Giropay, Ideal 2. Add UI tests for redirection flow using selenium ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue ...
3e2a7eaed2e830b419964e486757c022a0ebca63
<img width="1132" alt="Screen Shot 2023-04-13 at 4 04 18 AM" src="https://user-images.githubusercontent.com/20727598/231612357-875adfe1-a9b6-4b6c-83a6-25ebeab7de5f.png">
[ "Cargo.lock", "crates/api_models/src/payments.rs", "crates/router/Cargo.toml", "crates/router/src/connector/nuvei.rs", "crates/router/src/connector/nuvei/transformers.rs", "crates/router/src/core/payments/flows/authorize_flow.rs", "crates/router/src/core/payments/operations/payment_response.rs", "crat...
juspay/hyperswitch
juspay__hyperswitch-804
Bug: [FEATURE]: add support for three letter and numeric country codes ### Feature Description We are currently using two_letter country codes internally since majority of connectors accept only two_letter codes, there may arise a situation where some connector will accept only three_letter country codes or numeric...
diff --git a/.typos.toml b/.typos.toml index a91e8732e08..57cfce73ef1 100644 --- a/.typos.toml +++ b/.typos.toml @@ -2,19 +2,21 @@ check-filename = true [default.extend-identifiers] +BA = "BA" # Bosnia and Herzegovina country code flate2 = "flate2" +FO = "FO" # Faroe Islands (the) country code payment_vas = "pa...
2023-04-04T09:12:24Z
## Description fixes #804 ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one first so the PR can focus on the implementation (unless its an obvious ...
f26a632cdb4073e7cef012503c668e27d4abc7ee
Added multiple test cases covering maximum scenarios Tested with `cargo test` with all OK passed
[ ".typos.toml", "Cargo.lock", "crates/common_enums/Cargo.toml", "crates/common_enums/src/enums.rs" ]
juspay/hyperswitch
juspay__hyperswitch-608
Bug: [FEATURE] Use newtype pattern for email addresses ### Feature Description This issue covers one of the problems mentioned in #119, about using [the newtype pattern](https://rust-unofficial.github.io/patterns/patterns/behavioural/newtype.html) for email addresses. The requirement is that email addresses must ...
diff --git a/Cargo.lock b/Cargo.lock index 321e402c34a..82cc4015a53 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1305,6 +1305,7 @@ version = "0.1.0" dependencies = [ "async-trait", "bytes", + "diesel", "error-stack", "fake", "futures", diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin...
2023-03-31T09:58:21Z
## Description <!-- Describe your changes in detail --> - This fixes #608 - Added testcases ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one first ...
36cc13d44bb61b840195e1a24f1bebdb0115d13b
- ran `cargo test` - Added 2 unit testcases for validation of implemented code - ![img](https://user-images.githubusercontent.com/44920607/229088949-12df2834-8778-44fc-94a5-fbaadbe3d6ad.png)
[ "Cargo.lock", "crates/api_models/src/admin.rs", "crates/api_models/src/customers.rs", "crates/api_models/src/payments.rs", "crates/common_utils/Cargo.toml", "crates/common_utils/src/pii.rs", "crates/router/src/compatibility/stripe/customers/types.rs", "crates/router/src/compatibility/stripe/payment_in...
juspay/hyperswitch
juspay__hyperswitch-4873
Bug: [FEATURE] Integrate AdyenPlatform for processing payouts ### Feature Description Adyen for Platforms is a marketplace solution which also provides paying out to third parties. This needs to be integrated in HyperSwitch as a payout processor for now. ### Possible Implementation Integrate Adyen's "Payout to t...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f6fb64a4a4..312544c05a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,72 @@ +# 0.5.0 (2023-03-21) + +## Build System / Dependencies + +* **deps:** update deps (#734) (16bc886c) + +## Chores + +* **merchant_account:** remove `api_key` field (#713) (230fcdd4) +*...
2023-03-21T08:56:47Z
# 0.5.0 (2023-03-21) ## Build System / Dependencies * **deps:** update deps (#734) (16bc886c) ## Chores * **merchant_account:** remove `api_key` field (#713) (230fcdd4) * **config:** move connector base URLs under the `[connectors]` table (#723) (df8c8b5a) * address Rust 1.68 clippy lints (#728) (1ffa...
d302b286b8282488f6e0b3bb6259bb2c9930b3dd
[ "CHANGELOG.md", "config/Development.toml", "config/config.example.toml", "config/docker_compose.toml", "crates/api_models/src/admin.rs", "crates/router/src/core/admin.rs", "crates/router/src/core/api_keys.rs", "crates/router/src/core/errors.rs", "crates/router/src/db/api_keys.rs", "crates/router/s...
juspay/hyperswitch
juspay__hyperswitch-236
Bug: Add NMI for card payments
diff --git a/Cargo.lock b/Cargo.lock index a310cff5c1a..c701a355ebb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1318,6 +1318,7 @@ dependencies = [ "nanoid", "once_cell", "proptest", + "quick-xml", "rand 0.8.5", "regex", "ring", @@ -3368,6 +3369,16 @@ version = "2.0.1" source = "registry+https://github.com...
2023-03-20T09:14:31Z
## Description <!-- Describe your changes in detail --> Added support for NMI connector that supports the following payment flows: - Verify - Authorize - PSync - Capture - Void - Execute (Refunds) - RSync Also, apart from Cards, NMI also support payments via GooglePay and ApplePay. ## Motivation and Co...
a2527b5b2af0a72422e1169f0827b6c55e21d673
update-time: 15 April 2023, Saturday 21:04 <img width="610" alt="image" src="https://user-images.githubusercontent.com/69745008/232234442-e3791a88-3def-4e7d-b28a-fe613aaeb6f6.png"> <img width="1195" alt="Screen Shot 2023-04-26 at 2 32 11 AM" src="https://user-images.githubusercontent.com/20727986/234403252-20d5ac23...
[ "Cargo.lock", "config/config.example.toml", "config/development.toml", "config/docker_compose.toml", "crates/api_models/src/enums.rs", "crates/common_utils/Cargo.toml", "crates/common_utils/src/ext_traits.rs", "crates/router/src/configs/settings.rs", "crates/router/src/connector.rs", "crates/route...
juspay/hyperswitch
juspay__hyperswitch-249
Bug: Facilitating dispute management Dispute occurs when a customer files a chargeback claim to the bank stating that the payment was not intended. While cardholders often have extended dispute filing periods of 60-120 days after the transaction or order delivery, merchants, on the other hand, must deal with shorter...
diff --git a/crates/api_models/src/disputes.rs b/crates/api_models/src/disputes.rs index 8b137891791..e60a6a44fde 100644 --- a/crates/api_models/src/disputes.rs +++ b/crates/api_models/src/disputes.rs @@ -1 +1,38 @@ +use masking::Serialize; +use utoipa::ToSchema; +use super::enums::{DisputeStage, DisputeStatus}; + +#...
2023-03-20T07:10:27Z
## Description Added support for incoming dispute webhooks. ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one first so the PR can focus on the imple...
b15b8f7b432833423e49c16a61952e085b344771
Manually Tested Webhook Request <img width="1256" alt="image" src="https://user-images.githubusercontent.com/99009240/226270250-5f8926dd-cba5-4a52-81c7-48c679ec9110.png"> DB Entry <img width="763" alt="image" src="https://user-images.githubusercontent.com/99009240/226270204-d9c4403d-d20c-4085-bd0b-6a434bd9c4ba.pn...
[ "crates/api_models/src/disputes.rs", "crates/api_models/src/enums.rs", "crates/api_models/src/webhooks.rs", "crates/router/src/compatibility/stripe/webhooks.rs", "crates/router/src/connector/adyen.rs", "crates/router/src/connector/adyen/transformers.rs", "crates/router/src/connector/trustpay.rs", "cra...
juspay/hyperswitch
juspay__hyperswitch-756
Bug: [FEATURE] Addition of Client Secret Validation in Payment Methods API. ### Feature Description With the current workflow the clientSecret essentially gets verified at the very end during confirm payment. What we basically want to do however is to make sure to not show the SDK or throw the appropriate errors wh...
diff --git a/crates/router/src/compatibility/stripe/errors.rs b/crates/router/src/compatibility/stripe/errors.rs index 6886be1f2e0..144c14e2736 100644 --- a/crates/router/src/compatibility/stripe/errors.rs +++ b/crates/router/src/compatibility/stripe/errors.rs @@ -406,7 +406,8 @@ impl From<errors::ApiErrorResponse> for...
2023-03-16T14:27:23Z
## Description <!-- Describe your changes in detail --> If there is no client secret in payment_intent then it has expired, so if we receive a client secret in request and there is no client secret in payment intent then the client secret provided has expired. ## Motivation and Context <!-- Why is this change...
5b5557b71d84de67fbda2d0eb09a947eee2823d0
- Create a successful payment - Call payment_method list which fails saying client secret is invalid
[ "crates/router/src/compatibility/stripe/errors.rs", "crates/router/src/core/errors/api_error_response.rs", "crates/router/src/core/payments/helpers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-231
Bug: Add Paypal for card payments
diff --git a/config/Development.toml b/config/Development.toml index 2989e035c65..25110882c8d 100644 --- a/config/Development.toml +++ b/config/Development.toml @@ -67,6 +67,7 @@ cards = [ "mollie", "multisafepay", "nuvei", + "paypal", "payu", "shift4", "stripe", @@ -106,6 +107,7 @@ kla...
2023-03-15T06:02:32Z
## Description Updating support for [Paypal](https://www.paypal.com/) payment gateway Payment Method: card Supported payment flows: Authorize Capture Void PSync Refund RSync ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please lin...
11df843610947d14da036f6f737dfb6f9abdae9b
<img width="972" alt="Screenshot 2023-03-15 at 4 02 29 AM" src="https://user-images.githubusercontent.com/70575890/225219741-08e2be3c-e126-4098-b528-b578fbc0e452.png">
[ "config/Development.toml", "config/config.example.toml", "config/docker_compose.toml", "crates/api_models/src/enums.rs", "crates/router/src/configs/settings.rs", "crates/router/src/connector.rs", "crates/router/src/connector/paypal.rs", "crates/router/src/connector/paypal/transformers.rs", "crates/r...
juspay/hyperswitch
juspay__hyperswitch-626
Bug: [BUG] Unclear Database error messages ### Bug Description Any database errors are reported as ``` DatabaseError: An unknown error occurred ``` These do not give any info over the type of errors that could exist, this leads to longer debug times for the most trivial/simplistic errors. Partly this seems ...
diff --git a/Cargo.lock b/Cargo.lock index 51271d4b794..af78a030121 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -305,9 +305,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.68" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cb2f989d18dd141ab8ae82...
2023-03-05T12:14:55Z
## Description <!-- Describe your changes in detail --> This PR uses the `Debug` implementation instead of `Display` implementation for printing error types which wrap around `error_stack::Report`. ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue...
a8da583bca943039bec3be3bf0eb0eda2db778d6
<details> <summary>Scenario 1: Column missing from database table</summary> <pre> 2023-03-05T11:48:49.205284Z ERROR router::services::api: error: {"error":{"type":"api","message":"Something went wrong","code":"HE_00"}} ├╴at crates/router/src/services/api.rs:448:42 │ ├─▶ {"error":{"type":"server_not_availabl...
[ "Cargo.lock", "crates/api_models/Cargo.toml", "crates/common_utils/Cargo.toml", "crates/drainer/Cargo.toml", "crates/drainer/src/errors.rs", "crates/redis_interface/Cargo.toml", "crates/router/Cargo.toml", "crates/router/src/core/errors.rs", "crates/storage_models/Cargo.toml" ]
juspay/hyperswitch
juspay__hyperswitch-308
Bug: fix(connector): convert PII data into connector request without peeking the info - Currently we are sending the PII information to each connector request by peeking the information and pass it as plain text, instead of doing it in the compile time Serde should handle this process while serialising the data so w...
diff --git a/crates/masking/src/secret.rs b/crates/masking/src/secret.rs index a5ab4103f52..96411d4632b 100644 --- a/crates/masking/src/secret.rs +++ b/crates/masking/src/secret.rs @@ -59,6 +59,28 @@ where masking_strategy: PhantomData, } } + + /// Zip 2 secrets with the same masking strat...
2023-02-24T11:08:47Z
## Description <!-- Describe your changes in detail --> Closes #308 ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one first so the PR can focus on t...
aaf372505c000d2d795b41998b39b269f8467a52
[ "crates/masking/src/secret.rs", "crates/router/src/connector/aci/transformers.rs", "crates/router/src/connector/authorizedotnet/transformers.rs", "crates/router/src/connector/braintree/transformers.rs", "crates/router/src/connector/cybersource/transformers.rs", "crates/router/src/connector/globalpay.rs", ...
juspay/hyperswitch
juspay__hyperswitch-603
Bug: [FEATURE] Remove special characters from payment attempt ID ### Feature Description Remove special characters from payment attempt_id For some gateways like expresscheckout where attempt_id can be passed as reference to txn, special characters limit the possibility of integrating the apis where such refere...
diff --git a/crates/router/src/core/payments/operations/payment_create.rs b/crates/router/src/core/payments/operations/payment_create.rs index 450572adaa8..74b316e041a 100644 --- a/crates/router/src/core/payments/operations/payment_create.rs +++ b/crates/router/src/core/payments/operations/payment_create.rs @@ -420,7 +...
2023-02-16T13:43:04Z
## Description <!-- Describe your changes in detail --> Since we are passing the attempt id as reference to few connectors, some might not accept special characters. ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue her...
e6408276b5ef27e9f93069181a07f204b99ac7e1
<img width="669" alt="Screenshot 2023-02-16 at 7 12 09 PM" src="https://user-images.githubusercontent.com/48803246/219380739-52329e40-7532-40d8-a2ae-634f7abf06e3.png">
[ "crates/router/src/core/payments/operations/payment_create.rs", "crates/router/src/core/payments/operations/payment_method_validate.rs" ]
juspay/hyperswitch
juspay__hyperswitch-585
Bug: Bank Redirects via stripe Support `bank_redirects` through stripe.
diff --git a/.typos.toml b/.typos.toml index e17306e1915..4e663dc448c 100644 --- a/.typos.toml +++ b/.typos.toml @@ -5,6 +5,7 @@ check-filename = true flate2 = "flate2" payment_vas = "payment_vas" PaymentVas = "PaymentVas" +HypoNoeLbFurNiederosterreichUWien = "HypoNoeLbFurNiederosterreichUWien" [default.extend-wo...
2023-02-09T18:07:10Z
## Description <!-- Describe your changes in detail --> Support EPS, Giropay and iDeal through stripe ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with o...
301736fc25bc80f5f0da68377d16ab68132b8839
- EPS ![Screenshot 2023-02-09 at 11 35 37 PM](https://user-images.githubusercontent.com/48803246/217899840-c0b0d17d-cc58-40b2-a028-9ae9ae9d38b8.png) - Giropay ![Screenshot 2023-02-09 at 11 36 01 PM](https://user-images.githubusercontent.com/48803246/217899910-319fad85-de9d-4a35-81bc-489f98758611.png) - iDeal ...
[ ".typos.toml", "Cargo.lock", "crates/api_models/src/admin.rs", "crates/api_models/src/enums.rs", "crates/api_models/src/payment_methods.rs", "crates/api_models/src/payments.rs", "crates/drainer/Cargo.toml", "crates/router/Cargo.toml", "crates/router/src/compatibility/stripe/errors.rs", "crates/rou...
juspay/hyperswitch
juspay__hyperswitch-488
Bug: [FEATURE] add payment methods afterpay, klarna, affirm for adyen connector ### Feature Description Support for payment methods afterpay, klarna and affirm should be added for adyen connector ### Possible Implementation Implementation is similar to card payment method. Newly adding payment method should suppo...
diff --git a/crates/router/src/connector/adyen.rs b/crates/router/src/connector/adyen.rs index 8a6dde9c4a3..f126a75f43c 100644 --- a/crates/router/src/connector/adyen.rs +++ b/crates/router/src/connector/adyen.rs @@ -561,7 +561,7 @@ impl services::ConnectorIntegration<api::Execute, types::RefundsData, types::Ref )...
2023-02-07T11:42:53Z
Fixes #470 , #488 ## Description add payment methods like affirm, klarna, afterpay support for adyen connector ## Motivation and Context #470 #488 #
2310e12bf719f0099a0809b7f5aa439725012e7e
<img width="659" alt="Screenshot 2023-02-08 at 8 23 37 PM" src="https://user-images.githubusercontent.com/20727986/217565196-f07c79ce-fbda-4f5c-b162-4481ad848923.png">
[ "crates/router/src/connector/adyen.rs", "crates/router/src/connector/adyen/transformers.rs", "crates/router/src/connector/utils.rs", "crates/router/tests/connectors/adyen.rs", "crates/router/tests/connectors/connector_auth.rs", "crates/router/tests/connectors/main.rs", "crates/router/tests/connectors/sa...
juspay/hyperswitch
juspay__hyperswitch-470
Bug: [FEATURE] add tests for adyen connector ### Feature Description As part of adding unit tests to existing connectors we are adding test for adyen ### Possible Implementation add a test file for adyen connector in the crates/router/tests folder ### Have you spent some time to check if this feature request has...
diff --git a/crates/router/src/connector/adyen.rs b/crates/router/src/connector/adyen.rs index 8a6dde9c4a3..f126a75f43c 100644 --- a/crates/router/src/connector/adyen.rs +++ b/crates/router/src/connector/adyen.rs @@ -561,7 +561,7 @@ impl services::ConnectorIntegration<api::Execute, types::RefundsData, types::Ref )...
2023-02-07T11:42:53Z
Fixes #470 , #488 ## Description add payment methods like affirm, klarna, afterpay support for adyen connector ## Motivation and Context #470 #488 #
2310e12bf719f0099a0809b7f5aa439725012e7e
<img width="659" alt="Screenshot 2023-02-08 at 8 23 37 PM" src="https://user-images.githubusercontent.com/20727986/217565196-f07c79ce-fbda-4f5c-b162-4481ad848923.png">
[ "crates/router/src/connector/adyen.rs", "crates/router/src/connector/adyen/transformers.rs", "crates/router/src/connector/utils.rs", "crates/router/tests/connectors/adyen.rs", "crates/router/tests/connectors/connector_auth.rs", "crates/router/tests/connectors/main.rs", "crates/router/tests/connectors/sa...
juspay/hyperswitch
juspay__hyperswitch-501
Bug: [FEATURE] Allow rotating and revoking API keys ### Feature Description As of now, the `merchant_account` table has an `api_key` field which restricts a merchant account to only have one API key. Furthermore, there are no mechanisms in place to revoke and regenerate API keys. To improve the convenience of rotat...
diff --git a/Cargo.lock b/Cargo.lock index f192fbfe685..0e45915379f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -329,6 +329,18 @@ version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f907281554a3d0312bb7aab855a8e0ef6cbf1614d06de54105039ca8b34460e" +[[package]] +name = "arr...
2023-02-06T14:36:35Z
## Description <!-- Describe your changes in detail --> This PR implements the endpoints to create, retrieve, update, revoke and list API keys. - As of now, the `last_used` field is included in the storage model, but I don't expect it to be actively used until API keys are cached in Redis or in-memory. - The en...
ac30313ff113383653b9d9af8c35432636f38392
I have added a few unit tests where database accesses are not involved. I'll attach invocations of the APIs via `curl` to give an idea of how they look. - Create API Key: ```shell curl --location --request POST 'http://localhost:8080/api_keys' \ --header 'Content-Type: application/json' \ --head...
[ "Cargo.lock", "crates/api_models/src/api_keys.rs", "crates/api_models/src/lib.rs", "crates/common_utils/Cargo.toml", "crates/common_utils/src/crypto.rs", "crates/router/Cargo.toml", "crates/router/src/compatibility/stripe/errors.rs", "crates/router/src/consts.rs", "crates/router/src/core.rs", "cra...
juspay/hyperswitch
juspay__hyperswitch-97
Bug: Make KV storage flow more generic Model the KV storage flow as a series of common operations (For example, `set in redis -> get sql query -> push query to redis stream`) and define generic utilities that perform these operations for all KV-enabled storage interfaces (as opposed to rewriting code).
diff --git a/crates/router/src/db/payment_attempt.rs b/crates/router/src/db/payment_attempt.rs index 3fb453d35be..8881682448f 100644 --- a/crates/router/src/db/payment_attempt.rs +++ b/crates/router/src/db/payment_attempt.rs @@ -315,7 +315,7 @@ impl PaymentAttemptInterface for MockDb { mod storage { use common_ut...
2023-02-03T10:47:35Z
## Description <!-- Describe your changes in detail --> Use a generic function to push sql queries into drainer stream. ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend...
9381a37f8f623deff46045156355a59a1fd02ee3
Manual
[ "crates/router/src/db/payment_attempt.rs", "crates/router/src/db/payment_intent.rs", "crates/router/src/db/refund.rs", "crates/router/src/services.rs" ]
juspay/hyperswitch
juspay__hyperswitch-468
Bug: [FEATURE] add tests for stripe connector ### Feature Description As part of adding unit tests to existing connectors we are adding test for stripe ### Possible Implementation add a test file for stripe connector in the crates/router/tests folder ### Have you spent some time to check if this feature request ...
diff --git a/crates/router/tests/connectors/connector_auth.rs b/crates/router/tests/connectors/connector_auth.rs index cd696c9e0b4..01505e6a01e 100644 --- a/crates/router/tests/connectors/connector_auth.rs +++ b/crates/router/tests/connectors/connector_auth.rs @@ -12,6 +12,7 @@ pub(crate) struct ConnectorAuthentication...
2023-01-27T13:45:52Z
## Description <!-- Describe your changes in detail --> This PR adds tests for stripe connector. ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one fir...
9e420d511dcda08110d41db9afb205881f161c91
<img width="942" alt="Screenshot 2023-01-27 at 6 51 43 PM" src="https://user-images.githubusercontent.com/20727598/215100275-0c858b8e-5dad-4779-bbf9-4b5b385b308a.png">
[ "crates/router/tests/connectors/connector_auth.rs", "crates/router/tests/connectors/main.rs", "crates/router/tests/connectors/stripe.rs", "crates/router/tests/connectors/utils.rs" ]
juspay/hyperswitch
juspay__hyperswitch-467
Bug: [FEATURE] Add more default tests to the connector template ### Feature Description For card payment method default unit tests should be generated while adding a connector using add_connector script. ### Possible Implementation Add more test cases in connector-template/test.rs file, So that default test cases...
diff --git a/connector-template/test.rs b/connector-template/test.rs index 2efaabcd5b2..5926584c526 100644 --- a/connector-template/test.rs +++ b/connector-template/test.rs @@ -1,4 +1,3 @@ -use futures::future::OptionFuture; use masking::Secret; use router::types::{self, api, storage::enums}; @@ -7,9 +6,10 @@ use c...
2023-01-27T10:51:45Z
## Description For card payment method default unit tests should be generated while adding a connector using add_connector script. ## Motivation and Context Add more test cases in connector-template/test.rs file, So that default test cases will be generated every time while adding a connector. If connector doe...
d1ab46238e61b74a91ca1ca9f93795d86f83a578
Tested by creating a new connector. As expected new test cases were generated in the test file.
[ "connector-template/test.rs", "crates/router/tests/connectors/utils.rs" ]
juspay/hyperswitch
juspay__hyperswitch-347
Bug: feat(connector): add support for affirm and afterpay/clearpay through stripe ### Feature Description Add support for creating payments through affirm and afterpay/clearpay through stripe. The api contract changes will be as follows - afterpay/clearpay ```json { "payment_method": "pay_later", "paymen...
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs index ddbf7325fd6..fc761d2851d 100644 --- a/crates/api_models/src/payments.rs +++ b/crates/api_models/src/payments.rs @@ -321,14 +321,20 @@ pub struct CCard { #[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize,...
2023-01-20T17:58:30Z
## Description <!-- Describe your changes in detail --> This PR will support creating pay_later payments using `afterpay_clearpay` as the issuer through stripe. This is a redirection flow. ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please ...
ecd0ca53b90908aed2be4989c1d9d924cb896a8d
- Create a payment with `payment_method_data` as `pay_later` and body as ```json { "payment_method_data": { "pay_later": { "afterpay_clearpay_redirect": { "issuer_name": "afterpay_clearpay", "billing_email": "example@juspay.in", "billing_name": "Juspay" } } ...
[ "crates/api_models/src/payments.rs", "crates/router/src/connector/stripe.rs", "crates/router/src/connector/stripe/transformers.rs", "crates/router/src/core/payments/operations/payment_create.rs", "crates/router/src/openapi.rs", "openapi/generated.json" ]
juspay/hyperswitch
juspay__hyperswitch-185
Bug: feat: Get a Token with expiry for any connector payment flow `GlobalPayments` and `Paypal` are to connectors that require tokens to make any call to their Api's. These tokens have an expiry as well. Need feature to get the token for any of the connector flows to proceed with the payment.
diff --git a/crates/api_models/src/enums.rs b/crates/api_models/src/enums.rs index ec38f147dda..1bd75a634fc 100644 --- a/crates/api_models/src/enums.rs +++ b/crates/api_models/src/enums.rs @@ -527,6 +527,12 @@ pub enum Connector { Worldpay, } +impl Connector { + pub fn supports_access_token(&self) -> bool { ...
2023-01-18T11:50:56Z
## Description <!-- Describe your changes in detail --> This PR will add the support for creating the access token for connectors which need it. ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't h...
d761e52c35022b2137978a6d04bea3b5756d875f
Manual, Compiler guided.
[ "crates/api_models/src/enums.rs", "crates/router/src/connector/aci.rs", "crates/router/src/connector/adyen.rs", "crates/router/src/connector/applepay.rs", "crates/router/src/connector/authorizedotnet.rs", "crates/router/src/connector/braintree.rs", "crates/router/src/connector/checkout.rs", "crates/ro...
juspay/hyperswitch
juspay__hyperswitch-233
Bug: Add Worldline for card payments
diff --git a/Cargo.lock b/Cargo.lock index 3812b1bb856..b14223062dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3015,6 +3015,7 @@ dependencies = [ "once_cell", "rand 0.8.5", "redis_interface", + "regex", "reqwest", "ring", "router_derive", diff --git a/config/Development.toml b/config/Development.toml inde...
2023-01-13T11:35:43Z
## Description Adding support for [worldline](https://epayments-api.developer-ingenico.com/?paymentPlatform=GLOBALCOLLECT) payment gateway Payment Method: card Supported payment flows [Authorize](https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/java/payments/create.html?paymentPlatform=ALL#payments...
d01634891e77373fa8d44f1c5a20cbcbbba688fd
Added unit tests for mentioned payment flows <img width="1128" alt="Screenshot 2023-01-13 at 4 58 59 PM" src="https://user-images.githubusercontent.com/20727986/212310910-f840a6fd-4704-4aa7-9464-a13edf9b615c.png"> <img width="866" alt="Screenshot 2023-01-16 at 1 07 51 PM" src="https://user-images.githubuserconten...
[ "Cargo.lock", "config/Development.toml", "crates/api_models/src/enums.rs", "crates/router/Cargo.toml", "crates/router/src/configs/settings.rs", "crates/router/src/connector.rs", "crates/router/src/connector/worldline.rs", "crates/router/src/connector/worldline/transformers.rs", "crates/router/src/co...
juspay/hyperswitch
juspay__hyperswitch-271
Bug: Add Rapyd for card payments
diff --git a/config/Development.toml b/config/Development.toml index e0315b066fc..761156a9a37 100644 --- a/config/Development.toml +++ b/config/Development.toml @@ -82,6 +82,9 @@ base_url = "https://apitest.cybersource.com/" [connectors.shift4] base_url = "https://api.shift4.com/" +[connectors.rapyd] +base_url = "h...
2023-01-12T07:12:12Z
## Description Integrating Rapyd Card transaction flow (no_three_ds, refund) ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one first so the PR can f...
9fbe7384271584024c691252e577834ed0ebb878
Doing No-3ds, Separate authorize + capture transaction with rapyd <img width="1533" alt="Screenshot 2023-01-16 at 9 05 12 PM" src="https://user-images.githubusercontent.com/118727120/212717259-38015cfc-52ac-437c-bb7d-9f9008cae12b.png">
[ "config/Development.toml", "config/config.example.toml", "config/docker_compose.toml", "crates/api_models/src/enums.rs", "crates/router/src/configs/defaults.toml", "crates/router/src/configs/settings.rs", "crates/router/src/connector.rs", "crates/router/src/connector/rapyd.rs", "crates/router/src/co...
juspay/hyperswitch
juspay__hyperswitch-237
Bug: Add PayU for card payments
diff --git a/config/Development.toml b/config/Development.toml index c5b1911913f..06b4d544c0a 100644 --- a/config/Development.toml +++ b/config/Development.toml @@ -85,6 +85,8 @@ base_url = "https://api.shift4.com/" [connectors.worldpay] base_url = "http://localhost:9090/" +[connectors.payu] +base_url = "https://se...
2023-01-11T10:05:56Z
## Description <!-- Describe your changes in detail --> - Adding support for [payU](https://developers.payu.com/en/overview.html) payment gateway - Updated connector creation script **Payment Method:** card, GooglePay, ApplePay **Supported payment flows** - [Authorize](https://developers.payu.com/en/restapi....
89a1cd088591acc70abcc00ea863e0f108da45a6
Added unit tests for mentioned payment flows. <img width="786" alt="Screenshot 2023-01-11 at 3 34 52 PM" src="https://user-images.githubusercontent.com/55536657/211777225-0f0b47bc-edb5-4b59-ae65-6d6fd6188baa.png">
[ "config/Development.toml", "crates/api_models/src/enums.rs", "crates/router/src/configs/settings.rs", "crates/router/src/connector.rs", "crates/router/src/connector/payu.rs", "crates/router/src/connector/payu/transformers.rs", "crates/router/src/services/api.rs", "crates/router/src/services/api/client...
juspay/hyperswitch
juspay__hyperswitch-115
Bug: Eliminate Lack of Diagnostics Information because of macro panicking Proc macro should not panic. When proc macro panics, it will be the only error message returned by the rust compiler. Instead, in case of errors, proc macro should emit compile_error!() to communicate error to the user. This will allow other ...
diff --git a/crates/router_derive/src/lib.rs b/crates/router_derive/src/lib.rs index 8f9015d484c..e1e04d0b818 100644 --- a/crates/router_derive/src/lib.rs +++ b/crates/router_derive/src/lib.rs @@ -427,5 +427,6 @@ pub fn api_error_derive(input: proc_macro::TokenStream) -> proc_macro::TokenStre /// used by `diesel`. #[...
2023-01-10T09:48:05Z
## Description <!-- Describe your changes in detail --> Use compile_error in proc macros instead of panic. ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting wi...
76ad42cc307491bb8599cde6e0edfb0a0b6b7c02
manual.
[ "crates/router_derive/src/lib.rs", "crates/router_derive/src/macros/helpers.rs", "crates/router_derive/src/macros/operation.rs" ]
juspay/hyperswitch
juspay__hyperswitch-323
Bug: feat: List payment method API access needs to be enabled using client secret for SDK calls ### Description Need to enable access for list payment methods API using client secret for SDK calls. This will help SDK show only those payment methods that are enabled by the merchant on their dashboard. We would...
diff --git a/crates/api_models/src/payment_methods.rs b/crates/api_models/src/payment_methods.rs index 6556f043f1b..96b5bc02d04 100644 --- a/crates/api_models/src/payment_methods.rs +++ b/crates/api_models/src/payment_methods.rs @@ -71,7 +71,7 @@ pub struct ListPaymentMethodRequest { pub client_secret: Option<Stri...
2023-01-10T07:23:12Z
## Description <!-- Describe your changes in detail --> Filter payment methods based on the current payment that's happening to only show relevant payment methods. More details in #323 ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please lin...
b090e421e4880d156fa17048bf63c8f4d4b40395
<img width="1728" alt="image" src="https://user-images.githubusercontent.com/43412619/211487264-9eebeb0f-d221-44a3-9619-a061c038f6aa.png">
[ "crates/api_models/src/payment_methods.rs", "crates/router/src/core/payment_methods/cards.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/payment_methods.rs", "crates/router/src/types/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-230
Bug: Add Global Payments for card payments
diff --git a/Cargo.lock b/Cargo.lock index 6aa461e603f..d8e14809b27 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -378,6 +378,19 @@ dependencies = [ "futures-core", ] +[[package]] +name = "async-compression" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "942c7cd7ae...
2023-01-09T09:42:31Z
## Description <!-- Describe your changes in detail --> - Adding support for [globalpay](https://www.globalpayments.com/en-ap) payment gateway - Updated connector creation script **Payment Method:** card **Supported payment flows** - [Authorize](https://developer.globalpay.com/api/transactions#create) - [Ca...
1e04719ac328a56a9c632fe677bff049f19febf8
Added unit tests for mentioned payment flows. <img width="929" alt="Screenshot 2023-01-09 at 2 24 22 PM" src="https://user-images.githubusercontent.com/20727598/211273191-847a0acd-84db-473a-a051-2bc0686f1946.png">
[ "Cargo.lock", "config/Development.toml", "config/config.example.toml", "config/docker_compose.toml", "connector-template/mod.rs", "connector-template/test.rs", "connector-template/transformers.rs", "crates/api_models/src/enums.rs", "crates/router/Cargo.toml", "crates/router/src/configs/settings.rs...
juspay/hyperswitch
juspay__hyperswitch-262
Bug: refactor(adyen): Use enums instead of strings for statuses As of now, we use string literals for matching on status codes returned by Adyen. They need to be replaced by enums instead. 3 instances I could find are: https://github.com/juspay/orca/blob/7348d76cad8f52548f84c6a606fb177e7ca3620e/crates/router/s...
diff --git a/crates/router/src/connector/adyen/transformers.rs b/crates/router/src/connector/adyen/transformers.rs index cd0bf7ffd52..b0d3e5acd34 100644 --- a/crates/router/src/connector/adyen/transformers.rs +++ b/crates/router/src/connector/adyen/transformers.rs @@ -73,6 +73,25 @@ struct AdyenBrowserInfo { java_...
2023-01-08T13:44:29Z
Fixes #262 ## Description Used enums instead of strings for statuses for Adyen. ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one first so th...
74f6d0025e34c26dd0ff429baed0b90dd02edb64
[ "crates/router/src/connector/adyen/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-281
Bug: fix: Ephemeral key throwing internal server error
diff --git a/crates/redis_interface/src/commands.rs b/crates/redis_interface/src/commands.rs index 58d61225221..5626fd878b1 100644 --- a/crates/redis_interface/src/commands.rs +++ b/crates/redis_interface/src/commands.rs @@ -246,6 +246,25 @@ impl super::RedisConnectionPool { .await } + #[instrume...
2023-01-04T06:52:55Z
## Description <!-- Describe your changes in detail --> This fixes the Internal server error while trying to set ephemeral key on sanbox. ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an is...
0559f480960fd07e21b655d538ad85eac918f46d
[ "crates/redis_interface/src/commands.rs", "crates/router/src/db/ephemeral_key.rs" ]
juspay/hyperswitch
juspay__hyperswitch-253
Bug: Need mapping for merchant_id passed in request to locke_id passed to EC 1. While creating merchant_account , locker_id needs to be assigned to the merchant 2. In case like swiggy, swiggy_instamart same locker_id needs to be assigned as they are the same and all payment_method can be used across there product ...
diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin.rs index 398888e140d..084d8bf93d3 100644 --- a/crates/api_models/src/admin.rs +++ b/crates/api_models/src/admin.rs @@ -24,6 +24,7 @@ pub struct CreateMerchantAccount { pub redirect_to_merchant_with_http_post: Option<bool>, pub metadata:...
2023-01-03T16:12:40Z
## Description Add locker_id to merchant_account which shall be passed to legacy locker use merchant_id::customer_id in place of customer_id if the locker is default locker_id ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to th...
c36764060e8c3bdf150964fc10f68ebab22a4b2f
[ "crates/api_models/src/admin.rs", "crates/router/src/core/admin.rs", "crates/router/src/core/mandate.rs", "crates/router/src/core/payment_methods/cards.rs", "crates/router/src/core/payment_methods/transformers.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/flows.rs", "crat...
juspay/hyperswitch
juspay__hyperswitch-270
Bug: Add Worldpay for card payments
diff --git a/Cargo.lock b/Cargo.lock index bd50a78cc66..83398231577 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -88,7 +88,7 @@ dependencies = [ "mime", "percent-encoding", "pin-project-lite", - "rand", + "rand 0.8.5", "sha1", "smallvec", "tracing", @@ -263,7 +263,7 @@ version = "0.7.6" source = "registry+h...
2023-01-02T20:52:29Z
## Description <!-- Describe your changes in detail --> Adding support for [worldpay](https://developer.worldpay.com/) payment gateway Updated connector creation script and readme file **Payment Method**: card, wallet(google, apple) **Supported payment flows** - [Authorize](https://developer.worldpay.com/doc...
c3368d9f8b0381b982d8defd7fa004c3d3b87da4
Added unit tests for mentioned payment flows. We currently don't have a sandbox account for Worldpay so testing is done with the help of [wiremock](https://docs.rs/wiremock/latest/wiremock/). <img width="911" alt="Screenshot 2023-01-03 at 12 23 43 AM" src="https://user-images.githubusercontent.com/20727598/210277024...
[ "Cargo.lock", "add_connector.md", "config/Development.toml", "config/config.example.toml", "config/docker_compose.toml", "connector-template/mod.rs", "connector-template/test.rs", "crates/api_models/src/enums.rs", "crates/router/Cargo.toml", "crates/router/src/configs/settings.rs", "crates/route...
juspay/hyperswitch
juspay__hyperswitch-229
Bug: Add Fiserv for card payments
diff --git a/config/Development.toml b/config/Development.toml index 06b4d544c0a..fa61e28810c 100644 --- a/config/Development.toml +++ b/config/Development.toml @@ -43,7 +43,7 @@ locker_decryption_key2 = "" [connectors.supported] wallets = ["klarna","braintree","applepay"] -cards = ["stripe","adyen","authorizedotne...
2022-12-31T22:07:16Z
## Description Authorize and capture flow Todo: Issue for optimising the encoding process in header and body #370 ## Motivation and Context Adding a new connector `Fiserv` <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't ...
f0b89dda7b4fefbdd5e590dd79898ab0571f948b
Added unit tests for mentioned payment flows. <img width="784" alt="Screenshot 2023-01-13 at 7 43 38 PM" src="https://user-images.githubusercontent.com/55536657/212340057-35e12934-a1a8-4ca6-b411-729d27d6e357.png">
[ "config/Development.toml", "config/config.example.toml", "config/docker_compose.toml", "crates/api_models/src/enums.rs", "crates/common_utils/src/lib.rs", "crates/router/src/configs/defaults.toml", "crates/router/src/configs/settings.rs", "crates/router/src/connector.rs", "crates/router/src/connecto...
juspay/hyperswitch
juspay__hyperswitch-189
Bug: feat: Add connectors param to the get_headers method Allow `ConnectorIntegration::get_headers()` to accept `connectors` parameter so that we can set `Host` headers. requirement came for `Cybersource` #154
diff --git a/crates/router/src/connector/aci.rs b/crates/router/src/connector/aci.rs index 5b7569e9c69..eae5292ace5 100644 --- a/crates/router/src/connector/aci.rs +++ b/crates/router/src/connector/aci.rs @@ -92,6 +92,7 @@ impl fn get_headers( &self, req: &types::PaymentsSyncRouterData, + ...
2022-12-30T14:08:37Z
## Description <!-- Describe your changes in detail --> Some connectors requires endpoint URL and other connector related configs to build headers. To support this build_headers method in API flows have to accept Connectors as an argument. ## Motivation and Context <!-- Why is this change required? What proble...
bfc68581644ef90f9a3aec992ba4ea03ad517263
cargo test --package router --test connectors -- shift4 ![Screenshot 2022-12-30 at 7 10 55 PM](https://user-images.githubusercontent.com/20727986/210076872-95152336-13b1-45f9-b01f-c0d167e45e35.png)
[ "crates/router/src/connector/aci.rs", "crates/router/src/connector/adyen.rs", "crates/router/src/connector/applepay.rs", "crates/router/src/connector/authorizedotnet.rs", "crates/router/src/connector/braintree.rs", "crates/router/src/connector/checkout.rs", "crates/router/src/connector/cybersource.rs", ...
juspay/hyperswitch
juspay__hyperswitch-227
Bug: Sync Open API specifications with latest additions The Open API specification needs to be updated to sync with: - [x] newly implemented APIs such as `/session` and `/verify` - [x] the addition/ changes in parameters of existing APIs shall also be modified in the specifications - [x] payment `status` fields...
diff --git a/openapi/open_api_spec.yaml b/openapi/open_api_spec.yaml index dc995b199d0..6728a7244e8 100644 --- a/openapi/open_api_spec.yaml +++ b/openapi/open_api_spec.yaml @@ -1,4610 +1,4603 @@ openapi: "3.0.1" info: - version: "0.2" - title: Juspay Router - API Documentation - x-logo: - url: "https:...
2022-12-29T14:26:38Z
## Description <!-- Describe your changes in detail --> (If you're reviewing, it's better to follow changes in each commit, except for the first one. For the first commit, check [diff without whitespace changes](https://github.com/juspay/orca/commit/892fce6309a0c7e166cb90ce122a9152e09544d4?w=1).) This PR includ...
8535cecd7d2d73fc77f1dc05116128d083d49440
N/A
[ "openapi/open_api_spec.yaml", "postman/collection.postman.json" ]
juspay/hyperswitch
juspay__hyperswitch-232
Bug: Add Shift4 for card payments
diff --git a/config/Development.toml b/config/Development.toml index 32c328baa11..bc2b912fa37 100644 --- a/config/Development.toml +++ b/config/Development.toml @@ -38,7 +38,7 @@ locker_decryption_key2 = "" [connectors.supported] wallets = ["klarna","braintree","applepay"] -cards = ["stripe","adyen","authorizedotne...
2022-12-21T11:19:49Z
## Description <!-- Describe your changes in detail --> - Adding support for [shift4](https://www.shift4.com/) payment gateway - Updated connector template files which are outdated - Added script to handle manual changes while adding new connector, this can be updated in future to handle all new scenarios **Pay...
7274fd70c6bb4051a0af97da087c4e10bf62fdb9
Added units tests for authorize, capture and refund flows. <img width="934" alt="Screenshot 2022-12-21 at 4 24 49 PM" src="https://user-images.githubusercontent.com/20727598/208892758-ae62a963-c087-46fb-8a49-e9fc74fb3e06.png">
[ "config/Development.toml", "config/config.example.toml", "config/docker_compose.toml", "connector-template/mod.rs", "connector-template/test.rs", "connector-template/transformers.rs", "crates/api_models/src/enums.rs", "crates/router/src/configs/settings.rs", "crates/router/src/connector.rs", "crat...
juspay/hyperswitch
juspay__hyperswitch-193
Bug: Use `Self` instead of type names in `impl` blocks Set up `clippy` to warn on [`clippy::use_self`](https://rust-lang.github.io/rust-clippy/master/#use_self) and address the lints thrown. (Originated from https://github.com/juspay/orca/pull/190#discussion_r1054060076)
diff --git a/connector-template/transformers.rs b/connector-template/transformers.rs index f379e016d71..34ac1e95892 100644 --- a/connector-template/transformers.rs +++ b/connector-template/transformers.rs @@ -90,12 +90,12 @@ impl Default for RefundStatus { } } -impl From<self::RefundStatus> for enums::RefundSta...
2022-12-21T10:36:04Z
## Description use Self alias wherever necessary to avoid repetition ## Motivation and Context This PR closes #193
57366f3304121b9f7dd8b4afa1ae002822c292e5
[ "connector-template/transformers.rs", "crates/router/src/compatibility/stripe/errors.rs", "crates/router/src/compatibility/stripe/payment_intents/types.rs", "crates/router/src/compatibility/stripe/setup_intents/types.rs", "crates/router/src/connector/aci/transformers.rs", "crates/router/src/connector/adye...
juspay/hyperswitch
juspay__hyperswitch-228
Bug: Add Cybersource for card payments
diff --git a/config/Development.toml b/config/Development.toml index bc2b912fa37..f14f2300065 100644 --- a/config/Development.toml +++ b/config/Development.toml @@ -38,7 +38,7 @@ locker_decryption_key2 = "" [connectors.supported] wallets = ["klarna","braintree","applepay"] -cards = ["stripe","adyen","authorizedotne...
2022-12-15T07:20:40Z
## Description Adding Authorize call for `Cybersource` connector <!-- Describe your changes in detail --> ## Motivation and Context Adding another connector `Cybersource` <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't ...
e7579a4819358001768d2c6a5b04e10f8810e24f
Ran it and checked in cybersource sandbox.
[ "config/Development.toml", "config/config.example.toml", "config/docker_compose.toml", "crates/api_models/src/enums.rs", "crates/router/src/configs/defaults.toml", "crates/router/src/configs/settings.rs", "crates/router/src/connector.rs", "crates/router/src/connector/cybersource.rs", "crates/router/...
juspay/hyperswitch
juspay__hyperswitch-122
Bug: Use `frunk` deriving mechanisms to reduce boilerplate https://github.com/juspay/orca/blob/dddc9eaf1430adcd1293933e726c2f4f296c805b/crates/router/src/types/transformers.rs#L5-L14 Why not just use [frunk](https://crates.io/crates/frunk)? Here's an example: ```rust use frunk::LabelledGeneric; #[derive(L...
diff --git a/Cargo.lock b/Cargo.lock index 2d426b834c6..bb6e24c2b93 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -312,6 +312,8 @@ name = "api_models" version = "0.1.0" dependencies = [ "common_utils", + "frunk", + "frunk_core", "masking", "router_derive", "serde", @@ -1302,6 +1304,70 @@ dependencies = [ "url...
2022-12-13T14:47:21Z
## Motivation and Context Closes #122 #
7f0d8e8286ea959614d9481e710d69f4ee9d30de
Manual, compiler-guided.
[ "Cargo.lock", "crates/api_models/Cargo.toml", "crates/api_models/src/enums.rs", "crates/api_models/src/payments.rs", "crates/router/Cargo.toml", "crates/router/src/types/transformers.rs", "crates/storage_models/Cargo.toml", "crates/storage_models/src/address.rs", "crates/storage_models/src/enums.rs"...
juspay/hyperswitch
juspay__hyperswitch-106
Bug: Use `#[automatically_derived]` for all derivations Consider to mark any new code/items, generated by procedural macros, with the `#[automatically_derived]` attribute. This makes code style linters to omit the generated code and doesn't report redundant warnings. Example: https://github.com/cucumber-rs/cucumb...
diff --git a/crates/router_derive/src/lib.rs b/crates/router_derive/src/lib.rs index 7bb020f3c13..cba0ef30129 100644 --- a/crates/router_derive/src/lib.rs +++ b/crates/router_derive/src/lib.rs @@ -176,6 +176,7 @@ pub fn setter(input: proc_macro::TokenStream) -> proc_macro::TokenStream { } }); let out...
2022-12-13T10:04:46Z
## Motivation and Context Closes #106 #
16cc0a4b38029447e18a20ddc856bd6fd3069a4c
Manual, compiler-guided
[ "crates/router_derive/src/lib.rs", "crates/router_derive/src/macros.rs", "crates/router_derive/src/macros/api_error.rs", "crates/router_derive/src/macros/diesel.rs", "crates/router_derive/src/macros/operation.rs" ]
juspay/hyperswitch
juspay__hyperswitch-108
Bug: Consider adding `#![forbid(unsafe_code)]` [Here](https://github.com/juspay/orca/blob/main/crates/router/src/lib.rs) and in any other crate roots it's better to declare `#![forbid(unsafe_code)]` as we do in `masking` crate. This will ease a life of readers and auditors a lot, and will require quite a reasoning f...
diff --git a/crates/api_models/src/lib.rs b/crates/api_models/src/lib.rs index e5a864c7a45..84453c1d08a 100644 --- a/crates/api_models/src/lib.rs +++ b/crates/api_models/src/lib.rs @@ -1,3 +1,4 @@ +#![forbid(unsafe_code)] pub mod admin; pub mod bank_accounts; pub mod cards; diff --git a/crates/common_utils/src/lib.r...
2022-12-13T09:55:21Z
## Motivation and Context Closes #108 #
6bf99048673c9a8f02dfe6f061226da03fc1aadb
Manual, compiler-guided.
[ "crates/api_models/src/lib.rs", "crates/common_utils/src/lib.rs", "crates/redis_interface/src/lib.rs", "crates/router/src/lib.rs", "crates/router_derive/src/lib.rs", "crates/router_env/src/lib.rs" ]
juspay/hyperswitch
juspay__hyperswitch-110
Bug: Use `serde_repr` for serializing enums as u8 https://github.com/juspay/orca/blob/56d153d8f7c2c75391799cf14280c448df97842f/crates/router/src/connector/authorizedotnet/transformers.rs#L219-L227 Instead of such renaming, it would be more properly to use `#[repr(u8)]` here: ```rust #[derive(Serialize_repr, De...
diff --git a/Cargo.lock b/Cargo.lock index ad690392c9f..1605c94366b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2651,6 +2651,7 @@ dependencies = [ "serde_json", "serde_path_to_error", "serde_qs", + "serde_repr", "serde_urlencoded", "storage_models", "structopt", @@ -2910,6 +2911,17 @@ dependencies = [ "t...
2022-12-13T09:43:00Z
## Type of Chang - [x] Refactoring ## Motivation and Context Closes #110.
6bf99048673c9a8f02dfe6f061226da03fc1aadb
[ "Cargo.lock", "crates/router/Cargo.toml", "crates/router/src/connector/authorizedotnet/transformers.rs" ]
juspay/hyperswitch
juspay__hyperswitch-69
Bug: Feat: Ability to accept 3 values in ConnectorAuthType Currently we support max 2 values from keys.conf / db ```rust pub enum ConnectorAuthType { HeaderKey { api_key: String }, BodyKey { api_key: String, key1: String }, } ``` I'm trying to integrate Cybersource, it requires [`http signatures`](h...
diff --git a/crates/router/src/types.rs b/crates/router/src/types.rs index da5a6dcfbe3..06a1dbca5d5 100644 --- a/crates/router/src/types.rs +++ b/crates/router/src/types.rs @@ -213,8 +213,18 @@ pub struct ResponseRouterData<Flow, R, Request, Response> { #[derive(Debug, Clone, serde::Deserialize)] #[serde(tag = "auth_...
2022-12-07T12:00:47Z
## Description This will allow us to accept 3 keys for a connector. Generally Public key, Private key and the merchant id. <!-- Describe your changes in detail --> ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue h...
21f3d5760959ecd82652b4024562654bcd404e26
[ "crates/router/src/types.rs" ]
juspay/hyperswitch
juspay__hyperswitch-107
Bug: Use `subtle` crate for constant-time comparison Usual comparison is not safe in cryptography as is lazy (fail-fast) and makes the code potentially vulnerable to timing attacks: https://www.chosenplaintext.ca/articles/beginners-guide-constant-time-cryptography.html. Use crates like `subtle` for constant-time co...
diff --git a/Cargo.lock b/Cargo.lock index 9e107e0a17d..9efade25962 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1808,6 +1808,7 @@ dependencies = [ "diesel", "serde", "serde_json", + "subtle", "zeroize", ] @@ -3053,6 +3054,12 @@ dependencies = [ "syn", ] +[[package]] +name = "subtle" +version = "2.4.1" ...
2022-12-06T21:11:47Z
## Motivation and Context Apply suggestions from code review #65 Closes #107
fc670ea0dad3dc8ce3549cb8888952070d2f4396
[ "Cargo.lock", "crates/common_utils/src/pii.rs", "crates/masking/Cargo.toml", "crates/masking/README.md", "crates/masking/src/abs.rs", "crates/masking/src/bytes.rs", "crates/masking/src/lib.rs", "crates/masking/src/secret.rs", "crates/masking/src/serde.rs", "crates/masking/src/strategy.rs", "crat...
juspay/hyperswitch
juspay__hyperswitch-3275
Bug: Implement HashiCorp Vault support in the Card Vault
diff --git a/crates/common_utils/src/custom_serde.rs b/crates/common_utils/src/custom_serde.rs index d7bd9721507..4aa132c4555 100644 --- a/crates/common_utils/src/custom_serde.rs +++ b/crates/common_utils/src/custom_serde.rs @@ -64,6 +64,9 @@ pub mod iso8601 { where S: Serializer, { + ...
2022-12-05T09:39:28Z
Thorough code review
6bf99048673c9a8f02dfe6f061226da03fc1aadb
[ "crates/common_utils/src/custom_serde.rs", "crates/common_utils/src/ext_traits.rs", "crates/common_utils/src/pii.rs", "crates/masking/src/bytes.rs", "crates/masking/src/strong_secret.rs", "crates/redis_interface/src/commands.rs", "crates/redis_interface/src/types.rs", "crates/router/src/configs/settin...
juspay/hyperswitch
juspay__hyperswitch-3270
Bug: Deep health check for Hyperswitch Card Vault Components to be verified in this check - [x] RDS (PostgreSQL) - Connection to Database - State of Migration (v2) - [x] Key Custodian State
diff --git a/crates/api_models/src/customers.rs b/crates/api_models/src/customers.rs index 27611334fe0..e7c131a4a49 100644 --- a/crates/api_models/src/customers.rs +++ b/crates/api_models/src/customers.rs @@ -39,7 +39,9 @@ pub struct CustomerId { #[derive(Default, Debug, Deserialize, Serialize)] pub struct CustomerDe...
2022-12-05T08:39:19Z
## Description GDPR payment regulations state that all businesses that collect/process personal data of customers from Europe need to comply with the regulatory requirements. GDPR protects customers’ privacy by empowering the customer with the ownership of their personal data and thereby enabling them to dictate how...
6bf99048673c9a8f02dfe6f061226da03fc1aadb
Not tested yet
[ "crates/api_models/src/customers.rs", "crates/router/src/compatibility/stripe/customers.rs", "crates/router/src/compatibility/stripe/customers/types.rs", "crates/router/src/compatibility/stripe/errors.rs", "crates/router/src/core/customers.rs", "crates/router/src/core/errors/api_error_response.rs", "cra...
juspay/hyperswitch
juspay__hyperswitch-21
Bug: Rename `PaymentsRequestSyncData` struct to `PaymentsSyncData`. Rename the struct `PaymentsRequestSyncData` to `PaymentsSyncData`. Use this pattern `<Feature>Data`. And rename PaymentsRouterSyncData struct to PaymentsSyncRouterData. Pattern - `<Feature>RouterData` And rename the field name called `reques...
diff --git a/connector-template/mod.rs b/connector-template/mod.rs index 5651a6b04c3..c7f3a22094b 100644 --- a/connector-template/mod.rs +++ b/connector-template/mod.rs @@ -69,7 +69,7 @@ impl types::PaymentsRequestData, types::PaymentsResponseData, > for {{project-name | downcase | pascal_case}} ...
2022-11-30T09:06:18Z
## Description Rename the payment request router data with respective feature data, as suggesed [here](https://github.com/juspay/orca/pull/7#discussion_r1032366000) ## Motivation and Context This PR closes #21 #
5a5ac61d011d16153c317bde574055dc058190e6
[ "connector-template/mod.rs", "connector-template/transformers.rs", "crates/router/src/compatibility/stripe/payment_intents.rs", "crates/router/src/connector/aci.rs", "crates/router/src/connector/aci/transformers.rs", "crates/router/src/connector/adyen.rs", "crates/router/src/connector/adyen/transformers...
juspay/hyperswitch
juspay__hyperswitch-6228
Bug: [FEAT] Add benchmarking for encryption/decryption **Description:** Cripta is a service which creates keys and maintains it (includes key rotation etc.) individually for different Merchants and Users. We need to add a tool which benchmarks the internal encryption/decryption implementation, And any changes ...
diff --git a/Cargo.lock b/Cargo.lock index 8472b79d44e..20f3b17c44f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -91,7 +91,7 @@ dependencies = [ "rand", "sha1", "smallvec", - "tracing", + "tracing 0.1.36", "zstd", ] @@ -115,7 +115,7 @@ dependencies = [ "http", "regex", "serde", - "tracing", + "tracing 0...
2022-11-27T10:31:38Z
## Description This change includes changes for adding histogram with additional requirement on updating the current telemetry dependencies. (this is a temporary change discussed with @jarnura, for initial deployment of scheduler unit <!-- Describe your changes in detail --> ## Motivation and Context For add...
d67bd801f621b9784121f516b5ac65328d2aa431
[ "Cargo.lock", "crates/router/src/core/payments/flows/authorize_flow.rs", "crates/router/src/core/payments/operations.rs", "crates/router/src/routes/health.rs", "crates/router/src/routes/metrics.rs", "crates/router/src/scheduler/consumer.rs", "crates/router/src/scheduler/metrics.rs", "crates/router/src...
juspay/hyperswitch
juspay__hyperswitch-6226
Bug: [FEAT] add support for Hashicorp Vault Engine **Description:** Cripta is a service which creates keys and maintains it (includes key rotation etc.) individually for different Merchants and Users. Currently it uses the AWS KMS as the Master Key (Key Encryption Key) for encrypting and decrypting Data Encryp...
diff --git a/crates/router/Cargo.toml b/crates/router/Cargo.toml index 5211b034eb5..982c1130207 100644 --- a/crates/router/Cargo.toml +++ b/crates/router/Cargo.toml @@ -7,6 +7,7 @@ default-run = "router" rust-version = "1.63" readme = "README.md" license = "Apache-2.0" +build = "src/build.rs" [features] default ...
2022-11-25T21:13:22Z
## Description <!-- Describe your changes in detail --> This PR adds the following two fields of information to the output of `router --version`: - Short git commit hash - Git commit timestamp In addition, the version number in the output is obtained in the below fashion: - If git tags are present in the r...
3e0298032b5c9535d418f50ab440a4aeaf265aba
Manual testing. - When no Semantic Versioned git tags are present: `router 0.2.0-d411595-2022-11-25T11:33:52Z` - When Semantic Versioned git tags are present: `router v0.1.0-d411595-2022-11-25T11:33:52Z` - When Semantic Versioned git tags are present and the working directory is dirty: `router v0.1.0-dirty-d4115...
[ "crates/router/Cargo.toml", "crates/router/src/build.rs", "crates/router/src/configs/settings.rs", "crates/router_env/Cargo.toml", "crates/router_env/src/build.rs", "crates/router_env/src/env.rs", "crates/router_env/src/lib.rs", "crates/router_env/src/vergen.rs" ]
juspay/hyperswitch
juspay__hyperswitch-6176
Bug: [PLUGIN] - WooCommerce - Refactor Code for Clarity and Readability The [WooCommerce-Payments-Plugin](https://docs.hyperswitch.io/features/e-commerce-platform-plugins/woocommerce-plugin) connect with multiple payment processors with a single API to improve payment conversions, reduce costs and ops. It supports m...
diff --git a/crates/router/src/connector/aci/transformers.rs b/crates/router/src/connector/aci/transformers.rs index c7dfe239526..4eecc3c1eeb 100644 --- a/crates/router/src/connector/aci/transformers.rs +++ b/crates/router/src/connector/aci/transformers.rs @@ -56,6 +56,7 @@ pub enum PaymentDetails { BankAccount(Ba...
2022-11-25T12:46:45Z
## Description Add paypal as payment method type ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one first so the PR can focus on the implementation (...
d41159591e81f7674e87f333b9056702df74c52b
Manually tested (No DB error when payment method is paypal)
[ "crates/router/src/connector/aci/transformers.rs", "crates/router/src/connector/adyen/transformers.rs", "crates/router/src/connector/authorizedotnet/transformers.rs", "crates/router/src/connector/checkout/transformers.rs", "crates/router/src/connector/stripe/transformers.rs", "crates/router/src/types/api/...
juspay/hyperswitch
juspay__hyperswitch-16
Bug: Extend PR template to include config files directory paths This is to educate PR authors to look for config files at different places if their changes affect them.
2022-11-25T05:12:07Z
Closes #16
75ce0df41516696b18b39f693c29b8f1f105112b
[]