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-7504 | Bug: [FEATURE] Add new OLAP endpoint to fetch total count of payment methods of customer for given merchant id.
Add total-payment-method-count api. this is olap api to fetch total count of payment method of customer of given merchant id.
| diff --git a/crates/api_models/src/payment_methods.rs b/crates/api_models/src/payment_methods.rs
index ac44f65ee0e..77963ee90df 100644
--- a/crates/api_models/src/payment_methods.rs
+++ b/crates/api_models/src/payment_methods.rs
@@ -1884,6 +1884,16 @@ pub struct CustomerPaymentMethodsListResponse {
pub customer_pa... | 2025-03-11T11:42:51Z |
## Description
<!-- Describe your changes in detail -->
add total-payment-method-count api. this is olap api to fetch total count of payment method of customer of given merchant id
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to... | 9683b2a8955f876d99625cd5cf70c4bdf3836e9e |
req curl -
```
curl --location 'http://localhost:8080/v2/customers/total-payment-methods' \
--header 'x-profile-id: pro_i9LGtymazprJz3PG4aam' \
--header 'api-key: dev_QetiSV8rA4A92lmwb52ZJxE7BX8mnLLeQyr6CUoTh745dCfu2A33MVyXKdjKE0Ka'
```
resp -
```
{
"total_count": 3
}
```
<img width="1146" alt="Scre... | [
"crates/api_models/src/payment_methods.rs",
"crates/diesel_models/src/query/payment_method.rs",
"crates/hyperswitch_domain_models/src/payment_methods.rs",
"crates/router/src/core/payment_methods.rs",
"crates/router/src/db/kafka_store.rs",
"crates/router/src/routes/app.rs",
"crates/router/src/routes/lock... | |
juspay/hyperswitch | juspay__hyperswitch-7598 | Bug: [BUG] [CARD TESTING GUARD] Card Testing Guard Config null value fix for existing profiles
### Bug Description
For existing business profiles, the value of card_testing_guard_config appears null
### Expected Behavior
For existing business profiles, the value of card_testing_guard_config should not appear null... | diff --git a/crates/diesel_models/src/business_profile.rs b/crates/diesel_models/src/business_profile.rs
index 94da0f0438b..ae3706a87d5 100644
--- a/crates/diesel_models/src/business_profile.rs
+++ b/crates/diesel_models/src/business_profile.rs
@@ -635,6 +635,25 @@ pub struct CardTestingGuardConfig {
common_utils::i... | 2025-03-11T11:10:54Z |
## Description
<!-- Describe your changes in detail -->
In our current implementation of `Card Testing Guard`, the `card_testing_guard_config` can be `NULL`
for existing profiles. That has been fixed in this PR to return the default values for `card_testing_guard_config` in case the underlying data is `NULL`
... | ae00ef9c081657d3da892c25432691870fb24bc9 |
**Postman Tests**
**Business Profile Retrieve**
-Request
```
curl --location 'http://localhost:8080/account/postman_merchant_GHAction_28c1525e-4f97-4f53-82a2-7ea63214a26a/business_profile/pro_N8dPPL3N4soUk236Rbq2' \
--header 'api-key: test_admin'
```
-Response
```
{
"merchant_id": "postman_m... | [
"crates/diesel_models/src/business_profile.rs",
"crates/router/src/core/admin.rs",
"crates/router/src/types/api/admin.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7469 | Bug: [BUG] [WISE] Changed type of error status from i32 to String
### Bug Description
While creating payouts, Hyperswitch throws an error because the connector sends an error status as String, while Hyperswitch accepts it as i32.
### Expected Behavior
Hyperswitch should not throw error while creating payouts.
#... | diff --git a/crates/router/src/connector/wise/transformers.rs b/crates/router/src/connector/wise/transformers.rs
index 513a762bfd3..d3e9efa0f7f 100644
--- a/crates/router/src/connector/wise/transformers.rs
+++ b/crates/router/src/connector/wise/transformers.rs
@@ -56,7 +56,7 @@ impl TryFrom<&types::ConnectorAuthType> f... | 2025-03-10T09:55:07Z |
## Description
<!-- Describe your changes in detail -->
The error status was previously being accepted as i32, which was causing Hyperswitch to throw an error because the connector returns the status as a String. The status has been changed to type String in this PR.
## Motivation and Context
<!--
Why is ... | 617adfa33fd543131b5c4d8983319bfdcaa6c425 |
**Postman Tests**
**1. Payouts Create**
-Request
```
curl --location 'http://localhost:8080/payouts/create' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_gBOBAd2KdnQ2Sicn24ETzOLMqRjdMVtjSjy17FYmjQjmj26klfRIWLOnspqQX9YW' \
--data-raw '{
"amount": 10,
"currency": "GBP",
... | [
"crates/router/src/connector/wise/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7464 | Bug: Handle optional fields in nexixpay payments requests.
Optional billing details should be used for non-mandatory billing fields. | diff --git a/config/config.example.toml b/config/config.example.toml
index ad910ef415a..a95cc7c1405 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -618,8 +618,8 @@ debit = { country = "US, CA", currency = "USD, CAD" }
klarna = { country = "AU,AT,BE,CA,CZ,DK,FI,FR,DE,GR,IE,IT,NL,NZ,NO,PL,PT... | 2025-03-09T03:32:45Z |
## Description
<!-- Describe your changes in detail -->
Optional billing details should be used for non-mandatory billing fields. Billing address is optional field for making requests to nexixpay. Either billing.first_name or billing.second_name should be present mandatorily.
Includes ENV changes related to suppo... | 833da1c3c5a0f006a689b05554c547205774c823 |
- Curl to test the optional billing address.
```
curl --location 'localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_RFY4WCFOFu2eEmA13QTQGzHyyjIvaTgdTqKsp2yBy4ofwyZ7fdyIMIJKHcHzGbC5' \
--data-raw '{
"amount": 3545,
"cur... | [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs",
"crates/router/src/config... | |
juspay/hyperswitch | juspay__hyperswitch-7463 | Bug: feat(router):add connector field to PaymentRevenueRecoveryMetadata and update related logic
Add connector field in PaymentRevenueRecoveryMetadata and make insert_execute_pcr_task function
which creates and inserts a process tracker entry for executing a PCR (Payment Control & Reconciliation) workflow. It genera... | diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs
index f9540fd08fc..c55ef483287 100644
--- a/crates/api_models/src/payments.rs
+++ b/crates/api_models/src/payments.rs
@@ -7473,6 +7473,15 @@ pub struct FeatureMetadata {
pub payment_revenue_recovery_metadata: Option<PaymentRevenueRe... | 2025-03-08T10:28:12Z |
## Description
<!-- Describe your changes in detail -->
Added connector field in `PaymentRevenueRecoveryMetadata` and made `insert_execute_pcr_task` function
which creates and inserts a process tracker entry for executing a PCR (Payment Control & Reconciliation) workflow. It generates a unique `process_tracker_id... | d1f53036c75771d8387a9579a544c1e2b3c17353 |
Testcase 1:
create payment connector mca
```
curl --location 'http://localhost:8080/v2/connector-accounts' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'x-merchant-id: cloth_seller_FFzEuYGiJhp3SfL7AXoZ' \
--header 'x-profile-id: pro_upiJkbJOOOTQny6DRwAF' \
--he... | [
"crates/api_models/src/payments.rs",
"crates/diesel_models/src/process_tracker.rs",
"crates/diesel_models/src/types.rs",
"crates/hyperswitch_domain_models/src/lib.rs",
"crates/hyperswitch_domain_models/src/payments.rs",
"crates/hyperswitch_domain_models/src/revenue_recovery.rs",
"crates/hyperswitch_doma... | |
juspay/hyperswitch | juspay__hyperswitch-7460 | Bug: fix(postman): nmi manual capture state
Previously the manually captured payments through `nmi` connector stayed in processing state after confirming the payment. Now, it goes to `requires_capture` state. So, the necessary changes are required. | diff --git a/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Save card payments - Confirm/event.test.js b/postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Save card payments - Confirm/event.test.js
index eedc017... | 2025-03-07T10:12:51Z |
## Description
<!-- 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 first so the PR
can focus on the implement... | 15ad6da0793be4bc149ae2e92f4805735be8712a |
_**Before**_
<img width="500" alt="image" src="https://github.com/user-attachments/assets/b22d850f-ad64-4fce-a7c2-26a946db3c52" />
<details>
<summary>Changes</summary>
- Previously the manually captured payments through `nmi` connector stayed in `processing` state after confirming the payment. But now, it goe... | [
"postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Save card payments - Confirm/event.test.js",
"postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/event.test.js",
"postman/collection-dir/nmi/F... | |
juspay/hyperswitch | juspay__hyperswitch-7486 | Bug: refactor(currency_conversion): add support for expiring forex data in redis
## Description
Adding a custom expiry time for Forex data saved in redis (172800 seconds ~ 2days).
A new config is added as well:
`redis_cache_expiry_in_seconds = 172800` | diff --git a/config/config.example.toml b/config/config.example.toml
index a52f7486cf5..caeb82c805a 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -74,10 +74,11 @@ max_feed_count = 200 # The maximum number of frames that will be fe
# This section provides configs for currenc... | 2025-03-06T19:18:34Z |
## Description
<!-- Describe your changes in detail -->
Adding a custom expiry time for Forex data saved in redis (172800 seconds ~ 2days).
A new config is added as well:
`redis_cache_expiry_in_seconds = 172800`
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it ... | 5cdfe8325481909a8a1596f967303eff44ffbcec |
```
curl --location 'http://localhost:8080/forex/rates' \
--header 'api-key: dev_Gt1XtwvVZ9bw94pn30Cvs3Oc5buVwgAxPEIyNwz1hFjyNUIYEHC7NDSWzHlFc84H' \
--data ''
```
| [
"config/config.example.toml",
"config/deployments/env_specific.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/router/src/configs/settings.rs",
"crates/router/src/core/currency.rs",
"crates/router/src/utils/currency.rs",
"loadtest/config/development.toml"
] | |
juspay/hyperswitch | juspay__hyperswitch-7452 | Bug: feat(analytics): add new filters, dimensions and metrics for authentication analytics hotfix
Add support for filters and dimensions for authentication analytics.
Create new metrics:
- Authentication Error Message
- Authentication Funnel | diff --git a/crates/analytics/src/auth_events.rs b/crates/analytics/src/auth_events.rs
index e708c3c8830..3aa23d0793d 100644
--- a/crates/analytics/src/auth_events.rs
+++ b/crates/analytics/src/auth_events.rs
@@ -1,6 +1,8 @@
pub mod accumulator;
mod core;
+pub mod filters;
pub mod metrics;
+pub mod types;
pub use a... | 2025-03-06T17:03:44Z |
## Description
<!-- Describe your changes in detail -->
Hotfix PR
Original PR: [https://github.com/juspay/hyperswitch/pull/7451](https://github.com/juspay/hyperswitch/pull/7451)
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link ... | ec0718f31edf165def85aa71e5d63711d31b4c36 | [
"crates/analytics/src/auth_events.rs",
"crates/analytics/src/auth_events/accumulator.rs",
"crates/analytics/src/auth_events/core.rs",
"crates/analytics/src/auth_events/filters.rs",
"crates/analytics/src/auth_events/metrics.rs",
"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs",
... | ||
juspay/hyperswitch | juspay__hyperswitch-7450 | Bug: feat(analytics): add new filters, dimensions and metrics for authentication analytics
Add support for filters and dimensions for authentication analytics.
Create new metrics:
- Authentication Error Message
- Authentication Funnel | diff --git a/crates/analytics/src/auth_events.rs b/crates/analytics/src/auth_events.rs
index e708c3c8830..3aa23d0793d 100644
--- a/crates/analytics/src/auth_events.rs
+++ b/crates/analytics/src/auth_events.rs
@@ -1,6 +1,8 @@
pub mod accumulator;
mod core;
+pub mod filters;
pub mod metrics;
+pub mod types;
pub use a... | 2025-03-06T14:57:01Z |
## Description
<!-- Describe your changes in detail -->
Added support for filters and dimensions for authentication analytics.
Filters added:
- AuthenticationConnector
- MessageVersion
Dimensions added:
- AuthenticationStatus,
- TransactionStatus,
- ErrorMessage,
- AuthenticationConnector,
- MessageV... | 957a22852522a10378fc06dd30521a3a0c530ee5 |
Hit the curls:
#### AuthenticationErrorMessage:
```bash
curl --location 'http://localhost:8080/analytics/v1/metrics/auth_events' \
--header 'Accept: */*' \
--header 'Accept-Language: en-US,en;q=0.9' \
--header 'Connection: keep-alive' \
--header 'Content-Type: application/json' \
--header 'Origin: http://loca... | [
"crates/analytics/src/auth_events.rs",
"crates/analytics/src/auth_events/accumulator.rs",
"crates/analytics/src/auth_events/core.rs",
"crates/analytics/src/auth_events/filters.rs",
"crates/analytics/src/auth_events/metrics.rs",
"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs",
... | |
juspay/hyperswitch | juspay__hyperswitch-7447 | Bug: feat(analytics): refactor and rewrite authentication related analytics hotfix
Need to refactor and re-write the authentication related analytics.
The table which should be queried is authentications.
The existing metrics need to be modified and a few new metrics should be created to provide enhanced insights i... | diff --git a/crates/analytics/src/auth_events/accumulator.rs b/crates/analytics/src/auth_events/accumulator.rs
index 2958030c8da..446ac6ac8c2 100644
--- a/crates/analytics/src/auth_events/accumulator.rs
+++ b/crates/analytics/src/auth_events/accumulator.rs
@@ -4,7 +4,7 @@ use super::metrics::AuthEventMetricRow;
#[de... | 2025-03-06T12:31:40Z |
## Description
<!-- Describe your changes in detail -->
Hotfix PR
Original PR: [https://github.com/juspay/hyperswitch/pull/7433](https://github.com/juspay/hyperswitch/pull/7433)
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link ... | bf0b9bb9ebd58b85f1f92bd9cb00d8f29cec5d57 | [
"crates/analytics/src/auth_events/accumulator.rs",
"crates/analytics/src/auth_events/core.rs",
"crates/analytics/src/auth_events/metrics.rs",
"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs",
"crates/analytics/src/auth_events/metrics/three_ds_sdk_count.rs",
"crates/analytics/src/... | ||
juspay/hyperswitch | juspay__hyperswitch-7315 | Bug: Implement the PaymentAuthorize, PaymentSync, Refund and RefundSync flows for Paystack
Follow the steps outlined in the `add_connector.md` file.
Implement the PaymentAuthorize, PaymentSync, Refund, RefundSync, and Webhooks flows for Paystack connector.
Connector doc (Paystack): https://paystack.com/docs/paymen... | diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml
index b63c4eea2a1..1faac62d6c6 100644
--- a/crates/connector_configs/toml/development.toml
+++ b/crates/connector_configs/toml/development.toml
@@ -2846,6 +2846,14 @@ client_id="Client ID"
api_key="Client Secre... | 2025-03-06T08:07:22Z |
## Description
<!-- Describe your changes in detail -->
Paystack EFT flow (Payments, PSync, Refunds, RSync, 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 recomme... | 13a274909962872f1d663d082af33fc44205d419 |
1. Merchant Account Create:
```
curl --location 'http://localhost:8080/accounts' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: test_admin' \
--data-raw '{
"merchant_id": "merchant_1739960795",
"locker_id": "m0010",
"merchant_name": "NewAge Retail... | [
"crates/connector_configs/toml/development.toml",
"crates/connector_configs/toml/production.toml",
"crates/connector_configs/toml/sandbox.toml",
"crates/hyperswitch_connectors/src/connectors/paystack.rs",
"crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7436 | Bug: [CYPRESS] Fix lints and address code duplication
- [ ] Fix lints that is resulting in checks to fail on every PRs
- [ ] Reduce duplicate code in connector configs | 2025-03-05T16:07:30Z |
## Description
<!-- Describe your changes in detail -->
This PR is just a minor refactor of removing duplicate / redundant `customer_acceptance` object by re-using it.
Moved the object to `Commons` and imported the object where ever the duplicate code exist.
## Motivation and Context
<!--
Why is this chang... | 6df1578922b7bdc3d0b20ef1bc0b8714f43cc4bf |
CI should pass
| [] | ||
juspay/hyperswitch | juspay__hyperswitch-7432 | Bug: feat(analytics): refactor and rewrite authentication related analytics
Need to refactor and re-write the authentication related analytics.
The table which should be queried is `authentications`.
The existing metrics need to be modified and a few new metrics should be created to provide enhanced insights into a... | diff --git a/crates/analytics/src/auth_events/accumulator.rs b/crates/analytics/src/auth_events/accumulator.rs
index 2958030c8da..446ac6ac8c2 100644
--- a/crates/analytics/src/auth_events/accumulator.rs
+++ b/crates/analytics/src/auth_events/accumulator.rs
@@ -4,7 +4,7 @@ use super::metrics::AuthEventMetricRow;
#[de... | 2025-03-05T09:12:15Z |
## Description
<!-- Describe your changes in detail -->
Refactored and re-wrote the authentication related analytics.
The table being queried is now `authentications`.
The following metrics were modified:
- Authentication Attempt Count
- Authentication Count
- Authentication Success Count
- Challenge Attempt... | 30f321bc2001264f5197172428ecae79896ad2f5 |
Hit the following curls:
#### Authentication Attempt Count:
```bash
curl --location 'http://localhost:8080/analytics/v1/metrics/auth_events' \
--header 'Accept: */*' \
--header 'Accept-Language: en-US,en;q=0.9' \
--header 'Connection: keep-alive' \
--header 'Content-Type: application/json' \
--header 'Ori... | [
"crates/analytics/src/auth_events/accumulator.rs",
"crates/analytics/src/auth_events/core.rs",
"crates/analytics/src/auth_events/metrics.rs",
"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs",
"crates/analytics/src/auth_events/metrics/three_ds_sdk_count.rs",
"crates/analytics/src/... | |
juspay/hyperswitch | juspay__hyperswitch-7403 | Bug: [ENHANCEMENT] Payment link enhancements
Payment link flows to be updated, below is a list of enhancements -
**UI**
- Check the existing UI on Windows based browsers, and ensure it's rendered as expected
**Flows**
- In case `skip_status_screen` is true, re-opening the payment link on a terminal status should r... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index cd8b8458364..4ca9f57efb3 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -12587,6 +12587,14 @@
"type": "string",
"description": "The url for Qr code gi... | 2025-03-04T13:52:10Z |
## Description
This PR exposes customizations for payment links. Below configs are added -
- SDK UI rules - https://docs.hyperswitch.io/explore-hyperswitch/merchant-controls/integration-guide/web/customization#id-4.-rules
- Payment Link UI rules - similar to SDK UI rules, but for payment link template*
## Motiv... | 759474cd4866aa7a6fba055594b9a96de26681a4 | Tested locally.
<details>
<summary>1. Add a payment link style ID</summary>
cURL
curl --location --request POST 'http://localhost:8080/account/merchant_1741095653/business_profile/pro_dgzCAaE0KhqCTj6cY5a7' \
--header 'Content-Type: application/json' \
--header 'api-key: test_admin' \... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/admin.rs",
"crates/api_models/src/payments.rs",
"crates/diesel_models/src/business_profile.rs",
"crates/diesel_models/src/payment_intent.rs",
"crates/hyperswitch_domain_models/src/lib.rs",
"crates/router/src/core/payment_link.rs",
"crates/ro... | |
juspay/hyperswitch | juspay__hyperswitch-7490 | Bug: refactor(organization): add api version column
Add api version column to organization. | diff --git a/Cargo.lock b/Cargo.lock
index debcaf5d289..f0026e2d29a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6960,6 +6960,7 @@ name = "scheduler"
version = "0.1.0"
dependencies = [
"async-trait",
+ "common_types",
"common_utils",
"diesel_models",
"error-stack",
diff --git a/crates/common_types/src/consts.... | 2025-03-04T09:12:22Z |
## Description
<!-- Describe your changes in detail -->
This PR adds version column to the organisation.
## 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... | f3d6b15a2ade7dd98fec59777301f44d166f3be3 |
Test sanity of organization
- Create organization in v1
<img width="406" alt="image" src="https://github.com/user-attachments/assets/6c013b47-b1ac-4918-a14b-ff8a0f0725f7" />
- Create organization in v2
<img width="402" alt="image" src="https://github.com/user-attachments/assets/864caf2d-d845-4368-942b-c8fd2778... | [
"Cargo.lock",
"crates/common_types/src/consts.rs",
"crates/common_types/src/lib.rs",
"crates/diesel_models/Cargo.toml",
"crates/diesel_models/src/organization.rs",
"crates/diesel_models/src/schema.rs",
"crates/diesel_models/src/schema_v2.rs",
"crates/hyperswitch_domain_models/Cargo.toml",
"crates/hy... | |
juspay/hyperswitch | juspay__hyperswitch-7405 | Bug: [FEATURE] display DuitNow QR code in expected color
### Feature Description
DuitNow is a realtime payment method offered in Malaysia. This works using a QR code which is scanned for completing the payment transactions.
Displaying the QR code has guidelines mentioned in - https://docs.developer.paynet.my/brand... | diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs
index 59ea6e97fbb..12da310ac61 100644
--- a/crates/api_models/src/payments.rs
+++ b/crates/api_models/src/payments.rs
@@ -4406,6 +4406,8 @@ pub enum NextActionData {
#[schema(value_type = String)]
/// The url for Qr cod... | 2025-03-04T06:02:20Z |
## Description
This PR adds functionality to
- Create QR image data URI for a given hex color
- Send back the border color and display text message along with the QR data in `NextActionData` - which is consumed by SDK to take next action
Described in #7405
## Motivation and Context
DuitNow is a realtime... | 9bcffa6436e6b9207b1711768737a13783a2e907 | Tested locally by creating payment links and proceeding with DuitNow payment method.
<details>
<summary>Create a payment link (ensure DuitNow is enabled)</summary>
cURL
curl --location --request POST 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--hea... | [
"crates/api_models/src/payments.rs",
"crates/common_utils/src/errors.rs",
"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs",
"crates/hyperswitch_connectors/src/constants.rs",
"crates/hyperswitch_connectors/src/utils.rs",
"crates/router/src/compatibility/stripe/payment_intents/types.rs",
... | |
juspay/hyperswitch | juspay__hyperswitch-7413 | Bug: [FEATURE] Add support for Google Pay Mandates in `Authorize.Net`
At present, `Authorize.Net` connector only support normal payments via Google Pay.
We need to add support for making Mandate payments via Google Pay.
Just modify the `transformers.rs` and `authorizedotnet.rs` file to add support to it. | diff --git a/config/config.example.toml b/config/config.example.toml
index a52f7486cf5..448d65bb6ee 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -474,9 +474,9 @@ bank_debit.bacs = { connector_list = "adyen" }
bank_debit.sepa = { connector_list = "gocardless,adyen" } ... | 2025-03-03T17:54:29Z |
## Description
<!-- Describe your changes in detail -->
This PR adds mandates support for Google Pay and Apple Pay Payment Method via `Authorize.Net` connector. It also supports Zero Auth Mandates.
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open is... | 586adea99275df7032d276552688da6012728f3c |
**Google Pay (confirm: `true`)**
<details>
<summary>0. Generate Token</summary>
Generated with jsfiddle. A snippet from it has been attached below:
```js
paymentToken = paymentData.paymentMethodData.tokenizationData.token;
// Stringified payment token is passed in the request
console.log("STRINGIFIED_T... | [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs",
"crates/hyperswitch_connectors/... | |
juspay/hyperswitch | juspay__hyperswitch-7407 | Bug: [FEATURE]: Add `Payment Method - Delete` endpoint to payment methods session for V2
Required for Payment Methods Service | diff --git a/api-reference-v2/api-reference/payment-method-session/payment-method-session--delete-a-saved-payment-method.mdx b/api-reference-v2/api-reference/payment-method-session/payment-method-session--delete-a-saved-payment-method.mdx
new file mode 100644
index 00000000000..2f9e800ebe8
--- /dev/null
+++ b/api-refer... | 2025-03-03T12:56:33Z |
## Description
<!-- Describe your changes in detail -->
This endpoint allows deleting saved payment methods for a customer
## 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 rec... | 8bf0f8df35dccc07749df380d183ed21b0bc6c8e |
1. Request:
```
curl --location --request DELETE 'http://localhost:8080/v2/payment-methods-session/12345_pms_01955b8bed367ee09f81e053cde47593' \
--header 'Authorization: publishable-key=pk_dev_16fea0a9bf5447ed9f25aa835565f285,client-secret=cs_01955b8bed37771282694611c1db81e5' \
--header 'X-Profile-Id: pro_0xa... | [
"api-reference-v2/api-reference/payment-method-session/payment-method-session--delete-a-saved-payment-method.mdx",
"api-reference-v2/mint.json",
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/payment_methods.rs",
"crates/openapi/src/openapi_v2.rs",
"crates/openapi/src/routes/payment_method.r... | |
juspay/hyperswitch | juspay__hyperswitch-7536 | Bug: refactor(dynamic_routing): change insert operation to upsert for dynamic_routing_stats
## Description
<!-- Describe your changes in detail -->
So previously we were only inserting in dynamic_routing_stats table, after this change we will be doing an Upsert operation instead of directly performing an insert oper... | diff --git a/crates/diesel_models/src/dynamic_routing_stats.rs b/crates/diesel_models/src/dynamic_routing_stats.rs
index 90cf4689080..f60db1e9fbf 100644
--- a/crates/diesel_models/src/dynamic_routing_stats.rs
+++ b/crates/diesel_models/src/dynamic_routing_stats.rs
@@ -1,4 +1,4 @@
-use diesel::{Insertable, Queryable, Se... | 2025-03-02T18:34:39Z |
## Description
<!-- Describe your changes in detail -->
So previously we were only inserting in dynamic_routing_stats table, after this change we will be doing an Upsert operation instead of directly performing an insert operation.
## Motivation and Context
<!--
Why is this change required? What problem does i... | 66e507e017fa7416f33aeae5f1ee60fd65d1d8b0 |
The same flow is required, the way we test dynamic routing:
1. enable SR for a merchant.
2. set volume of payments to 100 for dynamic routing
3. make two consecutive payments(insure they end up in terminal state).
4. check the table `dynami_routing stats` for entry of both of them.
![Screenshot 2025-03-17 ... | [
"crates/diesel_models/src/dynamic_routing_stats.rs",
"crates/diesel_models/src/query/dynamic_routing_stats.rs",
"crates/router/src/core/routing/helpers.rs",
"crates/router/src/db/dynamic_routing_stats.rs",
"crates/router/src/types/storage/dynamic_routing_stats.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7392 | Bug: [BUG] GooglePay for Ayden Fixed
GooglePay for Ayden Fixed | diff --git a/crates/router/src/connector/adyen/transformers.rs b/crates/router/src/connector/adyen/transformers.rs
index 8aba3573f68..93a43f25b8a 100644
--- a/crates/router/src/connector/adyen/transformers.rs
+++ b/crates/router/src/connector/adyen/transformers.rs
@@ -568,6 +568,7 @@ pub enum AdyenPaymentMethod<'a> {
... | 2025-02-27T12:28:31Z |
## Description
<!-- Describe your changes in detail -->
GooglePay fixed in Ayden
## 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
c... | 5965d0f8acf486909951e427b578aae8d630de13 |
<img width="1063" alt="Screenshot 2025-02-27 at 6 39 19 PM" src="https://github.com/user-attachments/assets/eead90cb-da62-4e5d-9ade-f8f0f2f2de19" />
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_... | [
"crates/router/src/connector/adyen/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7391 | Bug: docs:correction of content in the api-ref
| 2025-02-27T07:12:48Z | Corrected the tip content.
## Description
<!-- Describe your changes in detail -->
Corrected the content of the tip.
## 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 recommen... | d945da635dfc84a2135aef456292fa54d9d5982e | [] | |||
juspay/hyperswitch | juspay__hyperswitch-7388 | Bug: feat(users): Add V2 User APIs to Support Modularity for Merchant Accounts
Add v2 routes for supporting dashboard functions:
- create new v2 merchant account
- list v2 merchant accounts for user in org
- switch to a v2 merchant account
Also:
- add merchant account permission for recon | diff --git a/crates/api_models/src/events/user.rs b/crates/api_models/src/events/user.rs
index aab8f518abe..5e0564b4187 100644
--- a/crates/api_models/src/events/user.rs
+++ b/crates/api_models/src/events/user.rs
@@ -19,8 +19,9 @@ use crate::user::{
SendVerifyEmailRequest, SignUpRequest, SignUpWithMerchantIdReques... | 2025-02-27T06:26:07Z |
## Description
<!-- Describe your changes in detail -->
As part of the modularity effort, we are introducing user support to enable dashboard interactions with v2 merchant accounts. This allows users to create, list, and switch between merchant accounts within their organization. This also allows users to list pro... | e9496007889350f78af5875566c806f79c397544 |
The flow looks like this:
- Sign Up / Sign In through V1 merchant account --> Create Merchant Account (V1 or V2) --> List Merchant Accounts (V1 and V2)--> Switch Merchant Account (V1 and V2)
### Testing V2 Flow:
Sign In to a V1 merchant account
#### Create v2 Merchant Account:
```bash
curl --location 'htt... | [
"crates/api_models/src/events/user.rs",
"crates/api_models/src/user.rs",
"crates/common_enums/src/enums/accounts.rs",
"crates/hyperswitch_domain_models/src/merchant_account.rs",
"crates/router/src/consts/user.rs",
"crates/router/src/core/admin.rs",
"crates/router/src/core/user.rs",
"crates/router/src/... | |
juspay/hyperswitch | juspay__hyperswitch-7379 | Bug: [REFACTOR] Multiple SDK queries fixed
Multiple SDK queries fixed:
Modified field_type text to some unique enum
Corrected multiple required fields
Voucher payments error billing.phone.number is required fixed
Cashapp and Swish payment_experience fixed. | diff --git a/crates/api_models/src/enums.rs b/crates/api_models/src/enums.rs
index 6ae46a5ede0..c2a1261508a 100644
--- a/crates/api_models/src/enums.rs
+++ b/crates/api_models/src/enums.rs
@@ -232,6 +232,7 @@ pub enum FieldType {
UserShippingAddressPincode,
UserShippingAddressState,
UserShippingAddressCo... | 2025-02-26T07:27:49Z |
## Description
<!-- Describe your changes in detail -->
Multiple SDK queries fixed:
1. Modified field_type text to some unique enum
2. Corrected multiple required fields
3. Voucher payments error billing.phone.number is required fixed
4. Cashapp and Swish payment_experience fixed.
5. Preprocessing to be done ... | a5f898f915a79c52fa2033f8f3f7ee043b83e5e4 |
Voucher payment
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_7u1WfwhlOfuf9PlZpwf54Ejwwi7d6cEBn51jXQiQXBzoQEY4C0CMB8ddkJ6ES0GZ' \
--data-raw '{
"amount": 1000,
"currency": "JPY",
"con... | [
"crates/api_models/src/enums.rs",
"crates/connector_configs/src/transformer.rs",
"crates/connector_configs/toml/development.toml",
"crates/hyperswitch_domain_models/src/address.rs",
"crates/router/src/configs/defaults/payment_connector_required_fields.rs",
"crates/router/src/core/payments.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7375 | Bug: chore: address Rust 1.85.0 clippy lints
Address the clippy lints occurring due to new rust version 1.85.0
See https://github.com/juspay/hyperswitch/issues/3391 for more information. | diff --git a/crates/hyperswitch_domain_models/src/customer.rs b/crates/hyperswitch_domain_models/src/customer.rs
index 1497c9e3622..02c25d722c1 100644
--- a/crates/hyperswitch_domain_models/src/customer.rs
+++ b/crates/hyperswitch_domain_models/src/customer.rs
@@ -232,8 +232,8 @@ impl super::behaviour::Conversion for C... | 2025-02-25T12:54:09Z |
## Description
<!-- Describe your changes in detail -->
This PR addresses the clippy lints occurring due to new rust version 1.85.0
https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion | 6553e29e478a70e4d2f0124e5a55931377bd8123 | [
"crates/hyperswitch_domain_models/src/customer.rs",
"crates/hyperswitch_domain_models/src/errors/api_error_response.rs",
"crates/router/src/compatibility/stripe/payment_intents/types.rs",
"crates/router/src/compatibility/stripe/setup_intents/types.rs",
"crates/router/src/core/admin.rs",
"crates/router/src... | ||
juspay/hyperswitch | juspay__hyperswitch-7363 | Bug: chore: resolve v2 warnings in diesel_models
Resolve v2 warnings in diesel_models.
| diff --git a/crates/diesel_models/src/merchant_connector_account.rs b/crates/diesel_models/src/merchant_connector_account.rs
index 769a185c13c..be7f1b7ebeb 100644
--- a/crates/diesel_models/src/merchant_connector_account.rs
+++ b/crates/diesel_models/src/merchant_connector_account.rs
@@ -11,7 +11,7 @@ use crate::enums ... | 2025-02-24T10:36:27Z |
## Description
<!-- Describe your changes in detail -->
This PR resolves the v2 warnings generated in diesel_models.
## 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... | eabef328c665cfbaf953a5eb15bd15484c62dcf7 | [
"crates/diesel_models/src/merchant_connector_account.rs",
"crates/diesel_models/src/payment_attempt.rs",
"crates/diesel_models/src/query/merchant_account.rs",
"crates/diesel_models/src/query/payment_attempt.rs",
"crates/diesel_models/src/query/payment_method.rs",
"crates/diesel_models/src/query/user/sampl... | ||
juspay/hyperswitch | juspay__hyperswitch-7362 | Bug: chore: resolve v2 warnings in common_utils
Resolve all v2 warnings in common_utils crate. | diff --git a/crates/common_utils/src/id_type/global_id.rs b/crates/common_utils/src/id_type/global_id.rs
index 1e376dfe4de..bb296d7ef1a 100644
--- a/crates/common_utils/src/id_type/global_id.rs
+++ b/crates/common_utils/src/id_type/global_id.rs
@@ -134,7 +134,7 @@ impl GlobalId {
) -> Result<Self, GlobalIdError> {... | 2025-02-24T09:50:06Z |
## Description
<!-- Describe your changes in detail -->
This PR resolves the v2 warnings generated in common_utils.
## 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 st... | eabef328c665cfbaf953a5eb15bd15484c62dcf7 |
Tested sanity of common_utils on both v1 and v2
| [
"crates/common_utils/src/id_type/global_id.rs",
"crates/common_utils/src/id_type/global_id/customer.rs",
"crates/common_utils/src/id_type/global_id/payment.rs",
"crates/common_utils/src/id_type/global_id/refunds.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7354 | Bug: chore: resolve v2 warnings in api_models
Resolve all v2 warnings in api_models crate. | diff --git a/crates/api_models/src/admin.rs b/crates/api_models/src/admin.rs
index ae66147b104..ffbbdeb351e 100644
--- a/crates/api_models/src/admin.rs
+++ b/crates/api_models/src/admin.rs
@@ -14,7 +14,6 @@ use common_utils::{crypto::OptionalEncryptableName, ext_traits::ValueExt};
use masking::ExposeInterface;
use ma... | 2025-02-24T07:15:31Z |
## Description
<!-- Describe your changes in detail -->
This PR resolves the v2 warnings generated in api_models.
## 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 st... | 50cbe20ee1da0392f4f590bade9f866435356b87 | [
"crates/api_models/src/admin.rs",
"crates/api_models/src/events/payment.rs",
"crates/api_models/src/events/refund.rs",
"crates/api_models/src/payment_methods.rs",
"crates/api_models/src/payments.rs"
] | ||
juspay/hyperswitch | juspay__hyperswitch-7346 | Bug: FEAT[CONNECTOR]: Add feature_matrix support for coinbase, iatapay, nexixpay and square connectors
add feature matrix endpoint to 4 more connectors:
- coinbase
- nexixpay
- iatapay
- square
and also update the pm filters list for these 4 connectors
scripts:
```check.sh
#!/bin/bash
# The lengthy string fet... | diff --git a/config/config.example.toml b/config/config.example.toml
index 3457d330c9a..410b8dbe037 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -579,8 +579,25 @@ debit = { currency = "USD" }
klarna = { country = "AU,AT,BE,CA,CZ,DK,FI,FR,DE,GR,IE,IT,NL,NZ,NO,PL,PT,ES,SE,CH,GB,US", curren... | 2025-02-21T09:22:40Z |
## Description
<!-- Describe your changes in detail -->
this pr introduces feature_matrix api to 4 more connectors and in addition to that, pm filters also have been updated.
have written many scripts to verify the pm_filters and are attached in the issue
## Motivation and Context
<!--
Why is this change ... | 9f334c1ebcf0e8ee15ae2af608fb8f27fab2a6b2 |
tested by making a request to the feature matrix endpoint:
request:
```curl
curl --location 'http://Localhost:8080/feature_matrix' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json'
```
response:
```json
{
"connector_count": 7,
"connectors": [
{
... | [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/hyperswitch_connectors/src/connectors/coinbase.rs",
"crates/hyperswitch_connectors/src/con... | |
juspay/hyperswitch | juspay__hyperswitch-7338 | Bug: add payment_method_type duplication check for samsung pay
As we do not have a unique identifier to store when we save a wallet, we are unable to prevent payment method duplication. As a result, when a customer uses a saved wallet, we end up saving it again. During the next payment, the customer will see two but... | diff --git a/crates/common_enums/src/enums.rs b/crates/common_enums/src/enums.rs
index 54514f6e05a..c286ae04d5f 100644
--- a/crates/common_enums/src/enums.rs
+++ b/crates/common_enums/src/enums.rs
@@ -1651,6 +1651,12 @@ pub enum PaymentMethodType {
DirectCarrierBilling,
}
+impl PaymentMethodType {
+ pub fn s... | 2025-02-21T09:00:17Z |
## Description
<!-- Describe your changes in detail -->
As we do not have a unique identifier to store when we save a wallet, we are unable to prevent payment method duplication. As a result, when a customer uses a saved wallet, we end up saving it again. During the next payment, the customer will see two buttons fo... | de865bd13440f965c0d3ffbe44a71925978212dd |
-> Create a merchant connector account with google pay or samsung pay enabled
-> Enable the below config
```
curl --location 'localhost:8080/configs/' \
--header 'api-key: api-key' \
--header 'Content-Type: application/json' \
--data '{
"key": "skip_saving_wallet_at_connector_merchant_1740130285",
"va... | [
"crates/common_enums/src/enums.rs",
"crates/router/src/core/payments/helpers.rs",
"crates/router/src/core/payments/tokenization.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-6019 | Bug: [REFACTOR]: [HELCIM] Add amount conversion framework to Helcim
### :memo: Feature Description
Currently, amounts are represented as `i64` values throughout the application. We want to introduce a `Unit` struct that explicitly states the denomination. A new type, `MinorUnit`, has been added to standardize the... | diff --git a/crates/hyperswitch_connectors/src/connectors/fiserv.rs b/crates/hyperswitch_connectors/src/connectors/fiserv.rs
index e80c57454a0..50eebb99518 100644
--- a/crates/hyperswitch_connectors/src/connectors/fiserv.rs
+++ b/crates/hyperswitch_connectors/src/connectors/fiserv.rs
@@ -1,13 +1,12 @@
pub mod transfor... | 2025-02-21T08:52:43Z |
## Description
<!-- Describe your changes in detail -->
added **FloatMajorUnit** for amount conversion for **Fiserv**
added **FloatMajorUnit** for amount conversion for **Helcim**
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to... | 24aa00341f907e7b77df9348f62d1416cc098691 |
Tested through postman:
- Create a MCA for **fiserv**:
- Create a Payment with **fiserv**:
request:
```
{
"amount": 10000,
"currency": "USD",
"amount_to_capture": 10000,
"confirm": true,
"profile_id": {{profile_id}},
"capture_method": "automatic",
"capture_on": "2022-09-10T... | [
"crates/hyperswitch_connectors/src/connectors/fiserv.rs",
"crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs",
"crates/hyperswitch_connectors/src/connectors/helcim.rs",
"crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs",
"crates/hyperswitch_connectors/src/utils.rs",
"c... | |
juspay/hyperswitch | juspay__hyperswitch-5947 | Bug: [REFACTOR]: [FISERV] Add amount conversion framework to Fiserv
### :memo: Feature Description
Currently, amounts are represented as `i64` values throughout the application. We want to introduce a `Unit` struct that explicitly states the denomination. A new type, `MinorUnit`, has been added to standardize the... | diff --git a/crates/hyperswitch_connectors/src/connectors/fiserv.rs b/crates/hyperswitch_connectors/src/connectors/fiserv.rs
index e80c57454a0..50eebb99518 100644
--- a/crates/hyperswitch_connectors/src/connectors/fiserv.rs
+++ b/crates/hyperswitch_connectors/src/connectors/fiserv.rs
@@ -1,13 +1,12 @@
pub mod transfor... | 2025-02-21T08:52:43Z |
## Description
<!-- Describe your changes in detail -->
added **FloatMajorUnit** for amount conversion for **Fiserv**
added **FloatMajorUnit** for amount conversion for **Helcim**
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to... | 24aa00341f907e7b77df9348f62d1416cc098691 |
Tested through postman:
- Create a MCA for **fiserv**:
- Create a Payment with **fiserv**:
request:
```
{
"amount": 10000,
"currency": "USD",
"amount_to_capture": 10000,
"confirm": true,
"profile_id": {{profile_id}},
"capture_method": "automatic",
"capture_on": "2022-09-10T... | [
"crates/hyperswitch_connectors/src/connectors/fiserv.rs",
"crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs",
"crates/hyperswitch_connectors/src/connectors/helcim.rs",
"crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs",
"crates/hyperswitch_connectors/src/utils.rs",
"c... | |
juspay/hyperswitch | juspay__hyperswitch-7328 | Bug: [BUG] [DATATRANS] Add new payment status
### Bug Description
For connector Datatrans new payment status need to be added: ChallengeOngoing and ChallengeRequired
### Expected Behavior
ChallengeOngoing and ChallengeRequired status should be handled
### Actual Behavior
ChallengeOngoing and ChallengeRequired n... | diff --git a/crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs b/crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
index 68daa3743bf..9297f783d3e 100644
--- a/crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
+++ b/crates/hyperswitch_connectors/src/connecto... | 2025-02-20T15:27:59Z |
## Description
<!-- Describe your changes in detail -->
For connector Datatrans add new payment status: ChallengeOngoing and ChallengeRequired
Fix Deseralization Issue on Force Sync Flow
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please ... | de865bd13440f965c0d3ffbe44a71925978212dd |
Payments Create:
Request:
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_pzCQPy1Bguc8j2kV8DQeqQJHIqJQJCjF5kLyDVep1qhmsjAPfl6GUbb10RId0cr8' \
--data-raw '{
"amount": 1000,
"currency": "GBP"... | [
"crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7323 | Bug: docs: API-ref revamp for better user experience
API-ref revamp for better user experience | 2025-02-20T09:28:47Z |
## Description
<!-- Describe your changes in detail -->
We have changes the Intro page of the API-ref to make it more informative and navigable.
Also, The API sidebar is now re-organised basis of different use-cases to improve the dev experience.
Added an introduction page to payments API explaining all the scen... | 74bbf4bf271d45e61e594857707250c95a86f43f |
<img width="1140" alt="Screenshot 2025-02-20 at 5 55 09 PM" src="https://github.com/user-attachments/assets/9e979280-e081-48a0-b60e-33135d2461ec" />
<img width="1153" alt="Screenshot 2025-02-20 at 5 56 20 PM" src="https://github.com/user-attachments/assets/52f6adb1-3d5d-4ba7-99c9-3fdbadb2d4d4" />
| [] | ||
juspay/hyperswitch | juspay__hyperswitch-7321 | Bug: add support to collect customer address details form Samsung Pay based on business profile config and connector required fields
add support to collect customer address details form Samsung Pay based on business profile config and connector required fields | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index c91810a9902..5616da620bd 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -19766,7 +19766,9 @@
"merchant",
"amount",
"protocol",
- "allowed_bran... | 2025-02-19T13:28:35Z |
## Description
<!-- Describe your changes in detail -->
This pull request includes changes to enhance the handling of billing and shipping address requirements for Samsung Pay and Google Pay session tokens. The most important changes include adding new fields to the `SamsungPaySessionTokenResponse` struct, updating ... | f3ca2009c1902094a72b8bf43e89b406e44ecfd4 |
-> Create a merchant connector account with the samsung pay enabled for it
-> Create a payment with confirm false
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: api-key' \
--data-raw '{
"amount": 6... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/payments.rs",
"crates/router/src/core/payments/flows/session_flow.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7318 | Bug: [V2]: Return connector specific customer reference ID in `CustomerResponse`
Required for tokenization flows in some connectors | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index d93208fb665..67725d8c644 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -8833,6 +8833,11 @@
"maxLength": 64,
"minLength": 1
},
+ "connecto... | 2025-02-19T12:31:39Z |
## Description
<!-- Describe your changes in detail -->
Add a field `connector_customer` to `CustomerResponse` that contains a map between `MerchantConnectorAccountId` and connector customer id
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, p... | ba3ad87e06d63910d78fdb217db47064b4d926be |
- Request:
```
curl --location 'http://localhost:8080/v2/customers/12345_cus_01951dbc16d57d03ac193a7e297d4899' \
--header 'x-profile-id: pro_Vb32qOaqvkJClXH7aNWK' \
--header 'Authorization: api-key=dev_f4mNrhkUeCtLcsqUaG1fpzHpqTCnPdJMBSPNZAP2nWwwr7FRYtbj1RUdWBPKBKZ0' \
--header 'api-key: dev_f4mNrhkUeCtLcsqU... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/Cargo.toml",
"crates/api_models/src/customers.rs",
"crates/common_types/src/customers.rs",
"crates/common_types/src/lib.rs",
"crates/diesel_models/src/customers.rs",
"crates/hyperswitch_domain_models/src/customer.rs",
"crates/router/src/types/ap... | |
juspay/hyperswitch | juspay__hyperswitch-7500 | Bug: [REFACTOR][payment_methods] refactor network tokenization flow for v2
Refactor network tokenization flow for v2 payment method.
- moved the network tokenization req, response types from domain to router types, since the types are not generic for Hyperswitch but req and response types of token service.
- replac... | diff --git a/crates/api_models/src/payment_methods.rs b/crates/api_models/src/payment_methods.rs
index 77963ee90df..6b9b35ac2c0 100644
--- a/crates/api_models/src/payment_methods.rs
+++ b/crates/api_models/src/payment_methods.rs
@@ -11,7 +11,10 @@ use common_utils::{
id_type, link_utils, pii,
types::{MinorUni... | 2025-02-19T10:30:38Z |
## Description
<!-- Describe your changes in detail -->
Refactor network tokenization flow for v2 payment method.
1. moved the network tokenization req, response types from domain to router types, since the types are not generic for Hyperswitch but req and response types of token service.
2. replaced hang... | 3667a7ffd216e165e1f51ad1ceac05d6901bb187 | [
"crates/api_models/src/payment_methods.rs",
"crates/hyperswitch_domain_models/src/lib.rs",
"crates/hyperswitch_domain_models/src/network_tokenization.rs",
"crates/hyperswitch_domain_models/src/payment_method_data.rs",
"crates/hyperswitch_domain_models/src/payment_methods.rs",
"crates/hyperswitch_domain_mo... | ||
juspay/hyperswitch | juspay__hyperswitch-7313 | Bug: Integrate EFT as a Payment Method in Hyperswitch
Electronic Fund Transfer is a redirection flow, that falls under Bank Redirect in Hyperswitch. We have to add EFT as a payment method.
- Add EFT under `BankRedirectData` enum in `crates/api_models/src/payments.rs` which has a structure:
```
Eft {
/// The... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index bef1bcdeb55..4f801c2dd0c 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -5578,6 +5578,27 @@
"type": "object"
}
}
+ },
+ {... | 2025-02-18T19:46:27Z |
## Description
<!-- Describe your changes in detail -->
Added EFT as a payment method in Bank Redirect.
Active Issue linked to this PR: https://github.com/juspay/hyperswitch/issues/7313
but still PR convention checks are failing
## Motivation and Context
<!--
Why is this change required? What problem does it... | 30f321bc2001264f5197172428ecae79896ad2f5 |
EFT is a new payment payment method and there is no connector to test that. Paystack is the only connector with EFT.
| [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/payments.rs",
"crates/common_enums/src/enums.rs",
"crates/common_enums/src/transformers.rs",
"crates/euclid/src/frontend/dir/enums.rs",
"crates/euclid/src/frontend/dir/lowering.rs",
"crates/euclid/src/frontend/dir/transformers.rs",
"crates/h... | |
juspay/hyperswitch | juspay__hyperswitch-7299 | Bug: add Samsung pay mandate support for Cybersource
add Samsung pay mandate support for Cybersource | diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml
index b7b57690474..f9b9fb1b414 100644
--- a/crates/connector_configs/toml/sandbox.toml
+++ b/crates/connector_configs/toml/sandbox.toml
@@ -1215,6 +1215,8 @@ merchant_secret="Source verification key"
payment_method_t... | 2025-02-18T12:45:16Z |
## Description
<!-- Describe your changes in detail -->
This pr adds Samsung pay mandate support for Cybersource and enable samsung pay for cybersource on sandbox.
## 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.
... | d6e13dd0c87537e6696dd6dfc02280f825d116ab |
-> Create a Cybersource connector with Samsung pay enabled for it
-> Make a samsung pay off_session payment with amount set to zero. Payment will be in failed status with `"error_message": "SERVER_ERROR"`. This is expected, we need to get off_session payments enabled for our cybersource account.
```
curl --loc... | [
"crates/connector_configs/toml/sandbox.toml",
"crates/hyperswitch_connectors/src/connectors/cybersource.rs",
"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs",
"crates/router/src/configs/defaults/payment_connector_required_fields.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7306 | Bug: [CYPRESS] Fiuu Connector Configuration and Payment Processing Issues
The FIUU Connector is not functioning as expected.
### Expected Behavior:
- The Fiuu Connector should be configurable without errors.
- Test Cases should pass successfully through the Fiuu Payment Connector.
### Actual Behavior:
- Er... | 2025-02-18T12:33:02Z |
## Description
<!-- Describe your changes in detail -->
The FIUU Connector was not functioning as expected.
## Key Changes
- Added fiuu connector configs for `PaymentConfirmWithShippingCost`, `ZeroAuthMandate`, and `SaveCardConfirmAutoCaptureOffSessionWithoutBilling`.
- Added `billing.email` in some places in... | c0c08d05ef04d914e07d49f163e43bdddf5c885b | Initial Condition
<img width="710" alt="image" src="https://github.com/user-attachments/assets/976bb14e-c200-4d34-a61d-a8ab46115824" />
Current Condition
<img width="710" alt="image" src="https://github.com/user-attachments/assets/3f01b9c3-3de1-468a-b022-2733d1c03c0b" />
| [] | ||
juspay/hyperswitch | juspay__hyperswitch-7314 | Bug: Generating the Template Code for Paystack using add_connector script
Follow the steps outlined in the [add_connector.md](https://github.com/juspay/hyperswitch/blob/main/add_connector.md) file. Execute the script provided in the markdown file with Connector name(eg: Paystack) and Connector base url. This will ad... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index f81eca420a0..93e95761d09 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -7433,6 +7433,7 @@
"payme",
"payone",
"paypal",
+ "paystack",
... | 2025-02-17T11:23:37Z |
## Description
<!-- Describe your changes in detail -->
Paystack template PR.
Follow the steps outlined in the add_connector.md file. Execute the script provided in the markdown file, then run the following commands:
cargo clippy
cargo +nightly fmt --all
## Motivation and Context
<!--
Why ... | 5e7e0d829a7deeed6b50af9633f6d2307b51c4bd | [
"api-reference-v2/openapi_spec.json",
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/common_enums/src/connector_enums.rs",
"crates/conn... | ||
juspay/hyperswitch | juspay__hyperswitch-7283 | Bug: feat(connector): add template code for recurly
add a template code for recurly connector | diff --git a/config/config.example.toml b/config/config.example.toml
index 9e54c7e8c88..453e1161284 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -255,6 +255,7 @@ powertranz.base_url = "https://staging.ptranz.com/api/"
prophetpay.base_url = "https://ccm-thirdparty.cps.golf/"
rapyd.base_u... | 2025-02-17T11:09:07Z |
## Description
<!-- Describe your changes in detail -->
connector integration template code for recurly.
Issue: This PR closes the issue #7283
## 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 ha... | 8e922d30da367bc0baf3cba64a86c385764fff39 |
No testing required since its a template code
| [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/common_enums/src/connector_enums.rs",
"crates/hyperswitch_connectors/src/connectors.rs",
... | |
juspay/hyperswitch | juspay__hyperswitch-7294 | Bug: [MASKING] add peek_mut function in PeekInterface
| diff --git a/crates/masking/src/abs.rs b/crates/masking/src/abs.rs
index 6501f89c9db..8996db65f23 100644
--- a/crates/masking/src/abs.rs
+++ b/crates/masking/src/abs.rs
@@ -6,6 +6,9 @@ use crate::Secret;
pub trait PeekInterface<S> {
/// Only method providing access to the secret value.
fn peek(&self) -> &S;
... | 2025-02-17T09:29:37Z |
## Description
<!-- Describe your changes in detail -->
Add `peek_mut` function to PeekInterface to get mutable reference for the inner data.
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.
If you don't have an... | 3607b30c26cc24341bf88f8ce9968e094fb7a60a |
** THIS CANNOT BE TESTED IN ENVIRONMENTS **
| [
"crates/masking/src/abs.rs",
"crates/masking/src/bytes.rs",
"crates/masking/src/secret.rs",
"crates/masking/src/strong_secret.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7279 | Bug: [BUG] Analytics giving 5xx on forex crate returning no data
### Bug Description
Forex return error because there is no data in redis which is present for the currency exchange rate
### Expected Behavior
Forex create should always return data when queried for exchange rates
### Actual Behavior
Analytics API... | diff --git a/crates/router/src/consts.rs b/crates/router/src/consts.rs
index 0fce7048e69..d6872bcf06c 100644
--- a/crates/router/src/consts.rs
+++ b/crates/router/src/consts.rs
@@ -229,3 +229,6 @@ pub(crate) const PROTOCOL: &str = "ECv2";
/// Sender ID for Google Pay Decryption
pub(crate) const SENDER_ID: &[u8] = b... | 2025-02-17T09:09:50Z |
## Description
<!-- Describe your changes in detail -->
Implementing a retry logic for forex crate call with linear time increment in retry counter
## 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 ... | 10371af561ecc7536bb1db191af90a3cac2ab515 |
As soon as you hit the API of analytics
`curl --location 'http://localhost:8080/analytics/v1/org/metrics/payments' \
--header 'Accept: */*' \
--header 'Accept-Language: en-US,en;q=0.9' \
--header 'Connection: keep-alive' \
--header 'Content-Type: application/json' \
--header 'authorization: Bearer token \
... | [
"crates/router/src/consts.rs",
"crates/router/src/core/currency.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7289 | Bug: [BUG] Fix contract updation for Contract routing
### Feature Description
We need to update the contract once it is not found in the dynamic routing service.
### Possible Implementation
The updation happening in the post-update tracker does not work when the payment goes through a different connector.
Need t... | diff --git a/crates/external_services/src/grpc_client/dynamic_routing.rs b/crates/external_services/src/grpc_client/dynamic_routing.rs
index e34f721b30e..67069b9fe8b 100644
--- a/crates/external_services/src/grpc_client/dynamic_routing.rs
+++ b/crates/external_services/src/grpc_client/dynamic_routing.rs
@@ -32,9 +32,12... | 2025-02-14T15:17:21Z |
## Description
<!-- Describe your changes in detail -->
Fixed the contract updation when contract is not set in dynamo. If contract is not set, we'll set in the same flow.
This fixes an issue.
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, p... | 0688972814cf03edbff4bf125a59c338a7e49593 |
Same as https://github.com/juspay/hyperswitch/pull/6761
New error log -

| [
"crates/external_services/src/grpc_client/dynamic_routing.rs",
"crates/external_services/src/grpc_client/dynamic_routing/contract_routing_client.rs",
"crates/router/src/core/errors.rs",
"crates/router/src/core/payments/routing.rs",
"crates/router/src/core/routing/helpers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7268 | Bug: [BUG] NMI cypress failing
### Bug Description
Cypress test for NMi failing due to this `[PR](https://github.com/juspay/hyperswitch/pull/7200)`
### Expected Behavior
Cypress test should run perfectly for NMI
### Actual Behavior
Cypress test for NMi failing due to this `[PR](https://github.com/juspay/hypersw... | 2025-02-14T08:20:34Z |
## Description
<!-- Describe your changes in detail -->
NMI cypress were failing because of this [PR](https://github.com/juspay/hyperswitch/pull/7200). This PR resolves the cypress issue
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please l... | 3916ba6e3d4707b3a1f28439a314e6ea098597f2 |
Cypress Test
<img width="767" alt="Screenshot 2025-02-14 at 13 45 56" src="https://github.com/user-attachments/assets/58733baf-303d-45a0-8eb9-c9d93cf0335d" />
<img width="795" alt="Screenshot 2025-02-14 at 15 56 41" src="https://github.com/user-attachments/assets/6406627d-a05d-4c1b-bfb1-c7bf6454b4ad" />
| [] | ||
juspay/hyperswitch | juspay__hyperswitch-7175 | Bug: [CYPRESS] Add Cypress Tests for Card Payment Methods in `Braintree` Connectors
Implement end-to-end Cypress tests to validate **card payment flow configs** for the **Braintree** and **Authorize.net** payment connectors. These tests should cover various flows. | 2025-02-13T11:25:00Z |
## Description
<!-- Describe your changes in detail -->
Adding Cypress Test Case Flows related Configs for the `Braintree` Payment Processor.
~_Note: The Connector Update Test will fail until https://github.com/juspay/hyperswitch/pull/7622 is not merged to the `main` branch._~ (#7622 is Merged)
## Motivation ... | 2c9b8abdb58d5b97f9d01a112569ad82b99ea00d |
<img width="700" alt="image" src="https://github.com/user-attachments/assets/28d84bc1-1890-4b22-baf4-e94de421c233" />
| [] | ||
juspay/hyperswitch | juspay__hyperswitch-7265 | Bug: Add trait based implementation for relay
Refactor the relay flow to add trait based implication for it | diff --git a/crates/api_models/src/relay.rs b/crates/api_models/src/relay.rs
index f54e1471632..aded73b4345 100644
--- a/crates/api_models/src/relay.rs
+++ b/crates/api_models/src/relay.rs
@@ -24,11 +24,11 @@ pub struct RelayRequest {
#[serde(rename_all = "snake_case")]
pub enum RelayData {
/// The data that is ... | 2025-02-13T11:05:23Z |
## Description
<!-- Describe your changes in detail -->
This pr refactors the relay flow to add trait based implementation for it.
Changes made:-
1. `relay_flow_decider` decides the relay flow based on the relay types
2. Introduced `RelayInterface` trait that consists the methods required for different relay ty... | eea4d6ff8d93cee031670e147343861335884229 |
-> Make a relay payment
```
curl --location 'http://localhost:8080/relay' \
--header 'Content-Type: application/json' \
--header 'x-profile-id: pro_Zv50p4TBhOIRJFnynXL7' \
--header 'api-key: <api-key>' \
--data '{
"connector_id": "mca_5dVmrsd0IwgQAsu3uiUo",
"connector_resource_id": "pi_3Qs0CqEOqOywnAI... | [
"crates/api_models/src/relay.rs",
"crates/hyperswitch_domain_models/src/merchant_connector_account.rs",
"crates/hyperswitch_domain_models/src/relay.rs",
"crates/openapi/src/openapi.rs",
"crates/router/src/core/relay.rs",
"crates/router/src/routes/relay.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7822 | Bug: [FEATURE] : [CONNECTOR] Add globalpay, globepay, itaubank, nexinets, nuvei, prophetpay, zen in feature matrix
Add globalpay, globepay, itaubank, nexinets, nuvei, prophetpay, zen connectors in feature matrix | diff --git a/config/config.example.toml b/config/config.example.toml
index 51efc6c7087..96c081588d5 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -589,6 +589,7 @@ pix = { country = "BR", currency = "BRL" }
red_compra = { country = "CL", currency = "CLP" }
red_pagos = { country = "UY", cu... | 2025-02-12T19:58:25Z |
## Description
<!-- Describe your changes in detail -->
Add globalpay, globepay, itaubank, nexinets, nuvei, prophetpay, zen connectors in feature matrix
## 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 d... | bc7679d54f09c04037604c04e6a655ed5bf264cd |
```
curl --location 'http://localhost:8080/feature_matrix' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_jQNBYCfN5R0473yldj23Yl7HsGbCctexthWkELSAMAGpjCxKAspb2fcQDP1KmMJz'
```
Response
```
{
"connector_count": 39,
"connectors": [
... | [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/hyperswitch_connectors/src/connectors/globalpay.rs",
"crates/hyperswitch_connectors/src/co... | |
juspay/hyperswitch | juspay__hyperswitch-7255 | Bug: [FEATURE] [GETNET] Implement Card Flows
Getnet Card Implementation | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index d93208fb665..53af0100c4f 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -7629,6 +7629,7 @@
"fiservemea",
"fiuu",
"forte",
+ "getnet",
... | 2025-02-12T19:48:53Z |
## Description
<!-- Describe your changes in detail -->
Added `no-3ds cards` flow for new connector `Getnet`
## 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 startin... | cb256dcdac0533af51a6c77eef0039121a8ee110 |
1) No-3DS AutoCapture
<img width="1725" alt="Screenshot 2025-02-17 at 9 29 29 PM" src="https://github.com/user-attachments/assets/5041b6b8-53c6-48e3-9c8e-587e3ffdbee1" />
2) 3DS AutoCapture
<img width="1728" alt="Screenshot 2025-02-17 at 9 30 03 PM" src="https://github.com/user-attachments/assets/ade93c4c-246f-4... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/enums.rs",
"crates/common_enums/src/connector_enums.rs",
"crates/connector_configs/src/connector.rs",
"crates/connector_configs/toml/development.toml",
"crates/connector_configs/toml/production.toml",
"crates/connector_configs/toml/sandbox.tom... | |
juspay/hyperswitch | juspay__hyperswitch-7250 | Bug: [BUG] zero amount mandates for wallets through Novalnet
### Bug Description
Zero amount mandates for wallets through Novalnet throws errors saying some required fields are missing. This is needed to be fixed in the connector integration.
### Expected Behavior
Zero amount mandates for wallets (GPay + PayPal +... | diff --git a/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs b/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
index ba00162281f..44f84bf475d 100644
--- a/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
+++ b/crates/hyperswitch_connectors/src/connectors/... | 2025-02-12T09:46:32Z |
## Description
This PR updates connector integration for SetupMandate flow for Novalnet.
## Motivation and Context
Helps fix zero amount CIT mandate flow for wallets through Novalnet
# | fa09db1534884037947c6d488e33a3ce600c2a0c | <details>
<summary>1. Zero amount mandate through GPay (CIT)</summary>
cURL (create a payment link)
curl --location --request POST 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_Z6hI0px... | [
"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs",
"crates/hyperswitch_connectors/src/utils.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7240 | Bug: [FEATURE]: Add `customer_list_saved_payment_methods` to OLAP (v2)
Needed for the dashboard | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index ba795d40594..cd076aa0d5b 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -2498,6 +2498,47 @@
]
}
},
+ "/v2/customers/{id}/saved-payment-methods": {
+ "delet... | 2025-02-11T07:39:41Z |
## Description
<!-- Describe your changes in detail -->
Add `customer_list_saved_payment_methods` to OLAP and allow JWT Auth
This endpoint allows retrieving saved payment methods for a customer
This PR enables the endpoint to be used from the dashboard
## Motivation and Context
<!--
Why is this change re... | b38a958a9218df2ae4b10c38ca81f4e862ebde3d |
- Request
```bash
curl --location 'http://localhost:8080/v2/customers/12345_cus_0195187353c47d438edd6044cadb0969/saved-payment-methods' \
--header 'api-key: dev_Z0aXn9A50mSviMWnWLC02YHDhCxoLdKawgHzVMRwErbyyYQ5O4XvqjNYMQoCCaT1' \
--header 'Content-Type: application/json' \
--header 'x-profile-id: pro_9glqJzp3eR... | [
"api-reference-v2/openapi_spec.json",
"crates/openapi/src/openapi_v2.rs",
"crates/openapi/src/routes/payment_method.rs",
"crates/router/src/core/payment_methods.rs",
"crates/router/src/routes/app.rs",
"crates/router/src/routes/payment_methods.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7212 | Bug: feat(connector): add template code for stripebilling
add a template code for stripe billing connector | diff --git a/config/config.example.toml b/config/config.example.toml
index 641c06b366e..b653b099733 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -263,6 +263,7 @@ square.base_url = "https://connect.squareupsandbox.com/"
square.secondary_base_url = "https://pci-connect.squareupsandbox.com/... | 2025-02-09T07:26:58Z |
## Description
connector integration template code for stripe billing.
Issue: This PR closes the issue #7212
## 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 star... | cdfbb82ffa893d65d1707d6795f07c0a71e8d0a9 |
No testing required since its a template code
| [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/common_enums/src/connector_enums.rs",
"crates/hyperswitch_connectors/src/connectors.rs",
... | |
juspay/hyperswitch | juspay__hyperswitch-7224 | Bug: [BUG] Fix just run_v2
### Feature Description
A trait in Dynamic Routing wasn't feature gated, which led to the command `just run_v2` not working.
This is to be fixed
### Possible Implementation
Just have to feature gate the trait
### Have you spent some time checking if this feature request has been rais... | diff --git a/crates/router/src/core/routing/helpers.rs b/crates/router/src/core/routing/helpers.rs
index a08f80354bf..6a21dddc066 100644
--- a/crates/router/src/core/routing/helpers.rs
+++ b/crates/router/src/core/routing/helpers.rs
@@ -2,9 +2,11 @@
//!
//! Functions that are used to perform the retrieval of merchant... | 2025-02-08T07:19:30Z |
## Description
<!-- Describe your changes in detail -->
The command `just run_v2` errored out due to missing feature flags on Dynamic Routing trait.
This PR fixes that.
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issu... | 90ea0764aeb8524cac88031e1e887966a5c4fa76 |
v2 server should run
| [
"crates/router/src/core/routing/helpers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7222 | Bug: [BUG] Void Reason accepted as string for Nmi
### Bug Description
We were accepting void_reason as string, but since Nmi accepts specific values for void_reason.
### Expected Behavior
Enum should be created for void_reason.
### Actual Behavior
If cancellation_request is passed as any random string, the req... | diff --git a/crates/router/src/connector/nmi/transformers.rs b/crates/router/src/connector/nmi/transformers.rs
index 1e8b745107d..d6f1cb1962f 100644
--- a/crates/router/src/connector/nmi/transformers.rs
+++ b/crates/router/src/connector/nmi/transformers.rs
@@ -783,19 +783,43 @@ pub struct NmiCancelRequest {
pub tr... | 2025-02-07T13:30:40Z |
## Description
<!-- Describe your changes in detail -->
Previously, we were accepting void_reason as string, but since Nmi accepts specific values for void_reason, those values have been added to an enum.
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes ... | 9f334c1ebcf0e8ee15ae2af608fb8f27fab2a6b2 |
**Postman Tests**
**1. Create Payment**
-Request
```
curl --location 'localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_XtFublrRhWIHc7iuKjgQtABwUOjTGaEujjdXNQLUs8cI4xaPZiS4YOAO6gMjQ8fK' \
--data-raw '{
"amount": 300... | [
"crates/router/src/connector/nmi/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7217 | Bug: feat(core): add api for hypersense integration
# Hypersense
### Description:
#### An AI Ops tool build for Payments Cost Observability
- Monitor your overall transaction payment-related costs across multiple regions, PSPs, and businesses.
- Obtain actionable insights to optimise costs, track cost deviations, a... | diff --git a/crates/api_models/src/events.rs b/crates/api_models/src/events.rs
index 2124ff1aff9..9a2a0ca8396 100644
--- a/crates/api_models/src/events.rs
+++ b/crates/api_models/src/events.rs
@@ -2,6 +2,7 @@ pub mod apple_pay_certificates_migration;
pub mod connector_onboarding;
pub mod customer;
pub mod dispute;
+... | 2025-02-07T11:38:25Z |
## Description
<!-- Describe your changes in detail -->
#### Endpoints
- GET `hypersense/token` (returns hypersense token).
- POST `hypersense/verify_token` (verifies the token passed as payload).
- POST `hypersense/signout` (invalidates the token).
#### `external_service_auth` module and `ExternalToken`
... | 90ea0764aeb8524cac88031e1e887966a5c4fa76 |
1. get the hypersense_token from the response by hitting this curl.
```sh
curl --location '<BASE_URL>/hypersense/token' \
--header 'Authorization: Bearer <TOKEN>'
```
2. using the token obtained above try hitting this to verify.
```sh
curl --location '<BASE_URL>/hypersense/verify_token' \
--header 'Content-Ty... | [
"crates/api_models/src/events.rs",
"crates/api_models/src/events/external_service_auth.rs",
"crates/api_models/src/external_service_auth.rs",
"crates/api_models/src/lib.rs",
"crates/common_utils/src/events.rs",
"crates/router/src/core.rs",
"crates/router/src/core/external_service_auth.rs",
"crates/rou... | |
juspay/hyperswitch | juspay__hyperswitch-7203 | Bug: feat(vsaas): Add platform merchant validations for payment intent
Currently `payment_intent` stores `platform_merchant_id`. This can be used to identify if the payment was created by platform merchant.
If the payment was initialized by platform merchant, the merchant who is the owner of the payment should not ... | diff --git a/crates/router/src/core/payments/operations/payment_approve.rs b/crates/router/src/core/payments/operations/payment_approve.rs
index c830b7618d0..bdb0548d6a4 100644
--- a/crates/router/src/core/payments/operations/payment_approve.rs
+++ b/crates/router/src/core/payments/operations/payment_approve.rs
@@ -11,... | 2025-02-06T13:49:12Z |
## Description
<!-- Describe your changes in detail -->
Currently payment_intent stores platform_merchant_id. This can be used to identify if the payment was created by platform merchant.
If the payment was initialized by platform merchant, the merchant who is the owner of the payment should not be able to do any... | 9772cb36ee038023bee6d970d424e494b2e7aef6 |
1. Create two merchant accounts and make one platform. Refer #6882 to know what is a platform merchant and how to create a platform merchant account.
2. Create a payment for normal merchant account using platform merchant account
```bash
curl --location 'http://localhost:8080/payments' \
--header 'Con... | [
"crates/router/src/core/payments/operations/payment_approve.rs",
"crates/router/src/core/payments/operations/payment_cancel.rs",
"crates/router/src/core/payments/operations/payment_capture.rs",
"crates/router/src/core/payments/operations/payment_capture_v2.rs",
"crates/router/src/core/payments/operations/pa... | |
juspay/hyperswitch | juspay__hyperswitch-7198 | Bug: [BUG] Incorrect mapping of attempt status in NMI connector
### Bug Description
When the payment status is `processing`, the backend was returning an incorrect error message. The message incorrectly stated that the issue was with the capture method, whereas it should indicate that the payment status
is `proc... | diff --git a/crates/router/src/connector/nmi/transformers.rs b/crates/router/src/connector/nmi/transformers.rs
index 19f03cb1b2c..473901f007d 100644
--- a/crates/router/src/connector/nmi/transformers.rs
+++ b/crates/router/src/connector/nmi/transformers.rs
@@ -910,7 +910,7 @@ impl TryFrom<types::PaymentsResponseRouterD... | 2025-02-05T21:11:50Z |
## Description
<!-- Describe your changes in detail -->
After making a `capture` call following the `Payments-Create` call, the backend was returning an incorrect error message, incorrectly indicating an issue with the `capture_method`. This is because, after the `Payments-Create` call, the payment status was bein... | 3da637e6960f73a3a69aef98b9de2e6de01fcb5e |
Postman Test
1. Payments Connector - Create (NMI)
Request -
```
curl --location 'http://localhost:8080/account/:merchant_id/connectors' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: {{api-key}}' \
--data '{
"connector_type": "payment_process... | [
"crates/router/src/connector/nmi/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7406 | Bug: refactor(core): filter default routing config response based on connector type
## Description
<!-- Describe your changes in detail -->
We are filtering the response for payment and payout processors.
| diff --git a/crates/router/src/core/routing.rs b/crates/router/src/core/routing.rs
index 8d03e82a328..64207b4b5d7 100644
--- a/crates/router/src/core/routing.rs
+++ b/crates/router/src/core/routing.rs
@@ -1,6 +1,6 @@
pub mod helpers;
pub mod transformers;
-use std::collections::HashSet;
+use std::collections::{HashMa... | 2025-02-05T21:11:16Z |
## Description
<!-- Describe your changes in detail -->
We are filtering the response for payment and payout processors.
So this works as follows:
If Payment's route is hit only PaymentProcessors will be listed and nothing else like PayoutConnectors etc.
Payment :
```
curl --location 'http://localhost:8080/ro... | d6e13dd0c87537e6696dd6dfc02280f825d116ab |
Tested after creating JWT locally and adding 1 payment and 1 payout connector.
Payment :
```
curl --location 'http://localhost:8080/routing/default/profile' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMWMyMTJhODgtOGFmYy00YjJjLWIwYWQtODY3MmQ2NTI3MzdlIiwibWVyY2hhbnRfaWQiOi... | [
"crates/router/src/core/routing.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7190 | Bug: [FEATURE]: Add Payments - List to v2
`Payments - List` endpoint is needed for the dashboard | diff --git a/api-reference-v2/api-reference/payments/payments--list.mdx b/api-reference-v2/api-reference/payments/payments--list.mdx
new file mode 100644
index 00000000000..80350a5705e
--- /dev/null
+++ b/api-reference-v2/api-reference/payments/payments--list.mdx
@@ -0,0 +1,3 @@
+---
+openapi: get /v2/payments/list
+--... | 2025-02-05T08:06:09Z |
## Description
<!-- Describe your changes in detail -->
Added `Payments - List` endpoint for v2
## 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 firs... | 3607b30c26cc24341bf88f8ce9968e094fb7a60a |
- Request:
```
curl --location 'http://localhost:8080/v2/payments/list?profile_id=pro_4jOKADI7FmJF09Sp30bM' \
--header 'Content-Type: application/json' \
--header 'x-profile-id: pro_syRDLhwbDPVbVgrDQDN5' \
--header 'api-key: dev_S529hQ8b0xLFAC4WvYFOgM9VFvUkxB8btBfmxVh83pejCCBmB33wK7ujJYoVcKAe'
```
- Resp... | [
"api-reference-v2/api-reference/payments/payments--list.mdx",
"api-reference-v2/mint.json",
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/events/payment.rs",
"crates/api_models/src/payments.rs",
"crates/diesel_models/src/query/payment_attempt.rs",
"crates/hyperswitch_domain_models/src/pay... | |
juspay/hyperswitch | juspay__hyperswitch-7186 | Bug: Update openssl dependency
Update openssl dependency from `version = "0.10.66"` to `version = "0.10.70"` | diff --git a/Cargo.lock b/Cargo.lock
index 7583fb2eeee..8a637917c61 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5336,9 +5336,9 @@ dependencies = [
[[package]]
name = "openssl"
-version = "0.10.66"
+version = "0.10.70"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9529f4786b70a3e8c6... | 2025-02-04T14:16:22Z |
## Description
<!-- Describe your changes in detail -->
Update openssl dependency from `version = "0.10.66"` to `version = "0.10.70"`
This pr also updates openssl-sys transitive dependency from `version = "0.9.103"` to `version = "0.9.105"`
## Motivation and Context
<!--
Why is this change required? What prob... | e2ddcc26b84e4ddcd69005080e19d211b1604827 |
Verified by code compilation
| [
"Cargo.lock",
"crates/router/Cargo.toml"
] | |
juspay/hyperswitch | juspay__hyperswitch-7184 | Bug: disable stripe
disable stripe | 2025-02-04T10:36:41Z |
## Description
<!-- Describe your changes in detail -->
disable sprite.
closes #7184
## 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 ... | 55bb284ba063dc84e80b4f0d83c82ec7c30ad4c5 |
ci should pass
| [] | ||
juspay/hyperswitch | juspay__hyperswitch-7181 | Bug: [FEATURE] enable currencies and countries for different payment methods for Fiuu
### Feature Description
A few countries and currencies has to be enabled for Fiuu for below payment methods
- ApplePay
- GooglePay
For below countries and currencies
- MY and MYR
### Possible Implementation
Add this to pm_filt... | diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml
index d606f192e4e..81eb028a46a 100644
--- a/config/deployments/integration_test.toml
+++ b/config/deployments/integration_test.toml
@@ -380,7 +380,9 @@ red_pagos = { country = "UY", currency = "UYU" }
local_bank_transfer =... | 2025-02-04T08:34:27Z |
## Description
This PR enables country Malaysia for processing APay and GPay transactions via Fiuu
## Motivation and Context
Helps process APay and GPay txns using MYR currency.
# | 55bb284ba063dc84e80b4f0d83c82ec7c30ad4c5 | For valid currency - MYR
<img width="665" alt="Screenshot 2025-02-05 at 7 46 56 PM" src="https://github.com/user-attachments/assets/3611f5ae-0c69-4a11-9907-81ec4eca4385" />
For invalid currency - ex. USD
<img width="628" alt="Screenshot 2025-02-05 at 7 47 51 PM" src="https://github.com/user-attachments/assets/f12d... | [
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml"
] | |
juspay/hyperswitch | juspay__hyperswitch-7177 | Bug: refactor(router): add revenue_recovery_metadata to payment intent in diesel and api model for v2 flow
Add the following fields to the api and diesel models Feature meta data
retry_count: Total number of billing connector + recovery retries for a payment intent.
payment_connector_transmission: It's supposed to... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index cadae4fa45c..3a43b1bfca2 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -5793,6 +5793,23 @@
}
}
},
+ "BillingConnectorPaymentDetails": {
+ "type"... | 2025-02-03T17:31:54Z |
## Description
Adds the following fields to the api and diesel models Feature meta data
retry_count: Total number of billing connector + recovery retries for a payment intent.
payment_connector_transmission: It's supposed to tell if the payment_connector has been called or not.
billing_connector_id: To upda... | b09905ecb4c7b33576b3ca1f13affe5341ea6e6f | Create Intent Request
```
curl --location 'http://localhost:8080/v2/payments/create-intent' \
--header 'api-key: dev_7iySXObGOGY3S9g2OgXlwnQIYJACCsn72FDRXcs6lNlSpheMRHD8bzg0WcUpb9KL' \
--header 'Content-Type: application/json' \
--header 'x-profile-id: pro_vxOhrwYLpaKZXp6llHo1' \
--data-raw '{
"amount_d... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/payments.rs",
"crates/common_enums/src/enums.rs",
"crates/diesel_models/src/types.rs",
"crates/hyperswitch_domain_models/src/lib.rs",
"crates/openapi/src/openapi_v2.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7172 | Bug: [Cypress] Add more connectors to GitHub CI
- Bluesnap
- PayPal
- Iatapay | 2025-02-03T13:21:31Z |
## Description
<!-- Describe your changes in detail -->
This PR fixes NTID for PayPal by disabling it from running.
closes #7172
## 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... | ed8ef2466b7f059ed0f534aa1f3fca9b5ecbeefd |
|NMI|PayPal|
|-|-|
|||
| [] | ||
juspay/hyperswitch | juspay__hyperswitch-7164 | Bug: [FEATURE] : [CONNECTOR] Add Billwerk, Fiservemea, Tsys supported payment methods, currencies and countries in feature matrix
### Feature Description
Add Billwerk, Fiservemea, Tsys supported payment methods, currencies and countries in feature matrix
### Possible Implementation
Add Billwerk, Fiservemea, Tsys ... | diff --git a/config/config.example.toml b/config/config.example.toml
index 3457d330c9a..48db200f9c4 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -521,6 +521,18 @@ seicomart = { country = "JP", currency = "JPY" }
pay_easy = { country = "JP", currency = "JPY" }
boleto = { country = "BR", ... | 2025-02-02T18:20:24Z |
## Description
<!-- Describe your changes in detail -->
Add Billwerk, Fiservemea, Tsys supported payment methods, currencies and countries in feature matrix
## 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 y... | 2451e9b771dcef6ed88e17800e4e3ef434328044 |
Postman Test
Feature API curl:
```
curl --location 'http://localhost:8080/feature_matrix' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_JQif2lR5NNugTdsi6xSqQ1ozsn6QA4r750wFN5yvwrAsRlcsdyk24VnEiYguAAxZ'
```
Response -
```
{
"connector... | [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/hyperswitch_connectors/src/connectors/billwerk.rs",
"crates/hyperswitch_connectors/src/con... | |
juspay/hyperswitch | juspay__hyperswitch-7162 | Bug: [FEATURE] : [CONNECTOR] Add Airwallex, Elavon, Novalnet, Xendit supported payment methods, currencies and countries in feature matrix
### Feature Description
Add Airwallex, Elavon, Novalnet, Xendit supported payment methods, currencies and countries in feature matrix
### Possible Implementation
Add Airwallex... | diff --git a/config/config.example.toml b/config/config.example.toml
index 3464bcb1364..f79a31848c8 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -471,9 +471,9 @@ slack_invite_url = "https://www.example.com/" # Slack invite url for hyperswit
discord_invite_url = "https://www.example.com... | 2025-02-01T21:36:53Z |
## Description
<!-- Describe your changes in detail -->
Add Airwallex, Elavon, Novalnet, Xendit supported payment methods, currencies and countries in feature matrix
## 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... | ab3dcea82fafc3cef9e1da9ac98c20d27f127652 |
Postman Test
Feature API curl:
```
curl --location 'http://localhost:8080/feature_matrix' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: ***'
```
Response -
```
{
"connector_count": 4,
"connectors": [
{
"name": ... | [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/hyperswitch_connectors/src/connectors/airwallex.rs",
"crates/hyperswitch_connectors/src/co... | |
juspay/hyperswitch | juspay__hyperswitch-7161 | Bug: Postman Connector Integration Tests Failing
Several Postman integration tests are failing. The issue needs analyzing to determine the reasons of the failures.
### **Observation**
#### **Failed Tests**
- `postman-test-adyen_uk-INTEGRATION`
- `postman-test-cybersource-INTEGRATION`
- `postman-test-nmi-INT... | diff --git a/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json b/postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json
index f1199e53330..3175fdd1dd5 10... | 2025-01-31T18:42:38Z |
## Description
## Motivation and Context
#
### Connector:`bluesnap`
<img width="500" alt="image" src="https://github.com/user-attachments/assets/4ac36593-17a9-430c-84ac-22a2090f58c1" />
### Connector:`cybersource`
_Before_
<img width="500" alt="image" src="https://github.com/user-attachments/assets/89... | 6e19a9b48af67f39e632f8b94d2b92a59f98e37b | ### Connector:`adyen_uk`
<img width="1270" alt="image" src="https://github.com/user-attachments/assets/b4886786-5f02-4657-8d74-dee18ee45734" />
_**Note:** The `Sofort` Test Cases are removed in PR #7099 after being deprecated by `adyen` connector._
<img width="500" alt="image" src="https://github.com/user-attach... | [
"postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json",
"postman/collection-dir/cybersource/Flow Testcases/Happy Cases/Scenario11-Save card payment with manual capture/Payments - Capture/event.test.js",
"postman/collection-dir/cy... | |
juspay/hyperswitch | juspay__hyperswitch-7155 | Bug: [BUG] CASHTOCODE Error Message appearing as null
### Bug Description
There is a bug which causes error_message to appear as null on failed payments for Cashtocode.
### Expected Behavior
Error_message should not be null on failed payments for Cashtocode
### Actual Behavior
Error_message is null on failed p... | diff --git a/crates/hyperswitch_connectors/src/connectors/cashtocode.rs b/crates/hyperswitch_connectors/src/connectors/cashtocode.rs
index cc7ac381237..a2a8cf9df65 100644
--- a/crates/hyperswitch_connectors/src/connectors/cashtocode.rs
+++ b/crates/hyperswitch_connectors/src/connectors/cashtocode.rs
@@ -142,8 +142,8 @@... | 2025-01-31T09:49:08Z |
## Description
<!-- Describe your changes in detail -->
Error message from cashtocode is now populated in error reason along with error message as well.
## 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... | 0c952cc148654468c7fec8e32620dff4178f6138 |
Cashtocode cannot be tested locally due to unavailability of credentials.
| [
"crates/hyperswitch_connectors/src/connectors/cashtocode.rs",
"crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7150 | Bug: [FEATURE] : [CONNECTOR] Add Multisafepay, Wellsfargo, Worldpay supported payment methods, currencies and countries in feature matrix
### Feature Description
Add Multisafepay, Wellsfargo, Worldpay supported payment methods, currencies and countries in feature matrix
### Possible Implementation
Add Multisafepa... | diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml
index aab4829f069..f65f1dba78b 100644
--- a/config/deployments/integration_test.toml
+++ b/config/deployments/integration_test.toml
@@ -204,9 +204,9 @@ bank_debit.sepa = { connector_list = "gocardless,adyen,stripe,deutscheb... | 2025-01-31T06:07:14Z |
## Description
<!-- Describe your changes in detail -->
Added Feature Matrix supported payment methods, countries and currencies for Multisafepay, Cashtocode, Worldpay and Wellsfargo.
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please ... | 212ac27057762f9d4cd2073d93c2216f61711cfe |
### MULTISAFEPAY
**Card(Credit)**
-Request
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_BRLi0eobwJCQvfjdD0MZbuGVAIaX16cvGPAM80Rpdn0j0ixXtlg3jtpzTDnMJUeH' \
--data-raw '{
"amount": 12... | [
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/hyperswitch_connectors/src/connectors/cashtocode.rs",
"crates/hyperswitch_connectors/src/connectors/deutschebank.rs",
"c... | |
juspay/hyperswitch | juspay__hyperswitch-7260 | Bug: [FEATURE] Add support for network tokenization for v2/payment-methods
Description:
Add support for network tokenization for v2/payment-methods create api.
Implementation:
for v2/payment-methods api, if the payment method is card and merchant opted for network tokenization, then card should be tokenized with ne... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index ba795d40594..f386d554dda 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -13741,6 +13741,14 @@
}
],
"nullable": true
+ },
+ "n... | 2025-01-30T07:49:02Z |
## Description
<!-- Describe your changes in detail -->
add support for network tokenization for v2/payment-methods
- added network tokenization support for create+confirm payment methods api v2
- introduced new type for network token
## Motivation and Context
<!--
Why is this change required? What problem d... | b38a958a9218df2ae4b10c38ca81f4e862ebde3d |
test cases -
enable network tokenization for profile
payment-method create api -
```
curl --location 'http://localhost:8080/v2/payment-methods' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-Profile-Id: pro_1Z1F459LoQzRTieDsLW2' \
--header 'api-key: dev_sewkg... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/payment_methods.rs",
"crates/cards/src/lib.rs",
"crates/cards/src/validate.rs",
"crates/hyperswitch_connectors/Cargo.toml",
"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs",
"crates/hyperswitch_connectors/src/utils.rs... | |
juspay/hyperswitch | juspay__hyperswitch-7138 | Bug: [BUG] Trustly and Ideal Failing Payments for Ayden Fixed
Trustly and Ideal Failing Payments for Ayden Fixed | diff --git a/crates/router/src/connector/adyen/transformers.rs b/crates/router/src/connector/adyen/transformers.rs
index c9bfdbf3d4a..8aba3573f68 100644
--- a/crates/router/src/connector/adyen/transformers.rs
+++ b/crates/router/src/connector/adyen/transformers.rs
@@ -148,7 +148,7 @@ pub struct LineItem {
pub struct A... | 2025-01-29T11:56:59Z |
## Description
<!-- Describe your changes in detail -->
`Trustly` and `Ideal` Bank Redirect payments were failing for `Ayden`.
`Trustly` error message: `Required object 'paymentMethod' is not provided.`
`Ideal` error message: `Could not find issuer for issuerId`
For `Trustly`, populated the `paymentMethod` to ... | 90fbb62ecd418b85804c6ae824843237ff740302 |
No-3DS auto capture
<img width="1720" alt="Screenshot 2025-02-10 at 5 25 26 PM" src="https://github.com/user-attachments/assets/0ca86a25-1c0c-41cf-9348-9676b1254cf7" />
3DS auto capture
<img width="1715" alt="Screenshot 2025-02-10 at 5 25 46 PM" src="https://github.com/user-attachments/assets/fb4f99ae-2d89-483... | [
"crates/router/src/connector/adyen/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7080 | Bug: [BUG] Deployed on a cloud server using Docker Compose, sign up keeps prompting 'Register failed, Try again'
### Bug Description

### Expected Behavior
None
### Actual Behavior
None
### Steps To Reproduce
1. git clon... | diff --git a/docker-compose-development.yml b/docker-compose-development.yml
index d7a0e365c36..416646f013c 100644
--- a/docker-compose-development.yml
+++ b/docker-compose-development.yml
@@ -64,7 +64,7 @@ services:
FROM rust:latest
RUN apt-get update && \
apt-get install -y protobuf-com... | 2025-01-29T05:02:03Z |
## Description
Playground is not running properly and throwing errors as it is not able to find HyperLoader file.
## Motivation and Context
https://github.com/juspay/hyperswitch/issues/7080
# | c3333894ce64b1bc694f8c1eb09a8744aa850443 | [
"docker-compose-development.yml",
"docker-compose.yml",
"docker/web.Dockerfile"
] | ||
juspay/hyperswitch | juspay__hyperswitch-7128 | Bug: fix(diesel_models, api_models): mask `poc_email` and `data_value` for DashboardMetadata
## Current behaviour
- `poc_email` isn't masked for `DashboardMetadata` which leads to it being logged both at API and diesel query level.
Example:
<img width="1114" alt="Image" src="https://github.com/user-attachments/ass... | diff --git a/crates/api_models/src/user/dashboard_metadata.rs b/crates/api_models/src/user/dashboard_metadata.rs
index 1d606ef63e8..f15029a7a49 100644
--- a/crates/api_models/src/user/dashboard_metadata.rs
+++ b/crates/api_models/src/user/dashboard_metadata.rs
@@ -94,7 +94,7 @@ pub struct ProdIntent {
pub business... | 2025-01-28T09:34:50Z |
## Description
<!-- Describe your changes in detail -->
- (api_models): change the `poc_email` type to `Secret<String>`
- Add some `pii::Email` validation to check for input validity
- (diesel_models): change `data_value` to `Secret<serde_json::Value>`
## Fixes #7128
## Motivation and Context
<!--
Why i... | c02cb20b02501eb027e61e4f4a342eeda1fb9b70 |
Curl to set metadata:
```bash
curl --location 'http://localhost:8080/user/data' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{TOKEN}}' \
--data '
{
"ProdIntent": {
"is_completed": true,
"legal_business_name": "test",
"business_label": "test",
... | [
"crates/api_models/src/user/dashboard_metadata.rs",
"crates/diesel_models/src/user/dashboard_metadata.rs",
"crates/router/src/core/user/dashboard_metadata.rs",
"crates/router/src/services/email/types.rs",
"crates/router/src/utils/user/dashboard_metadata.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7382 | Bug: feat(core): create process tracker workflow
create process tracker workflow | diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs
index 8f14dc8d860..0c58411dbf7 100644
--- a/crates/api_models/src/payments.rs
+++ b/crates/api_models/src/payments.rs
@@ -325,7 +325,7 @@ impl PaymentsCreateIntentRequest {
}
// This struct is only used internally, not visible in API... | 2025-01-28T06:07:28Z |
## Description
- This PR ,creates a process_tracker execute workflow , to trigger a MIT Payment retry
- The first retry attempt , would create a Execute task entry in the PT which would do a api call to the pg to do the MIT payment,
- Its based on the intent status and the called connector param and activ... | d945da635dfc84a2135aef456292fa54d9d5982e | > This is a v2 PR, cannot be tested , until this [PR](https://github.com/juspay/hyperswitch/pull/7215) gets merged
| [
"crates/api_models/src/payments.rs",
"crates/diesel_models/src/enums.rs",
"crates/diesel_models/src/process_tracker.rs",
"crates/hyperswitch_domain_models/src/payments/payment_intent.rs",
"crates/router/src/bin/scheduler.rs",
"crates/router/src/core.rs",
"crates/router/src/core/passive_churn_recovery.rs... | |
juspay/hyperswitch | juspay__hyperswitch-7126 | Bug: Refactor(customer) : Return redacted customer instead of error.
Instead of returning error for querying deleted customer, we should return Customer with redacted values to help in frontend. | diff --git a/crates/router/src/core/customers.rs b/crates/router/src/core/customers.rs
index 4f69cf41963..dabc9d37086 100644
--- a/crates/router/src/core/customers.rs
+++ b/crates/router/src/core/customers.rs
@@ -463,7 +463,7 @@ pub async fn retrieve_customer(
let key_manager_state = &(&state).into();
let r... | 2025-01-27T13:10:56Z |
## Description
Return redacted customer response instead of error when querying deleted customers.
## Motivation and Context
Upon merging this PR, the API will return deleted Customer with redacted values instead of error.
https://github.com/juspay/hyperswitch/issues/7126
# | ecab2b1f512eb7e78ca2e75c20b3adc753b97a2f | - Create Customer API Call
```
curl --location 'http://localhost:8080/customers' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data-raw '{
"email": "guest@example.com",
"name": "John Doe",
"phone": "999999999",
"phone_country_code": "+65",
"descripti... | [
"crates/router/src/core/customers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7119 | Bug: [BUG] Deserialization Error Due to Error Coming in HTML format from Bluesnap Connector
### Bug Description
The Bluesnap Connector propagates errors received from its cloud service (Cloudflare). Cloudflare returns these errors in HTML format, and Bluesnap forwards them in the same HTML format. When an error is ... | diff --git a/crates/hyperswitch_connectors/src/connectors/bluesnap.rs b/crates/hyperswitch_connectors/src/connectors/bluesnap.rs
index 8fac36424e2..3f319ee74f5 100644
--- a/crates/hyperswitch_connectors/src/connectors/bluesnap.rs
+++ b/crates/hyperswitch_connectors/src/connectors/bluesnap.rs
@@ -11,7 +11,7 @@ use commo... | 2025-01-27T11:29:17Z |
## Description
<!-- Describe your changes in detail -->
The code ensures any unexpected responses from the connector are appropriately logged and handled, providing meaningful and actionable error information to the caller.
## Motivation and Context
<!--
Why is this change required? What problem does it solve?... | 3da637e6960f73a3a69aef98b9de2e6de01fcb5e |
Unable to test 5xx error codes
Normal testing done through postman
1. Payment Connector - Create
Request -
```
curl --location 'http://localhost:8080/account/merchant_1737978930/connectors' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: test_admin... | [
"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7112 | Bug: [FEATURE] Card Testing Guard
### Feature Description
We have implemented three rules for detecting and preventing this card testing attacks:
I) Card <> IP Blocking for Merchant : If there are X number of unsuccessful payment attempts from a single IP Address for a specific merchant, then that combination of C... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index aebc0b38c27..f81eca420a0 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -7096,6 +7096,56 @@
}
}
},
+ "CardTestingGuardConfig": {
+ "type": "objec... | 2025-01-27T04:37:24Z |
## Description
<!-- Describe your changes in detail -->
**Problem Statement:**
Card testing attacks involve fraudsters using stolen credit card details to make small transactions on e-commerce sites using different combinations of CVC to verify if the CVC is valid. Successful transactions indicate the card is ... | db498c272caa8a8a875da14c51fffd1d17efb4cc |
**Postman Tests**
**Step By Step Guide to Test:**
1. Use Adyen Connector to test the curls (because for Adyen, only a specific CVC works for test cards)
2. Update Business Profile to set `card_ip_blocking_status` as `enabled`, `guest_user_card_blocking_status` as `disabled` and `customer_id_blocking_status` ... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/admin.rs",
"crates/common_utils/src/consts.rs",
"crates/diesel_models/src/business_profile.rs",
"crates/diesel_models/src/schema.rs",
"crates/diesel_models/src/schema_v2.rs",
"crates/hyperswitch_domain_models/src/business_profile.rs",
"crate... | |
juspay/hyperswitch | juspay__hyperswitch-7104 | Bug: [FEATURE] [GETNET] Add Connector Template Code
### Feature Description
Add Connector Template Code for Getnet
### Possible Implementation
Add Connector Template Code for Getnet
### Have you spent some time checking if this feature request has been raised before?
- [x] I checked and didn't find a similar is... | diff --git a/config/config.example.toml b/config/config.example.toml
index 16b5ef6c3a1..15012c92405 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -213,6 +213,7 @@ fiuu.base_url = "https://sandbox.merchant.razer.com/"
fiuu.secondary_base_url="https://sandbox.merchant.razer.com/"
fiuu.thir... | 2025-01-24T17:12:47Z |
## Description
<!-- Describe your changes in detail -->
Template code added for connector Getnet
## 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... | b616bd130b19b259a3b05377bdbae37834f8647d |
Only template PR, hence no testing required.
| [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/common_enums/src/connector_enums.rs",
"crates/connector_configs/src/connector.rs",
"crat... | |
juspay/hyperswitch | juspay__hyperswitch-7103 | Bug: [CHORE] Bump Cypress to v14
bump cypress version to `v14` from `v13.17.0`. there's a ton of under the hood changes and improvements.
check: [docs.cypress.io/app/references/changelog](https://docs.cypress.io/app/references/changelog)
cypress v14 has significant impact on the way we do the redirection flow. che... | 2025-01-24T10:57:50Z |
## Description
<!-- Describe your changes in detail -->
closes #7103
- video recording
- video recording gets around the race condition that resulted in parallel tests to fail when a payment failed at the same time
- connector specific recording
- store only failed payment recording
- version bump
... | b5b50036088b72338156e29be23f77a62d673f30 |
ci should pass. especially the redirections.

| [] | ||
juspay/hyperswitch | juspay__hyperswitch-7098 | Bug: [REFACTOR] : remove deprecated PMTs from Adyen (Giropay and Sofort)
Remove deprecated PMTs from Adyen (Giropay and Sofort) | diff --git a/config/config.example.toml b/config/config.example.toml
index e982a01eb11..7a810414b4d 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -458,11 +458,11 @@ bank_debit.becs = { connector_list = "gocardless" }
bank_debit.bacs = { connector_list = "adyen" } ... | 2025-01-24T10:22:32Z |
## Description
<!-- Describe your changes in detail -->
Removed deprecated PMTs from Ayden: https://www.adyen.com/payment-methods
## 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'... | 3da637e6960f73a3a69aef98b9de2e6de01fcb5e |
Removed the deprecated payment methods, so no testing required.
Reference that the payment methods are actually no longer available: https://www.adyen.com/payment-methods
No-3DS auto capture
<img width="1720" alt="Screenshot 2025-02-10 at 5 25 26 PM" src="https://github.com/user-attachments/assets/0ca86a25-1c0c... | [
"config/config.example.toml",
"config/deployments/integration_test.toml",
"config/deployments/production.toml",
"config/deployments/sandbox.toml",
"config/development.toml",
"config/docker_compose.toml",
"crates/connector_configs/toml/development.toml",
"crates/connector_configs/toml/production.toml",... | |
juspay/hyperswitch | juspay__hyperswitch-7101 | Bug: [REFACTOR] Remove Deprecated Adyen PMTs Sofort and Trustly Test Cases
This issue addresses the cleanup of deprecated payment methods (PMTs) in the Adyen connector (i.e., Sofort and Trustly) and updates test cases to ensure compatibility with current configurations.
### Details
1. Postman Test Cases Update:
R... | diff --git a/postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/.meta.json b/postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/.meta.json
index 8bfdb580671..6980f1fe85e 100644
--- a/postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/.meta.json
+++ b/postman/collection-dir/adyen_uk/Flow Testcas... | 2025-01-24T09:47:40Z |
## Description
<!-- Describe your changes in detail -->
**Postman Collection Update**: Removed the Sofort test cases from the Adyen connector in the Postman collection because these payment methods are deprecated by Adyen Connector.
## Motivation and Context
<!--
Why is this change required? What problem d... | ed8ef2466b7f059ed0f534aa1f3fca9b5ecbeefd |
_**Before**_
<img width="1279" alt="image" src="https://github.com/user-attachments/assets/91073ae0-a62c-40d7-863b-ddda5e2620a8" />
_**After**_
<img width="1093" alt="image" src="https://github.com/user-attachments/assets/f45d07f3-47eb-4331-90d9-b7a2fedf4d2f" />
| [
"postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/.meta.json",
"postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario11-Bank Redirect-sofort/.meta.json",
"postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario11-Bank Redirect-sofort/Payments - Confirm/.event.meta.json",
"p... | |
juspay/hyperswitch | juspay__hyperswitch-7114 | Bug: add stripe in network_transaction_id_supported_connectors list
add stripe in network_transaction_id_supported_connectors list | diff --git a/config/deployments/production.toml b/config/deployments/production.toml
index 3537834fd07..90a34403637 100644
--- a/config/deployments/production.toml
+++ b/config/deployments/production.toml
@@ -191,7 +191,7 @@ card.credit = { connector_list = "cybersource" } # Update Mandate sup
card.debit = ... | 2025-01-24T06:47:08Z |
## Description
adding `stripe` in connector list for network transaction id.
## 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... | a9a1ded77e2ba0cc7fa9763ce2da4bb0852d82af | [
"config/deployments/production.toml"
] | ||
juspay/hyperswitch | juspay__hyperswitch-7094 | Bug: populate `payment_method_data` in the samsung pay payment response
populate `payment_method_data` in the samsung pay payment response | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 892931256bc..df71a0249b5 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -21469,8 +21469,7 @@
"type": "object",
"required": [
"last4",
- "card_netw... | 2025-01-23T10:29:42Z |
## Description
<!-- Describe your changes in detail -->
This pr contains the changes to populate `payment_method_data` in the samsung pay payment response. As part of this card_type is made a optional for wallet payment_method_data as samsung pay does not send credit or debit in the samsung pay token.
## Motiva... | cf82861e855bbd055fcbfc2367b23eaa58d8f842 |
-> Create a connector with samsung pay enabled
-> Make a samsung pay payment, payment_method_data would be populated in the resposne.
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: <api-key>' \
--data-r... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/payment_methods.rs",
"crates/api_models/src/payments.rs",
"crates/api_models/src/payments/additional_info.rs",
"crates/hyperswitch_domain_models/src/payment_method_data.rs",
"crates/router/src/core/fraud_check/operation/fraud_check_pre.rs",
"c... | |
juspay/hyperswitch | juspay__hyperswitch-7093 | Bug: [BUG] hyperswitch.io website has some uncaught exceptions resulting in cypress ci checks to fail
ignore uncaught errors | 2025-01-23T09:34:12Z |
## Description
<!-- Describe your changes in detail -->
the return url i.e., `hyperswitch.io` is throwing uncaught exceptions. the issue has been escalated to the team managing the website. and for now, we're ignoring any uncaught exceptions thrown by it.
additionally, have bumped the package versions except fo... | a9a1ded77e2ba0cc7fa9763ce2da4bb0852d82af |
ci checks should pass, but works in local:
payouts: wise

payments: adyen

payments: bankofamerica

.ok_or(errors::ApiErrorResponse::InternalServerErr... | 2025-01-21T07:40:34Z |
## Description
<!-- Describe your changes in detail -->
During the MIT if the decided connector is same as the connector with which the mandate is created then the MIT should be processed with the connector mandate _id.
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If... | 90c932a6d798453f7e828c55a7668c5c64c933a5 |
-> Create a business profile and enable connector agnostic mandate feature
```
curl --location 'http://localhost:8080/account/merchant_1737444280/business_profile/pro_h1bdGYYiQic3IHdVU1Mm' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: test_admin' \
--data... | [
"crates/router/src/core/payments.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7075 | Bug: feat(opensearch): add amount and customer_id as filters and handle name for different indexes
Add amount as a filter / category for global search.
Also, add customer_id as a filter for searching based on customer_id on Customers page.
| diff --git a/crates/analytics/src/opensearch.rs b/crates/analytics/src/opensearch.rs
index e85340e49d2..f12198d0054 100644
--- a/crates/analytics/src/opensearch.rs
+++ b/crates/analytics/src/opensearch.rs
@@ -456,7 +456,7 @@ pub struct OpenSearchQueryBuilder {
pub query: String,
pub offset: Option<i64>,
... | 2025-01-20T10:18:22Z |
## Description
<!-- Describe your changes in detail -->
### `amount` filter
- Added `amount` as a filter / category for global search.
- Payments / Refunds / Disputes can now be searched in a better manner by applying an amount filter in the following - format:
```bash
amount:100
```
- Handling of the field ... | 22072fd750940ac7fec6ea971737409518600891 |
`amount` filter:
- Hit the curl:
```bash
curl --location 'http://localhost:8080/analytics/v1/search' \
--header 'sec-ch-ua-platform: "macOS"' \
--header 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNmNkZTA0NzYtMTFlMi00NGE5LTlkMjUtOTA5M2QzNDQwZjhlIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFu... | [
"crates/analytics/src/opensearch.rs",
"crates/analytics/src/search.rs",
"crates/api_models/src/analytics/search.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7070 | Bug: [INTEGRATION] Worldpay Integration
This issue is a continuation of #6316 for tagging the relevant development work in PRs. | diff --git a/crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs b/crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs
index cd028e81ef1..6ae507790dd 100644
--- a/crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs
+++ b/crates/hyperswitch_connectors/src/connectors/... | 2025-01-20T08:50:04Z |
## Description
This PR fixes the ApplePay integration with WorldPay.
## Motivation and Context
This PR enables processing ApplePay txns through WorldPay.
# | a9a1ded77e2ba0cc7fa9763ce2da4bb0852d82af | Tested locally by setting up ApplePay with Worldpay connector
<details>
<summary>Process an ApplePay txn through WP</summary>
- Create a payment link
cURL
curl --location --request POST 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept... | [
"crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-6969 | Bug: [FEATURE] expose tokenize endpoints
### Feature Description
HS backend to expose endpoints to help with tokenization of customer's cards. HyperSwitch makes use of an external service which helps tokenize the card and makes it usable within HS ecosystem. Once tokenized, these cards can be used in a PG agnostic ... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 2e0d57d977e..45ff3e1f567 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -6974,6 +6974,90 @@
"Maestro"
]
},
+ "CardNetworkTokenizeRequest": {
+ "a... | 2025-01-20T02:15:44Z |
## Description
This PR introduces below changes
- Exposes two endpoints for
- Single card tokenization
- Tokenizing raw card details with the network
- Tokenizing an existing payment method in HS with the network (card only)
- Bulk tokenization
- Tokenizing using raw card detai... | b71571d16ca4553e1c7eca17f00df24945479638 | <details>
<summary>1. Tokenize using raw card details</summary>
cURL
curl --location --request POST 'http://localhost:8080/payment_methods/tokenize-card' \
--header 'Content-Type: application/json' \
--header 'api-key: test_admin' \
--data '{
"card": {
... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/payment_methods.rs",
"crates/hyperswitch_domain_models/src/bulk_tokenization.rs",
"crates/hyperswitch_domain_models/src/lib.rs",
"crates/hyperswitch_domain_models/src/network_tokenization.rs",
"crates/hyperswitch_domain_models/src/payment_method... | |
juspay/hyperswitch | juspay__hyperswitch-7142 | Bug: [BUG] Deutschebank Payment Method Card not appearing in Dashboard
### Bug Description
In Dashboard, card payment method is not appearing for Deutschebank Connector.
### Expected Behavior
In Dashboard, card payment method should appear for Deutschebank Connector.
### Actual Behavior
In Dashboard, card payme... | diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml
index 2ab348d5dd5..190114fee3a 100644
--- a/crates/connector_configs/toml/development.toml
+++ b/crates/connector_configs/toml/development.toml
@@ -1408,6 +1408,14 @@ api_secret="Shared Secret"
[deutschebank]
... | 2025-01-17T11:13:19Z |
## Description
<!-- Describe your changes in detail -->
Added support for Debit Card payments for deutschebank and upgraded the toml files for deutschebank card payments to be available on dashboard.
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an ope... | 55bb284ba063dc84e80b4f0d83c82ec7c30ad4c5 |
**Cypress Tests**
**1. No3DSManualCapture**

**2. 3DSAutoCapture**

**3. 3DSManualCapture**
;
... | 2025-01-16T10:01:49Z |
## Description
<!-- Describe your changes in detail -->
- Add a fallback for Redis gets with prefix
- Add a Domain type for Redis for the correctness of adding a prefix
## 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... | 3fdc41e6c946609461db6b5459e10e6351694d4c |
** THIS CANNOT BE TESTED ON HIGHER ENVIRONMENTS **
| [
"crates/drainer/src/health_check.rs",
"crates/drainer/src/stream.rs",
"crates/redis_interface/Cargo.toml",
"crates/redis_interface/src/commands.rs",
"crates/redis_interface/src/types.rs",
"crates/router/src/core/api_locking.rs",
"crates/router/src/core/health_check.rs",
"crates/router/src/core/payment... | |
juspay/hyperswitch | juspay__hyperswitch-7037 | Bug: feat(router): Unify Auth in single layer (V2)
In-efficiency in design
* Currently we have many types of auth and auth is evaluated in multiple places, with multiple ways.
* This indeed required multiple approaches and solution needs to be maintained
* More cognitive load
* We can’t authenticate a request ... | diff --git a/api-reference-v2/openapi_spec.json b/api-reference-v2/openapi_spec.json
index 041cae13ca6..0be5dd8ec2b 100644
--- a/api-reference-v2/openapi_spec.json
+++ b/api-reference-v2/openapi_spec.json
@@ -6705,6 +6705,42 @@
}
}
},
+ "ClientSecretResponse": {
+ "type": "object"... | 2025-01-15T07:11:21Z |
## Description
<!-- Describe your changes in detail -->
Added an enum `V2Auth` (name subject to change) to encapsulate different authentication scenarios. Currently only works for Client Authentication using `publishable_key` and `ephemeral_key` in `Authorization` header
## Motivation and Context
<!--
Why is t... | afcf1ef56bf61b84bd9d1070a22964ae4c08c5fc |
1a. Payment method intent create request:
```bash
curl --location 'http://localhost:8080/v2/payment-methods/create-intent' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-Profile-Id: pro_hOlRnOdewwhXSV9l7TJJ' \
--header 'api-key: dev_XLbxcbVTqGoxcd8rVlt48b0Qhb... | [
"api-reference-v2/openapi_spec.json",
"crates/api_models/src/ephemeral_key.rs",
"crates/api_models/src/events/payment.rs",
"crates/api_models/src/payment_methods.rs",
"crates/api_models/src/payments.rs",
"crates/api_models/src/webhooks.rs",
"crates/common_utils/src/events.rs",
"crates/common_utils/src... | |
juspay/hyperswitch | juspay__hyperswitch-7033 | Bug: refactor(RouterData): Add customer email and brower Information
Refactoring RouterData for v2.
Refactored customer email and browser information fields. | diff --git a/crates/hyperswitch_domain_models/src/router_request_types.rs b/crates/hyperswitch_domain_models/src/router_request_types.rs
index 2517559e2fc..2f8594662eb 100644
--- a/crates/hyperswitch_domain_models/src/router_request_types.rs
+++ b/crates/hyperswitch_domain_models/src/router_request_types.rs
@@ -491,6 +... | 2025-01-13T10:01:16Z |
## Description
Refactored customer email and browser information in router data
## 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... | 1d993055d221eba72c81e3ba0c0b0e6a7e1313a0 |
- Confirm Intent API Call for trustpay connector.
```
curl --location 'http://localhost:8080/v2/payments/12345_pay_01945e865f697553bbf0eb847611cfcd/confirm-intent' \
--header 'x-client-secret: 1secret-client-secret' \
--header 'x-profile-id: pro_id' \
--header 'Content-Type: application/json' \
--header 'api-ke... | [
"crates/hyperswitch_domain_models/src/router_request_types.rs",
"crates/router/src/core/payments/transformers.rs"
] | |
juspay/hyperswitch | juspay__hyperswitch-7049 | Bug: refactor(euclid): update proto file for elimination routing
| diff --git a/proto/elimination_rate.proto b/proto/elimination_rate.proto
index c5f10597ade..d585dd2494b 100644
--- a/proto/elimination_rate.proto
+++ b/proto/elimination_rate.proto
@@ -28,8 +28,17 @@ message EliminationResponse {
message LabelWithStatus {
string label = 1;
- bool is_eliminated = 2;
- str... | 2025-01-13T08:39:40Z |
## Description
<!-- Describe your changes in detail -->
This will update the proto file for elimination routing to include the global rates. This is basically done in order to keep the proto file upto-date with dynamic routing service.
## Motivation and Context
<!--
Why is this change required? What problem do... | 7fd3551afd7122ed28fe5532639e4a256863de6b |
Testing isn't required as this is only env change
| [
"proto/elimination_rate.proto"
] | |
juspay/hyperswitch | juspay__hyperswitch-7040 | Bug: chore: Update readme with juspay's vision, product offering, architecture diagram, setup steps and output
| diff --git a/README.md b/README.md
index 10fdb6afc76..c09176b172a 100644
--- a/README.md
+++ b/README.md
@@ -3,22 +3,11 @@
<img src="./docs/imgs/hyperswitch-logo-light.svg#gh-light-mode-only" alt="Hyperswitch-Logo" width="40%" />
</p>
-<h1 align="center">The open-source payments switch</h1>
+<h1 align="center">Op... | 2025-01-10T11:26:08Z |
## Description
<!-- Describe your changes in detail -->
Update readme with vision, product offering, architecture diagram, setup steps and output
## 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 ha... | 7b306a9015a55b573731414c210d4c684c802f7a | [
"README.md"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.