prompt
stringlengths 6
90.9k
| response
stringlengths 121
18.6k
| metadata
stringlengths 314
42.3k
|
|---|---|---|
1) Added a new CaptureMethod : SequentialAutomatic -> does Auth and capture in two api calls one after the other
1. **For Paybox**:
- If the payment is a Customer-Initiated Transaction (CIT), two API calls will be made:
- First for Authorization (`Auth`)
- Followed by Capture (`Capture`)
- For all other payment types, `SequentialAutomatic` will function the same as `Automatic`.
2. **For other connectors**:
- `SequentialAutomatic` will behave the same as `Automatic`.
https://docs.google.com/document/d/1pokpfrBJGVrHGcyeTkfArAxdIo2ZBR3jNefSj5qbG6E/edit?tab=t.0
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/router_response_types.rs`
**2. Core Business Logic**
- `crates/router/src/core/fraud_check/operation/fraud_check_post.rs`
- `crates/router/src/core/payments.rs`
- `crates/router/src/core/payments/flows.rs`
- ... and 5 more files
**3. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/airwallex.rs`
- `crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs`
- `crates/hyperswitch_connectors/src/connectors/bambora.rs`
- ... and 69 more files
**4. Type Definitions**
- `crates/router/src/types.rs`
**5. Other**
- `api-reference-v2/openapi_spec.json`
- `api-reference/openapi_spec.json`
- `crates/common_enums/src/enums.rs`
- ... and 3 more files
**Code Patterns Applied:**
- Implement new functions (14 changes)
- Extend existing types with new fields (97 changes)
- Add conditional logic for feature flags or filtering (7 changes)
- Modify database queries (3 changes)
**Detailed Identifier Changes:**
Commit e5dde6ac:
Files to modify:
**crates/common_enums/src/enums.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/airwallex.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bambora.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bamboraapac.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/billwerk.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/boku.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/cashtocode.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/coinbase.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/deutschebank.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/dlocal.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/elavon.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/fiserv.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/fiservemea.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/fiuu.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/forte.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/globepay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/gocardless.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/helcim.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/multisafepay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nexinets.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nexixpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/novalnet.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/payeezy.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/payu.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/powertranz.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/rapyd.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/shift4.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/square.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/stax.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/tsys.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldline.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/zsl.rs**
Modify existing code
**crates/hyperswitch_connectors/src/utils.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_response_types.rs**
Modify existing code
**crates/hyperswitch_interfaces/src/api.rs**
Modify existing code
**crates/router/src/connector/adyen.rs**
Modify existing code
**crates/router/src/connector/authorizedotnet.rs**
Modify existing code
**crates/router/src/connector/authorizedotnet/transformers.rs**
Modify existing code
**crates/router/src/connector/bankofamerica.rs**
Modify existing code
**crates/router/src/connector/bluesnap.rs**
Modify existing code
**crates/router/src/connector/braintree.rs**
Modify existing code
**crates/router/src/connector/checkout.rs**
Modify existing code
**crates/router/src/connector/checkout/transformers.rs**
Modify existing code
**crates/router/src/connector/cybersource.rs**
Modify existing code
**crates/router/src/connector/datatrans.rs**
Modify existing code
**crates/router/src/connector/dummyconnector.rs**
Modify existing code
**crates/router/src/connector/globalpay.rs**
Modify existing code
**crates/router/src/connector/klarna.rs**
Modify existing code
**crates/router/src/connector/nmi.rs**
Modify existing code
**crates/router/src/connector/noon.rs**
Modify existing code
**crates/router/src/connector/nuvei.rs**
Modify existing code
**crates/router/src/connector/opayo.rs**
Modify existing code
**crates/router/src/connector/paybox.rs**
Modify existing code
**crates/router/src/connector/paybox/transformers.rs**
Modify existing code
**crates/router/src/connector/payme.rs**
Modify existing code
**crates/router/src/connector/paypal.rs**
Modify existing code
**crates/router/src/connector/placetopay.rs**
Modify existing code
**crates/router/src/connector/stripe.rs**
Modify existing code
**crates/router/src/connector/stripe/transformers.rs**
Modify existing code
**crates/router/src/connector/utils.rs**
Modify existing code
**crates/router/src/connector/wellsfargo.rs**
Modify existing code
**crates/router/src/connector/wellsfargo/transformers.rs**
Modify existing code
**crates/router/src/core/fraud_check/operation/fraud_check_post.rs**
Modify existing code
**crates/router/src/core/payments.rs**
Modify existing code
**crates/router/src/core/payments/flows.rs**
Modify existing code
**crates/router/src/core/payments/flows/authorize_flow.rs**
Modify existing code
**crates/router/src/core/payments/flows/complete_authorize_flow.rs**
Modify existing code
**crates/router/src/core/payments/helpers.rs**
Modify existing code
**crates/router/src/core/payments/routing/transformers.rs**
Modify existing code
**crates/router/src/core/utils.rs**
Modify existing code
**crates/router/src/types.rs**
Modify existing code
|
{"pr_number": 6587, "pr_title": "feat(connector): Added a new CaptureMethod SequentialAutomatic to Support CIT Mandates for Paybox", "merged_at": "2024-12-05T14:03:43Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/router_response_types.rs"], "core_business": ["crates/router/src/core/fraud_check/operation/fraud_check_post.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/flows.rs", "crates/router/src/core/payments/flows/authorize_flow.rs", "crates/router/src/core/payments/flows/complete_authorize_flow.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/routing/transformers.rs", "crates/router/src/core/utils.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/airwallex.rs", "crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs", "crates/hyperswitch_connectors/src/connectors/bambora.rs", "crates/hyperswitch_connectors/src/connectors/bamboraapac.rs", "crates/hyperswitch_connectors/src/connectors/billwerk.rs", "crates/hyperswitch_connectors/src/connectors/boku.rs", "crates/hyperswitch_connectors/src/connectors/cashtocode.rs", "crates/hyperswitch_connectors/src/connectors/coinbase.rs", "crates/hyperswitch_connectors/src/connectors/deutschebank.rs", "crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs", "crates/hyperswitch_connectors/src/connectors/dlocal.rs", "crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs", "crates/hyperswitch_connectors/src/connectors/elavon.rs", "crates/hyperswitch_connectors/src/connectors/fiserv.rs", "crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs", "crates/hyperswitch_connectors/src/connectors/fiservemea.rs", "crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs", "crates/hyperswitch_connectors/src/connectors/fiuu.rs", "crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs", "crates/hyperswitch_connectors/src/connectors/forte.rs", "crates/hyperswitch_connectors/src/connectors/globepay.rs", "crates/hyperswitch_connectors/src/connectors/gocardless.rs", "crates/hyperswitch_connectors/src/connectors/helcim.rs", "crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs", "crates/hyperswitch_connectors/src/connectors/multisafepay.rs", "crates/hyperswitch_connectors/src/connectors/nexinets.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/novalnet.rs", "crates/hyperswitch_connectors/src/connectors/payeezy.rs", "crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs", "crates/hyperswitch_connectors/src/connectors/payu.rs", "crates/hyperswitch_connectors/src/connectors/powertranz.rs", "crates/hyperswitch_connectors/src/connectors/rapyd.rs", "crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs", "crates/hyperswitch_connectors/src/connectors/shift4.rs", "crates/hyperswitch_connectors/src/connectors/square.rs", "crates/hyperswitch_connectors/src/connectors/stax.rs", "crates/hyperswitch_connectors/src/connectors/tsys.rs", "crates/hyperswitch_connectors/src/connectors/worldline.rs", "crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs", "crates/hyperswitch_connectors/src/connectors/worldpay.rs", "crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/zsl.rs", "crates/hyperswitch_connectors/src/utils.rs", "crates/router/src/connector/adyen.rs", "crates/router/src/connector/authorizedotnet.rs", "crates/router/src/connector/authorizedotnet/transformers.rs", "crates/router/src/connector/bankofamerica.rs", "crates/router/src/connector/bluesnap.rs", "crates/router/src/connector/braintree.rs", "crates/router/src/connector/checkout.rs", "crates/router/src/connector/checkout/transformers.rs", "crates/router/src/connector/cybersource.rs", "crates/router/src/connector/datatrans.rs", "crates/router/src/connector/dummyconnector.rs", "crates/router/src/connector/globalpay.rs", "crates/router/src/connector/klarna.rs", "crates/router/src/connector/nmi.rs", "crates/router/src/connector/noon.rs", "crates/router/src/connector/nuvei.rs", "crates/router/src/connector/opayo.rs", "crates/router/src/connector/paybox.rs", "crates/router/src/connector/paybox/transformers.rs", "crates/router/src/connector/payme.rs", "crates/router/src/connector/paypal.rs", "crates/router/src/connector/placetopay.rs", "crates/router/src/connector/stripe.rs", "crates/router/src/connector/stripe/transformers.rs", "crates/router/src/connector/utils.rs", "crates/router/src/connector/wellsfargo.rs", "crates/router/src/connector/wellsfargo/transformers.rs"], "types": ["crates/router/src/types.rs"], "other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "crates/common_enums/src/enums.rs", "crates/hyperswitch_interfaces/src/api.rs", "migrations/2024-11-15-171347_add_capture_method_sequential_automatic/down.sql", "migrations/2024-11-15-171347_add_capture_method_sequential_automatic/up.sql"]}, "change_types": {"functions_added": 14, "fields_added": 97, "imports_added": 5, "conditionals_added": 7, "database_queries": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Implementing a retry logic for forex crate call with linear time increment in retry counter
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/currency.rs`
**2. Other**
- `crates/router/src/consts.rs`
**Code Patterns Applied:**
- Add conditional logic for feature flags or filtering (2 changes)
**Detailed Identifier Changes:**
Commit e93fce26:
Files to modify:
**crates/router/src/consts.rs**
Modify existing code
**crates/router/src/core/currency.rs**
Modify existing code
|
{"pr_number": 7280, "pr_title": "fix(analytics): retry implementation for forex crate call", "merged_at": "2025-03-20T14:26:48Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "token"]}, "hierarchy": {"core_business": ["crates/router/src/core/currency.rs"], "other": ["crates/router/src/consts.rs"]}, "change_types": {"imports_added": 1, "conditionals_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
This PR introduces a new JWT authenticated endpoint for listing unique webhook events for a profile. The endpoint URL is `/events/profile/list` and it will support only JWT authentication.
The profile ID and merchant ID will be extracted directly from JWT token. The router handler will call the existing `list_initial_delivery_attempts()` supporting other filtering constraints, same as in the existing endpoint.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Other**
- `api-reference-v2/openapi_spec.json`
- `api-reference/openapi_spec.json`
- `crates/openapi/src/openapi.rs`
- ... and 4 more files
**Code Patterns Applied:**
- Implement new functions (2 changes)
- Extend existing types with new fields (6 changes)
**Detailed Identifier Changes:**
Commit 70107990:
Files to modify:
**crates/openapi/src/openapi.rs**
Modify existing code
**crates/openapi/src/routes/webhook_events.rs**
Modify existing code
**crates/router/src/routes/app.rs**
Modify existing code
**crates/router/src/routes/webhook_events.rs**
Modify existing code
**crates/router/src/services/authorization/permissions.rs**
Modify existing code
|
{"pr_number": 7325, "pr_title": "refactor(webhook): add jwt authenticated endpoint to list unique webhook events for a profile", "merged_at": "2025-03-24T12:00:35Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "refund"]}, "hierarchy": {"other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "crates/openapi/src/openapi.rs", "crates/openapi/src/routes/webhook_events.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/webhook_events.rs", "crates/router/src/services/authorization/permissions.rs"]}, "change_types": {"functions_added": 2, "fields_added": 6}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
In this PR
1. We have implemented the CIT and MIT payments, only for - network transaction id flow
2. Completely refactored the status handling
3. Refactored Psync and Rsync flow.
Any payment operation triggered to Vantiv (if didn't cause an API failure) will be marked as pending initially and later payment status gets updated via sync calls.
Hotfix for https://github.com/juspay/hyperswitch/pull/8495
> Note: Psync after void will fail the payment - this is a known issue.
## How did you test it?
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->
<details>
<summary>MCA Create</summary>
```curl
curl --location 'http://localhost:8080/account/postman_merchant_GHAction_0e454918-80a7-4094-bcff-daa8e346b243/connectors' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_2HAFolGlYSsegZm3**********' \
--data '{
"connector_type": "payment_processor",
"connector_name": "worldpayvantiv",
"business_country": "US",
"business_label": "default",
"connector_account_details": {
"auth_type": "SignatureKey",
"api_key": "**************",
"key1": "**********",
"api_secret": "************"
},
"test_mode": false,
"disabled": false,
"payment_methods_enabled": [
{
"payment_method": "card",
"payment_method_types": [
{
"payment_method_type": "credit",
"minimum_amount": 1,
"maximum_amount": 68607706,
"recurring_enabled": true,
"installment_payment_enabled": true
}
]
},
{
"payment_method": "card",
"payment_method_types": [
{
"payment_method_type": "debit",
"minimum_amount": 1,
"maximum_amount": 68607706,
"recurring_enabled": true,
"installment_payment_enabled": true
}
]
},
{
"payment_method": "wallet",
"payment_method_types": [
{
"payment_method_type": "apple_pay",
"payment_experience": "invoke_sdk_client",
"minimum_amount": 1,
"maximum_amount": 68607706,
"recurring_enabled": true,
"installment_payment_enabled": true
}
]
},
{
"payment_method": "wallet",
"payment_method_types": [
{
"payment_method_type": "google_pay",
"payment_experience": "invoke_sdk_client",
"minimum_amount": 1,
"maximum_amount": 68607706,
"recurring_enabled": true,
"installment_payment_enabled": true
}
]
}
],
"metadata": {
"report_group" : "Hello",
"merchant_config_currency":"USD",
}
}'
```
Response
```
{"connector_type":"payment_processor","connector_name":"worldpayvantiv","connector_label":"worldpayvantiv_US_default","merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","connector_account_details":{"auth_type":"SignatureKey","api_key":"u8**************01","key1":"01*****81","api_secret":"qR***********Fr"},"payment_methods_enabled":[{"payment_method":"pay_later","payment_method_types":[{"payment_method_type":"affirm","payment_experience":"redirect_to_url","card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"pay_later","payment_method_types":[{"payment_method_type":"afterpay_clearpay","payment_experience":"redirect_to_url","card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"pay_later","payment_method_types":[{"payment_method_type":"klarna","payment_experience":"redirect_to_url","card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"pay_later","payment_method_types":[{"payment_method_type":"klarna","payment_experience":"invoke_sdk_client","card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"bank_redirect","payment_method_types":[{"payment_method_type":"ideal","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"bancontact_card","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"przelewy24","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"giropay","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"sofort","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"eps","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"bank_debit","payment_method_types":[{"payment_method_type":"ach","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"becs","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"sepa","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"bacs","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"bank_transfer","payment_method_types":[{"payment_method_type":"ach","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"bacs","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"sepa","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"card","payment_method_types":[{"payment_method_type":"credit","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"card","payment_method_types":[{"payment_method_type":"debit","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"wallet","payment_method_types":[{"payment_method_type":"apple_pay","payment_experience":"invoke_sdk_client","card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"wallet","payment_method_types":[{"payment_method_type":"google_pay","payment_experience":"invoke_sdk_client","card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]}],"connector_webhook_details":null,"metadata":{"google_pay":{"merchant_info":{"merchant_name":"Narayan Bhat"},"allowed_payment_methods":[{"type":"CARD","parameters":{"allowed_auth_methods":["PAN_ONLY","CRYPTOGRAM_3DS"],"allowed_card_networks":["AMEX","DISCOVER","INTERAC","JCB","MASTERCARD","VISA"]},"tokenization_specification":{"type":"PAYMENT_GATEWAY","parameters":{"gateway":"example","gateway_merchant_id":"{{gateway_merchant_id}}"}}}]},"report_group":"Hello","merchant_config_currency":"USD"},"test_mode":false,"disabled":false,"frm_configs":null,"business_country":"US","business_label":"default","business_sub_label":null,"applepay_verified_domains":null,"pm_auth_config":null,"status":"active","additional_merchant_data":null,"connector_wallets_details":null}
```
</details>
<details>
<summary> Mandates via NTI </summary>
0. Enable `is_connector_agnostic_mit_enabled` for your profile
1. Create a CIT with Vantiv
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' \
--data '{
"amount": 10,
"currency": "USD",
"confirm": true,
"description": "payments",
"connector": ["worldpayvantiv"],
"capture_method": "automatic",
"customer_id": "9ad5a4e4-80f1-494d-b081-8dc5497f0145",
"authentication_type": "no_three_ds",
"billing": {
"address": {
"line1": "1467",
"line2": "Harrison Street",
"line3": "Harrison Street",
"city": "San Fransico",
"state": "Ceutâ",
"zip": "94122",
"country": "AR",
"first_name": "joseph",
"last_name": "Doe"
}
},
"payment_method": "card",
"payment_method_type": "credit",
"payment_method_data": {
"card": {
"card_number": "4111111111111111",
"card_exp_month": "03",
"card_exp_year": "30",
"card_holder_name": "Joseph",
"card_cvc": "737"
}
},
"customer_acceptance": {
"acceptance_type": "online",
"accepted_at": "2025-03-27T13:56:49.848Z",
"online": {
"ip_address": null,
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3 Safari/605.1.15"
}
},
"setup_future_usage": "off_session",
"browser_info": {
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"language": "nl-NL",
"color_depth": 24,
"screen_height": 723,
"screen_width": 1536,
"time_zone": 0,
"java_enabled": true,
"java_script_enabled": true,
"ip_address": "13.232.74.226"
},
"metadata": {"report_group": "test"}
}'
```
Response
```
{"payment_id":"pay_2lKP1TDqbxFSb4LeKczw","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"processing","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":0,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_2lKP1TDqbxFSb4LeKczw_secret_kteL8nR3S6vFvyQ56mmG","created":"2025-06-30T09:47:06.353Z","currency":"USD","customer_id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","customer":{"id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":"off_session","off_session":null,"capture_on":null,"capture_method":"automatic","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"Ceutâ","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":{"customer_id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","created_at":1751276826,"expires":1751280426,"secret":"epk_32a625084c354731b59c7d3accac3b70"},"manual_retry_allowed":false,"connector_transaction_id":"83997095739360411","frm_message":null,"metadata":{"report_group":"test"},"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_2lKP1TDqbxFSb4LeKczw","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:02:06.353Z","fingerprint":null,"browser_info":{"language":"nl-NL","time_zone":0,"ip_address":"13.232.74.226","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36","color_depth":24,"java_enabled":true,"screen_width":1536,"accept_header":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","screen_height":723,"java_script_enabled":true},"payment_method_id":"pm_QH26P6o4MrXFv09GaAd7","payment_method_status":"inactive","updated":"2025-06-30T09:47:07.025Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null}
```
2. Do a Psync
```
curl --location 'http://localhost:8080/payments/pay_2lKP1TDqbxFSb4LeKczw?force_sync=true' \
--header 'Accept: application/json' \
--header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY'
```
Response
```
{"payment_id":"pay_2lKP1TDqbxFSb4LeKczw","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"succeeded","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":0,"amount_received":10,"connector":"worldpayvantiv","client_secret":"pay_2lKP1TDqbxFSb4LeKczw_secret_kteL8nR3S6vFvyQ56mmG","created":"2025-06-30T09:47:06.353Z","currency":"USD","customer_id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","customer":{"id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":"off_session","off_session":null,"capture_on":null,"capture_method":"automatic","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"Ceutâ","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"83997095739360411","frm_message":null,"metadata":{"report_group":"test"},"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_2lKP1TDqbxFSb4LeKczw","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:02:06.353Z","fingerprint":null,"browser_info":{"language":"nl-NL","time_zone":0,"ip_address":"13.232.74.226","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36","color_depth":24,"java_enabled":true,"screen_width":1536,"accept_header":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","screen_height":723,"java_script_enabled":true},"payment_method_id":"pm_QH26P6o4MrXFv09GaAd7","payment_method_status":"inactive","updated":"2025-06-30T09:49:15.019Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null}
```
3. Do a MIT payment with the same connector
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' \
--data-raw '{
"amount": 6500,
"currency": "USD",
"confirm": true,
"capture_method": "automatic",
"capture_on": "2022-09-10T10:11:12Z",
"customer_id": "ce5eae6b-563b-4f58-bd58-903d633a5a66",
"email": "[email protected]",
"name": "John Doe",
"phone": "999999999",
"phone_country_code": "+65",
"description": "Its my first payment request",
"authentication_type": "no_three_ds",
"return_url": "https://hyperswitch.io",
"off_session": true,
"recurring_details": {
"type": "payment_method_id",
"data": "pm_QH26P6o4MrXFv09GaAd7"
},
"connector": [
"worldpayvantiv"
],
"statement_descriptor_name": "joseph",
"statement_descriptor_suffix": "JS",
"metadata": {
"udf1": "value1",
"new_customer": "true",
"login_date": "2019-09-10T10:11:12Z"
},
"browser_info": {
"ip_address": "129.0.0.1",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"language": "en-US",
"color_depth": 32,
"screen_height": 1117,
"screen_width": 1728,
"time_zone": -330,
"java_enabled": true,
"java_script_enabled": true
}
}'
```
Response
```
{"payment_id":"pay_hzqIaJUelieO3OkgacKN","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"processing","amount":6500,"net_amount":6500,"shipping_cost":null,"amount_capturable":0,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_hzqIaJUelieO3OkgacKN_secret_6fYRsNwF8UdKNSvquyY7","created":"2025-06-30T09:52:21.261Z","currency":"USD","customer_id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","customer":{"id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","name":"John Doe","email":"[email protected]","phone":"999999999","phone_country_code":"+65"},"description":"Its my first payment request","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":true,"capture_on":null,"capture_method":"automatic","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":null,"order_details":null,"email":"[email protected]","name":"John Doe","phone":"999999999","return_url":"https://hyperswitch.io/","authentication_type":"no_three_ds","statement_descriptor_name":"joseph","statement_descriptor_suffix":"JS","next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":{"customer_id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","created_at":1751277141,"expires":1751280741,"secret":"epk_676600b403cd43be8c4b57c7d96faafd"},"manual_retry_allowed":false,"connector_transaction_id":"84085052987747238","frm_message":null,"metadata":{"udf1":"value1","login_date":"2019-09-10T10:11:12Z","new_customer":"true"},"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_hzqIaJUelieO3OkgacKN","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:07:21.261Z","fingerprint":null,"browser_info":{"language":"en-US","time_zone":-330,"ip_address":"129.0.0.1","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","color_depth":32,"java_enabled":true,"screen_width":1728,"accept_header":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","screen_height":1117,"java_script_enabled":true},"payment_method_id":"pm_QH26P6o4MrXFv09GaAd7","payment_method_status":"active","updated":"2025-06-30T09:52:23.739Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"saved_card","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null}
```
6. Do a Psync
```
curl --location 'http://localhost:8080/payments/pay_hzqIaJUelieO3OkgacKN?force_sync=true' \
--header 'Accept: application/json' \
--header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY'
```
response
```
{"payment_id":"pay_hzqIaJUelieO3OkgacKN","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"succeeded","amount":6500,"net_amount":6500,"shipping_cost":null,"amount_capturable":0,"amount_received":6500,"connector":"worldpayvantiv","client_secret":"pay_hzqIaJUelieO3OkgacKN_secret_6fYRsNwF8UdKNSvquyY7","created":"2025-06-30T09:52:21.261Z","currency":"USD","customer_id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","customer":{"id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","name":"John Doe","email":"[email protected]","phone":"999999999","phone_country_code":"+65"},"description":"Its my first payment request","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":true,"capture_on":null,"capture_method":"automatic","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"Ceutâ","first_name":"Joseph","last_name":null},"phone":null,"email":null}},"payment_token":null,"shipping":null,"billing":null,"order_details":null,"email":"[email protected]","name":"John Doe","phone":"999999999","return_url":"https://hyperswitch.io/","authentication_type":"no_three_ds","statement_descriptor_name":"joseph","statement_descriptor_suffix":"JS","next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"84085052987747238","frm_message":null,"metadata":{"udf1":"value1","login_date":"2019-09-10T10:11:12Z","new_customer":"true"},"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_hzqIaJUelieO3OkgacKN","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:07:21.261Z","fingerprint":null,"browser_info":{"language":"en-US","time_zone":-330,"ip_address":"129.0.0.1","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","color_depth":32,"java_enabled":true,"screen_width":1728,"accept_header":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","screen_height":1117,"java_script_enabled":true},"payment_method_id":"pm_QH26P6o4MrXFv09GaAd7","payment_method_status":"active","updated":"2025-06-30T09:53:49.963Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"saved_card","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null}
```
</details>
<details>
<summary> Manual + Refund </summary>
1. Create a manual payment
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' \
--data '{
"amount": 10,
"currency": "USD",
"confirm": true,
"description": "payments",
"connector": ["worldpayvantiv"],
"capture_method": "manual",
"customer_id": "082c2d86-e9e2-481a-bd7e-1bd2e86575ba",
"authentication_type": "no_three_ds",
"billing": {
"address": {
"line1": "1467",
"line2": "Harrison Street",
"line3": "Harrison Street",
"city": "San Fransico",
"state": "Ceutâ",
"zip": "94122",
"country": "AR",
"first_name": "joseph",
"last_name": "Doe"
}
},
"payment_method": "card",
"payment_method_type": "credit",
"payment_method_data": {
"card": {
"card_number": "4111111111111111",
"card_exp_month": "03",
"card_exp_year": "30",
"card_holder_name": "Joseph",
"card_cvc": "737"
}
}
}'
```
Response
```
{"payment_id":"pay_uKMQNl7N9wfLvmtq7oJZ","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"processing","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":10,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_uKMQNl7N9wfLvmtq7oJZ_secret_YqGIoiSGvX5aCT0GAM3F","created":"2025-06-30T09:57:16.636Z","currency":"USD","customer_id":"43dbe83d-b75c-496d-a546-59ce2c963322","customer":{"id":"43dbe83d-b75c-496d-a546-59ce2c963322","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"manual","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"Ceutâ","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":{"customer_id":"43dbe83d-b75c-496d-a546-59ce2c963322","created_at":1751277436,"expires":1751281036,"secret":"epk_456b8bb12f6b4a0a8019c6745dc3e615"},"manual_retry_allowed":false,"connector_transaction_id":"83997095739384098","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_uKMQNl7N9wfLvmtq7oJZ","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:12:16.636Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-06-30T09:57:18.185Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null}
```
2. Call Psync
```
curl --location 'http://localhost:8080/payments/pay_uKMQNl7N9wfLvmtq7oJZ?force_sync=true' \
--header 'Accept: application/json' \
--header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY'
```
Response
```
{"payment_id":"pay_uKMQNl7N9wfLvmtq7oJZ","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"requires_capture","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":10,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_uKMQNl7N9wfLvmtq7oJZ_secret_YqGIoiSGvX5aCT0GAM3F","created":"2025-06-30T09:57:16.636Z","currency":"USD","customer_id":"43dbe83d-b75c-496d-a546-59ce2c963322","customer":{"id":"43dbe83d-b75c-496d-a546-59ce2c963322","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"manual","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"Ceutâ","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"83997095739384098","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_uKMQNl7N9wfLvmtq7oJZ","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:12:16.636Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-06-30T09:58:32.411Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null}
```
3. Capture
```
curl --location 'http://localhost:8080/payments/pay_uKMQNl7N9wfLvmtq7oJZ/capture' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' \
--data '{
"amount_to_capture": 10,
"statement_descriptor_name": "Joseph",
"statement_descriptor_suffix": "JS"
}'
```
Response
```
{"payment_id":"pay_uKMQNl7N9wfLvmtq7oJZ","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"processing","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":10,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_uKMQNl7N9wfLvmtq7oJZ_secret_YqGIoiSGvX5aCT0GAM3F","created":"2025-06-30T09:57:16.636Z","currency":"USD","customer_id":"43dbe83d-b75c-496d-a546-59ce2c963322","customer":{"id":"43dbe83d-b75c-496d-a546-59ce2c963322","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"manual","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"Ceutâ","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"83997095739385384","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_uKMQNl7N9wfLvmtq7oJZ","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:12:16.636Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-06-30T09:59:22.847Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null}
```
4. Call Psync
```
curl --location 'http://localhost:8080/payments/pay_uKMQNl7N9wfLvmtq7oJZ?force_sync=true' \
--header 'Accept: application/json' \
--header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY'
```
Response
```
{"payment_id":"pay_uKMQNl7N9wfLvmtq7oJZ","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"succeeded","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":0,"amount_received":10,"connector":"worldpayvantiv","client_secret":"pay_uKMQNl7N9wfLvmtq7oJZ_secret_YqGIoiSGvX5aCT0GAM3F","created":"2025-06-30T09:57:16.636Z","currency":"USD","customer_id":"43dbe83d-b75c-496d-a546-59ce2c963322","customer":{"id":"43dbe83d-b75c-496d-a546-59ce2c963322","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"manual","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"Ceutâ","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"83997095739385384","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_uKMQNl7N9wfLvmtq7oJZ","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:12:16.636Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-06-30T10:00:09.795Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null}
```
5. Create a refund
```
curl --location 'http://localhost:8080/refunds' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' \
--data '{
"payment_id": "pay_uKMQNl7N9wfLvmtq7oJZ",
"amount": 10,
"reason": "Customer returned product",
"refund_type": "instant",
"metadata": {
"udf1": "value1",
"new_customer": "true",
"login_date": "2019-09-10T10:11:12Z"
},
"split_refunds": {
"stripe_split_refund": {
"revert_platform_fee": true,
"revert_transfer": true
}
}
}'
```
Response
```
{"refund_id":"ref_ONP0iAUqRWqq6v7gSGWS","payment_id":"pay_uKMQNl7N9wfLvmtq7oJZ","amount":10,"currency":"USD","status":"pending","reason":"Customer returned product","metadata":{"udf1":"value1","new_customer":"true","login_date":"2019-09-10T10:11:12Z"},"error_message":null,"error_code":null,"unified_code":null,"unified_message":null,"created_at":"2025-06-30T10:01:00.032Z","updated_at":"2025-06-30T10:01:01.059Z","connector":"worldpayvantiv","profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","split_refunds":{"stripe_split_refund":{"revert_platform_fee":true,"revert_transfer":true}},"issuer_error_code":null,"issuer_error_message":null}
```
6. Call Rsync
```
{"refund_id":"ref_ONP0iAUqRWqq6v7gSGWS","payment_id":"pay_uKMQNl7N9wfLvmtq7oJZ","amount":10,"currency":"USD","status":"pending","reason":"Customer returned product","metadata":{"udf1":"value1","new_customer":"true","login_date":"2019-09-10T10:11:12Z"},"error_message":null,"error_code":null,"unified_code":null,"unified_message":null,"created_at":"2025-06-30T10:01:00.032Z","updated_at":"2025-06-30T10:01:01.059Z","connector":"worldpayvantiv","profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","split_refunds":{"stripe_split_refund":{"revert_platform_fee":true,"revert_transfer":true}},"issuer_error_code":null,"issuer_error_message":null}
```
Response
```
{"refund_id":"ref_ONP0iAUqRWqq6v7gSGWS","payment_id":"pay_uKMQNl7N9wfLvmtq7oJZ","amount":10,"currency":"USD","status":"succeeded","reason":"Customer returned product","metadata":{"udf1":"value1","new_customer":"true","login_date":"2019-09-10T10:11:12Z"},"error_message":null,"error_code":null,"unified_code":null,"unified_message":null,"created_at":"2025-06-30T10:01:00.032Z","updated_at":"2025-06-30T10:02:07.545Z","connector":"worldpayvantiv","profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","split_refunds":{"stripe_split_refund":{"revert_platform_fee":true,"revert_transfer":true}},"issuer_error_code":null,"issuer_error_message":null}
```
</details>
<details>
<summary>Void</summary>
1. Create a manual payment with vantiv
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' \
--data '{
"amount": 10,
"currency": "USD",
"confirm": true,
"description": "payments",
"connector": ["worldpayvantiv"],
"capture_method": "manual",
"customer_id": "fb640a0d-6001-4d8d-9f8d-c7365092fbb2",
"authentication_type": "no_three_ds",
"billing": {
"address": {
"line1": "1467",
"line2": "Harrison Street",
"line3": "Harrison Street",
"city": "San Fransico",
"state": "Ceutâ",
"zip": "94122",
"country": "AR",
"first_name": "joseph",
"last_name": "Doe"
}
},
"payment_method": "card",
"payment_method_type": "credit",
"payment_method_data": {
"card": {
"card_number": "4111111111111111",
"card_exp_month": "03",
"card_exp_year": "30",
"card_holder_name": "Joseph",
"card_cvc": "737"
}
}
}'
```
Response
```
{"payment_id":"pay_VYvdUN8QOKzzMYsJjsbL","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"processing","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":10,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_VYvdUN8QOKzzMYsJjsbL_secret_PithWrAcFr0e4Kb3YBxW","created":"2025-06-30T10:05:18.411Z","currency":"USD","customer_id":"cd60638a-b1ee-420c-87e2-84a0cb417315","customer":{"id":"cd60638a-b1ee-420c-87e2-84a0cb417315","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"manual","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"Ceutâ","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":{"customer_id":"cd60638a-b1ee-420c-87e2-84a0cb417315","created_at":1751277918,"expires":1751281518,"secret":"epk_b1782ed082fc40a7b7c1a3580dc68f8e"},"manual_retry_allowed":false,"connector_transaction_id":"83997095871395696","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_VYvdUN8QOKzzMYsJjsbL","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:20:18.411Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-06-30T10:05:20.952Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null}
```
2. Call Psync
```
curl --location 'http://localhost:8080/payments/pay_VYvdUN8QOKzzMYsJjsbL?force_sync=true' \
--header 'Accept: application/json' \
--header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY'
```
Response
```
{"payment_id":"pay_VYvdUN8QOKzzMYsJjsbL","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"requires_capture","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":10,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_VYvdUN8QOKzzMYsJjsbL_secret_PithWrAcFr0e4Kb3YBxW","created":"2025-06-30T10:05:18.411Z","currency":"USD","customer_id":"cd60638a-b1ee-420c-87e2-84a0cb417315","customer":{"id":"cd60638a-b1ee-420c-87e2-84a0cb417315","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"manual","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"Ceutâ","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"83997095871395696","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_VYvdUN8QOKzzMYsJjsbL","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:20:18.411Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-06-30T10:06:19.219Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null}
```
3. Void the payment
```
curl --location 'http://localhost:8080/payments/pay_VYvdUN8QOKzzMYsJjsbL/cancel' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' \
--data '{"cancellation_reason":"requested_by_customer"}'
```
Response
```
{"payment_id":"pay_VYvdUN8QOKzzMYsJjsbL","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"processing","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":0,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_VYvdUN8QOKzzMYsJjsbL_secret_PithWrAcFr0e4Kb3YBxW","created":"2025-06-30T10:05:18.411Z","currency":"USD","customer_id":"cd60638a-b1ee-420c-87e2-84a0cb417315","customer":{"id":"cd60638a-b1ee-420c-87e2-84a0cb417315","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"manual","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"Ceutâ","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":"requested_by_customer","error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"84085053114454037","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_VYvdUN8QOKzzMYsJjsbL","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:20:18.411Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-06-30T10:07:15.673Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null}
```
## Checklist
<!-- Put an `x` in the boxes that apply -->
- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
|
To implement this **payment** feature, you'll need to modify these architectural layers:
**1. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/configs.rs`
**2. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs`
- `crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs`
**3. Tests**
- `config/deployments/integration_test.toml`
- `loadtest/config/development.toml`
**4. Configuration Files**
- `config/config.example.toml`
- `config/deployments/production.toml`
- `config/deployments/sandbox.toml`
- ... and 2 more files
**Code Patterns Applied:**
- Define new data structures (3 changes)
- Implement new functions (7 changes)
- Extend existing types with new fields (122 changes)
- Add conditional logic for feature flags or filtering (4 changes)
**Detailed Identifier Changes:**
Commit 699cead9:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/configs.rs**
Modify existing code
|
{"pr_number": 8528, "pr_title": "feat(connectors): [Worldpayvantiv] add NTI flow and refactor sync flows", "merged_at": "2025-07-02T10:16:30Z", "intent": {"feature_type": "payment", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/configs.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs", "crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml"]}, "change_types": {"structs_added": 3, "functions_added": 7, "enums_added": 2, "fields_added": 122, "imports_added": 5, "conditionals_added": 4}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
add three_ds decision rule execute api
This pull request introduces a new feature for executing 3DS decision rules, along with supporting changes across multiple modules. The changes include adding new structures for handling 3DS decision rule inputs and outputs, integrating these structures into the backend and frontend systems, and updating associated tests and documentation.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/lib.rs`
- `crates/api_models/src/three_ds_decision_rule.rs`
**2. Core Business Logic**
- `crates/router/src/core.rs`
- `crates/router/src/core/payments/routing.rs`
- `crates/router/src/core/three_ds_decision_rule.rs`
- ... and 1 more files
**3. Type Definitions**
- `crates/common_types/src/three_ds_decision_rule_engine.rs`
- `crates/euclid/src/backend/vir_interpreter/types.rs`
- `crates/router_env/src/logger/types.rs`
**4. Utils**
- `crates/common_utils/src/events.rs`
- `crates/router/src/routes/lock_utils.rs`
**5. Configuration Files**
- `crates/openapi/Cargo.toml`
**6. Other**
- `Cargo.lock`
- `api-reference/api-reference/3ds-decision-rule/execute-a-3ds-decision-rule-based-on-the-provided-input.mdx`
- `api-reference/mint.json`
- ... and 16 more files
**Code Patterns Applied:**
- Define new data structures (12 changes)
- Implement new functions (16 changes)
- Extend existing types with new fields (126 changes)
- Add conditional logic for feature flags or filtering (9 changes)
- Modify database queries (2 changes)
**Detailed Identifier Changes:**
Commit e90a95de:
Files to modify:
**crates/api_models/src/lib.rs**
Modify existing code
**crates/api_models/src/three_ds_decision_rule.rs**
Modify existing code
**crates/common_enums/src/enums.rs**
Modify existing code
**crates/common_types/src/three_ds_decision_rule_engine.rs**
Modify existing code
**crates/common_utils/src/events.rs**
Modify existing code
**crates/euclid/benches/backends.rs**
Modify existing code
**crates/euclid/src/backend.rs**
Modify existing code
**crates/euclid/src/backend/inputs.rs**
Modify existing code
**crates/euclid/src/backend/vir_interpreter.rs**
Modify existing code
**crates/euclid/src/backend/vir_interpreter/types.rs**
Modify existing code
**crates/euclid/src/frontend/dir/enums.rs**
Modify existing code
**crates/euclid_wasm/src/lib.rs**
Modify existing code
**crates/openapi/src/openapi.rs**
Modify existing code
**crates/openapi/src/routes.rs**
Modify existing code
**crates/openapi/src/routes/three_ds_decision_rule.rs**
Modify existing code
**crates/router/src/consts.rs**
Modify existing code
**crates/router/src/core.rs**
Modify existing code
**crates/router/src/core/payments/routing.rs**
Modify existing code
**crates/router/src/core/three_ds_decision_rule.rs**
Modify existing code
**crates/router/src/core/three_ds_decision_rule/utils.rs**
Modify existing code
**crates/router/src/lib.rs**
Modify existing code
**crates/router/src/routes.rs**
Modify existing code
**crates/router/src/routes/app.rs**
Modify existing code
**crates/router/src/routes/lock_utils.rs**
Modify existing code
**crates/router/src/routes/three_ds_decision_rule.rs**
Modify existing code
**crates/router_env/src/logger/types.rs**
Modify existing code
|
{"pr_number": 8148, "pr_title": "feat(router): add three_ds decision rule execute api", "merged_at": "2025-06-06T16:52:13Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "user"]}, "hierarchy": {"api_models": ["crates/api_models/src/lib.rs", "crates/api_models/src/three_ds_decision_rule.rs"], "core_business": ["crates/router/src/core.rs", "crates/router/src/core/payments/routing.rs", "crates/router/src/core/three_ds_decision_rule.rs", "crates/router/src/core/three_ds_decision_rule/utils.rs"], "types": ["crates/common_types/src/three_ds_decision_rule_engine.rs", "crates/euclid/src/backend/vir_interpreter/types.rs", "crates/router_env/src/logger/types.rs"], "utils": ["crates/common_utils/src/events.rs", "crates/router/src/routes/lock_utils.rs"], "config": ["crates/openapi/Cargo.toml"], "other": ["Cargo.lock", "api-reference/api-reference/3ds-decision-rule/execute-a-3ds-decision-rule-based-on-the-provided-input.mdx", "api-reference/mint.json", "api-reference/openapi_spec.json", "crates/common_enums/src/enums.rs", "crates/euclid/benches/backends.rs", "crates/euclid/src/backend.rs", "crates/euclid/src/backend/inputs.rs", "crates/euclid/src/backend/vir_interpreter.rs", "crates/euclid/src/frontend/dir/enums.rs", "crates/euclid_wasm/src/lib.rs", "crates/openapi/src/openapi.rs", "crates/openapi/src/routes.rs", "crates/openapi/src/routes/three_ds_decision_rule.rs", "crates/router/src/consts.rs", "crates/router/src/lib.rs", "crates/router/src/routes.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/three_ds_decision_rule.rs"]}, "change_types": {"structs_added": 12, "functions_added": 16, "fields_added": 126, "imports_added": 20, "conditionals_added": 9, "database_queries": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
If the business profile does not have a country set, we cannot perform debit routing, because the merchant_business_country will be treated as the acquirer_country, which is used to determine whether a transaction is local or global in the open router. For now, since debit routing is only implemented for USD, we can safely assume the acquirer_country is US if not provided by the merchant.
Main branch pr https://github.com/juspay/hyperswitch/pull/8141
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/debit_routing.rs`
**Code Patterns Applied:**
- Add conditional logic for feature flags or filtering (2 changes)
|
{"pr_number": 8162, "pr_title": "refactor(debit_routing): Handle missing merchant_business_country by defaulting to US", "merged_at": "2025-05-28T07:10:06Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["merchant", "transaction"]}, "hierarchy": {"core_business": ["crates/router/src/core/debit_routing.rs"]}, "change_types": {"conditionals_added": 2}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
This PR introduces multiple fixes for Cypress V2 at framework level. The fixes include:
- When Error is thrown, we would usually get `undefined` instead of valid error message. This [commit](https://github.com/juspay/hyperswitch/commit/3fdcbdbee3e45f2122135f024dec65c255c5a4f0) fixes that
- [Generate Organization names based on UUID](https://github.com/juspay/hyperswitch/commit/a006eee594f8f4466b56ec5b504fef1270144f5d)
- [Fix the MCA create call containing metadata](https://github.com/juspay/hyperswitch/commit/e3bc7c76f8a8a330f3aa95aa899bcb7164f14076)
- Refactoring
- Move `key_id` validations to a separate function to reduce duplicate code. Refer [here](https://github.com/juspay/hyperswitch/commit/413bfeb3932d0f24cfc36cdaba84a714ff444ba4) and [here](https://github.com/juspay/hyperswitch/commit/75c6e9bca50dcb96489cadbaf9f9f2b31bf973a8)
- [Move `isoTimeTomorrow` to RequestBodyUtils](https://github.com/juspay/hyperswitch/commit/0f815b5f43c914a2ffe8e93253d525ca409b9ba0)
- [Introduce Payment files](https://github.com/juspay/hyperswitch/commit/5eed97e1990bbeb503655973657ca8ee53d9353b)
- These files in here are empty but contain only structures
> [!IMPORTANT]
> It is recommended that the PR is reviewed based on commits instead of going through the file at a time
Payment tests have not been added, but only template example just to serve as a reference for devs working on v2 to fill in.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Utils**
- `cypress-tests-v2/cypress/utils/RequestBodyUtils.js`
**2. Tests**
- `cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js`
- `cypress-tests-v2/cypress/e2e/configs/Payment/_Reusable.js`
- `cypress-tests-v2/cypress/e2e/spec/Payment/0001-[No3DS]Payments.cy.js`
- ... and 5 more files
**Code Patterns Applied:**
- Extend existing types with new fields (16 changes)
- Add conditional logic for feature flags or filtering (8 changes)
|
{"pr_number": 6493, "pr_title": "ci(cypressV2): update cypress v2 framework to accommodate hyperswitch v2 changes", "merged_at": "2024-11-08T13:06:37Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user"]}, "hierarchy": {"utils": ["cypress-tests-v2/cypress/utils/RequestBodyUtils.js"], "tests": ["cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js", "cypress-tests-v2/cypress/e2e/configs/Payment/_Reusable.js", "cypress-tests-v2/cypress/e2e/spec/Payment/0001-[No3DS]Payments.cy.js", "cypress-tests-v2/cypress/e2e/spec/Payment/0002-[3DS]Payments.cy.js", "cypress-tests-v2/cypress/fixtures/organization.json", "cypress-tests-v2/cypress/support/commands.js", "cypress-tests-v2/package-lock.json", "cypress-tests-v2/package.json"]}, "change_types": {"fields_added": 16, "conditionals_added": 8}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
Changed readme content to make it lean and easier for Contributor to consume content
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Other**
- `README.md`
|
{"pr_number": 6306, "pr_title": "docs: simplify README", "merged_at": "2024-10-16T09:34:00Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"other": ["README.md"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
update env for network tokenization service with webhook source verification key
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/payments/tokenization.rs`
**2. Type Definitions**
- `crates/common_types/src/callback_mapper.rs`
**3. Configuration Files**
- `config/config.example.toml`
- `config/deployments/env_specific.toml`
**4. Other**
- `crates/common_enums/src/enums.rs`
|
{"pr_number": 8472, "pr_title": "fix(env): update env for network tokenization service", "merged_at": "2025-06-27T10:30:48Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["webhook", "token"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments/tokenization.rs"], "types": ["crates/common_types/src/callback_mapper.rs"], "config": ["config/config.example.toml", "config/deployments/env_specific.toml"], "other": ["crates/common_enums/src/enums.rs"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
This change updates the idempotent_event_id generation to first hash the base string with SHA256 and then encode it using URL-safe Base64 without padding. By doing this, the generated IDs are guaranteed to be short and deterministic, ensuring they always fit within the 64-character database column limit. This fix addresses the issue where long payment_ids combined with event types were exceeding the DB constraint and breaking the outgoing webhooks flow.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/errors.rs`
- `crates/router/src/core/webhooks/outgoing.rs`
- `crates/router/src/core/webhooks/outgoing_v2.rs`
- ... and 2 more files
**2. Utils**
- `crates/common_utils/src/consts.rs`
**3. Other**
- `crates/router/src/workflows/outgoing_webhook_retry.rs`
**Code Patterns Applied:**
**Detailed Identifier Changes:**
Commit 0c38bc3d:
Files to modify:
**crates/common_utils/src/consts.rs**
Modify existing code
**crates/router/src/core/errors.rs**
Modify existing code
**crates/router/src/core/webhooks/outgoing.rs**
Modify existing code
**crates/router/src/core/webhooks/outgoing_v2.rs**
Modify existing code
**crates/router/src/core/webhooks/utils.rs**
Modify existing code
**crates/router/src/core/webhooks/webhook_events.rs**
Modify existing code
**crates/router/src/workflows/outgoing_webhook_retry.rs**
Modify existing code
|
{"pr_number": 9405, "pr_title": "fix(webhooks): add idempotent_event_id generation using URL-safe Base64 (no padding) and SHA256 digest", "merged_at": "2025-09-22T08:30:21Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"core_business": ["crates/router/src/core/errors.rs", "crates/router/src/core/webhooks/outgoing.rs", "crates/router/src/core/webhooks/outgoing_v2.rs", "crates/router/src/core/webhooks/utils.rs", "crates/router/src/core/webhooks/webhook_events.rs"], "utils": ["crates/common_utils/src/consts.rs"], "other": ["crates/router/src/workflows/outgoing_webhook_retry.rs"]}, "change_types": {"imports_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Since schema for both v1 and v2 can be unified, it paves way for a new bug.
In v1, while querying a record with a column that is common for both v1 and v2, the query may retrieve list of records belonging to both v1 and v2.
Now v1 application will be able to deserialise v1 records in the list without any problems. But v2 records would have few v1 required fields as null. This records will not be deserialized by the v1 application.
For example:
Lets say an orgnization has both v1 and v2 merchants.
Lets do merchant list by organization_id in v1. This will fetch all v1 and v2 merchant_accounts from the DB. Since merchant_id column will not be populated in v2 records, it will cause deserialization failure.
Fix:
In order to fix this problem, for all filter DB queries in application, we will add `AND PRIMARY_KEY IS NOT NULL` along with existing where clause. This way v2 created records will not be fetched in v1 application.
This will also make sure list endpoint in v2 application won't fail when backfill is not made.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Database Layer (Queries & Schema)**
- `crates/diesel_models/src/query.rs`
- `crates/diesel_models/src/query/generics.rs`
- `crates/diesel_models/src/query/utils.rs`
**Code Patterns Applied:**
- Implement new functions (11 changes)
- Extend existing types with new fields (1 changes)
- Modify database queries (3 changes)
**Detailed Identifier Changes:**
Commit 8738f190:
Files to modify:
**crates/diesel_models/src/query.rs**
Modify existing code
**crates/diesel_models/src/query/generics.rs**
Modify existing code
**crates/diesel_models/src/query/utils.rs**
Modify existing code
|
{"pr_number": 7785, "pr_title": "feat: add primary key not null query to generic filter function", "merged_at": "2025-04-17T05:38:08Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"database": ["crates/diesel_models/src/query.rs", "crates/diesel_models/src/query/generics.rs", "crates/diesel_models/src/query/utils.rs"]}, "change_types": {"functions_added": 11, "fields_added": 1, "imports_added": 4, "database_queries": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
Hotfix for https://github.com/juspay/hyperswitch/pull/7993
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/payment_link/locale.js`
**2. Configuration Files**
- `crates/router/locales/en-GB.yml`
- `crates/router/locales/fr-BE.yml`
**3. Other**
- `crates/router/src/services/api/generic_link_response/context.rs`
**Code Patterns Applied:**
- Implement new functions (2 changes)
- Extend existing types with new fields (1 changes)
- Add conditional logic for feature flags or filtering (1 changes)
**Detailed Identifier Changes:**
Commit 82c2c3ef:
Files to modify:
**crates/router/src/services/api/generic_link_response/context.rs**
Modify existing code
|
{"pr_number": 8018, "pr_title": "fix(core): language consumption from locale in payment and payout links", "merged_at": "2025-05-13T11:44:37Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"core_business": ["crates/router/src/core/payment_link/locale.js"], "config": ["crates/router/locales/en-GB.yml", "crates/router/locales/fr-BE.yml"], "other": ["crates/router/src/services/api/generic_link_response/context.rs"]}, "change_types": {"functions_added": 2, "fields_added": 1, "imports_added": 1, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
1. Add NTID proxy support for nuvei. ( NOTE: Nuvei is not responding with NTID as of now hence we cant make ntid originated flow via nuvei to other connector. We are verifying NTID originated from other connector through nuvei. )
2. Extend mandate support for googlepay and applepay. ( decrypt flow only)
## test
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/nuvei.rs`
- `crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs`
**2. Tests**
- `config/deployments/integration_test.toml`
**3. Configuration Files**
- `config/deployments/production.toml`
- `config/deployments/sandbox.toml`
- `config/development.toml`
**Code Patterns Applied:**
- Define new data structures (1 changes)
- Implement new functions (7 changes)
- Extend existing types with new fields (81 changes)
**Detailed Identifier Changes:**
Commit a589e224:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/nuvei.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs**
Modify existing code
|
{"pr_number": 9081, "pr_title": "feat(nuvei): NTID Support + googlepay & applepay mandate support", "merged_at": "2025-08-29T13:21:26Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/nuvei.rs", "crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"], "tests": ["config/deployments/integration_test.toml"], "config": ["config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml"]}, "change_types": {"structs_added": 1, "functions_added": 7, "fields_added": 81, "imports_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
added wasm changes for juspayThreeds server metadata
## How did you test it?
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->
<img width="980" height="236" alt="Screenshot 2025-10-07 at 2 56 56 PM" src="https://github.com/user-attachments/assets/c4937bfb-f9b9-4881-9d18-55e7c8924d57" />
## Checklist
<!-- Put an `x` in the boxes that apply -->
- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
|
To implement this **connector_integration** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/connector_configs/toml/development.toml`
- `crates/connector_configs/toml/production.toml`
- `crates/connector_configs/toml/sandbox.toml`
|
{"pr_number": 9708, "pr_title": "fix(core): added wasm changes for juspayThreeds server metadata", "merged_at": "2025-10-08T07:16:28Z", "intent": {"feature_type": "connector_integration", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"connectors": ["crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
Hotfix PR for: [https://github.com/juspay/hyperswitch/pull/6403](https://github.com/juspay/hyperswitch/pull/6403)
- Additional filters are added to `PaymentIntentFilters` as new analytics APIs are expected to be calculated from `Sessionizer Payment Intents` table.
- Existing metrics on current dashboard are breaking due to these new filters as the fields are not present in the Payment Intents table.
Removed the following additional filters from `PaymentIntentFilters`
- connector
- authentication_type
- payment_method
- payment_method_type
- card_network
- merchant_id
- card_last_4
- card_issuer
- error_reason
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/analytics/payment_intents.rs`
**2. Core Business Logic**
- `crates/analytics/src/payment_intents/core.rs`
**3. Type Definitions**
- `crates/analytics/src/payment_intents/types.rs`
**4. Utils**
- `crates/analytics/src/utils.rs`
**5. Other**
- `crates/analytics/src/payment_intents/filters.rs`
- `crates/analytics/src/payment_intents/metrics.rs`
- `crates/analytics/src/payment_intents/metrics/payment_intent_count.rs`
- ... and 12 more files
**Code Patterns Applied:**
**Detailed Identifier Changes:**
Commit 838788b5:
Files to modify:
**crates/analytics/src/payment_intents/core.rs**
Modify existing code
**crates/analytics/src/payment_intents/filters.rs**
Modify existing code
**crates/analytics/src/payment_intents/metrics.rs**
Modify existing code
**crates/analytics/src/payment_intents/metrics/payment_intent_count.rs**
Modify existing code
**crates/analytics/src/payment_intents/metrics/payments_success_rate.rs**
Modify existing code
**crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs**
Modify existing code
**crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs**
Modify existing code
**crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs**
Modify existing code
**crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs**
Modify existing code
**crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs**
Modify existing code
**crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs**
Modify existing code
**crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs**
Modify existing code
**crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs**
Modify existing code
**crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs**
Modify existing code
**crates/analytics/src/payment_intents/metrics/total_smart_retries.rs**
Modify existing code
**crates/analytics/src/payment_intents/types.rs**
Modify existing code
**crates/analytics/src/sqlx.rs**
Modify existing code
**crates/analytics/src/utils.rs**
Modify existing code
**crates/api_models/src/analytics/payment_intents.rs**
Modify existing code
|
{"pr_number": 6407, "pr_title": "feat(analytics): remove additional filters from PaymentIntentFilters", "merged_at": "2024-10-23T09:58:10Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"api_models": ["crates/api_models/src/analytics/payment_intents.rs"], "core_business": ["crates/analytics/src/payment_intents/core.rs"], "types": ["crates/analytics/src/payment_intents/types.rs"], "utils": ["crates/analytics/src/utils.rs"], "other": ["crates/analytics/src/payment_intents/filters.rs", "crates/analytics/src/payment_intents/metrics.rs", "crates/analytics/src/payment_intents/metrics/payment_intent_count.rs", "crates/analytics/src/payment_intents/metrics/payments_success_rate.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs", "crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs", "crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs", "crates/analytics/src/payment_intents/metrics/total_smart_retries.rs", "crates/analytics/src/sqlx.rs"]}, "change_types": {"imports_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
This PR implements the complete Peachpayments connector integration for Hyperswitch, adding support for payment processing, 3DS authentication, void transactions, and comprehensive validation.
Key features implemented:
- Complete Peachpayments connector with payment authorization, capture, and void flows
- 3DS authentication support with enhanced security features
- Network token handling with TAVV/XID fields for improved authentication
- ConnectorValidation implementation for request validation
- Comprehensive error handling and response transformations
- Configuration and API endpoint management
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/connector_validation.rs`
**2. External Connector Integration**
- `crates/common_enums/src/connector_enums.rs`
- `crates/connector_configs/src/connector.rs`
- `crates/connector_configs/toml/development.toml`
- ... and 7 more files
**3. Type Definitions**
- `crates/router/src/types/api/feature_matrix.rs`
**4. Other**
- `api-reference/v1/openapi_spec_v1.json`
- `api-reference/v2/openapi_spec_v2.json`
**Code Patterns Applied:**
- Define new data structures (14 changes)
- Implement new functions (10 changes)
- Extend existing types with new fields (208 changes)
- Add conditional logic for feature flags or filtering (2 changes)
**Detailed Identifier Changes:**
Commit f3635a2e:
Files to modify:
**crates/common_enums/src/connector_enums.rs**
Modify existing code
**crates/connector_configs/src/connector.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/peachpayments.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/default_implementations.rs**
Modify existing code
**crates/router/src/core/connector_validation.rs**
Modify existing code
**crates/router/src/types/api/connector_mapping.rs**
Modify existing code
**crates/router/src/types/api/feature_matrix.rs**
Modify existing code
**crates/router/src/types/connector_transformers.rs**
Modify existing code
|
{"pr_number": 9030, "pr_title": "feat(connector): [PeachPayments] Add Cards Flow", "merged_at": "2025-09-12T07:36:01Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/connector_validation.rs"], "connectors": ["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.toml", "crates/hyperswitch_connectors/src/connectors/peachpayments.rs", "crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/router/src/types/api/connector_mapping.rs", "crates/router/src/types/connector_transformers.rs"], "types": ["crates/router/src/types/api/feature_matrix.rs"], "other": ["api-reference/v1/openapi_spec_v1.json", "api-reference/v2/openapi_spec_v2.json"]}, "change_types": {"structs_added": 14, "functions_added": 10, "enums_added": 5, "fields_added": 208, "imports_added": 9, "conditionals_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
This PR addresses the clippy lints occurring due to new rust version 1.82.0.
Majorly addresses below warning -

|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/connector_onboarding.rs`
- `crates/api_models/src/payouts.rs`
- `crates/api_models/src/webhooks.rs`
**2. Database Layer (Queries & Schema)**
- `crates/diesel_models/src/kv.rs`
**3. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/customer.rs`
- `crates/hyperswitch_domain_models/src/merchant_connector_account.rs`
- `crates/hyperswitch_domain_models/src/router_response_types.rs`
**4. Core Business Logic**
- `crates/router/src/core/admin.rs`
- `crates/router/src/core/connector_onboarding.rs`
- `crates/router/src/core/customers.rs`
- ... and 14 more files
**5. External Connector Integration**
- `add_connector.md`
- `connector-template/transformers.rs`
- `crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs`
- ... and 71 more files
**6. Utils**
- `crates/router/src/utils.rs`
**7. Other**
- `crates/router/src/compatibility/stripe/webhooks.rs`
- `crates/router/src/db/address.rs`
- `crates/router/src/db/customers.rs`
- ... and 11 more files
**Code Patterns Applied:**
- Extend existing types with new fields (494 changes)
- Add conditional logic for feature flags or filtering (1 changes)
**Detailed Identifier Changes:**
Commit 8708a5cb:
Files to modify:
**connector-template/transformers.rs**
Modify existing code
**crates/api_models/src/connector_onboarding.rs**
Modify existing code
**crates/api_models/src/payouts.rs**
Modify existing code
**crates/api_models/src/webhooks.rs**
Modify existing code
**crates/diesel_models/src/kv.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/forte/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/payu/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/square/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/stax/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/volt/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/zen/transformers.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/customer.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/merchant_connector_account.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_response_types.rs**
Modify existing code
**crates/router/src/compatibility/stripe/webhooks.rs**
Modify existing code
**crates/router/src/connector/aci/transformers.rs**
Modify existing code
**crates/router/src/connector/adyen/transformers.rs**
Modify existing code
**crates/router/src/connector/airwallex/transformers.rs**
Modify existing code
**crates/router/src/connector/authorizedotnet/transformers.rs**
Modify existing code
**crates/router/src/connector/bamboraapac/transformers.rs**
Modify existing code
**crates/router/src/connector/bankofamerica/transformers.rs**
Modify existing code
**crates/router/src/connector/bluesnap.rs**
Modify existing code
**crates/router/src/connector/bluesnap/transformers.rs**
Modify existing code
**crates/router/src/connector/boku/transformers.rs**
Modify existing code
**crates/router/src/connector/braintree/transformers.rs**
Modify existing code
**crates/router/src/connector/checkout/transformers.rs**
Modify existing code
**crates/router/src/connector/cybersource/transformers.rs**
Modify existing code
**crates/router/src/connector/datatrans/transformers.rs**
Modify existing code
**crates/router/src/connector/dummyconnector/transformers.rs**
Modify existing code
**crates/router/src/connector/globalpay/transformers.rs**
Modify existing code
**crates/router/src/connector/gocardless/transformers.rs**
Modify existing code
**crates/router/src/connector/iatapay/transformers.rs**
Modify existing code
**crates/router/src/connector/itaubank/transformers.rs**
Modify existing code
**crates/router/src/connector/klarna/transformers.rs**
Modify existing code
**crates/router/src/connector/mifinity/transformers.rs**
Modify existing code
**crates/router/src/connector/multisafepay/transformers.rs**
Modify existing code
**crates/router/src/connector/nmi/transformers.rs**
Modify existing code
**crates/router/src/connector/noon/transformers.rs**
Modify existing code
**crates/router/src/connector/nuvei/transformers.rs**
Modify existing code
**crates/router/src/connector/opayo/transformers.rs**
Modify existing code
**crates/router/src/connector/opennode/transformers.rs**
Modify existing code
**crates/router/src/connector/paybox/transformers.rs**
Modify existing code
**crates/router/src/connector/payme/transformers.rs**
Modify existing code
**crates/router/src/connector/paypal.rs**
Modify existing code
**crates/router/src/connector/paypal/transformers.rs**
Modify existing code
**crates/router/src/connector/placetopay/transformers.rs**
Modify existing code
**crates/router/src/connector/plaid/transformers.rs**
Modify existing code
**crates/router/src/connector/prophetpay/transformers.rs**
Modify existing code
**crates/router/src/connector/rapyd/transformers.rs**
Modify existing code
**crates/router/src/connector/razorpay/transformers.rs**
Modify existing code
**crates/router/src/connector/shift4/transformers.rs**
Modify existing code
**crates/router/src/connector/stripe/transformers.rs**
Modify existing code
**crates/router/src/connector/trustpay/transformers.rs**
Modify existing code
**crates/router/src/connector/wellsfargo/transformers.rs**
Modify existing code
**crates/router/src/connector/wellsfargopayout/transformers.rs**
Modify existing code
**crates/router/src/connector/worldpay.rs**
Modify existing code
**crates/router/src/connector/worldpay/transformers.rs**
Modify existing code
**crates/router/src/connector/zsl/transformers.rs**
Modify existing code
**crates/router/src/core/admin.rs**
Modify existing code
**crates/router/src/core/connector_onboarding.rs**
Modify existing code
**crates/router/src/core/customers.rs**
Modify existing code
**crates/router/src/core/mandate.rs**
Modify existing code
**crates/router/src/core/payments.rs**
Modify existing code
**crates/router/src/core/payments/helpers.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_confirm.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_response.rs**
Modify existing code
**crates/router/src/core/payments/retry.rs**
Modify existing code
**crates/router/src/core/payments/tokenization.rs**
Modify existing code
**crates/router/src/core/payments/transformers.rs**
Modify existing code
**crates/router/src/core/payouts.rs**
Modify existing code
**crates/router/src/core/verification/utils.rs**
Modify existing code
**crates/router/src/core/webhooks/incoming.rs**
Modify existing code
**crates/router/src/core/webhooks/outgoing.rs**
Modify existing code
**crates/router/src/core/webhooks/utils.rs**
Modify existing code
**crates/router/src/core/webhooks/webhook_events.rs**
Modify existing code
**crates/router/src/db/address.rs**
Modify existing code
**crates/router/src/db/customers.rs**
Modify existing code
**crates/router/src/db/mandate.rs**
Modify existing code
**crates/router/src/db/payment_method.rs**
Modify existing code
**crates/router/src/db/refund.rs**
Modify existing code
**crates/router/src/db/reverse_lookup.rs**
Modify existing code
**crates/router/src/events/audit_events.rs**
Modify existing code
**crates/router/src/utils.rs**
Modify existing code
**crates/router/src/workflows/outgoing_webhook_retry.rs**
Modify existing code
**crates/storage_impl/src/lookup.rs**
Modify existing code
**crates/storage_impl/src/payments/payment_attempt.rs**
Modify existing code
**crates/storage_impl/src/payments/payment_intent.rs**
Modify existing code
**crates/storage_impl/src/payouts/payout_attempt.rs**
Modify existing code
**crates/storage_impl/src/payouts/payouts.rs**
Modify existing code
|
{"pr_number": 6401, "pr_title": "chore: address Rust 1.82.0 clippy lints", "merged_at": "2024-10-24T16:04:52Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"api_models": ["crates/api_models/src/connector_onboarding.rs", "crates/api_models/src/payouts.rs", "crates/api_models/src/webhooks.rs"], "database": ["crates/diesel_models/src/kv.rs"], "domain": ["crates/hyperswitch_domain_models/src/customer.rs", "crates/hyperswitch_domain_models/src/merchant_connector_account.rs", "crates/hyperswitch_domain_models/src/router_response_types.rs"], "core_business": ["crates/router/src/core/admin.rs", "crates/router/src/core/connector_onboarding.rs", "crates/router/src/core/customers.rs", "crates/router/src/core/mandate.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations/payment_confirm.rs", "crates/router/src/core/payments/operations/payment_response.rs", "crates/router/src/core/payments/retry.rs", "crates/router/src/core/payments/tokenization.rs", "crates/router/src/core/payments/transformers.rs", "crates/router/src/core/payouts.rs", "crates/router/src/core/verification/utils.rs", "crates/router/src/core/webhooks/incoming.rs", "crates/router/src/core/webhooks/outgoing.rs", "crates/router/src/core/webhooks/utils.rs", "crates/router/src/core/webhooks/webhook_events.rs"], "connectors": ["add_connector.md", "connector-template/transformers.rs", "crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs", "crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs", "crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs", "crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs", "crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs", "crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs", "crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs", "crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs", "crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs", "crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs", "crates/hyperswitch_connectors/src/connectors/forte/transformers.rs", "crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs", "crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs", "crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs", "crates/hyperswitch_connectors/src/connectors/payu/transformers.rs", "crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs", "crates/hyperswitch_connectors/src/connectors/square/transformers.rs", "crates/hyperswitch_connectors/src/connectors/stax/transformers.rs", "crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs", "crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs", "crates/hyperswitch_connectors/src/connectors/volt/transformers.rs", "crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs", "crates/hyperswitch_connectors/src/connectors/zen/transformers.rs", "crates/router/src/connector/aci/transformers.rs", "crates/router/src/connector/adyen/transformers.rs", "crates/router/src/connector/airwallex/transformers.rs", "crates/router/src/connector/authorizedotnet/transformers.rs", "crates/router/src/connector/bamboraapac/transformers.rs", "crates/router/src/connector/bankofamerica/transformers.rs", "crates/router/src/connector/bluesnap.rs", "crates/router/src/connector/bluesnap/transformers.rs", "crates/router/src/connector/boku/transformers.rs", "crates/router/src/connector/braintree/transformers.rs", "crates/router/src/connector/checkout/transformers.rs", "crates/router/src/connector/cybersource/transformers.rs", "crates/router/src/connector/datatrans/transformers.rs", "crates/router/src/connector/dummyconnector/transformers.rs", "crates/router/src/connector/globalpay/transformers.rs", "crates/router/src/connector/gocardless/transformers.rs", "crates/router/src/connector/iatapay/transformers.rs", "crates/router/src/connector/itaubank/transformers.rs", "crates/router/src/connector/klarna/transformers.rs", "crates/router/src/connector/mifinity/transformers.rs", "crates/router/src/connector/multisafepay/transformers.rs", "crates/router/src/connector/nmi/transformers.rs", "crates/router/src/connector/noon/transformers.rs", "crates/router/src/connector/nuvei/transformers.rs", "crates/router/src/connector/opayo/transformers.rs", "crates/router/src/connector/opennode/transformers.rs", "crates/router/src/connector/paybox/transformers.rs", "crates/router/src/connector/payme/transformers.rs", "crates/router/src/connector/paypal.rs", "crates/router/src/connector/paypal/transformers.rs", "crates/router/src/connector/placetopay/transformers.rs", "crates/router/src/connector/plaid/transformers.rs", "crates/router/src/connector/prophetpay/transformers.rs", "crates/router/src/connector/rapyd/transformers.rs", "crates/router/src/connector/razorpay/transformers.rs", "crates/router/src/connector/shift4/transformers.rs", "crates/router/src/connector/stripe/transformers.rs", "crates/router/src/connector/trustpay/transformers.rs", "crates/router/src/connector/wellsfargo/transformers.rs", "crates/router/src/connector/wellsfargopayout/transformers.rs", "crates/router/src/connector/worldpay.rs", "crates/router/src/connector/worldpay/transformers.rs", "crates/router/src/connector/zsl/transformers.rs"], "utils": ["crates/router/src/utils.rs"], "other": ["crates/router/src/compatibility/stripe/webhooks.rs", "crates/router/src/db/address.rs", "crates/router/src/db/customers.rs", "crates/router/src/db/mandate.rs", "crates/router/src/db/payment_method.rs", "crates/router/src/db/refund.rs", "crates/router/src/db/reverse_lookup.rs", "crates/router/src/events/audit_events.rs", "crates/router/src/workflows/outgoing_webhook_retry.rs", "crates/storage_impl/src/lookup.rs", "crates/storage_impl/src/payments/payment_attempt.rs", "crates/storage_impl/src/payments/payment_intent.rs", "crates/storage_impl/src/payouts/payout_attempt.rs", "crates/storage_impl/src/payouts/payouts.rs"]}, "change_types": {"fields_added": 494, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
The #[serde(deny_unknown_fields)] lines are now commented out to handle backward incompatibility
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/payments.rs`
**2. Other**
- `api-reference/v1/openapi_spec_v1.json`
- `api-reference/v2/openapi_spec_v2.json`
|
{"pr_number": 8980, "pr_title": "fix(core): Address Deserialization issue ", "merged_at": "2025-08-19T10:38:56Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "other": ["api-reference/v1/openapi_spec_v1.json", "api-reference/v2/openapi_spec_v2.json"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
Implemented gRPC based health check
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/Cargo.toml`
- `crates/api_models/src/health_check.rs`
**2. Core Business Logic**
- `crates/router/src/core/health_check.rs`
**3. Configuration Files**
- `config/config.example.toml`
- `config/deployments/env_specific.toml`
- `crates/router/Cargo.toml`
**4. Other**
- `crates/external_services/build.rs`
- `crates/external_services/src/grpc_client.rs`
- `crates/external_services/src/grpc_client/dynamic_routing.rs`
- ... and 4 more files
**Code Patterns Applied:**
- Define new data structures (1 changes)
- Implement new functions (5 changes)
- Extend existing types with new fields (12 changes)
- Add conditional logic for feature flags or filtering (1 changes)
**Detailed Identifier Changes:**
Commit e922f96c:
Files to modify:
**crates/api_models/src/health_check.rs**
Modify existing code
**crates/external_services/build.rs**
Modify existing code
**crates/external_services/src/grpc_client.rs**
Modify existing code
**crates/external_services/src/grpc_client/dynamic_routing.rs**
Modify existing code
**crates/external_services/src/grpc_client/health_check_client.rs**
Modify existing code
**crates/router/src/core/health_check.rs**
Modify existing code
**crates/router/src/routes/health.rs**
Modify existing code
**crates/storage_impl/src/errors.rs**
Modify existing code
|
{"pr_number": 6441, "pr_title": "feat: Added grpc based health check", "merged_at": "2024-11-26T13:58:33Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"api_models": ["crates/api_models/Cargo.toml", "crates/api_models/src/health_check.rs"], "core_business": ["crates/router/src/core/health_check.rs"], "config": ["config/config.example.toml", "config/deployments/env_specific.toml", "crates/router/Cargo.toml"], "other": ["crates/external_services/build.rs", "crates/external_services/src/grpc_client.rs", "crates/external_services/src/grpc_client/dynamic_routing.rs", "crates/external_services/src/grpc_client/health_check_client.rs", "crates/router/src/routes/health.rs", "crates/storage_impl/src/errors.rs", "proto/health_check.proto"]}, "change_types": {"structs_added": 1, "functions_added": 5, "enums_added": 4, "fields_added": 12, "imports_added": 14, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Mask custom outgoing webhook headers in profile response. This changes is required to mask the custom outgoing webhook headers in the profile dashboard. This also requires control center changes, BE changes will only be merged and
deployed after dashboard changes.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/admin.rs`
**2. Type Definitions**
- `crates/router/src/types/api/admin.rs`
**3. Other**
- `Cargo.lock`
**Code Patterns Applied:**
- Define new data structures (1 changes)
- Implement new functions (2 changes)
- Extend existing types with new fields (6 changes)
- Add conditional logic for feature flags or filtering (1 changes)
**Detailed Identifier Changes:**
Commit ab543208:
Files to modify:
**crates/api_models/src/admin.rs**
Modify existing code
**crates/router/src/types/api/admin.rs**
Modify existing code
|
{"pr_number": 6823, "pr_title": "fix(webhooks): mask custom outgoing webhook headers in profile response", "merged_at": "2024-12-12T08:42:26Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs"], "types": ["crates/router/src/types/api/admin.rs"], "other": ["Cargo.lock"]}, "change_types": {"structs_added": 1, "functions_added": 2, "fields_added": 6, "imports_added": 1, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
`first_attempt` as a group by is getting added internally in the queries as it is required by the new PaymentIntent based metrics for Analytics V2 Dashboard.
The logic was added for the existing older metrics as well for PaymentIntents on the older dashboard, and is failing when using sqlx as the Pool.
Need to remove the logic for adding `first_attempt` as a group_by in the older metrics, and also tweak the manner in which this is getting added as a group_by in the new metrics.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Other**
- `crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs`
- `crates/analytics/src/payment_intents/metrics/payments_success_rate.rs`
- `crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs`
- ... and 4 more files
|
{"pr_number": 6627, "pr_title": "fix(analytics): remove first_attempt group by in Payment Intent old metrics", "merged_at": "2024-11-22T08:52:30Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"other": ["crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs", "crates/analytics/src/payment_intents/metrics/payments_success_rate.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs", "crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
Update scylla driver on masking crate
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.
If you don't have an issue, we'd recommend starting with one first so the PR
can focus on the implementation (unless it is an obvious bug or documentation fix
that will have little conversation).
-->
Update scylla driver on masking crate
## How did you test it?
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->
Compiler guided. Testing not needed in environments
## Checklist
<!-- Put an `x` in the boxes that apply -->
- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code
|
To implement this **connector_integration** feature, you'll need to modify these architectural layers:
**1. Configuration Files**
- `crates/masking/Cargo.toml`
**2. Other**
- `Cargo.lock`
- `crates/masking/src/cassandra.rs`
**Code Patterns Applied:**
- Implement new functions (1 changes)
- Extend existing types with new fields (3 changes)
|
{"pr_number": 6799, "pr_title": "chore(deps): update scylla driver", "merged_at": "2024-12-16T09:20:21Z", "intent": {"feature_type": "connector_integration", "action": "add_feature", "entities": []}, "hierarchy": {"config": ["crates/masking/Cargo.toml"], "other": ["Cargo.lock", "crates/masking/src/cassandra.rs"]}, "change_types": {"functions_added": 1, "fields_added": 3}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
The ClickHouse queue table for connector events was configured to consume from the wrong Kafka topic in the local and Docker config files.
Current (incorrect) topic in config: `hyperswitch-connector-api-events`
Expected (correct) topic: `hyperswitch-outgoing-connector-events`
Updated the Kafka topic name in the relevant config files (local and Docker) to use the correct topic name.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Configuration Files**
- `config/development.toml`
- `config/docker_compose.toml`
**2. Other**
- `crates/analytics/docs/clickhouse/scripts/authentications.sql`
**Code Patterns Applied:**
- Modify database queries (1 changes)
|
{"pr_number": 8169, "pr_title": "fix(kafka): add correct topic name for connector-logs for docker config and local development", "merged_at": "2025-05-30T08:02:47Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "connector"]}, "hierarchy": {"config": ["config/development.toml", "config/docker_compose.toml"], "other": ["crates/analytics/docs/clickhouse/scripts/authentications.sql"]}, "change_types": {"database_queries": 1}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
Add RSA-SHA-256 signature verification in crypto module.
- rsa crate is used for cryptography implementation
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/wise.rs`
**2. Utils**
- `crates/common_utils/Cargo.toml`
- `crates/common_utils/src/crypto.rs`
**3. Other**
- `Cargo.lock`
**Code Patterns Applied:**
- Define new data structures (1 changes)
- Implement new functions (6 changes)
- Extend existing types with new fields (7 changes)
**Detailed Identifier Changes:**
Commit 3fcbe40e:
Files to modify:
**crates/common_utils/src/crypto.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/wise.rs**
Modify existing code
|
{"pr_number": 9080, "pr_title": "feat(crypto): add RSA-SHA-256 signature verification", "merged_at": "2025-09-03T14:33:36Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/wise.rs"], "utils": ["crates/common_utils/Cargo.toml", "crates/common_utils/src/crypto.rs"], "other": ["Cargo.lock"]}, "change_types": {"structs_added": 1, "functions_added": 6, "fields_added": 7, "imports_added": 6}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Magic link will send one more email along with magic link email if user is signing up.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/user.rs`
**2. Type Definitions**
- `crates/router/src/services/email/types.rs`
**3. Other**
- `crates/router/src/consts/user.rs`
- `crates/router/src/services/email/assets/welcome_to_community.html`
**Code Patterns Applied:**
- Define new data structures (1 changes)
- Implement new functions (1 changes)
- Extend existing types with new fields (34 changes)
**Detailed Identifier Changes:**
Commit 03423a1f:
Files to modify:
**crates/router/src/consts/user.rs**
Modify existing code
**crates/router/src/core/user.rs**
Modify existing code
**crates/router/src/services/email/types.rs**
Modify existing code
|
{"pr_number": 6639, "pr_title": "feat(users): Send welcome to community email in magic link signup", "merged_at": "2024-11-26T09:10:41Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"core_business": ["crates/router/src/core/user.rs"], "types": ["crates/router/src/services/email/types.rs"], "other": ["crates/router/src/consts/user.rs", "crates/router/src/services/email/assets/welcome_to_community.html"]}, "change_types": {"structs_added": 1, "functions_added": 1, "fields_added": 34}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
The hyperswitch server would run even without the completion of migration runner polluting the data in the scarf dashboard.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Configuration Files**
- `docker-compose.yml`
**2. Other**
- `scripts/poststart_hook.sh`
**Code Patterns Applied:**
- Extend existing types with new fields (3 changes)
|
{"pr_number": 7999, "pr_title": "fix: fixes the docker setup to clean up the scarf data", "merged_at": "2025-05-12T08:26:50Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"config": ["docker-compose.yml"], "other": ["scripts/poststart_hook.sh"]}, "change_types": {"fields_added": 3}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
the existing amount conversion framework for certain connector is outdated. we need to migrate those connector to using the latest and greatest amount converter framework.
base - float/string major unit
minor - minor unit / string minor unit
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs`
- `crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs`
- `crates/hyperswitch_connectors/src/connectors/bankofamerica.rs`
- ... and 4 more files
**2. Type Definitions**
- `crates/router/src/types/api/feature_matrix.rs`
**Code Patterns Applied:**
- Define new data structures (2 changes)
- Implement new functions (4 changes)
- Extend existing types with new fields (14 changes)
**Detailed Identifier Changes:**
Commit 30925ca5:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bankofamerica.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs**
Modify existing code
**crates/router/src/types/api/connector_mapping.rs**
Modify existing code
**crates/router/src/types/api/feature_matrix.rs**
Modify existing code
**crates/router/tests/connectors/authorizedotnet.rs**
Modify existing code
**crates/router/tests/connectors/bankofamerica.rs**
Modify existing code
|
{"pr_number": 8878, "pr_title": "refactor(connector): implement amount converter framework for authorizedotnet, bankofamerica", "merged_at": "2025-08-26T07:22:25Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs", "crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs", "crates/hyperswitch_connectors/src/connectors/bankofamerica.rs", "crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs", "crates/router/src/types/api/connector_mapping.rs", "crates/router/tests/connectors/authorizedotnet.rs", "crates/router/tests/connectors/bankofamerica.rs"], "types": ["crates/router/src/types/api/feature_matrix.rs"]}, "change_types": {"structs_added": 2, "functions_added": 4, "fields_added": 14, "imports_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
ci checks are failing on every pr because of failed lint check. this pr aims to address that.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Tests**
- `cypress-tests/cypress/support/redirectionHandler.js`
**Code Patterns Applied:**
- Extend existing types with new fields (2 changes)
- Add conditional logic for feature flags or filtering (2 changes)
|
{"pr_number": 7437, "pr_title": "ci(cypress): address lints and refactor redirection handler", "merged_at": "2025-03-07T11:57:27Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"tests": ["cypress-tests/cypress/support/redirectionHandler.js"]}, "change_types": {"fields_added": 2, "conditionals_added": 2}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
Add product authentication id's column in business profile
|
To implement this **authentication** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/admin.rs`
**2. Database Layer (Queries & Schema)**
- `crates/diesel_models/src/business_profile.rs`
- `crates/diesel_models/src/schema.rs`
- `crates/diesel_models/src/schema_v2.rs`
**3. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/business_profile.rs`
**4. Core Business Logic**
- `crates/router/src/core/admin.rs`
**5. Type Definitions**
- `crates/router/src/types/api/admin.rs`
**6. Other**
- `api-reference-v2/openapi_spec.json`
- `api-reference/openapi_spec.json`
- `migrations/2024-12-11-092649_add-authentication-product-ids-in-business-profile/down.sql`
- ... and 1 more files
**Code Patterns Applied:**
- Extend existing types with new fields (42 changes)
**Detailed Identifier Changes:**
Commit 1564ad72:
Files to modify:
**crates/api_models/src/admin.rs**
Modify existing code
**crates/diesel_models/src/business_profile.rs**
Modify existing code
**crates/diesel_models/src/schema.rs**
Modify existing code
**crates/diesel_models/src/schema_v2.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/business_profile.rs**
Modify existing code
**crates/router/src/core/admin.rs**
Modify existing code
**crates/router/src/types/api/admin.rs**
Modify existing code
|
{"pr_number": 6811, "pr_title": "feat(core): Add product authentication ids in business profile", "merged_at": "2024-12-12T15:01:35Z", "intent": {"feature_type": "authentication", "action": "add_feature", "entities": []}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs"], "database": ["crates/diesel_models/src/business_profile.rs", "crates/diesel_models/src/schema.rs", "crates/diesel_models/src/schema_v2.rs"], "domain": ["crates/hyperswitch_domain_models/src/business_profile.rs"], "core_business": ["crates/router/src/core/admin.rs"], "types": ["crates/router/src/types/api/admin.rs"], "other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "migrations/2024-12-11-092649_add-authentication-product-ids-in-business-profile/down.sql", "migrations/2024-12-11-092649_add-authentication-product-ids-in-business-profile/up.sql"]}, "change_types": {"fields_added": 42}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
This Facilitapay PR introudces 2 new features and a bug fix which is described below:
- Add support for webhooks
- Source verification supported
- Payments
- Refunds (It is only supported for pix payment when a third party makes a transaction instead of the actual user). The payload for both payments and refunds is exactly the same with 0 difference. It is kind of use less to have webhook for support for Refunds
- Add support for voiding payments
- At Facilita, `refund` means voiding a payment
- This is a `GET` call with no request body
- Fix a bug in Refunds (It was not testable until now)
- At Facilita, `refund_received_transaction` means refunding a payment
- This is a `GET` call with no request body
- Does not support partial refunds
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/connector_configs/toml/development.toml`
- `crates/connector_configs/toml/production.toml`
- `crates/connector_configs/toml/sandbox.toml`
- ... and 4 more files
**Code Patterns Applied:**
- Define new data structures (5 changes)
- Implement new functions (9 changes)
- Extend existing types with new fields (95 changes)
- Add conditional logic for feature flags or filtering (1 changes)
**Detailed Identifier Changes:**
Commit c38ce386:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/facilitapay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs**
Modify existing code
|
{"pr_number": 8778, "pr_title": "feat(connector): [facilitapay] fix refunds, add webhook and void support", "merged_at": "2025-07-31T07:07:17Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/hyperswitch_connectors/src/connectors/facilitapay.rs", "crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs", "crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs", "crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs"]}, "change_types": {"structs_added": 5, "functions_added": 9, "enums_added": 3, "fields_added": 95, "imports_added": 2, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Fixed Open API Spec until Payment methods - tag
Changes done in this PR
1. SDK generation from Open API failed due to having a unit variant in an untagged enum. In this PR, we have refactored the `NoSessionResponse` variant to use Custom `NullObject` with serialize_none()
2. In the doc - remove request body from `/payment_link/{payment_link_id}` get call and add `client_secret` as an optional query param. In accordance with the code.
3. In the doc - replace invalid params with valid params for `/account/payment_methods`
4. In the doc - replace invalid params with valid params for `/customers/{customer_id}/payment_methods`
5. In the doc - replace invalid params with valid params for `/customers/payment_methods`
6. In the doc - add `jwt_key` to security scehem
7. In the doc - correct the url syntax of `/account/{account_id}/business_profile/{profile_id}/dynamic_routing/contracts/toggle` endpoint
8. In the doc - fix example of "Merchant Account - KV Status"
9. In the doc - fix merchant account path `/account/{account_id}/connectors`
10. In the doc - fix all merchant connector endpoint path. Replace `accounts/` with `account`
11. In the doc - change the HTTP method of `/customers/{customer_id}/mandates` to `GET`
12. In the doc - add offset and limit for `/customers/list`
> Note: Payment link endpoints are not added to the Openapi spec
## How did you test it?
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->
1.Initiate a payment with truspay with confirm false
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_nbKzEwDan8WKjKsjDuCexEjTqWm7udZh5EoE0GTvnzDTBeEtwGSglz8aNFVLmDod' \
--data-raw '{
"return_url": "https://example.com",
"confirm": false,
"customer_acceptance": null,
"description": "Test Payment",
"email": "[email protected]",
"browser_info": {
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"language": "en-US",
"color_depth": 32,
"screen_height": 1117,
"screen_width": 1728,
"time_zone": -330,
"java_enabled": true,
"java_script_enabled": true,
"ip_address": "127.0.0.1"
},
"amount": 5000,
"currency": "USD"
}'
```
Response
```
{"payment_id":"pay_6DfpEoQFBIIfWUfp93Y6","merchant_id":"postman_merchant_GHAction_0ff7d76e-ddc4-48fd-b678-9216d96591ab","status":"requires_payment_method","amount":5000,"net_amount":5000,"shipping_cost":null,"amount_capturable":0,"amount_received":null,"connector":null,"client_secret":"pay_6DfpEoQFBIIfWUfp93Y6_secret_Q0ayl2368c9dn6WEcTMA","created":"2025-05-23T15:02:34.158Z","currency":"USD","customer_id":null,"customer":{"id":null,"name":null,"email":"[email protected]","phone":null,"phone_country_code":null},"description":"Test Payment","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":null,"payment_method":null,"payment_method_data":null,"payment_token":null,"shipping":null,"billing":null,"order_details":null,"email":null,"name":null,"phone":null,"return_url":"https://example.com/","authentication_type":null,"statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":null,"connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":null,"connector_transaction_id":null,"frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":null,"payment_link":null,"profile_id":"pro_CcwJ1BMBv33IsKYTsWEh","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":null,"incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-05-23T15:17:34.158Z","fingerprint":null,"browser_info":{"language":"en-US","time_zone":-330,"ip_address":"127.0.0.1","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","color_depth":32,"java_enabled":true,"screen_width":1728,"accept_header":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","screen_height":1117,"java_script_enabled":true},"payment_method_id":null,"payment_method_status":null,"updated":"2025-05-23T15:02:34.202Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":null,"force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null}
```
2. Do a session call
```
curl --location 'http://localhost:8080/payments/session_tokens' \
--header 'Content-Type: application/json' \
--header 'api-key: pk_dev_0d3aa63ce9424a30998e0022739542cf' \
--data '{"payment_id":"pay_mPOZW9xuADD3lEM649O8","wallets":["apple_pay"],"client_secret":"pay_mPOZW9xuADD3lEM649O8_secret_1Y8UXoaiF6wXTJtaMP3T"}'
```
Response
```
{"payment_id":"pay_mPOZW9xuADD3lEM649O8","client_secret":"pay_mPOZW9xuADD3lEM649O8_secret_1Y8UXoaiF6wXTJtaMP3T","session_token":[{"wallet_name":"apple_pay","session_token_data":null,"payment_request_data":null,"connector":"trustpay","delayed_session_token":true,"sdk_next_action":{"next_action":"confirm"},"connector_reference_id":null,"connector_sdk_public_key":null,"connector_merchant_id":null}]}
```
3. JWT token auth
<img width="1271" alt="Screenshot 2025-05-27 at 4 40 25 PM" src="https://github.com/user-attachments/assets/10385ae0-c3e5-43e2-adee-edd6aee664d7" />
Replace invalid params with valid params for `/account/payment_methods`
```
curl --location --globoff 'http://localhost:8080/account/payment_methods?client_secret=pay_n4ZLSFnSUMI0EjEBzAu9_secret_m20UEEPlEuFlX7uwULSh&accepted_countries[]=US%2CCA&accepted_currencies[]=USD%2CEUR&card_networks[]=visa' \
--header 'Accept: application/json' \
--header 'api-key: pk_dev_fb0464e529ab4518ad8a8e45f6765d2f'
```
Response
```
{"redirect_url":"https://duck.com/success","currency":"EUR","payment_methods":[{"payment_method":"pay_later","payment_method_types":[{"payment_method_type":"klarna","payment_experience":[{"payment_experience_type":"invoke_sdk_client","eligible_connectors":["redsys"]},{"payment_experience_type":"redirect_to_url","eligible_connectors":["redsys"]}],"card_networks":null,"bank_names":null,"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null}]},{"payment_method":"wallet","payment_method_types":[{"payment_method_type":"apple_pay","payment_experience":[{"payment_experience_type":"invoke_sdk_client","eligible_connectors":["redsys"]}],"card_networks":null,"bank_names":null,"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"google_pay","payment_experience":[{"payment_experience_type":"invoke_sdk_client","eligible_connectors":["redsys"]}],"card_networks":null,"bank_names":null,"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null}]},{"payment_method":"bank_redirect","payment_method_types":[{"payment_method_type":"eps","payment_experience":null,"card_networks":null,"bank_names":[],"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"giropay","payment_experience":null,"card_networks":null,"bank_names":[{"bank_name":[],"eligible_connectors":["redsys"]}],"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"bancontact_card","payment_experience":null,"card_networks":null,"bank_names":[],"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"sofort","payment_experience":null,"card_networks":null,"bank_names":[{"bank_name":[],"eligible_connectors":["redsys"]}],"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"ideal","payment_experience":null,"card_networks":null,"bank_names":[],"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"przelewy24","payment_experience":null,"card_networks":null,"bank_names":[],"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null}]},{"payment_method":"bank_debit","payment_method_types":[{"payment_method_type":"becs","payment_experience":null,"card_networks":null,"bank_names":null,"bank_debits":{"eligible_connectors":["redsys"]},"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"ach","payment_experience":null,"card_networks":null,"bank_names":null,"bank_debits":{"eligible_connectors":["redsys"]},"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"sepa","payment_experience":null,"card_networks":null,"bank_names":null,"bank_debits":{"eligible_connectors":["redsys"]},"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"bacs","payment_experience":null,"card_networks":null,"bank_names":null,"bank_debits":{"eligible_connectors":["redsys"]},"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null}]},{"payment_method":"bank_transfer","payment_method_types":[{"payment_method_type":"sepa","payment_experience":null,"card_networks":null,"bank_names":null,"bank_debits":null,"bank_transfers":{"eligible_connectors":["redsys"]},"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"ach","payment_experience":null,"card_networks":null,"bank_names":null,"bank_debits":null,"bank_transfers":{"eligible_connectors":["redsys"]},"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"bacs","payment_experience":null,"card_networks":null,"bank_names":null,"bank_debits":null,"bank_transfers":{"eligible_connectors":["redsys"]},"required_fields":null,"surcharge_details":null,"pm_auth_connector":null}]}],"mandate_payment":null,"merchant_name":"NewAge Retailer","show_surcharge_breakup_screen":false,"payment_type":"normal","request_external_three_ds_authentication":false,"collect_shipping_details_from_wallets":false,"collect_billing_details_from_wallets":false,"is_tax_calculation_enabled":false}
```
4. Replace invalid params with valid params for `/customers/{customer_id}/payment_methods`
```
curl --location --globoff 'http://localhost:8080/customers/test_customer/payment_methods?accepted_countries[]=US%2CCA&accepted_currencies[]=USD%2CEUR&card_networks[]=visa' \
--header 'Accept: application/json' \
--header 'api-key: dev_4TatGqeyGyVJErk5UVWVGwRg9fb9EjqUY6r2hvhFp9MdKLAPsa8HvSGRrxJgxG7d'
```
Response
```
{"customer_payment_methods":[{"payment_token":"token_CPB8PcPU3iOW4LT6Nrw3","payment_method_id":"pm_3rCYnAk93SM6bu7K2TsG","customer_id":"test_customer","payment_method":"card","payment_method_type":null,"payment_method_issuer":null,"payment_method_issuer_code":null,"recurring_enabled":false,"installment_payment_enabled":false,"payment_experience":["redirect_to_url"],"card":{"scheme":null,"issuer_country":null,"last4_digits":"7229","expiry_month":"01","expiry_year":"27","card_token":null,"card_holder_name":null,"card_fingerprint":null,"nick_name":null,"card_network":null,"card_isin":"454881","card_issuer":null,"card_type":null,"saved_to_locker":true},"metadata":null,"created":"2025-06-17T08:54:13.036Z","bank":null,"surcharge_details":null,"requires_cvv":true,"last_used_at":"2025-06-17T08:54:13.036Z","default_payment_method_set":true,"billing":null}],"is_guest_customer":null}
```
5. Replace invalid params with valid params for `/customers/payment_methods`
```
curl --location --globoff 'http://localhost:8080/customers/payment_methods?accepted_countries[]=US%2CCA&accepted_currencies[]=USD%2CEUR&card_networks[]=visa' \
--header 'Accept: application/json' \
--header 'api-key: dev_4TatGqeyGyVJErk5UVWVGwRg9fb9EjqUY6r2hvhFp9MdKLAPsa8HvSGRrxJgxG7d'
```
Response
```
{"customer_payment_methods":[],"is_guest_customer":true}
```
6. Add offset and limit for `/customers/list`

7. Change the HTTP method of `/customers/{customer_id}/mandates` to `GET`. Earlier it gave a method not found error

</br>
Unit test case for `NullObject` serialization
<img width="720" alt="Screenshot 2025-06-09 at 3 04 39 PM" src="https://github.com/user-attachments/assets/d1f2d978-9770-4328-b6b3-d11fcc08a4fe" />
</br>
There is no change reflected in the API Contract
## Checklist
<!-- Put an `x` in the boxes that apply -->
- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
</br>
Unit test case for `NullObject` serialization
<img width="720" alt="Screenshot 2025-06-09 at 3 04 39 PM" src="https://github.com/user-attachments/assets/d1f2d978-9770-4328-b6b3-d11fcc08a4fe" />
</br>
There is no change reflected in the API Contract
## Checklist
<!-- Put an `x` in the boxes that apply -->
- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/payments.rs`
**2. Core Business Logic**
- `crates/router/src/core/payments/flows/session_flow.rs`
**3. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/payme/transformers.rs`
- `crates/openapi/src/routes/merchant_connector_account.rs`
**4. Other**
- `api-reference/v1/openapi_spec_v1.json`
- `api-reference/v2/openapi_spec_v2.json`
- `crates/openapi/src/openapi.rs`
- ... and 12 more files
**Code Patterns Applied:**
- Define new data structures (1 changes)
- Implement new functions (2 changes)
- Extend existing types with new fields (1 changes)
**Detailed Identifier Changes:**
Commit 02dee9c5:
Files to modify:
**crates/api_models/src/payments.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/payme/transformers.rs**
Modify existing code
**crates/openapi/src/openapi.rs**
Modify existing code
**crates/openapi/src/openapi_v2.rs**
Modify existing code
**crates/openapi/src/routes/customers.rs**
Modify existing code
**crates/openapi/src/routes/mandates.rs**
Modify existing code
**crates/openapi/src/routes/merchant_connector_account.rs**
Modify existing code
**crates/openapi/src/routes/payment_link.rs**
Modify existing code
**crates/openapi/src/routes/payment_method.rs**
Modify existing code
**crates/openapi/src/routes/payments.rs**
Modify existing code
**crates/openapi/src/routes/routing.rs**
Modify existing code
**crates/router/src/core/payments/flows/session_flow.rs**
Modify existing code
**crates/router/src/routes/admin.rs**
Modify existing code
**crates/router/src/routes/mandates.rs**
Modify existing code
**crates/router/src/routes/payment_link.rs**
Modify existing code
**crates/router/src/routes/payment_methods.rs**
Modify existing code
**crates/router/src/routes/refunds.rs**
Modify existing code
|
{"pr_number": 8127, "pr_title": "fix(openapi): correct schema references and semantics for v1 openApi spec", "merged_at": "2025-06-20T13:23:26Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "core_business": ["crates/router/src/core/payments/flows/session_flow.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/payme/transformers.rs", "crates/openapi/src/routes/merchant_connector_account.rs"], "other": ["api-reference/v1/openapi_spec_v1.json", "api-reference/v2/openapi_spec_v2.json", "crates/openapi/src/openapi.rs", "crates/openapi/src/openapi_v2.rs", "crates/openapi/src/routes/customers.rs", "crates/openapi/src/routes/mandates.rs", "crates/openapi/src/routes/payment_link.rs", "crates/openapi/src/routes/payment_method.rs", "crates/openapi/src/routes/payments.rs", "crates/openapi/src/routes/routing.rs", "crates/router/src/routes/admin.rs", "crates/router/src/routes/mandates.rs", "crates/router/src/routes/payment_link.rs", "crates/router/src/routes/payment_methods.rs", "crates/router/src/routes/refunds.rs"]}, "change_types": {"structs_added": 1, "functions_added": 2, "fields_added": 1, "imports_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
1)Fix Wasm changes for Tokenio Open Banking
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/connector_configs/toml/development.toml`
- `crates/connector_configs/toml/production.toml`
- `crates/connector_configs/toml/sandbox.toml`
|
{"pr_number": 8347, "pr_title": "feat(core): Fix Wasm changes for Tokenio Open Banking", "merged_at": "2025-06-16T08:54:07Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user", "token"]}, "hierarchy": {"connectors": ["crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
For Novalnet Connector, for Applepay, Googlepay, Paypal the following fields are not required
```
payment_method_data.billing.address.first_name
payment_method_data.billing.address.last_name
```
This PR removes these required fields for Applepay, Googlepay, Paypal for Novalnet
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs`
- `crates/hyperswitch_connectors/src/utils.rs`
- `crates/router/src/configs/defaults/payment_connector_required_fields.rs`
**Code Patterns Applied:**
- Implement new functions (4 changes)
- Extend existing types with new fields (6 changes)
**Detailed Identifier Changes:**
Commit f0b443ed:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/utils.rs**
Modify existing code
**crates/router/src/configs/defaults/payment_connector_required_fields.rs**
Modify existing code
Commit 3e116b81:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/utils.rs**
Modify existing code
**crates/router/src/configs/defaults/payment_connector_required_fields.rs**
Modify existing code
|
{"pr_number": 7152, "pr_title": "fix(connector): [novalnet] Remove first name, last name as required fields for Applepay, Googlepay, Paypal ", "merged_at": "2025-02-04T19:22:41Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "user"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs", "crates/hyperswitch_connectors/src/utils.rs", "crates/router/src/configs/defaults/payment_connector_required_fields.rs"]}, "change_types": {"functions_added": 4, "fields_added": 6}, "has_identifier_data": true, "commits_matched": 2, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
This PR introduces necessary refactoring to add support for locker specific tests. This includes `addition of delete payment method` (which is restricted to work only on hosted environments and not local given `tartarus` is unavailable and is complicated to setup things) but not limited to:
- fixes:
- fix reports not being generated
- fix multiple credential not picking proper api keys
- refactoring:
- move configs that makes use of response custom under `getCustomExchange`
- misc:
- clarify ntid files to make them meaningful
- update dependencies
- update cypress credential to support stripe multiple api keys
- feat:
- add multiple credential support for stripe
- add ntid support for stripe with another api key
- add recurring mit payment endpoint to ntid connector agnostic flows
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Utils**
- `cypress-tests/cypress/utils/RequestBodyUtils.js`
- `cypress-tests/cypress/utils/featureFlags.js`
**2. Tests**
- `cypress-tests/cypress/e2e/PaymentTest/00003-ConnectorCreate.cy.js`
- `cypress-tests/cypress/e2e/PaymentTest/00020-MandatesUsingNTID.cy.js`
- `cypress-tests/cypress/e2e/PaymentTest/00023-PaymentMethods.cy.js`
- ... and 8 more files
**Code Patterns Applied:**
- Extend existing types with new fields (69 changes)
- Add conditional logic for feature flags or filtering (14 changes)
|
{"pr_number": 6735, "pr_title": "ci: add tests that make use of locker", "merged_at": "2024-12-26T12:15:14Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "connector"]}, "hierarchy": {"utils": ["cypress-tests/cypress/utils/RequestBodyUtils.js", "cypress-tests/cypress/utils/featureFlags.js"], "tests": ["cypress-tests/cypress/e2e/PaymentTest/00003-ConnectorCreate.cy.js", "cypress-tests/cypress/e2e/PaymentTest/00020-MandatesUsingNTID.cy.js", "cypress-tests/cypress/e2e/PaymentTest/00023-PaymentMethods.cy.js", "cypress-tests/cypress/e2e/PaymentTest/00024-ConnectorAgnostic.cy.js", "cypress-tests/cypress/e2e/PaymentUtils/Adyen.js", "cypress-tests/cypress/e2e/PaymentUtils/Commons.js", "cypress-tests/cypress/e2e/PaymentUtils/Cybersource.js", "cypress-tests/cypress/e2e/PaymentUtils/Stripe.js", "cypress-tests/cypress/e2e/PaymentUtils/Utils.js", "cypress-tests/cypress/e2e/PaymentUtils/WorldPay.js", "cypress-tests/cypress/support/commands.js"]}, "change_types": {"fields_added": 69, "conditionals_added": 14}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
Added the `v2/payments/filter` and `v2/payments/profile/filter` API to retrieve available payment filters (connectors, statuses, payment methods, authentication types, etc.) at merchant and profile level.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/admin.rs`
- `crates/api_models/src/payment_methods.rs`
**2. Core Business Logic**
- `crates/router/src/core/payments.rs`
**3. Type Definitions**
- `crates/common_types/src/payment_methods.rs`
**4. Configuration Files**
- `crates/router/Cargo.toml`
**5. Other**
- `crates/router/src/routes/app.rs`
- `crates/router/src/routes/payments.rs`
**Code Patterns Applied:**
- Implement new functions (9 changes)
- Extend existing types with new fields (3 changes)
- Add conditional logic for feature flags or filtering (1 changes)
- Modify database queries (2 changes)
**Detailed Identifier Changes:**
Commit 3d9d75cd:
Files to modify:
**crates/api_models/src/admin.rs**
Modify existing code
**crates/api_models/src/payment_methods.rs**
Modify existing code
**crates/common_types/src/payment_methods.rs**
Modify existing code
**crates/router/src/core/payments.rs**
Modify existing code
**crates/router/src/routes/app.rs**
Modify existing code
**crates/router/src/routes/payments.rs**
Modify existing code
|
{"pr_number": 7171, "pr_title": "feat(router): Add v2 endpoint to retrieve payment filters at merchant and profile level", "merged_at": "2025-02-25T18:48:16Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs", "crates/api_models/src/payment_methods.rs"], "core_business": ["crates/router/src/core/payments.rs"], "types": ["crates/common_types/src/payment_methods.rs"], "config": ["crates/router/Cargo.toml"], "other": ["crates/router/src/routes/app.rs", "crates/router/src/routes/payments.rs"]}, "change_types": {"functions_added": 9, "fields_added": 3, "conditionals_added": 1, "database_queries": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Add zero auth mandate flow for nexixpay connector. It uses 3ds payments flow to create mandates.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/router_request_types.rs`
**2. Core Business Logic**
- `crates/router/src/core/payments/transformers.rs`
**3. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/adyen.rs`
- `crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs`
- `crates/hyperswitch_connectors/src/connectors/nexixpay.rs`
- ... and 2 more files
**4. Tests**
- `cypress-tests/cypress/e2e/configs/Payment/Nexixpay.js`
**Code Patterns Applied:**
- Implement new functions (12 changes)
- Extend existing types with new fields (172 changes)
- Add conditional logic for feature flags or filtering (1 changes)
**Detailed Identifier Changes:**
Commit f6633a72:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/adyen.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nexixpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/utils.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_request_types.rs**
Modify existing code
**crates/router/src/core/payments/transformers.rs**
Modify existing code
|
{"pr_number": 7532, "pr_title": "feat(connector): [Nexixpay] add setup mandate flow", "merged_at": "2025-03-18T18:15:56Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/router_request_types.rs"], "core_business": ["crates/router/src/core/payments/transformers.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/adyen.rs", "crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs", "crates/hyperswitch_connectors/src/utils.rs"], "tests": ["cypress-tests/cypress/e2e/configs/Payment/Nexixpay.js"]}, "change_types": {"functions_added": 12, "fields_added": 172, "imports_added": 1, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
remove chasenet from jpmorgan wasm as ChaseNet doesn’t exist in PMT
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/connector_configs/src/connector.rs`
- `crates/connector_configs/toml/development.toml`
- `crates/connector_configs/toml/production.toml`
- ... and 1 more files
**Code Patterns Applied:**
- Extend existing types with new fields (5 changes)
|
{"pr_number": 6927, "pr_title": "fix(wasm): remove chasenet from jpmorgan wasm as ChaseNet doesn\u2019t exist in PMT", "merged_at": "2024-12-24T09:11:48Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"connectors": ["crates/connector_configs/src/connector.rs", "crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml"]}, "change_types": {"fields_added": 5}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
This PR updates Cypress documentation to deal with recent file structure change.
- `cypress-tests` folder structure to reduce confusion and chaos in within `e2e` directory
- previous:
```sh
.
└── cypress
├── e2e
│ ├── PaymentMethodListTest
│ ├── PaymentMethodListUtils
│ ├── PaymentTest
│ ├── PaymentUtils
│ ├── PayoutTest
│ ├── PayoutUtils
│ ├── RoutingTest
│ └── RoutingUtils
├── fixtures
├── support
└── utils
```
- present:
```sh
.
└── cypress
├── e2e
│ ├── configs
│ │ ├── Payment
│ │ ├── PaymentMethodList
│ │ ├── Payout
│ │ └── Routing
│ └── spec
│ ├── Misc
│ ├── Payment
│ ├── PaymentMethodList
│ ├── Payout
│ └── Routing
├── fixtures
├── support
└── utils
```
closes #6955
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Tests**
- `cypress-tests/README.md`
- `cypress-tests/cypress/support/e2e.js`
|
{"pr_number": 7016, "pr_title": "docs(cypress): update file structure", "merged_at": "2025-01-13T07:50:55Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment"]}, "hierarchy": {"tests": ["cypress-tests/README.md", "cypress-tests/cypress/support/e2e.js"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
This PR updates all **user-related Redis operations** to consistently use the **global Redis key prefix** (`global:`) instead of environment-specific prefixes like `public:` (V1) or `public_v2:` (V2).
Previously, different deployments used different prefixes, which caused inconsistencies especially during login, logout, switch, and caching flows.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Utils**
- `crates/router/src/utils/user.rs`
- `crates/router/src/utils/user/two_factor_auth.rs`
**2. Other**
- `crates/router/src/db.rs`
- `crates/router/src/db/kafka_store.rs`
- `crates/router/src/routes/app.rs`
- ... and 3 more files
**Code Patterns Applied:**
- Implement new functions (9 changes)
- Extend existing types with new fields (3 changes)
**Detailed Identifier Changes:**
Commit 6750b10f:
Files to modify:
**crates/router/src/db.rs**
Modify existing code
**crates/router/src/db/kafka_store.rs**
Modify existing code
**crates/router/src/routes/app.rs**
Modify existing code
**crates/router/src/services/authentication/blacklist.rs**
Modify existing code
**crates/router/src/services/authorization.rs**
Modify existing code
**crates/router/src/services/openidconnect.rs**
Modify existing code
**crates/router/src/utils/user.rs**
Modify existing code
**crates/router/src/utils/user/two_factor_auth.rs**
Modify existing code
|
{"pr_number": 7932, "pr_title": "fix(users): use global Redis prefix for all user-related cache operations", "merged_at": "2025-05-05T16:02:25Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user", "token"]}, "hierarchy": {"utils": ["crates/router/src/utils/user.rs", "crates/router/src/utils/user/two_factor_auth.rs"], "other": ["crates/router/src/db.rs", "crates/router/src/db/kafka_store.rs", "crates/router/src/routes/app.rs", "crates/router/src/services/authentication/blacklist.rs", "crates/router/src/services/authorization.rs", "crates/router/src/services/openidconnect.rs"]}, "change_types": {"functions_added": 9, "fields_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
Reverts juspay/hyperswitch#8205
|
To implement this **unknown** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/connector_configs/toml/development.toml`
- `crates/connector_configs/toml/production.toml`
- `crates/connector_configs/toml/sandbox.toml`
- ... and 2 more files
**Detailed Identifier Changes:**
Commit dab4058b:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/worldpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs**
Modify existing code
|
{"pr_number": 8224, "pr_title": "revert(connector): [Worldpay] add root CA certificate", "merged_at": "2025-06-10T08:33:22Z", "intent": {"feature_type": "unknown", "action": "unknown", "entities": []}, "hierarchy": {"connectors": ["crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/hyperswitch_connectors/src/connectors/worldpay.rs", "crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs"]}, "change_types": {}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
This PR modifies critical paths , specifically the `decide_connector` function and the `route_connector_v1_for_payments` function in the payments confirm flow.
These changes are made corresponding to a use case for Narvar. In case the connector specified in straight through routing is not eligible, the connectors configured in the active routing rule by the merchant should be added to the list of connectors before the fallback connectors are added to this list.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/payments.rs`
**Code Patterns Applied:**
- Extend existing types with new fields (1 changes)
**Detailed Identifier Changes:**
Commit c2ad04f4:
Files to modify:
**crates/router/src/core/payments.rs**
Modify existing code
|
{"pr_number": 7921, "pr_title": "refactor(routing): Add connectors from current active routing algorithm before adding fallback connectors", "merged_at": "2025-05-14T18:35:38Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments.rs"]}, "change_types": {"fields_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
Passing a field `transaction_type` as 3 if its an MIT. For all others, we should be passing 1.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs`
**Code Patterns Applied:**
- Extend existing types with new fields (8 changes)
- Add conditional logic for feature flags or filtering (5 changes)
**Detailed Identifier Changes:**
Commit 721f780c:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs**
Modify existing code
|
{"pr_number": 8518, "pr_title": "fix(connector): [CYBERSOURCE] Passing pares_status for MasterCard & Visa and transaction_type field", "merged_at": "2025-07-03T07:01:38Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"]}, "change_types": {"enums_added": 1, "fields_added": 8, "conditionals_added": 5}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
This will interpolate the success_based_routing config params with the specific payment's values:
So for now the redis key was something like PaymentMethod:Currency
After this change it will be something like Card:USD
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/routing.rs`
**2. Core Business Logic**
- `crates/router/src/core/errors.rs`
- `crates/router/src/core/payments.rs`
- `crates/router/src/core/payments/operations/payment_response.rs`
- ... and 2 more files
**3. Other**
- `crates/external_services/src/grpc_client.rs`
- `crates/external_services/src/grpc_client/dynamic_routing.rs`
**Code Patterns Applied:**
- Define new data structures (1 changes)
- Implement new functions (3 changes)
- Extend existing types with new fields (21 changes)
- Add conditional logic for feature flags or filtering (1 changes)
**Detailed Identifier Changes:**
Commit d9ce42fd:
Files to modify:
**crates/api_models/src/routing.rs**
Modify existing code
**crates/external_services/src/grpc_client.rs**
Modify existing code
**crates/external_services/src/grpc_client/dynamic_routing.rs**
Modify existing code
**crates/router/src/core/errors.rs**
Modify existing code
**crates/router/src/core/payments.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_response.rs**
Modify existing code
**crates/router/src/core/payments/routing.rs**
Modify existing code
**crates/router/src/core/routing/helpers.rs**
Modify existing code
|
{"pr_number": 6448, "pr_title": "Refactor(core): interpolate success_based_routing config params with their specific values", "merged_at": "2024-11-08T13:06:37Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "card"]}, "hierarchy": {"api_models": ["crates/api_models/src/routing.rs"], "core_business": ["crates/router/src/core/errors.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/operations/payment_response.rs", "crates/router/src/core/payments/routing.rs", "crates/router/src/core/routing/helpers.rs"], "other": ["crates/external_services/src/grpc_client.rs", "crates/external_services/src/grpc_client/dynamic_routing.rs"]}, "change_types": {"structs_added": 1, "functions_added": 3, "fields_added": 21, "imports_added": 3, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- 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`, fetches the schedule time for retrying MIT payments, and validates the presence of a payment_attempt_id. If any step fails, it returns an Internal Server Error. After constructing a `PcrWorkflowTrackingData` object with payment details, it inserts the process tracker entry into the database. If successful, it increments a task metrics counter and returns the inserted entry; otherwise, it returns an error.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/payments.rs`
**2. Database Layer (Queries & Schema)**
- `crates/diesel_models/src/process_tracker.rs`
- `crates/diesel_models/src/types.rs`
**3. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/lib.rs`
- `crates/hyperswitch_domain_models/src/payments.rs`
- `crates/hyperswitch_domain_models/src/revenue_recovery.rs`
- ... and 1 more files
**4. Core Business Logic**
- `crates/router/src/core/api_keys.rs`
- `crates/router/src/core/errors.rs`
- `crates/router/src/core/passive_churn_recovery.rs`
- ... and 8 more files
**Code Patterns Applied:**
- Implement new functions (3 changes)
- Extend existing types with new fields (20 changes)
- Add conditional logic for feature flags or filtering (2 changes)
**Detailed Identifier Changes:**
Commit aa337eee:
Files to modify:
**crates/api_models/src/payments.rs**
Modify existing code
**crates/diesel_models/src/process_tracker.rs**
Modify existing code
**crates/diesel_models/src/types.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/lib.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/payments.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/revenue_recovery.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_data.rs**
Modify existing code
**crates/router/src/core/api_keys.rs**
Modify existing code
**crates/router/src/core/errors.rs**
Modify existing code
**crates/router/src/core/passive_churn_recovery.rs**
Modify existing code
**crates/router/src/core/payment_methods.rs**
Modify existing code
**crates/router/src/core/payment_methods/vault.rs**
Modify existing code
**crates/router/src/core/payments.rs**
Modify existing code
**crates/router/src/core/payments/operations/proxy_payments_intent.rs**
Modify existing code
**crates/router/src/core/payouts.rs**
Modify existing code
**crates/router/src/core/refunds.rs**
Modify existing code
**crates/router/src/core/webhooks/outgoing.rs**
Modify existing code
**crates/router/src/core/webhooks/recovery_incoming.rs**
Modify existing code
|
{"pr_number": 7462, "pr_title": "feat(router): add connector field to PaymentRevenueRecoveryMetadata and implement schedule_failed_payment ", "merged_at": "2025-03-13T10:04:27Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "database": ["crates/diesel_models/src/process_tracker.rs", "crates/diesel_models/src/types.rs"], "domain": ["crates/hyperswitch_domain_models/src/lib.rs", "crates/hyperswitch_domain_models/src/payments.rs", "crates/hyperswitch_domain_models/src/revenue_recovery.rs", "crates/hyperswitch_domain_models/src/router_data.rs"], "core_business": ["crates/router/src/core/api_keys.rs", "crates/router/src/core/errors.rs", "crates/router/src/core/passive_churn_recovery.rs", "crates/router/src/core/payment_methods.rs", "crates/router/src/core/payment_methods/vault.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/operations/proxy_payments_intent.rs", "crates/router/src/core/payouts.rs", "crates/router/src/core/refunds.rs", "crates/router/src/core/webhooks/outgoing.rs", "crates/router/src/core/webhooks/recovery_incoming.rs"]}, "change_types": {"functions_added": 3, "fields_added": 20, "imports_added": 4, "conditionals_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Add apple_pay and google_pay mandate support for nuvei in integ,sbx and prod ( updation of config files)
Parent pr : https://github.com/juspay/hyperswitch/pull/9081
Refer test cases with above pr
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Tests**
- `config/deployments/integration_test.toml`
**2. Configuration Files**
- `config/deployments/production.toml`
- `config/deployments/sandbox.toml`
- `config/docker_compose.toml`
|
{"pr_number": 9256, "pr_title": "feat(nuvei): add mandate support for integ,prod,and sbx for googlepay applepay", "merged_at": "2025-09-03T12:35:52Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"tests": ["config/deployments/integration_test.toml"], "config": ["config/deployments/production.toml", "config/deployments/sandbox.toml", "config/docker_compose.toml"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
change click_to_pay const to snake_case and remove camel_case serde rename for clicktopay metadata
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/payments.rs`
**2. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/payments.rs`
**3. Other**
- `api-reference-v2/openapi_spec.json`
- `api-reference/openapi_spec.json`
- `crates/router/src/consts.rs`
**Detailed Identifier Changes:**
Commit 3d4fd2f7:
Files to modify:
**crates/api_models/src/payments.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/payments.rs**
Modify existing code
**crates/router/src/consts.rs**
Modify existing code
|
{"pr_number": 6852, "pr_title": "fix(router): change click_to_pay const to snake_case and remove camel_case serde rename for clicktopay metadata", "merged_at": "2024-12-16T14:27:33Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "connector"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "domain": ["crates/hyperswitch_domain_models/src/payments.rs"], "other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "crates/router/src/consts.rs"]}, "change_types": {}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
This PR addresses the clippy lints occurring due to new rust version 1.86.0
https://rust-lang.github.io/rust-clippy/master/index.html
|
To implement this **connector_integration** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/errors/utils.rs`
**2. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/bluesnap.rs`
- `crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs`
- `crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs`
- ... and 12 more files
**3. Type Definitions**
- `crates/common_utils/src/types.rs`
**4. Utils**
- `crates/common_utils/src/validation.rs`
**5. Other**
- `crates/euclid/src/backend/vir_interpreter.rs`
- `crates/router/src/events/audit_events.rs`
**Code Patterns Applied:**
- Extend existing types with new fields (1 changes)
- Add conditional logic for feature flags or filtering (1 changes)
**Detailed Identifier Changes:**
Commit 2123f63b:
Files to modify:
**crates/common_utils/src/types.rs**
Modify existing code
**crates/common_utils/src/validation.rs**
Modify existing code
**crates/euclid/src/backend/vir_interpreter.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bluesnap.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/forte/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/noon/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/paypal.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/square/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/volt.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/zen/transformers.rs**
Modify existing code
**crates/router/src/connector/netcetera/netcetera_types.rs**
Modify existing code
**crates/router/src/connector/netcetera/transformers.rs**
Modify existing code
**crates/router/src/core/errors/utils.rs**
Modify existing code
**crates/router/src/events/audit_events.rs**
Modify existing code
**crates/router/tests/connectors/cashtocode.rs**
Modify existing code
|
{"pr_number": 7735, "pr_title": "chore: address Rust 1.86.0 clippy lints", "merged_at": "2025-04-11T12:07:07Z", "intent": {"feature_type": "connector_integration", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"core_business": ["crates/router/src/core/errors/utils.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/bluesnap.rs", "crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs", "crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs", "crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs", "crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/forte/transformers.rs", "crates/hyperswitch_connectors/src/connectors/noon/transformers.rs", "crates/hyperswitch_connectors/src/connectors/paypal.rs", "crates/hyperswitch_connectors/src/connectors/square/transformers.rs", "crates/hyperswitch_connectors/src/connectors/volt.rs", "crates/hyperswitch_connectors/src/connectors/worldpay.rs", "crates/hyperswitch_connectors/src/connectors/zen/transformers.rs", "crates/router/src/connector/netcetera/netcetera_types.rs", "crates/router/src/connector/netcetera/transformers.rs", "crates/router/tests/connectors/cashtocode.rs"], "types": ["crates/common_utils/src/types.rs"], "utils": ["crates/common_utils/src/validation.rs"], "other": ["crates/euclid/src/backend/vir_interpreter.rs", "crates/router/src/events/audit_events.rs"]}, "change_types": {"fields_added": 1, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Consume merchant_account_id and merchant_config_currency from payment requests for braintree.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/payments.rs`
**2. Database Layer (Queries & Schema)**
- `crates/diesel_models/src/payment_attempt.rs`
**3. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/router_request_types.rs`
- `crates/hyperswitch_domain_models/src/router_response_types.rs`
**4. Core Business Logic**
- `crates/router/src/core/payments/transformers.rs`
- `crates/router/src/core/relay/utils.rs`
- `crates/router/src/core/utils.rs`
**5. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs`
- `crates/router/src/types/api/verify_connector.rs`
- `crates/router/tests/connectors/utils.rs`
**6. Type Definitions**
- `crates/router/src/types.rs`
**7. Other**
- `api-reference-v2/openapi_spec.json`
- `api-reference/openapi_spec.json`
- `crates/openapi/src/openapi.rs`
- ... and 2 more files
**Code Patterns Applied:**
- Define new data structures (1 changes)
- Extend existing types with new fields (27 changes)
**Detailed Identifier Changes:**
Commit 00d69bd9:
Files to modify:
**crates/api_models/src/payments.rs**
Modify existing code
**crates/diesel_models/src/payment_attempt.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_request_types.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_response_types.rs**
Modify existing code
**crates/openapi/src/openapi.rs**
Modify existing code
**crates/openapi/src/openapi_v2.rs**
Modify existing code
**crates/router/src/core/payments/transformers.rs**
Modify existing code
**crates/router/src/core/relay/utils.rs**
Modify existing code
**crates/router/src/core/utils.rs**
Modify existing code
**crates/router/src/services/api.rs**
Modify existing code
**crates/router/src/types.rs**
Modify existing code
**crates/router/src/types/api/verify_connector.rs**
Modify existing code
**crates/router/tests/connectors/utils.rs**
Modify existing code
|
{"pr_number": 7408, "pr_title": "fix(connector): [Braintree] Consume merchant_account_id and merchant_config_currency in payment requests", "merged_at": "2025-03-05T12:09:19Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "database": ["crates/diesel_models/src/payment_attempt.rs"], "domain": ["crates/hyperswitch_domain_models/src/router_request_types.rs", "crates/hyperswitch_domain_models/src/router_response_types.rs"], "core_business": ["crates/router/src/core/payments/transformers.rs", "crates/router/src/core/relay/utils.rs", "crates/router/src/core/utils.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs", "crates/router/src/types/api/verify_connector.rs", "crates/router/tests/connectors/utils.rs"], "types": ["crates/router/src/types.rs"], "other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "crates/openapi/src/openapi.rs", "crates/openapi/src/openapi_v2.rs", "crates/router/src/services/api.rs"]}, "change_types": {"structs_added": 1, "fields_added": 27}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs`
|
{"pr_number": 8451, "pr_title": "feat(connector): [ARCHIPEL] fix Mastercard scheme string for Applepay payments", "merged_at": "2025-06-24T14:29:45Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
This change adds support for capturing the reportGroup in the dashboard.
Currently, the dashboard does not extract the reportGroup from the metadata. With this update, it will start collecting and displaying the reportGroup field correctly.
Hotfix for https://github.com/juspay/hyperswitch/pull/8260
## How did you test it?
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->

## Checklist
<!-- Put an `x` in the boxes that apply -->
- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
|
To implement this **connector_integration** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/connector_configs/src/connector.rs`
**Code Patterns Applied:**
- Extend existing types with new fields (1 changes)
|
{"pr_number": 8270, "pr_title": "fix(wasm): [Worldpayvantiv] add support for metadata.report_group", "merged_at": "2025-06-06T08:00:24Z", "intent": {"feature_type": "connector_integration", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"connectors": ["crates/connector_configs/src/connector.rs"]}, "change_types": {"fields_added": 1}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
This is hot fix for the [PR](https://github.com/juspay/hyperswitch/pull/6446)
Earlier, for setup mandate flows we were not populating the Payment Method Info field, due to which for the Setup Mandate Payments the connector_mandate_details where not getting populated in the payment methods table. This PR fixes setup mandate payments to store connector mandate details, in the payment methods table.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/payments/operations/payment_response.rs`
**Code Patterns Applied:**
- Add conditional logic for feature flags or filtering (1 changes)
|
{"pr_number": 6450, "pr_title": "fix(core): fix setup mandate payments to store connector mandate details", "merged_at": "2024-10-28T10:08:40Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments/operations/payment_response.rs"]}, "change_types": {"conditionals_added": 1}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
Added Adyen and Checkout connectors in feature matrix api
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/adyen.rs`
- `crates/hyperswitch_connectors/src/connectors/checkout.rs`
**2. Tests**
- `config/deployments/integration_test.toml`
- `loadtest/config/development.toml`
**3. Configuration Files**
- `config/config.example.toml`
- `config/deployments/production.toml`
- `config/deployments/sandbox.toml`
- ... and 2 more files
**Code Patterns Applied:**
- Implement new functions (6 changes)
- Extend existing types with new fields (302 changes)
**Detailed Identifier Changes:**
Commit e404c0ce:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/adyen.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/checkout.rs**
Modify existing code
|
{"pr_number": 7914, "pr_title": "feat(connector): [ADYEN, CHECKOUT] Added In Feature Matrix API", "merged_at": "2025-05-12T14:31:35Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "refund", "connector"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/adyen.rs", "crates/hyperswitch_connectors/src/connectors/checkout.rs"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml"]}, "change_types": {"functions_added": 6, "fields_added": 302, "imports_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Support MOTO payments for checkout.
Updated status flag - if capture method is Automatic, we can map the Authorized status received from the connector to Charged.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs`
- `crates/hyperswitch_connectors/src/utils.rs`
**2. Tests**
- `cypress-tests/cypress/e2e/configs/Payment/Checkout.js`
**Code Patterns Applied:**
- Extend existing types with new fields (210 changes)
**Detailed Identifier Changes:**
Commit 3f8943bd:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/utils.rs**
Modify existing code
|
{"pr_number": 9327, "pr_title": "feat(connector): [checkout] add support for MOTO payments", "merged_at": "2025-09-10T14:18:55Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs", "crates/hyperswitch_connectors/src/utils.rs"], "tests": ["cypress-tests/cypress/e2e/configs/Payment/Checkout.js"]}, "change_types": {"fields_added": 210, "imports_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
- Add core flow for Void after Capture
- Add PostCaptureVoid Flow in worldpayVantiv connector
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/events/payment.rs`
- `crates/api_models/src/open_router.rs`
- `crates/api_models/src/payments.rs`
**2. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/router_data.rs`
- `crates/hyperswitch_domain_models/src/router_flow_types/payments.rs`
- `crates/hyperswitch_domain_models/src/router_request_types.rs`
- ... and 1 more files
**3. Core Business Logic**
- `crates/router/src/core/payments.rs`
- `crates/router/src/core/payments/flows.rs`
- `crates/router/src/core/payments/flows/cancel_post_capture_flow.rs`
- ... and 16 more files
**4. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs`
- `crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs`
- `crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs`
- ... and 6 more files
**5. Type Definitions**
- `crates/hyperswitch_interfaces/src/types.rs`
- `crates/router/src/compatibility/stripe/payment_intents/types.rs`
- `crates/router/src/compatibility/stripe/setup_intents/types.rs`
- ... and 5 more files
**6. Utils**
- `crates/router/src/routes/lock_utils.rs`
**7. Other**
- `api-reference/docs.json`
- `api-reference/v1/openapi_spec_v1.json`
- `api-reference/v1/payments/payments--cancel-post-capture.mdx`
- ... and 14 more files
**Code Patterns Applied:**
- Define new data structures (6 changes)
- Implement new functions (30 changes)
- Extend existing types with new fields (224 changes)
- Add conditional logic for feature flags or filtering (1 changes)
- Modify database queries (1 changes)
**Detailed Identifier Changes:**
Commit 57e92c9f:
Files to modify:
**crates/api_models/src/events/payment.rs**
Modify existing code
**crates/api_models/src/open_router.rs**
Modify existing code
**crates/api_models/src/payments.rs**
Modify existing code
**crates/common_enums/src/enums.rs**
Modify existing code
**crates/common_enums/src/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/default_implementations.rs**
Modify existing code
**crates/hyperswitch_connectors/src/default_implementations_v2.rs**
Modify existing code
**crates/hyperswitch_connectors/src/utils.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_data.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_flow_types/payments.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_request_types.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/types.rs**
Modify existing code
**crates/hyperswitch_interfaces/src/api/payments.rs**
Modify existing code
**crates/hyperswitch_interfaces/src/api/payments_v2.rs**
Modify existing code
**crates/hyperswitch_interfaces/src/types.rs**
Modify existing code
**crates/openapi/src/openapi.rs**
Modify existing code
**crates/openapi/src/routes/payments.rs**
Modify existing code
**crates/router/src/compatibility/stripe/payment_intents/types.rs**
Modify existing code
**crates/router/src/compatibility/stripe/setup_intents/types.rs**
Modify existing code
**crates/router/src/compatibility/stripe/webhooks.rs**
Modify existing code
**crates/router/src/connector/utils.rs**
Modify existing code
**crates/router/src/core/payments.rs**
Modify existing code
**crates/router/src/core/payments/flows.rs**
Modify existing code
**crates/router/src/core/payments/flows/cancel_post_capture_flow.rs**
Modify existing code
**crates/router/src/core/payments/helpers.rs**
Modify existing code
**crates/router/src/core/payments/operations.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_attempt_record.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_cancel_post_capture.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_capture_v2.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_confirm_intent.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_get.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_response.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_session_intent.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_update_intent.rs**
Modify existing code
**crates/router/src/core/payments/operations/proxy_payments_intent.rs**
Modify existing code
**crates/router/src/core/payments/payment_methods.rs**
Modify existing code
**crates/router/src/core/payments/retry.rs**
Modify existing code
**crates/router/src/core/payments/transformers.rs**
Modify existing code
**crates/router/src/core/revenue_recovery/transformers.rs**
Modify existing code
**crates/router/src/core/routing/helpers.rs**
Modify existing code
**crates/router/src/routes/app.rs**
Modify existing code
**crates/router/src/routes/lock_utils.rs**
Modify existing code
**crates/router/src/routes/payments.rs**
Modify existing code
**crates/router/src/services/api.rs**
Modify existing code
**crates/router/src/types.rs**
Modify existing code
**crates/router/src/types/api/payments.rs**
Modify existing code
**crates/router/src/types/api/payments_v2.rs**
Modify existing code
**crates/router/src/types/transformers.rs**
Modify existing code
**crates/router_derive/src/macros/operation.rs**
Modify existing code
**crates/router_env/src/logger/types.rs**
Modify existing code
|
{"pr_number": 8839, "pr_title": "feat(core): Add support for Void after Capture", "merged_at": "2025-08-06T08:04:14Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/events/payment.rs", "crates/api_models/src/open_router.rs", "crates/api_models/src/payments.rs"], "domain": ["crates/hyperswitch_domain_models/src/router_data.rs", "crates/hyperswitch_domain_models/src/router_flow_types/payments.rs", "crates/hyperswitch_domain_models/src/router_request_types.rs", "crates/hyperswitch_domain_models/src/types.rs"], "core_business": ["crates/router/src/core/payments.rs", "crates/router/src/core/payments/flows.rs", "crates/router/src/core/payments/flows/cancel_post_capture_flow.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations.rs", "crates/router/src/core/payments/operations/payment_attempt_record.rs", "crates/router/src/core/payments/operations/payment_cancel_post_capture.rs", "crates/router/src/core/payments/operations/payment_capture_v2.rs", "crates/router/src/core/payments/operations/payment_confirm_intent.rs", "crates/router/src/core/payments/operations/payment_get.rs", "crates/router/src/core/payments/operations/payment_response.rs", "crates/router/src/core/payments/operations/payment_session_intent.rs", "crates/router/src/core/payments/operations/payment_update_intent.rs", "crates/router/src/core/payments/operations/proxy_payments_intent.rs", "crates/router/src/core/payments/payment_methods.rs", "crates/router/src/core/payments/retry.rs", "crates/router/src/core/payments/transformers.rs", "crates/router/src/core/revenue_recovery/transformers.rs", "crates/router/src/core/routing/helpers.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs", "crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs", "crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs", "crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs", "crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/hyperswitch_connectors/src/default_implementations_v2.rs", "crates/hyperswitch_connectors/src/utils.rs", "crates/router/src/connector/utils.rs"], "types": ["crates/hyperswitch_interfaces/src/types.rs", "crates/router/src/compatibility/stripe/payment_intents/types.rs", "crates/router/src/compatibility/stripe/setup_intents/types.rs", "crates/router/src/types.rs", "crates/router/src/types/api/payments.rs", "crates/router/src/types/api/payments_v2.rs", "crates/router/src/types/transformers.rs", "crates/router_env/src/logger/types.rs"], "utils": ["crates/router/src/routes/lock_utils.rs"], "other": ["api-reference/docs.json", "api-reference/v1/openapi_spec_v1.json", "api-reference/v1/payments/payments--cancel-post-capture.mdx", "api-reference/v2/openapi_spec_v2.json", "crates/common_enums/src/enums.rs", "crates/common_enums/src/transformers.rs", "crates/hyperswitch_interfaces/src/api/payments.rs", "crates/hyperswitch_interfaces/src/api/payments_v2.rs", "crates/openapi/src/openapi.rs", "crates/openapi/src/routes/payments.rs", "crates/router/src/compatibility/stripe/webhooks.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/payments.rs", "crates/router/src/services/api.rs", "crates/router_derive/src/macros/operation.rs", "migrations/2025-08-04-143048_add-VoidedPostCharge/down.sql", "migrations/2025-08-04-143048_add-VoidedPostCharge/up.sql"]}, "change_types": {"structs_added": 6, "functions_added": 30, "fields_added": 224, "imports_added": 12, "conditionals_added": 1, "database_queries": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Stop sending back mandate reference from connector response in case of non-CIT payments to avoid making connector mandate details entry in payment_methods table. This should only be done in case of CIT payments to store correct PSP token which will be used in MIT payments.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs`
**Code Patterns Applied:**
- Extend existing types with new fields (12 changes)
**Detailed Identifier Changes:**
Commit c2a35606:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs**
Modify existing code
|
{"pr_number": 9614, "pr_title": "fix(connectors): [Nexixpay] fix for failing MITs", "merged_at": "2025-09-30T14:08:59Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"]}, "change_types": {"fields_added": 12}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Database Changes
Payment Intent: Added tax_status, discount_amount, shipping_amount_tax, duty_amount, customer_order_date
Customer: Added tax_registration_id for tax information
Address: Added origin_zip
API Models
Extended OrderDetailsWithAmount with SKU, UPC, commodity codes, unit prices
Configuration: Added l2_l3_data_config.enabled setting
WorldpayVantiv Integration: Added L2_L3 Support
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/customers.rs`
- `crates/api_models/src/payment_methods.rs`
- `crates/api_models/src/payments.rs`
**2. Database Layer (Queries & Schema)**
- `crates/diesel_models/src/address.rs`
- `crates/diesel_models/src/customers.rs`
- `crates/diesel_models/src/payment_intent.rs`
- ... and 3 more files
**3. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/address.rs`
- `crates/hyperswitch_domain_models/src/bulk_tokenization.rs`
- `crates/hyperswitch_domain_models/src/customer.rs`
- ... and 6 more files
**4. Core Business Logic**
- `crates/router/src/core/authentication/transformers.rs`
- `crates/router/src/core/customers.rs`
- `crates/router/src/core/files.rs`
- ... and 23 more files
**5. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs`
- `crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs`
- `crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs`
- ... and 10 more files
**6. Type Definitions**
- `crates/router/src/compatibility/stripe/customers/types.rs`
- `crates/router/src/compatibility/stripe/payment_intents/types.rs`
- `crates/router/src/types.rs`
- ... and 3 more files
**7. Utils**
- `crates/router/src/utils.rs`
- `crates/router/src/utils/user/sample_data.rs`
**8. Tests**
- `cypress-tests/cypress/fixtures/confirm-body.json`
- `cypress-tests/cypress/fixtures/create-customer-body.json`
**9. Configuration Files**
- `config/deployments/production.toml`
- `config/deployments/sandbox.toml`
- `config/development.toml`
- ... and 2 more files
**10. Other**
- `api-reference/v1/openapi_spec_v1.json`
- `api-reference/v2/openapi_spec_v2.json`
- `crates/common_enums/src/enums.rs`
- ... and 10 more files
**Code Patterns Applied:**
- Define new data structures (5 changes)
- Implement new functions (2 changes)
- Extend existing types with new fields (542 changes)
- Add conditional logic for feature flags or filtering (1 changes)
**Detailed Identifier Changes:**
Commit 58a9c9f0:
Files to modify:
**crates/api_models/src/customers.rs**
Modify existing code
**crates/api_models/src/payment_methods.rs**
Modify existing code
**crates/api_models/src/payments.rs**
Modify existing code
**crates/common_enums/src/enums.rs**
Modify existing code
**crates/diesel_models/src/address.rs**
Modify existing code
**crates/diesel_models/src/customers.rs**
Modify existing code
**crates/diesel_models/src/payment_intent.rs**
Modify existing code
**crates/diesel_models/src/schema.rs**
Modify existing code
**crates/diesel_models/src/schema_v2.rs**
Modify existing code
**crates/diesel_models/src/types.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/utils.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/address.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/bulk_tokenization.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/customer.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/lib.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/payment_methods.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/payments.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/payments/payment_intent.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_data.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_request_types.rs**
Modify existing code
**crates/hyperswitch_interfaces/src/conversion_impls.rs**
Modify existing code
**crates/openapi/src/openapi.rs**
Modify existing code
**crates/openapi/src/openapi_v2.rs**
Modify existing code
**crates/router/src/compatibility/stripe/customers/types.rs**
Modify existing code
**crates/router/src/compatibility/stripe/payment_intents/types.rs**
Modify existing code
**crates/router/src/configs/secrets_transformers.rs**
Modify existing code
**crates/router/src/configs/settings.rs**
Modify existing code
**crates/router/src/core/authentication/transformers.rs**
Modify existing code
**crates/router/src/core/customers.rs**
Modify existing code
**crates/router/src/core/files.rs**
Modify existing code
**crates/router/src/core/fraud_check/flows/checkout_flow.rs**
Modify existing code
**crates/router/src/core/fraud_check/flows/fulfillment_flow.rs**
Modify existing code
**crates/router/src/core/fraud_check/flows/record_return.rs**
Modify existing code
**crates/router/src/core/fraud_check/flows/sale_flow.rs**
Modify existing code
**crates/router/src/core/fraud_check/flows/transaction_flow.rs**
Modify existing code
**crates/router/src/core/mandate/utils.rs**
Modify existing code
**crates/router/src/core/payment_methods.rs**
Modify existing code
**crates/router/src/core/payment_methods/tokenize/card_executor.rs**
Modify existing code
**crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs**
Modify existing code
**crates/router/src/core/payments/helpers.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_complete_authorize.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_confirm.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_create.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_session.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_update.rs**
Modify existing code
**crates/router/src/core/payments/transformers.rs**
Modify existing code
**crates/router/src/core/payouts.rs**
Modify existing code
**crates/router/src/core/payouts/helpers.rs**
Modify existing code
**crates/router/src/core/refunds_v2.rs**
Modify existing code
**crates/router/src/core/relay/utils.rs**
Modify existing code
**crates/router/src/core/unified_authentication_service/utils.rs**
Modify existing code
**crates/router/src/core/utils.rs**
Modify existing code
**crates/router/src/core/webhooks/utils.rs**
Modify existing code
**crates/router/src/db/address.rs**
Modify existing code
**crates/router/src/types.rs**
Modify existing code
**crates/router/src/types/api/customers.rs**
Modify existing code
**crates/router/src/types/api/verify_connector.rs**
Modify existing code
**crates/router/src/types/domain/address.rs**
Modify existing code
**crates/router/src/types/transformers.rs**
Modify existing code
**crates/router/src/utils.rs**
Modify existing code
**crates/router/src/utils/user/sample_data.rs**
Modify existing code
**crates/router/tests/connectors/aci.rs**
Modify existing code
**crates/router/tests/connectors/adyen.rs**
Modify existing code
**crates/router/tests/connectors/dlocal.rs**
Modify existing code
**crates/router/tests/connectors/multisafepay.rs**
Modify existing code
**crates/router/tests/connectors/payme.rs**
Modify existing code
**crates/router/tests/connectors/utils.rs**
Modify existing code
**crates/router/tests/connectors/zen.rs**
Modify existing code
|
{"pr_number": 8828, "pr_title": "feat(core): Add L2_L3 Data Support ", "merged_at": "2025-08-05T13:22:10Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/customers.rs", "crates/api_models/src/payment_methods.rs", "crates/api_models/src/payments.rs"], "database": ["crates/diesel_models/src/address.rs", "crates/diesel_models/src/customers.rs", "crates/diesel_models/src/payment_intent.rs", "crates/diesel_models/src/schema.rs", "crates/diesel_models/src/schema_v2.rs", "crates/diesel_models/src/types.rs"], "domain": ["crates/hyperswitch_domain_models/src/address.rs", "crates/hyperswitch_domain_models/src/bulk_tokenization.rs", "crates/hyperswitch_domain_models/src/customer.rs", "crates/hyperswitch_domain_models/src/lib.rs", "crates/hyperswitch_domain_models/src/payment_methods.rs", "crates/hyperswitch_domain_models/src/payments.rs", "crates/hyperswitch_domain_models/src/payments/payment_intent.rs", "crates/hyperswitch_domain_models/src/router_data.rs", "crates/hyperswitch_domain_models/src/router_request_types.rs"], "core_business": ["crates/router/src/core/authentication/transformers.rs", "crates/router/src/core/customers.rs", "crates/router/src/core/files.rs", "crates/router/src/core/fraud_check/flows/checkout_flow.rs", "crates/router/src/core/fraud_check/flows/fulfillment_flow.rs", "crates/router/src/core/fraud_check/flows/record_return.rs", "crates/router/src/core/fraud_check/flows/sale_flow.rs", "crates/router/src/core/fraud_check/flows/transaction_flow.rs", "crates/router/src/core/mandate/utils.rs", "crates/router/src/core/payment_methods.rs", "crates/router/src/core/payment_methods/tokenize/card_executor.rs", "crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations/payment_complete_authorize.rs", "crates/router/src/core/payments/operations/payment_confirm.rs", "crates/router/src/core/payments/operations/payment_create.rs", "crates/router/src/core/payments/operations/payment_session.rs", "crates/router/src/core/payments/operations/payment_update.rs", "crates/router/src/core/payments/transformers.rs", "crates/router/src/core/payouts.rs", "crates/router/src/core/payouts/helpers.rs", "crates/router/src/core/refunds_v2.rs", "crates/router/src/core/relay/utils.rs", "crates/router/src/core/unified_authentication_service/utils.rs", "crates/router/src/core/utils.rs", "crates/router/src/core/webhooks/utils.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs", "crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs", "crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs", "crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs", "crates/hyperswitch_connectors/src/utils.rs", "crates/router/src/types/api/verify_connector.rs", "crates/router/tests/connectors/aci.rs", "crates/router/tests/connectors/adyen.rs", "crates/router/tests/connectors/dlocal.rs", "crates/router/tests/connectors/multisafepay.rs", "crates/router/tests/connectors/payme.rs", "crates/router/tests/connectors/utils.rs", "crates/router/tests/connectors/zen.rs"], "types": ["crates/router/src/compatibility/stripe/customers/types.rs", "crates/router/src/compatibility/stripe/payment_intents/types.rs", "crates/router/src/types.rs", "crates/router/src/types/api/customers.rs", "crates/router/src/types/domain/address.rs", "crates/router/src/types/transformers.rs"], "utils": ["crates/router/src/utils.rs", "crates/router/src/utils/user/sample_data.rs"], "tests": ["cypress-tests/cypress/fixtures/confirm-body.json", "cypress-tests/cypress/fixtures/create-customer-body.json"], "config": ["config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "crates/router/src/configs/secrets_transformers.rs", "crates/router/src/configs/settings.rs"], "other": ["api-reference/v1/openapi_spec_v1.json", "api-reference/v2/openapi_spec_v2.json", "crates/common_enums/src/enums.rs", "crates/hyperswitch_interfaces/src/conversion_impls.rs", "crates/openapi/src/openapi.rs", "crates/openapi/src/openapi_v2.rs", "crates/router/src/db/address.rs", "migrations/2025-07-31-181024_add_l2_l3_fields_to_payment_intent/down.sql", "migrations/2025-07-31-181024_add_l2_l3_fields_to_payment_intent/up.sql", "migrations/2025-07-31-193521_add_tax_registration_id_to_customer/down.sql", "migrations/2025-07-31-193521_add_tax_registration_id_to_customer/up.sql", "migrations/2025-08-01-050109_add_origin_zip_to_address/down.sql", "migrations/2025-08-01-050109_add_origin_zip_to_address/up.sql"]}, "change_types": {"structs_added": 5, "functions_added": 2, "enums_added": 1, "fields_added": 542, "imports_added": 1, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
Added webhooks integration support in hyperswitch so that for webhooks hyperswitch can call UCS and get the response.
Closes #8880
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/payments/helpers.rs`
- `crates/router/src/core/unified_connector_service.rs`
- `crates/router/src/core/unified_connector_service/transformers.rs`
- ... and 1 more files
**2. External Connector Integration**
- `crates/external_services/src/grpc_client/unified_connector_service.rs`
**Code Patterns Applied:**
- Define new data structures (2 changes)
- Implement new functions (15 changes)
- Extend existing types with new fields (87 changes)
- Add conditional logic for feature flags or filtering (9 changes)
- Modify database queries (1 changes)
**Detailed Identifier Changes:**
Commit 06dc66c6:
Files to modify:
**crates/external_services/src/grpc_client/unified_connector_service.rs**
Modify existing code
**crates/router/src/core/payments/helpers.rs**
Modify existing code
**crates/router/src/core/unified_connector_service.rs**
Modify existing code
**crates/router/src/core/unified_connector_service/transformers.rs**
Modify existing code
**crates/router/src/core/webhooks/incoming.rs**
Modify existing code
Commit a6624699:
Files to modify:
**crates/external_services/src/grpc_client/unified_connector_service.rs**
Modify existing code
**crates/router/src/core/payments/helpers.rs**
Modify existing code
**crates/router/src/core/unified_connector_service.rs**
Modify existing code
**crates/router/src/core/unified_connector_service/transformers.rs**
Modify existing code
**crates/router/src/core/webhooks/incoming.rs**
Modify existing code
|
{"pr_number": 8814, "pr_title": "feat(core): Adding integration for webhooks through UCS", "merged_at": "2025-08-08T14:35:40Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments/helpers.rs", "crates/router/src/core/unified_connector_service.rs", "crates/router/src/core/unified_connector_service/transformers.rs", "crates/router/src/core/webhooks/incoming.rs"], "connectors": ["crates/external_services/src/grpc_client/unified_connector_service.rs"]}, "change_types": {"structs_added": 2, "functions_added": 15, "fields_added": 87, "imports_added": 3, "conditionals_added": 9, "database_queries": 1}, "has_identifier_data": true, "commits_matched": 2, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
This PR addresses clippy lints stabilized / enabled in Rust 1.83.0. The major warnings being thrown due to the version bump were [`empty_line_after_doc_comments`](https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments) and [`empty_line_after_outer_attr`](https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr), and very few were from [`needless_lifetimes`](https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes). Consequently, addressing these involved removing some blank lines after doc comments and attributes, and removing the unnecessary lifetime annotations.
In addition, this PR enables and addresses the following lints:
- [`cloned_instead_of_copied`](https://rust-lang.github.io/rust-clippy/master/index.html#cloned_instead_of_copied): Checks for usage of `cloned()` on an `Iterator` or `Option` where `copied()` could be used instead.
- [`dbg_macro`](https://rust-lang.github.io/rust-clippy/master/index.html#dbg_macro): Checks for usage of the `dbg!` macro.
- [`fn_params_excessive_bools`](https://rust-lang.github.io/rust-clippy/master/index.html#fn_params_excessive_bools): Checks for excessive use of bools in function definitions, suggests two-variant enums instead. The maximum number of boolean params allowed by default is 3.
- There's also [`struct_excessive_bools`](https://rust-lang.github.io/rust-clippy/master/index.html#struct_excessive_bools) which warns about excessive usage of bools in structs, which I did NOT enable, since some of the fields in say business profile are bools, which toggle specific features of behavior and may not be easily replaceable with enums.
- [`mod_module_files`](https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files): Warns if `mod.rs` files are included in the module structure.
- [`unnecessary_self_imports`](https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_self_imports): Checks for imports ending in `::{self}`.
- [`wildcard_dependencies`](https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_dependencies): Checks for wildcard dependencies in the `Cargo.toml`.
## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.
If you don't have an issue, we'd recommend starting with one first so the PR
can focus on the implementation (unless it is an obvious bug or documentation fix
that will have little conversation).
-->
Resolves #6704.
As for the new lints enabled, they should help ensure better consistency throughout the codebase and help enforce certain practices.
## How did you test it?
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->
From what I'd expect, none of the existing behavior should be affected due to these changes. Our Postman and Cypress tests running on CI should pass, as before.
## Checklist
<!-- Put an `x` in the boxes that apply -->
- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
|
To implement this **payment** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/admin.rs`
- `crates/api_models/src/analytics.rs`
- `crates/api_models/src/api_keys.rs`
- ... and 7 more files
**2. Database Layer (Queries & Schema)**
- `crates/diesel_models/src/configs.rs`
- `crates/diesel_models/src/lib.rs`
- `crates/diesel_models/src/organization.rs`
- ... and 3 more files
**3. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/merchant_account.rs`
- `crates/hyperswitch_domain_models/src/payment_method_data.rs`
**4. Core Business Logic**
- `crates/external_services/src/hashicorp_vault/core.rs`
- `crates/router/src/core/admin.rs`
- `crates/router/src/core/payment_methods/cards.rs`
- ... and 8 more files
**5. External Connector Integration**
- `crates/connector_configs/src/common_config.rs`
- `crates/connector_configs/src/connector.rs`
- `crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs`
- ... and 17 more files
**6. Type Definitions**
- `crates/common_utils/src/types.rs`
- `crates/common_utils/src/types/keymanager.rs`
- `crates/euclid/src/dssa/types.rs`
- ... and 5 more files
**7. Utils**
- `crates/common_utils/src/crypto.rs`
- `crates/common_utils/src/custom_serde.rs`
- `crates/common_utils/src/errors.rs`
- ... and 4 more files
**8. Tests**
- `crates/router_env/tests/logger.rs`
- `crates/router_env/tests/test_module/some_module.rs`
- `crates/router_env/tests/test_module/mod.rs`
**9. Configuration Files**
- `.clippy.toml`
- `Cargo.toml`
- `crates/router_env/src/logger/config.rs`
**10. Other**
- `api-reference-v2/openapi_spec.json`
- `api-reference/openapi_spec.json`
- `crates/analytics/src/disputes/metrics/sessionized_metrics/mod.rs`
- ... and 66 more files
**Code Patterns Applied:**
- Implement new functions (2 changes)
- Extend existing types with new fields (9 changes)
**Detailed Identifier Changes:**
Commit 9a59d0a5:
Files to modify:
**crates/analytics/src/disputes/metrics/sessionized_metrics/mod.rs**
Modify existing code
**crates/analytics/src/payment_intents/metrics/sessionized_metrics/mod.rs**
Modify existing code
**crates/analytics/src/payments/metrics/sessionized_metrics/mod.rs**
Modify existing code
**crates/analytics/src/refunds/metrics/sessionized_metrics/mod.rs**
Modify existing code
**crates/api_models/src/admin.rs**
Modify existing code
**crates/api_models/src/analytics.rs**
Modify existing code
**crates/api_models/src/api_keys.rs**
Modify existing code
**crates/api_models/src/conditional_configs.rs**
Modify existing code
**crates/api_models/src/enums.rs**
Modify existing code
**crates/api_models/src/errors/mod.rs**
Modify existing code
**crates/api_models/src/payments.rs**
Modify existing code
**crates/api_models/src/pm_auth.rs**
Modify existing code
**crates/api_models/src/routing.rs**
Modify existing code
**crates/api_models/src/user/sample_data.rs**
Modify existing code
**crates/cards/src/validate.rs**
Modify existing code
**crates/common_enums/src/transformers.rs**
Modify existing code
**crates/common_utils/src/crypto.rs**
Modify existing code
**crates/common_utils/src/custom_serde.rs**
Modify existing code
**crates/common_utils/src/errors.rs**
Modify existing code
**crates/common_utils/src/ext_traits.rs**
Modify existing code
**crates/common_utils/src/pii.rs**
Modify existing code
**crates/common_utils/src/signals.rs**
Modify existing code
**crates/common_utils/src/types.rs**
Modify existing code
**crates/common_utils/src/types/keymanager.rs**
Modify existing code
**crates/connector_configs/src/common_config.rs**
Modify existing code
**crates/connector_configs/src/connector.rs**
Modify existing code
**crates/diesel_models/src/configs.rs**
Modify existing code
**crates/diesel_models/src/lib.rs**
Modify existing code
**crates/diesel_models/src/organization.rs**
Modify existing code
**crates/diesel_models/src/payment_attempt.rs**
Modify existing code
**crates/diesel_models/src/reverse_lookup.rs**
Modify existing code
**crates/diesel_models/src/services/logger.rs**
Modify existing code
**crates/drainer/src/services.rs**
Modify existing code
**crates/euclid/src/dssa/analyzer.rs**
Modify existing code
**crates/euclid/src/dssa/graph.rs**
Modify existing code
**crates/euclid/src/dssa/types.rs**
Modify existing code
**crates/euclid/src/frontend/ast.rs**
Modify existing code
**crates/euclid/src/frontend/ast/lowering.rs**
Modify existing code
**crates/euclid/src/frontend/ast/parser.rs**
Modify existing code
**crates/events/src/lib.rs**
Modify existing code
**crates/external_services/src/file_storage.rs**
Modify existing code
**crates/external_services/src/file_storage/file_system.rs**
Modify existing code
**crates/external_services/src/hashicorp_vault/core.rs**
Modify existing code
**crates/external_services/src/managers/encryption_management.rs**
Modify existing code
**crates/external_services/src/managers/secrets_management.rs**
Modify existing code
**crates/external_services/src/no_encryption.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/utils.rs**
Modify existing code
**crates/hyperswitch_constraint_graph/src/graph.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/merchant_account.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/payment_method_data.rs**
Modify existing code
**crates/hyperswitch_interfaces/src/secrets_interface.rs**
Modify existing code
**crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs**
Modify existing code
**crates/kgraph_utils/src/types.rs**
Modify existing code
**crates/masking/src/abs.rs**
Modify existing code
**crates/masking/src/boxed.rs**
Modify existing code
**crates/masking/src/diesel.rs**
Modify existing code
**crates/masking/src/lib.rs**
Modify existing code
**crates/masking/src/maskable.rs**
Modify existing code
**crates/masking/src/secret.rs**
Modify existing code
**crates/masking/src/serde.rs**
Modify existing code
**crates/masking/src/string.rs**
Modify existing code
**crates/masking/src/strong_secret.rs**
Modify existing code
**crates/masking/src/vec.rs**
Modify existing code
**crates/openapi/src/routes/payments.rs**
Modify existing code
**crates/openapi/src/routes/routing.rs**
Modify existing code
**crates/pm_auth/src/connector/plaid/transformers.rs**
Modify existing code
**crates/redis_interface/src/commands.rs**
Modify existing code
**crates/redis_interface/src/errors.rs**
Modify existing code
**crates/redis_interface/src/types.rs**
Modify existing code
**crates/router/src/connector/adyen/transformers.rs**
Modify existing code
**crates/router/src/connector/braintree/transformers.rs**
Modify existing code
**crates/router/src/connector/datatrans.rs**
Modify existing code
**crates/router/src/connector/globalpay/requests.rs**
Modify existing code
**crates/router/src/connector/paypal/transformers.rs**
Modify existing code
**crates/router/src/connector/riskified/transformers/api.rs**
Modify existing code
**crates/router/src/connector/signifyd/transformers/api.rs**
Modify existing code
**crates/router/src/connector/utils.rs**
Modify existing code
**crates/router/src/connector/wellsfargopayout.rs**
Modify existing code
**crates/router/src/core/admin.rs**
Modify existing code
**crates/router/src/core/payment_methods/cards.rs**
Modify existing code
**crates/router/src/core/payment_methods/utils.rs**
Modify existing code
**crates/router/src/core/payments.rs**
Modify existing code
**crates/router/src/core/payments/helpers.rs**
Modify existing code
**crates/router/src/core/pm_auth/transformers.rs**
Modify existing code
**crates/router/src/core/refunds.rs**
Modify existing code
**crates/router/src/core/routing/helpers.rs**
Modify existing code
**crates/router/src/core/user.rs**
Modify existing code
**crates/router/src/core/user_role/role.rs**
Modify existing code
**crates/router/src/db/user_authentication_method.rs**
Modify existing code
**crates/router/src/routes/payment_link.rs**
Modify existing code
**crates/router/src/routes/payments.rs**
Modify existing code
**crates/router/src/services/api/client.rs**
Modify existing code
**crates/router/src/services/authentication/decision.rs**
Modify existing code
**crates/router/src/services/kafka.rs**
Modify existing code
**crates/router/src/services/kafka/authentication.rs**
Modify existing code
**crates/router/src/services/kafka/authentication_event.rs**
Modify existing code
**crates/router/src/services/kafka/dispute.rs**
Modify existing code
**crates/router/src/services/kafka/dispute_event.rs**
Modify existing code
**crates/router/src/services/kafka/fraud_check.rs**
Modify existing code
**crates/router/src/services/kafka/fraud_check_event.rs**
Modify existing code
**crates/router/src/services/kafka/payment_attempt.rs**
Modify existing code
**crates/router/src/services/kafka/payment_attempt_event.rs**
Modify existing code
**crates/router/src/services/kafka/payment_intent.rs**
Modify existing code
**crates/router/src/services/kafka/payment_intent_event.rs**
Modify existing code
**crates/router/src/services/kafka/payout.rs**
Modify existing code
**crates/router/src/services/kafka/refund.rs**
Modify existing code
**crates/router/src/services/kafka/refund_event.rs**
Modify existing code
**crates/router/src/services/logger.rs**
Modify existing code
**crates/router/src/types/storage/payment_link.rs**
Modify existing code
**crates/router/src/types/transformers.rs**
Modify existing code
**crates/router/src/utils/user_role.rs**
Modify existing code
**crates/router/src/workflows/payment_sync.rs**
Modify existing code
**crates/router/tests/connectors/aci.rs**
Modify existing code
**crates/router_derive/src/lib.rs**
Modify existing code
**crates/router_derive/src/macros/operation.rs**
Modify existing code
**crates/router_env/src/lib.rs**
Modify existing code
**crates/router_env/src/logger/mod.rs**
Modify existing code
**crates/router_env/src/logger/config.rs**
Modify existing code
**crates/router_env/src/logger/formatter.rs**
Modify existing code
**crates/router_env/src/logger/setup.rs**
Modify existing code
**crates/router_env/src/logger/storage.rs**
Modify existing code
**crates/router_env/src/logger/types.rs**
Modify existing code
**crates/router_env/tests/logger.rs**
Modify existing code
**crates/router_env/tests/test_module/some_module.rs**
Modify existing code
**crates/router_env/tests/test_module/mod.rs**
Modify existing code
**crates/scheduler/src/db/mod.rs**
Modify existing code
**crates/storage_impl/src/mock_db.rs**
Modify existing code
**crates/storage_impl/src/redis/cache.rs**
Modify existing code
**crates/storage_impl/src/redis/kv_store.rs**
Modify existing code
|
{"pr_number": 6705, "pr_title": "chore: address Rust 1.83.0 clippy lints and enable more clippy lints", "merged_at": "2024-12-02T14:57:14Z", "intent": {"feature_type": "payment", "action": "add_feature", "entities": ["card"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs", "crates/api_models/src/analytics.rs", "crates/api_models/src/api_keys.rs", "crates/api_models/src/conditional_configs.rs", "crates/api_models/src/enums.rs", "crates/api_models/src/errors/mod.rs", "crates/api_models/src/payments.rs", "crates/api_models/src/pm_auth.rs", "crates/api_models/src/routing.rs", "crates/api_models/src/user/sample_data.rs"], "database": ["crates/diesel_models/src/configs.rs", "crates/diesel_models/src/lib.rs", "crates/diesel_models/src/organization.rs", "crates/diesel_models/src/payment_attempt.rs", "crates/diesel_models/src/reverse_lookup.rs", "crates/diesel_models/src/services/logger.rs"], "domain": ["crates/hyperswitch_domain_models/src/merchant_account.rs", "crates/hyperswitch_domain_models/src/payment_method_data.rs"], "core_business": ["crates/external_services/src/hashicorp_vault/core.rs", "crates/router/src/core/admin.rs", "crates/router/src/core/payment_methods/cards.rs", "crates/router/src/core/payment_methods/utils.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/pm_auth/transformers.rs", "crates/router/src/core/refunds.rs", "crates/router/src/core/routing/helpers.rs", "crates/router/src/core/user.rs", "crates/router/src/core/user_role/role.rs"], "connectors": ["crates/connector_configs/src/common_config.rs", "crates/connector_configs/src/connector.rs", "crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs", "crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs", "crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs", "crates/hyperswitch_connectors/src/connectors/worldpay.rs", "crates/hyperswitch_connectors/src/utils.rs", "crates/pm_auth/src/connector/plaid/transformers.rs", "crates/router/src/connector/adyen/transformers.rs", "crates/router/src/connector/braintree/transformers.rs", "crates/router/src/connector/datatrans.rs", "crates/router/src/connector/globalpay/requests.rs", "crates/router/src/connector/paypal/transformers.rs", "crates/router/src/connector/riskified/transformers/api.rs", "crates/router/src/connector/signifyd/transformers/api.rs", "crates/router/src/connector/utils.rs", "crates/router/src/connector/wellsfargopayout.rs", "crates/router/tests/connectors/aci.rs"], "types": ["crates/common_utils/src/types.rs", "crates/common_utils/src/types/keymanager.rs", "crates/euclid/src/dssa/types.rs", "crates/kgraph_utils/src/types.rs", "crates/redis_interface/src/types.rs", "crates/router/src/types/storage/payment_link.rs", "crates/router/src/types/transformers.rs", "crates/router_env/src/logger/types.rs"], "utils": ["crates/common_utils/src/crypto.rs", "crates/common_utils/src/custom_serde.rs", "crates/common_utils/src/errors.rs", "crates/common_utils/src/ext_traits.rs", "crates/common_utils/src/pii.rs", "crates/common_utils/src/signals.rs", "crates/router/src/utils/user_role.rs"], "tests": ["crates/router_env/tests/logger.rs", "crates/router_env/tests/test_module/some_module.rs", "crates/router_env/tests/test_module/mod.rs"], "config": [".clippy.toml", "Cargo.toml", "crates/router_env/src/logger/config.rs"], "other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "crates/analytics/src/disputes/metrics/sessionized_metrics/mod.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/mod.rs", "crates/analytics/src/payments/metrics/sessionized_metrics/mod.rs", "crates/analytics/src/refunds/metrics/sessionized_metrics/mod.rs", "crates/cards/src/validate.rs", "crates/common_enums/src/transformers.rs", "crates/drainer/src/services.rs", "crates/euclid/src/dssa/analyzer.rs", "crates/euclid/src/dssa/graph.rs", "crates/euclid/src/frontend/ast.rs", "crates/euclid/src/frontend/ast/lowering.rs", "crates/euclid/src/frontend/ast/parser.rs", "crates/events/src/lib.rs", "crates/external_services/src/file_storage.rs", "crates/external_services/src/file_storage/file_system.rs", "crates/external_services/src/managers/encryption_management.rs", "crates/external_services/src/managers/secrets_management.rs", "crates/external_services/src/no_encryption.rs", "crates/hyperswitch_constraint_graph/src/graph.rs", "crates/hyperswitch_interfaces/src/secrets_interface.rs", "crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs", "crates/masking/src/abs.rs", "crates/masking/src/boxed.rs", "crates/masking/src/diesel.rs", "crates/masking/src/lib.rs", "crates/masking/src/maskable.rs", "crates/masking/src/secret.rs", "crates/masking/src/serde.rs", "crates/masking/src/string.rs", "crates/masking/src/strong_secret.rs", "crates/masking/src/vec.rs", "crates/openapi/src/routes/payments.rs", "crates/openapi/src/routes/routing.rs", "crates/redis_interface/src/commands.rs", "crates/redis_interface/src/errors.rs", "crates/router/src/db/user_authentication_method.rs", "crates/router/src/routes/payment_link.rs", "crates/router/src/routes/payments.rs", "crates/router/src/services/api/client.rs", "crates/router/src/services/authentication/decision.rs", "crates/router/src/services/kafka.rs", "crates/router/src/services/kafka/authentication.rs", "crates/router/src/services/kafka/authentication_event.rs", "crates/router/src/services/kafka/dispute.rs", "crates/router/src/services/kafka/dispute_event.rs", "crates/router/src/services/kafka/fraud_check.rs", "crates/router/src/services/kafka/fraud_check_event.rs", "crates/router/src/services/kafka/payment_attempt.rs", "crates/router/src/services/kafka/payment_attempt_event.rs", "crates/router/src/services/kafka/payment_intent.rs", "crates/router/src/services/kafka/payment_intent_event.rs", "crates/router/src/services/kafka/payout.rs", "crates/router/src/services/kafka/refund.rs", "crates/router/src/services/kafka/refund_event.rs", "crates/router/src/services/logger.rs", "crates/router/src/workflows/payment_sync.rs", "crates/router_derive/src/lib.rs", "crates/router_derive/src/macros/operation.rs", "crates/router_env/src/lib.rs", "crates/router_env/src/logger/mod.rs", "crates/router_env/src/logger/formatter.rs", "crates/router_env/src/logger/setup.rs", "crates/router_env/src/logger/storage.rs", "crates/scheduler/src/db/mod.rs", "crates/storage_impl/src/mock_db.rs", "crates/storage_impl/src/redis/cache.rs", "crates/storage_impl/src/redis/kv_store.rs"]}, "change_types": {"functions_added": 2, "fields_added": 9, "imports_added": 13}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Added the script for showing output of ```docker compose up -d``` command, along with links to access individual components.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Other**
- `README.md`
- `scripts/docker_output.sh`
**Code Patterns Applied:**
- Add conditional logic for feature flags or filtering (1 changes)
|
{"pr_number": 7806, "pr_title": "fix: script for one click docker setup", "merged_at": "2025-04-13T18:11:03Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"other": ["README.md", "scripts/docker_output.sh"]}, "change_types": {"conditionals_added": 1}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
fix fingerprint implementation in v2.
Earlier, Card number is sent as the key to generate fingerprint, which restricted us to add same card for different customer and different merchant.
this pr fix the above by sending customer id as key while generation of fingerprint, which allows us to add same payment method for different customer.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/payment_methods.rs`
- `crates/router/src/core/payment_methods/vault.rs`
**Code Patterns Applied:**
- Extend existing types with new fields (2 changes)
|
{"pr_number": 7270, "pr_title": "fix(payment_methods_v2): update fingerprint implementation in v2", "merged_at": "2025-02-20T13:53:58Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/payment_methods.rs", "crates/router/src/core/payment_methods/vault.rs"]}, "change_types": {"fields_added": 2}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
This pr adds support for the invoice-generated event type for the incoming webhook for Chargebee and creates a process tracker entry that will trigger a S2S call and invoice sync.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/webhooks.rs`
**2. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/router_flow_types/subscriptions.rs`
- `crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs`
**3. Core Business Logic**
- `crates/router/src/core/subscription.rs`
- `crates/router/src/core/subscription/subscription_handler.rs`
- `crates/router/src/core/webhooks/incoming.rs`
- ... and 1 more files
**4. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/chargebee.rs`
- `crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs`
- `crates/hyperswitch_interfaces/src/connector_integration_interface.rs`
**5. Utils**
- `crates/router/src/utils.rs`
**6. Other**
- `crates/hyperswitch_interfaces/src/webhooks.rs`
**Code Patterns Applied:**
- Define new data structures (2 changes)
- Implement new functions (9 changes)
- Extend existing types with new fields (56 changes)
- Add conditional logic for feature flags or filtering (3 changes)
**Detailed Identifier Changes:**
Commit 32dd9e10:
Files to modify:
**crates/api_models/src/webhooks.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/chargebee.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_flow_types/subscriptions.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs**
Modify existing code
**crates/hyperswitch_interfaces/src/connector_integration_interface.rs**
Modify existing code
**crates/hyperswitch_interfaces/src/webhooks.rs**
Modify existing code
**crates/router/src/core/subscription.rs**
Modify existing code
**crates/router/src/core/subscription/subscription_handler.rs**
Modify existing code
**crates/router/src/core/webhooks/incoming.rs**
Modify existing code
**crates/router/src/core/webhooks/recovery_incoming.rs**
Modify existing code
**crates/router/src/utils.rs**
Modify existing code
|
{"pr_number": 9400, "pr_title": "feat: Implement subscriptions workflow and incoming webhook support", "merged_at": "2025-10-03T16:39:11Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/webhooks.rs"], "domain": ["crates/hyperswitch_domain_models/src/router_flow_types/subscriptions.rs", "crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs"], "core_business": ["crates/router/src/core/subscription.rs", "crates/router/src/core/subscription/subscription_handler.rs", "crates/router/src/core/webhooks/incoming.rs", "crates/router/src/core/webhooks/recovery_incoming.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/chargebee.rs", "crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs", "crates/hyperswitch_interfaces/src/connector_integration_interface.rs"], "utils": ["crates/router/src/utils.rs"], "other": ["crates/hyperswitch_interfaces/src/webhooks.rs"]}, "change_types": {"structs_added": 2, "functions_added": 9, "fields_added": 56, "imports_added": 4, "conditionals_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Add happy cases + variation cases for manual retry feature
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Tests**
- `cypress-tests/cypress/e2e/configs/Payment/Commons.js`
- `cypress-tests/cypress/e2e/configs/Payment/Cybersource.js`
- `cypress-tests/cypress/e2e/configs/Payment/Utils.js`
- ... and 1 more files
**Code Patterns Applied:**
- Extend existing types with new fields (166 changes)
- Add conditional logic for feature flags or filtering (15 changes)
|
{"pr_number": 9505, "pr_title": "feat(cypress): add cypress test-cases for manual retry", "merged_at": "2025-09-26T09:01:20Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"tests": ["cypress-tests/cypress/e2e/configs/Payment/Commons.js", "cypress-tests/cypress/e2e/configs/Payment/Cybersource.js", "cypress-tests/cypress/e2e/configs/Payment/Utils.js", "cypress-tests/cypress/e2e/spec/Payment/00032-ManualRetry.cy.js"]}, "change_types": {"fields_added": 166, "conditionals_added": 15}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
This PR ensures that the entity_id is backfilled in the user_roles table, preventing issues for V1 users when switching organizations and logging in.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Other**
- `migrations/2024-12-02-110129_update-user-role-entity-type/down.sql`
- `migrations/2024-12-02-110129_update-user-role-entity-type/up.sql`
- `migrations/2024-12-13-080558_entity-id-backfill-for-user-roles/down.sql`
- ... and 1 more files
**Code Patterns Applied:**
- Modify database queries (5 changes)
|
{"pr_number": 6847, "pr_title": "fix(user_roles): migrations for backfilling user_roles entity_id", "merged_at": "2024-12-16T13:36:14Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["merchant", "user"]}, "hierarchy": {"other": ["migrations/2024-12-02-110129_update-user-role-entity-type/down.sql", "migrations/2024-12-02-110129_update-user-role-entity-type/up.sql", "migrations/2024-12-13-080558_entity-id-backfill-for-user-roles/down.sql", "migrations/2024-12-13-080558_entity-id-backfill-for-user-roles/up.sql"]}, "change_types": {"database_queries": 5}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
- when webhook url is configured in psp's dashboard, some psp send a sample webhook for acknowledgement.
- this feature helps in bypassing business logic in case of an setup webhook and send 200 ok status
- the setup webhook is triggered if the IncomingWebhookEvent type is SetupWebhook (which is dependent on each psp's integration
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/webhooks.rs`
**2. Core Business Logic**
- `crates/router/src/core/webhooks/incoming.rs`
- `crates/router/src/core/webhooks/incoming_v2.rs`
- `crates/router/src/core/webhooks/recovery_incoming.rs`
**3. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/wise.rs`
**Code Patterns Applied:**
- Implement new functions (1 changes)
- Add conditional logic for feature flags or filtering (3 changes)
|
{"pr_number": 9420, "pr_title": "feat(core): add webhook setup event handler", "merged_at": "2025-09-22T07:58:41Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "merchant", "order"]}, "hierarchy": {"api_models": ["crates/api_models/src/webhooks.rs"], "core_business": ["crates/router/src/core/webhooks/incoming.rs", "crates/router/src/core/webhooks/incoming_v2.rs", "crates/router/src/core/webhooks/recovery_incoming.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/wise.rs"]}, "change_types": {"functions_added": 1, "conditionals_added": 3}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
Added Tests for Customer Deletion and Psync flows
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Tests**
- `cypress-tests/cypress/e2e/spec/Payment/00026-DeletedCustomerPsyncFlow.cy.js`
- `cypress-tests/cypress/e2e/spec/Payment/00026-BusinessProfileConfigs.cy.js`
- `cypress-tests/cypress/e2e/spec/Payment/00027-DynamicFields.cy.js`
- ... and 2 more files
**Code Patterns Applied:**
- Add conditional logic for feature flags or filtering (18 changes)
|
{"pr_number": 7158, "pr_title": "ci(cypress): Add Tests for Customer Deletion and Psync flows", "merged_at": "2025-02-07T07:45:21Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "user"]}, "hierarchy": {"tests": ["cypress-tests/cypress/e2e/spec/Payment/00026-DeletedCustomerPsyncFlow.cy.js", "cypress-tests/cypress/e2e/spec/Payment/00026-BusinessProfileConfigs.cy.js", "cypress-tests/cypress/e2e/spec/Payment/00027-DynamicFields.cy.js", "cypress-tests/cypress/e2e/spec/Payment/00028-IncrementalAuth.cy.js", "cypress-tests/cypress/support/commands.js"]}, "change_types": {"conditionals_added": 18}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
The format of csv:-
<img width="1720" height="33" alt="Screenshot 2025-09-02 at 13 57 36" src="https://github.com/user-attachments/assets/d8e57dc8-1707-49b2-a27f-79888ee5a8b9" />
<img width="1711" height="32" alt="Screenshot 2025-09-02 at 13 57 54" src="https://github.com/user-attachments/assets/222bbb5a-0c0a-4920-ad8e-d6d931be86ad" />
<img width="1644" height="28" alt="Screenshot 2025-09-02 at 13 58 07" src="https://github.com/user-attachments/assets/5e86aa7b-e34e-40fb-bbff-742d7316d8d5" />
here `CustomerReq_ID` is the customer token and `Token` is the payment token which is used as an identifier in Redis for tokens, ("customer:{}:tokens", customer_id) is used to get token and `Token` is used to find the field which we need to update.
So, we are parsing the csv and getting the valid records and building a request per record `RevenueRecoveryBackfillRequest`, from this request we are fetching the data like expiry month, year, card type, card issuer, card network, any of these fields are `null`, we are updating them from the request.
Complexity:-
for each valid record we are doing two Redis call, one for get and another for set.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/Cargo.toml`
- `crates/api_models/src/lib.rs`
- `crates/api_models/src/revenue_recovery_data_backfill.rs`
**2. Core Business Logic**
- `crates/router/src/core.rs`
- `crates/router/src/core/revenue_recovery/types.rs`
- `crates/router/src/core/revenue_recovery_data_backfill.rs`
**3. Type Definitions**
- `crates/router/src/types/storage/revenue_recovery_redis_operation.rs`
- `crates/router_env/src/logger/types.rs`
**4. Utils**
- `crates/router/src/routes/lock_utils.rs`
**5. Other**
- `Cargo.lock`
- `crates/router/src/lib.rs`
- `crates/router/src/routes.rs`
- ... and 2 more files
**Code Patterns Applied:**
- Define new data structures (8 changes)
- Implement new functions (15 changes)
- Extend existing types with new fields (50 changes)
- Add conditional logic for feature flags or filtering (2 changes)
- Modify database queries (3 changes)
**Detailed Identifier Changes:**
Commit d98ffdfb:
Files to modify:
**crates/api_models/src/lib.rs**
Modify existing code
**crates/api_models/src/revenue_recovery_data_backfill.rs**
Modify existing code
**crates/router/src/core.rs**
Modify existing code
**crates/router/src/core/revenue_recovery/types.rs**
Modify existing code
**crates/router/src/core/revenue_recovery_data_backfill.rs**
Modify existing code
**crates/router/src/lib.rs**
Modify existing code
**crates/router/src/routes.rs**
Modify existing code
**crates/router/src/routes/app.rs**
Modify existing code
**crates/router/src/routes/lock_utils.rs**
Modify existing code
**crates/router/src/routes/revenue_recovery_data_backfill.rs**
Modify existing code
**crates/router/src/types/storage/revenue_recovery_redis_operation.rs**
Modify existing code
**crates/router_env/src/logger/types.rs**
Modify existing code
|
{"pr_number": 9233, "pr_title": "feat(revenue_recovery): add support for updating additional card info data from csv to redis", "merged_at": "2025-09-18T11:31:08Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/Cargo.toml", "crates/api_models/src/lib.rs", "crates/api_models/src/revenue_recovery_data_backfill.rs"], "core_business": ["crates/router/src/core.rs", "crates/router/src/core/revenue_recovery/types.rs", "crates/router/src/core/revenue_recovery_data_backfill.rs"], "types": ["crates/router/src/types/storage/revenue_recovery_redis_operation.rs", "crates/router_env/src/logger/types.rs"], "utils": ["crates/router/src/routes/lock_utils.rs"], "other": ["Cargo.lock", "crates/router/src/lib.rs", "crates/router/src/routes.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/revenue_recovery_data_backfill.rs"]}, "change_types": {"structs_added": 8, "functions_added": 15, "enums_added": 1, "fields_added": 50, "imports_added": 24, "conditionals_added": 2, "database_queries": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
fixed notification_url and updated authentication bug
## How did you test it?
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->
Do Authentication create
```
curl --location 'localhost:8080/authentication' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_0NG9Fnn4XGvH2Q0MDxoRzB4o9q2uy7x5dgqiXYzoc08osUXbzh6z2Lzew0j28hgD' \
--data '{
"amount": 10,
"currency": "USD",
"acquirer_details": {
"acquirer_merchant_id": "12134",
"acquirer_bin": "438309",
"merchant_country_code": "004"
},
"authentication_connector":"juspaythreedsserver"
}'
```
Do eligibility call
```shell
curl --location 'localhost:8080/authentication/authn_O4hug1u4X0yddHYmFQxl/eligibility' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_0NG9Fnn4XGvH2Q0MDxoRzB4o9q2uy7x5dgqiXYzoc08osUXbzh6z2Lzew0j28hgD' \
--data-raw '{
"payment_method": "card",
"payment_method_data": {
"card": {
"card_number": "4916994064252017",
"card_exp_month": "10",
"card_exp_year": "25",
"card_holder_name": "joseph Doe",
"card_cvc": "123"
}
},
"billing": {
"address": {
"line1": "1467",
"line2": "Harrison Street",
"line3": "Harrison Street",
"city": "San Fransico",
"state": "CA",
"zip": "94122",
"country": "US",
"first_name": "PiX"
},
"phone": {
"number": "123456789",
"country_code": "12"
}
},
"shipping": {
"address": {
"line1": "1467",
"line2": "Harrison Street",
"line3": "Harrison Street",
"city": "San Fransico",
"state": "California",
"zip": "94122",
"country": "US",
"first_name": "PiX"
},
"phone": {
"number": "123456789",
"country_code": "12"
}
},
"email": "[email protected]",
"browser_information": {
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"language": "nl-NL",
"color_depth": 24,
"screen_height": 723,
"screen_width": 1536,
"time_zone": 0,
"java_enabled": true,
"java_script_enabled": true,
"ip_address": "115.99.183.2"
},
"profile_acquirer_id": "pro_acq_AiKYTHTtgcUeVZDvSQl3"
}'
```
do authenticate
```shell
curl --location 'localhost:8080/authentication/authn_O4hug1u4X0yddHYmFQxl/authenticate' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_0NG9Fnn4XGvH2Q0MDxoRzB4o9q2uy7x5dgqiXYzoc08osUXbzh6z2Lzew0j28hgD' \
--data '{
"device_channel": "BRW",
"threeds_method_comp_ind": "Y"
}
'
```
```shell
curl --location 'https://mock-three-ds-server-frosty-paper-8641.fly.dev/processor/mock/acs/trigger-otp?redirectUrl=http%3A%2F%2Flocalhost%3A8080%2Fauthentication%2Fsahkal11%2Fauthn_O4hug1u4X0yddHYmFQxl%2Fsync' \
--header 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
--header 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \
--header 'cache-control: no-cache' \
--header 'content-type: application/x-www-form-urlencoded' \
--header 'origin: https://juspay-3ds-sdk.netlify.app' \
--header 'pragma: no-cache' \
--header 'priority: u=0, i' \
--header 'referer: https://juspay-3ds-sdk.netlify.app/' \
--header 'sec-ch-ua: "Google Chrome";v="137", "Chromium";v="137", "Not/A)Brand";v="24"' \
--header 'sec-ch-ua-mobile: ?0' \
--header 'sec-ch-ua-platform: "macOS"' \
--header 'sec-fetch-dest: iframe' \
--header 'sec-fetch-mode: navigate' \
--header 'sec-fetch-site: cross-site' \
--header 'sec-fetch-storage-access: active' \
--header 'upgrade-insecure-requests: 1' \
--header 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36' \
--data-urlencode 'creq={"messageType":"CReq","threeDSServerTransID":"db9cb0d5-d38b-4c15-a7a1-c2f7d41e6056","acsTransID":"fd5aa71e-6125-4de7-8382-0ad24a5fd8d8","challengeWindowSize":"01","messageVersion":"2.2.0"}'
```
Then do sync
```shell
curl --location 'localhost:8080/authentication/sahkal11/authn_O4hug1u4X0yddHYmFQxl/sync' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_0NG9Fnn4XGvH2Q0MDxoRzB4o9q2uy7x5dgqiXYzoc08osUXbzh6z2Lzew0j28hgD' \
--data '{
}'
```
Should provide terminal state in 1st call itself
## Checklist
<!-- Put an `x` in the boxes that apply -->
- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
|
To implement this **payment** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/unified_authentication_service.rs`
**Code Patterns Applied:**
- Extend existing types with new fields (29 changes)
- Add conditional logic for feature flags or filtering (1 changes)
**Detailed Identifier Changes:**
Commit be4b43fa:
Files to modify:
**crates/router/src/core/unified_authentication_service.rs**
Modify existing code
|
{"pr_number": 8843, "pr_title": "fix(authentication): fixed notification_url and updated authentication bug", "merged_at": "2025-08-08T10:06:35Z", "intent": {"feature_type": "payment", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"core_business": ["crates/router/src/core/unified_authentication_service.rs"]}, "change_types": {"fields_added": 29, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
In the debit routing call we require the card number or the network token bin to perform the lookup to get the co-badged networks associated with the card. Currently the wallet decryption happens in the call connector service which will be called in the confirm call. In wallets as the as the network token can be obtained only after decrypting the wallet token, the decryption call has moved in such a way that the decryption happens before the debit routing call.
The `get_decrypted_wallet_payment_method_token` performs decryption only in the confirm call.
`WalletFlow` is the trait that contains two methods
1. `decide_wallet_flow` -> contains the logic that will decide what is the wallet flow (in this case it is decryption or skip decryption)
2. `decrypt_wallet_token` -> contains the logic to decrypt the respective wallet token
Once it is decrypted the data will be stored in `payment_method_token` of payment_data
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/payment_method_data.rs`
**2. Core Business Logic**
- `crates/router/src/core/payments.rs`
- `crates/router/src/core/payments/operations/payment_approve.rs`
- `crates/router/src/core/payments/operations/payment_cancel.rs`
- ... and 14 more files
**Code Patterns Applied:**
- Define new data structures (3 changes)
- Implement new functions (42 changes)
- Extend existing types with new fields (60 changes)
- Add conditional logic for feature flags or filtering (9 changes)
**Detailed Identifier Changes:**
Commit bf8dc495:
Files to modify:
**crates/hyperswitch_domain_models/src/payment_method_data.rs**
Modify existing code
**crates/router/src/core/payments.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_approve.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_cancel.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_capture.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_complete_authorize.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_confirm.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_create.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_post_session_tokens.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_reject.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_session.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_start.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_status.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_update.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_update_metadata.rs**
Modify existing code
**crates/router/src/core/payments/operations/payments_incremental_authorization.rs**
Modify existing code
**crates/router/src/core/payments/operations/tax_calculation.rs**
Modify existing code
**crates/router/src/core/payments/tokenization.rs**
Modify existing code
|
{"pr_number": 8598, "pr_title": "refactor(router): decrypt the wallet token before the debit routing call", "merged_at": "2025-07-18T12:55:27Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/payment_method_data.rs"], "core_business": ["crates/router/src/core/payments.rs", "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_complete_authorize.rs", "crates/router/src/core/payments/operations/payment_confirm.rs", "crates/router/src/core/payments/operations/payment_create.rs", "crates/router/src/core/payments/operations/payment_post_session_tokens.rs", "crates/router/src/core/payments/operations/payment_reject.rs", "crates/router/src/core/payments/operations/payment_session.rs", "crates/router/src/core/payments/operations/payment_start.rs", "crates/router/src/core/payments/operations/payment_status.rs", "crates/router/src/core/payments/operations/payment_update.rs", "crates/router/src/core/payments/operations/payment_update_metadata.rs", "crates/router/src/core/payments/operations/payments_incremental_authorization.rs", "crates/router/src/core/payments/operations/tax_calculation.rs", "crates/router/src/core/payments/tokenization.rs"]}, "change_types": {"structs_added": 3, "functions_added": 42, "enums_added": 1, "fields_added": 60, "conditionals_added": 9}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
to_state_code method of router is not updated so the implementation from hyperswitch_connectors needs to be used and the one from router is depreciated.
Note: Contains remaning European countries for ISO conversion
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/utils.rs`
- `crates/router/src/connector/netcetera/netcetera_types.rs`
- `crates/router/src/connector/threedsecureio/transformers.rs`
- ... and 1 more files
**2. Configuration Files**
- `.typos.toml`
**3. Other**
- `crates/common_enums/src/enums.rs`
**Code Patterns Applied:**
- Implement new functions (9 changes)
- Extend existing types with new fields (9 changes)
**Detailed Identifier Changes:**
Commit 3d3bed38:
Files to modify:
**crates/common_enums/src/enums.rs**
Modify existing code
**crates/hyperswitch_connectors/src/utils.rs**
Modify existing code
**crates/router/src/connector/netcetera/netcetera_types.rs**
Modify existing code
**crates/router/src/connector/threedsecureio/transformers.rs**
Modify existing code
**crates/router/src/connector/utils.rs**
Modify existing code
|
{"pr_number": 7287, "pr_title": "refactor(utils): use to_state_code of hyperswitch_connectors in router", "merged_at": "2025-02-17T13:28:13Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "connector"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/utils.rs", "crates/router/src/connector/netcetera/netcetera_types.rs", "crates/router/src/connector/threedsecureio/transformers.rs", "crates/router/src/connector/utils.rs"], "config": [".typos.toml"], "other": ["crates/common_enums/src/enums.rs"]}, "change_types": {"functions_added": 9, "enums_added": 9, "fields_added": 9, "imports_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
This PR resolves the v2 warnings generated in diesel_models.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Database Layer (Queries & Schema)**
- `crates/diesel_models/src/merchant_connector_account.rs`
- `crates/diesel_models/src/payment_attempt.rs`
- `crates/diesel_models/src/query/merchant_account.rs`
- ... and 4 more files
**Code Patterns Applied:**
- Implement new functions (2 changes)
**Detailed Identifier Changes:**
Commit 212ac270:
Files to modify:
**crates/diesel_models/src/merchant_connector_account.rs**
Modify existing code
**crates/diesel_models/src/payment_attempt.rs**
Modify existing code
**crates/diesel_models/src/query/merchant_account.rs**
Modify existing code
**crates/diesel_models/src/query/payment_attempt.rs**
Modify existing code
**crates/diesel_models/src/query/payment_method.rs**
Modify existing code
**crates/diesel_models/src/query/user/sample_data.rs**
Modify existing code
**crates/diesel_models/src/user/sample_data.rs**
Modify existing code
|
{"pr_number": 7359, "pr_title": "chore: resolve v2 warnings in diesel_models", "merged_at": "2025-04-29T10:25:05Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"database": ["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/sample_data.rs", "crates/diesel_models/src/user/sample_data.rs"]}, "change_types": {"functions_added": 2, "imports_added": 7}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Tests**
- `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/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/event.test.js`
- ... and 2 more files
|
{"pr_number": 7458, "pr_title": "fix(postman): update expected status from `processing` to `requires_capture` in payment confirmation tests", "merged_at": "2025-03-11T11:00:10Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "connector"]}, "hierarchy": {"tests": ["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/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/event.test.js", "postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario9a-Update amount with manual capture/Payments - Confirm/event.test.js", "postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/event.test.js"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
made changes to populate id column in merchant account while creating a new merchant_account record in v1.
So that the merchant account created in v1 can be read from v2.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/admin.rs`
**2. Database Layer (Queries & Schema)**
- `crates/diesel_models/src/query/merchant_account.rs`
**3. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/merchant_account.rs`
**4. Core Business Logic**
- `crates/router/src/core/admin.rs`
**5. Type Definitions**
- `crates/router/src/types/api/admin.rs`
- `crates/router/src/types/domain/user.rs`
**6. Utils**
- `crates/router/src/utils/user.rs`
**7. Other**
- `crates/router/src/routes/admin.rs`
**Code Patterns Applied:**
- Implement new functions (9 changes)
- Extend existing types with new fields (36 changes)
- Modify database queries (11 changes)
**Detailed Identifier Changes:**
Commit b63439a0:
Files to modify:
**crates/api_models/src/admin.rs**
Modify existing code
**crates/diesel_models/src/query/merchant_account.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/merchant_account.rs**
Modify existing code
**crates/router/src/core/admin.rs**
Modify existing code
**crates/router/src/routes/admin.rs**
Modify existing code
**crates/router/src/types/api/admin.rs**
Modify existing code
**crates/router/src/types/domain/user.rs**
Modify existing code
**crates/router/src/utils/user.rs**
Modify existing code
|
{"pr_number": 7426, "pr_title": "chore: make v1 merchant account forward compatible", "merged_at": "2025-03-07T11:44:45Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs"], "database": ["crates/diesel_models/src/query/merchant_account.rs"], "domain": ["crates/hyperswitch_domain_models/src/merchant_account.rs"], "core_business": ["crates/router/src/core/admin.rs"], "types": ["crates/router/src/types/api/admin.rs", "crates/router/src/types/domain/user.rs"], "utils": ["crates/router/src/utils/user.rs"], "other": ["crates/router/src/routes/admin.rs"]}, "change_types": {"functions_added": 9, "fields_added": 36, "imports_added": 2, "database_queries": 11}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
- Modified response handling logic to only populate `amount_captured` in router_data when payment status is `Charged`.
- Removed the integrity check error that was preventing overpaid payments from being processed correctly.
- The `PaymentsSyncData::get_captured_amount` method was ignoring the `amount_captured` parameter and only consulting stored payment data and getting total_amount. To fix this added `.or(amount_captured.map(MinorUnit::new))` to the chain in `PaymentsSyncData::get_captured_amount`, ensuring the method prioritizes amount_captured from router_data similar to PaymentsAuthorizeData before consulting payment_data for total_amount.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs`
- `crates/router/src/connector/utils.rs`
**2. Type Definitions**
- `crates/router/src/types.rs`
**Code Patterns Applied:**
- Extend existing types with new fields (1 changes)
|
{"pr_number": 9674, "pr_title": "fix(connector): [Cryptopay] fix amount_captured population logic in response handling", "merged_at": "2025-10-10T08:50:42Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs", "crates/router/src/connector/utils.rs"], "types": ["crates/router/src/types.rs"]}, "change_types": {"fields_added": 1}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
- Implement 3ds decision manger for V2
- Merchant can configure different 3ds rule for each profile.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/conditional_configs.rs`
**2. Database Layer (Queries & Schema)**
- `crates/diesel_models/src/business_profile.rs`
- `crates/diesel_models/src/schema_v2.rs`
**3. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/business_profile.rs`
**4. Core Business Logic**
- `crates/router/src/core/admin.rs`
- `crates/router/src/core/conditional_config.rs`
- `crates/router/src/core/payments.rs`
- ... and 3 more files
**5. Type Definitions**
- `crates/common_types/Cargo.toml`
- `crates/common_types/src/payments.rs`
- `crates/euclid/src/dssa/types.rs`
**6. Configuration Files**
- `crates/euclid_wasm/Cargo.toml`
- `v2_migrations/2025-01-13-181842_add_three_ds_decision_manager_config_in_profile/down.sql`
- `v2_migrations/2025-01-13-181842_add_three_ds_decision_manager_config_in_profile/up.sql`
**7. Other**
- `.github/CODEOWNERS`
- `Cargo.lock`
- `crates/euclid_wasm/src/lib.rs`
- ... and 3 more files
**Code Patterns Applied:**
- Define new data structures (4 changes)
- Implement new functions (7 changes)
- Extend existing types with new fields (92 changes)
**Detailed Identifier Changes:**
Commit 19009597:
Files to modify:
**crates/api_models/src/conditional_configs.rs**
Modify existing code
**crates/common_types/src/payments.rs**
Modify existing code
**crates/diesel_models/src/business_profile.rs**
Modify existing code
**crates/diesel_models/src/schema_v2.rs**
Modify existing code
**crates/euclid/src/dssa/types.rs**
Modify existing code
**crates/euclid_wasm/src/lib.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/business_profile.rs**
Modify existing code
**crates/router/src/core/admin.rs**
Modify existing code
**crates/router/src/core/conditional_config.rs**
Modify existing code
**crates/router/src/core/payments.rs**
Modify existing code
**crates/router/src/core/payments/conditional_configs.rs**
Modify existing code
**crates/router/src/core/payments/conditional_configs/transformers.rs**
Modify existing code
**crates/router/src/core/routing/helpers.rs**
Modify existing code
**crates/router/src/routes/app.rs**
Modify existing code
**crates/router/src/routes/routing.rs**
Modify existing code
**crates/router/src/services/authorization/permissions.rs**
Modify existing code
Commit b8c47cdf:
Files to modify:
**crates/api_models/src/conditional_configs.rs**
Modify existing code
**crates/common_types/src/payments.rs**
Modify existing code
**crates/diesel_models/src/business_profile.rs**
Modify existing code
**crates/diesel_models/src/schema_v2.rs**
Modify existing code
**crates/euclid/src/dssa/types.rs**
Modify existing code
**crates/euclid_wasm/src/lib.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/business_profile.rs**
Modify existing code
**crates/router/src/core/admin.rs**
Modify existing code
**crates/router/src/core/conditional_config.rs**
Modify existing code
**crates/router/src/core/payments.rs**
Modify existing code
**crates/router/src/core/payments/conditional_configs.rs**
Modify existing code
**crates/router/src/core/payments/conditional_configs/transformers.rs**
Modify existing code
**crates/router/src/core/routing/helpers.rs**
Modify existing code
**crates/router/src/routes/app.rs**
Modify existing code
**crates/router/src/routes/routing.rs**
Modify existing code
**crates/router/src/services/authorization/permissions.rs**
Modify existing code
|
{"pr_number": 7022, "pr_title": "feat(core): Implement 3ds decision manger for V2", "merged_at": "2025-02-05T14:59:36Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"api_models": ["crates/api_models/src/conditional_configs.rs"], "database": ["crates/diesel_models/src/business_profile.rs", "crates/diesel_models/src/schema_v2.rs"], "domain": ["crates/hyperswitch_domain_models/src/business_profile.rs"], "core_business": ["crates/router/src/core/admin.rs", "crates/router/src/core/conditional_config.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/conditional_configs.rs", "crates/router/src/core/payments/conditional_configs/transformers.rs", "crates/router/src/core/routing/helpers.rs"], "types": ["crates/common_types/Cargo.toml", "crates/common_types/src/payments.rs", "crates/euclid/src/dssa/types.rs"], "config": ["crates/euclid_wasm/Cargo.toml", "v2_migrations/2025-01-13-181842_add_three_ds_decision_manager_config_in_profile/down.sql", "v2_migrations/2025-01-13-181842_add_three_ds_decision_manager_config_in_profile/up.sql"], "other": [".github/CODEOWNERS", "Cargo.lock", "crates/euclid_wasm/src/lib.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/routing.rs", "crates/router/src/services/authorization/permissions.rs"]}, "change_types": {"structs_added": 4, "functions_added": 7, "fields_added": 92, "imports_added": 8}, "has_identifier_data": true, "commits_matched": 2, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Hotfix PR
Original PR: [https://github.com/juspay/hyperswitch/pull/7656](https://github.com/juspay/hyperswitch/pull/7656)
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Tests**
- `cypress-tests-v2/cypress/support/commands.js`
- `cypress-tests/cypress/support/commands.js`
**2. Other**
- `crates/router/src/routes/admin.rs`
- `crates/router/src/routes/profiles.rs`
- `crates/router/src/services/authentication.rs`
**Code Patterns Applied:**
- Define new data structures (1 changes)
- Implement new functions (2 changes)
- Extend existing types with new fields (7 changes)
- Add conditional logic for feature flags or filtering (3 changes)
**Detailed Identifier Changes:**
Commit ac7696d0:
Files to modify:
**crates/router/src/routes/admin.rs**
Modify existing code
**crates/router/src/routes/profiles.rs**
Modify existing code
**crates/router/src/services/authentication.rs**
Modify existing code
|
{"pr_number": 7663, "pr_title": "refactor(authentication): modify auth for profiles and mca routes to `ApiKeyAuthWithMerchantIdFromRoute`", "merged_at": "2025-03-28T09:29:21Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"tests": ["cypress-tests-v2/cypress/support/commands.js", "cypress-tests/cypress/support/commands.js"], "other": ["crates/router/src/routes/admin.rs", "crates/router/src/routes/profiles.rs", "crates/router/src/services/authentication.rs"]}, "change_types": {"structs_added": 1, "functions_added": 2, "fields_added": 7, "conditionals_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Context: In case of some billing connectors we don't get the enough data in the webhook itself to support creation of payment intent and payment attempt in our system. So previously we derived a flow named "BillingConnectorPaymentSync" in this PR:https://github.com/juspay/hyperswitch/pull/7461. This flow is used to fetch payment details of the invoices from the billing connectors using an API call to that billing connector.
In this pr we are calling the flow and getting the details which are needed to create payment intent and attempt in our system.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/recurly.rs`
- `crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs`
- `crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs`
- ... and 1 more files
**2. Tests**
- `config/deployments/integration_test.toml`
- `loadtest/config/development.toml`
**3. Configuration Files**
- `config/config.example.toml`
- `config/deployments/production.toml`
- `config/deployments/sandbox.toml`
- ... and 2 more files
**Code Patterns Applied:**
- Define new data structures (6 changes)
- Implement new functions (10 changes)
- Extend existing types with new fields (48 changes)
**Detailed Identifier Changes:**
Commit 68e22eef:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/recurly.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/default_implementations.rs**
Modify existing code
|
{"pr_number": 7497, "pr_title": "feat(connector): Add recovery support for recurly [v2]", "merged_at": "2025-04-08T10:46:18Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/recurly.rs", "crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs", "crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml"]}, "change_types": {"structs_added": 6, "functions_added": 10, "enums_added": 3, "fields_added": 48, "imports_added": 9}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
This pull request introduces a new feature to support an "exploration percentage" parameter in success-based routing configurations and adds a "RoutingApproach" enum to define routing strategies. These changes span multiple files, including API specifications, Rust models, and protocol buffer definitions, ensuring end-to-end support for the new functionality.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/open_router.rs`
- `crates/api_models/src/routing.rs`
**2. Core Business Logic**
- `crates/router/src/core/payments/routing.rs`
**3. Tests**
- `cypress-tests/cypress/e2e/configs/Payment/Worldpayxml.js`
**4. Configuration Files**
- `api-reference/hyperswitch_intelligent_router_open_api_spec.yml`
**5. Other**
- `api-reference-v2/openapi_spec.json`
- `api-reference/openapi_spec.json`
- `crates/external_services/src/grpc_client/dynamic_routing/success_rate_client.rs`
- ... and 1 more files
**Code Patterns Applied:**
- Extend existing types with new fields (12 changes)
- Add conditional logic for feature flags or filtering (1 changes)
**Detailed Identifier Changes:**
Commit 06435bbe:
Files to modify:
**crates/api_models/src/open_router.rs**
Modify existing code
**crates/api_models/src/routing.rs**
Modify existing code
**crates/external_services/src/grpc_client/dynamic_routing/success_rate_client.rs**
Modify existing code
**crates/router/src/core/payments/routing.rs**
Modify existing code
Commit 3eb94d9a:
Files to modify:
**crates/api_models/src/open_router.rs**
Modify existing code
**crates/api_models/src/routing.rs**
Modify existing code
**crates/external_services/src/grpc_client/dynamic_routing/success_rate_client.rs**
Modify existing code
**crates/router/src/core/payments/routing.rs**
Modify existing code
|
{"pr_number": 8158, "pr_title": "refactor(success_based): add support for exploration", "merged_at": "2025-05-27T17:51:02Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["merchant", "connector"]}, "hierarchy": {"api_models": ["crates/api_models/src/open_router.rs", "crates/api_models/src/routing.rs"], "core_business": ["crates/router/src/core/payments/routing.rs"], "tests": ["cypress-tests/cypress/e2e/configs/Payment/Worldpayxml.js"], "config": ["api-reference/hyperswitch_intelligent_router_open_api_spec.yml"], "other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "crates/external_services/src/grpc_client/dynamic_routing/success_rate_client.rs", "proto/success_rate.proto"]}, "change_types": {"enums_added": 1, "fields_added": 12, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 2, "match_method": "pr_number"}
|
Hotfix for - https://github.com/juspay/hyperswitch/pull/8988
fix message extension , change type of data from string to json
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/router_request_types/authentication.rs`
**2. Core Business Logic**
- `crates/router/src/core/payments.rs`
- `crates/router/src/core/payments/routing.rs`
**3. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs`
**Code Patterns Applied:**
- Extend existing types with new fields (2 changes)
|
{"pr_number": 8975, "pr_title": "refactor: [Netcetera] Handle response deserialization error ", "merged_at": "2025-08-20T07:30:02Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/router_request_types/authentication.rs"], "core_business": ["crates/router/src/core/payments.rs", "crates/router/src/core/payments/routing.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs"]}, "change_types": {"enums_added": 1, "fields_added": 2}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
data in tokenize flow for tokenex accepts only length of 13-19 chars, we are sending complete card data.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/payment_method_data.rs`
- `crates/hyperswitch_domain_models/src/vault.rs`
**2. Core Business Logic**
- `crates/router/src/core/payment_methods.rs`
- `crates/router/src/core/payment_methods/vault.rs`
- `crates/router/src/core/payments/helpers.rs`
**3. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/tokenex.rs`
- `crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs`
**Code Patterns Applied:**
- Implement new functions (2 changes)
- Extend existing types with new fields (64 changes)
- Add conditional logic for feature flags or filtering (2 changes)
**Detailed Identifier Changes:**
Commit 84f3013c:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/tokenex.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/payment_method_data.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/vault.rs**
Modify existing code
**crates/router/src/core/payment_methods.rs**
Modify existing code
**crates/router/src/core/payment_methods/vault.rs**
Modify existing code
**crates/router/src/core/payments/helpers.rs**
Modify existing code
|
{"pr_number": 9528, "pr_title": "fix(connector): [Tokenex] fix tokenize flow response handling for tokenex", "merged_at": "2025-09-25T16:22:29Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/payment_method_data.rs", "crates/hyperswitch_domain_models/src/vault.rs"], "core_business": ["crates/router/src/core/payment_methods.rs", "crates/router/src/core/payment_methods/vault.rs", "crates/router/src/core/payments/helpers.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/tokenex.rs", "crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs"]}, "change_types": {"functions_added": 2, "fields_added": 64, "imports_added": 3, "conditionals_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
This PR adds Cypress tests for validating the existence of card fields are updating the card info in the save card flow.
We cannot directly verify what has been updated in list customer payment method call since only the `globalState` is passed into the command. So, in order to maintain back wards compatibility, we're just validating that they're not empty.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Utils**
- `cypress-tests/cypress/utils/RequestBodyUtils.js`
**2. Tests**
- `cypress-tests/cypress/e2e/spec/Payment/00014-SaveCardFlow.cy.js`
- `cypress-tests/cypress/support/commands.js`
**Code Patterns Applied:**
- Extend existing types with new fields (5 changes)
- Add conditional logic for feature flags or filtering (4 changes)
|
{"pr_number": 7743, "pr_title": "ci(cypress): verify if card fields are populated on updating card info", "merged_at": "2025-04-11T07:52:48Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "user"]}, "hierarchy": {"utils": ["cypress-tests/cypress/utils/RequestBodyUtils.js"], "tests": ["cypress-tests/cypress/e2e/spec/Payment/00014-SaveCardFlow.cy.js", "cypress-tests/cypress/support/commands.js"]}, "change_types": {"fields_added": 5, "conditionals_added": 4}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
This PR filters the `error_code` and `error_message` in Payments API response to ensure HyperSwitch does not send back any 'invented' codes or messages. This is achieved by filtering such error codes and error messages are not sent back in the API response.
Details in ticket - https://github.com/juspay/hyperswitch/issues/7794 (point # 1)
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/payments/transformers.rs`
**2. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs`
**Code Patterns Applied:**
- Extend existing types with new fields (5 changes)
- Modify database queries (2 changes)
**Detailed Identifier Changes:**
Commit 7b3c33c8:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs**
Modify existing code
**crates/router/src/core/payments/transformers.rs**
Modify existing code
|
{"pr_number": 7801, "pr_title": "chore(payments): filter NO_ERROR_CODE and NO_ERROR_MESSAGE from payments API response", "merged_at": "2025-04-22T17:58:10Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments/transformers.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs"]}, "change_types": {"fields_added": 5, "imports_added": 1, "database_queries": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
This PR introduces support for Refunds Retrieve flow and Refunds Sync flow (Rsync) in V2 apis.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/events/refund.rs`
- `crates/api_models/src/refunds.rs`
**2. Database Layer (Queries & Schema)**
- `crates/diesel_models/src/refund.rs`
**3. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/payments.rs`
**4. Core Business Logic**
- `crates/router/src/core/refunds_v2.rs`
- `crates/router/src/core/utils.rs`
**5. Type Definitions**
- `crates/router/src/types/api/refunds.rs`
**6. Other**
- `api-reference-v2/openapi_spec.json`
- `crates/openapi/src/openapi_v2.rs`
- `crates/openapi/src/routes/refunds.rs`
- ... and 2 more files
**Code Patterns Applied:**
- Define new data structures (2 changes)
- Implement new functions (12 changes)
- Extend existing types with new fields (44 changes)
**Detailed Identifier Changes:**
Commit a289f19c:
Files to modify:
**crates/api_models/src/events/refund.rs**
Modify existing code
**crates/api_models/src/refunds.rs**
Modify existing code
**crates/diesel_models/src/refund.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/payments.rs**
Modify existing code
**crates/openapi/src/openapi_v2.rs**
Modify existing code
**crates/openapi/src/routes/refunds.rs**
Modify existing code
**crates/router/src/core/refunds_v2.rs**
Modify existing code
**crates/router/src/core/utils.rs**
Modify existing code
**crates/router/src/routes/app.rs**
Modify existing code
**crates/router/src/routes/refunds.rs**
Modify existing code
**crates/router/src/types/api/refunds.rs**
Modify existing code
|
{"pr_number": 7835, "pr_title": "feat(refunds_v2): Add Refunds Retrieve and Refunds Sync Core flow", "merged_at": "2025-05-07T07:05:31Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/events/refund.rs", "crates/api_models/src/refunds.rs"], "database": ["crates/diesel_models/src/refund.rs"], "domain": ["crates/hyperswitch_domain_models/src/payments.rs"], "core_business": ["crates/router/src/core/refunds_v2.rs", "crates/router/src/core/utils.rs"], "types": ["crates/router/src/types/api/refunds.rs"], "other": ["api-reference-v2/openapi_spec.json", "crates/openapi/src/openapi_v2.rs", "crates/openapi/src/routes/refunds.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/refunds.rs"]}, "change_types": {"structs_added": 2, "functions_added": 12, "fields_added": 44, "imports_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
Add support for traditional chinese locale for payment links
SDK PR https://github.com/juspay/hyperswitch-web/pull/822
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/payment_link/locale.js`
**Code Patterns Applied:**
- Extend existing types with new fields (30 changes)
|
{"pr_number": 6745, "pr_title": "feat(payments): [Payment links] Add support for traditional chinese locale for payment links", "merged_at": "2024-12-05T13:37:28Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/payment_link/locale.js"]}, "change_types": {"fields_added": 30}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
Using values in allowed_payment_method_types that were not configured during the creation of the connector results in breaking the SDK flow which shows something went wrong, as the PML call returned an empty payment method list. We need to apply this check during intent creation call.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/payments/helpers.rs`
- `crates/router/src/core/payments/operations/payment_create.rs`
**2. Other**
- `crates/router/src/routes/metrics.rs`
**Code Patterns Applied:**
- Implement new functions (1 changes)
- Extend existing types with new fields (5 changes)
- Add conditional logic for feature flags or filtering (2 changes)
- Modify database queries (2 changes)
**Detailed Identifier Changes:**
Commit 0eca55f7:
Files to modify:
**crates/router/src/core/payments/helpers.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_create.rs**
Modify existing code
**crates/router/src/routes/metrics.rs**
Modify existing code
|
{"pr_number": 7019, "pr_title": "refactor: check allowed payment method types in enabled options", "merged_at": "2025-01-21T10:22:05Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "user"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations/payment_create.rs"], "other": ["crates/router/src/routes/metrics.rs"]}, "change_types": {"functions_added": 1, "fields_added": 5, "imports_added": 1, "conditionals_added": 2, "database_queries": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
We need to start sending execute_three_d as false in adyen no3ds payments request to skip 3ds auth at adyen ends.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs`
**Code Patterns Applied:**
- Extend existing types with new fields (4 changes)
|
{"pr_number": 9339, "pr_title": "feat(connector): [ADYEN ]: send execute_three_d in no3ds adyen", "merged_at": "2025-09-23T14:51:38Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"]}, "change_types": {"fields_added": 4}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
Add V2 payments_cancel flow by endpoint `{{baseUrl}}/v2/payments/:payment_id/cancel`.A payment can be cancelled when the status is RequiresCapture, PartiallyAuthorizedAndRequiresCapture, or PartiallyCapturedAndCapturable.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/events/payment.rs`
- `crates/api_models/src/payments.rs`
**2. Database Layer (Queries & Schema)**
- `crates/diesel_models/src/payment_attempt.rs`
**3. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/payments.rs`
- `crates/hyperswitch_domain_models/src/payments/payment_attempt.rs`
- `crates/hyperswitch_domain_models/src/payments/payment_intent.rs`
- ... and 1 more files
**4. Core Business Logic**
- `crates/router/src/core/payments.rs`
- `crates/router/src/core/payments/flows/cancel_flow.rs`
- `crates/router/src/core/payments/operations.rs`
- ... and 3 more files
**5. Other**
- `api-reference/v2/openapi_spec_v2.json`
- `crates/hyperswitch_interfaces/src/conversion_impls.rs`
- `crates/router/src/routes/app.rs`
- ... and 1 more files
**Code Patterns Applied:**
- Define new data structures (4 changes)
- Implement new functions (101 changes)
- Extend existing types with new fields (266 changes)
**Detailed Identifier Changes:**
Commit 617b3faa:
Files to modify:
**crates/api_models/src/events/payment.rs**
Modify existing code
**crates/api_models/src/payments.rs**
Modify existing code
**crates/diesel_models/src/payment_attempt.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/payments.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/payments/payment_attempt.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/payments/payment_intent.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_data.rs**
Modify existing code
**crates/hyperswitch_interfaces/src/conversion_impls.rs**
Modify existing code
**crates/router/src/core/payments.rs**
Modify existing code
**crates/router/src/core/payments/flows/cancel_flow.rs**
Modify existing code
**crates/router/src/core/payments/operations.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_cancel_v2.rs**
Modify existing code
**crates/router/src/core/payments/operations/payment_response.rs**
Modify existing code
**crates/router/src/core/payments/transformers.rs**
Modify existing code
**crates/router/src/routes/app.rs**
Modify existing code
**crates/router/src/routes/payments.rs**
Modify existing code
|
{"pr_number": 9083, "pr_title": "feat(router): Add v2 payment cancellation flow", "merged_at": "2025-09-22T18:39:33Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/events/payment.rs", "crates/api_models/src/payments.rs"], "database": ["crates/diesel_models/src/payment_attempt.rs"], "domain": ["crates/hyperswitch_domain_models/src/payments.rs", "crates/hyperswitch_domain_models/src/payments/payment_attempt.rs", "crates/hyperswitch_domain_models/src/payments/payment_intent.rs", "crates/hyperswitch_domain_models/src/router_data.rs"], "core_business": ["crates/router/src/core/payments.rs", "crates/router/src/core/payments/flows/cancel_flow.rs", "crates/router/src/core/payments/operations.rs", "crates/router/src/core/payments/operations/payment_cancel_v2.rs", "crates/router/src/core/payments/operations/payment_response.rs", "crates/router/src/core/payments/transformers.rs"], "other": ["api-reference/v2/openapi_spec_v2.json", "crates/hyperswitch_interfaces/src/conversion_impls.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/payments.rs"]}, "change_types": {"structs_added": 4, "functions_added": 101, "fields_added": 266, "imports_added": 14}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
This PR updates the regex used for forming the CompleteAuthorize URL for Worldpay post DDC submission.
Change made - the regex is updated to match any character except `/` for matching the query parameters. Earlier `/w` was being used which matched only the alphanumeric characters and underscore.
Defined in https://github.com/juspay/hyperswitch/issues/8025
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Other**
- `crates/router/src/services/api.rs`
|
{"pr_number": 8027, "pr_title": "fix(core): fix redirection for Worldpay for specific payment IDs", "merged_at": "2025-05-15T12:40:13Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"other": ["crates/router/src/services/api.rs"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
<!-- Describe your changes in detail -->
Added Payment Webhooks for Coingate
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/connector_configs/toml/development.toml`
- `crates/connector_configs/toml/production.toml`
- `crates/connector_configs/toml/sandbox.toml`
- ... and 2 more files
**Code Patterns Applied:**
- Define new data structures (2 changes)
- Implement new functions (5 changes)
- Extend existing types with new fields (37 changes)
**Detailed Identifier Changes:**
Commit fb8cba07:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/coingate.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs**
Modify existing code
|
{"pr_number": 7489, "pr_title": "feat(coingate): Add Payment webhooks", "merged_at": "2025-03-21T12:57:19Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/hyperswitch_connectors/src/connectors/coingate.rs", "crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs"]}, "change_types": {"structs_added": 2, "functions_added": 5, "fields_added": 37, "imports_added": 4}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Implemented Payment Method Samsung Pay for connector Bankofamerica
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs`
**Code Patterns Applied:**
- Define new data structures (3 changes)
- Implement new functions (2 changes)
- Extend existing types with new fields (19 changes)
**Detailed Identifier Changes:**
Commit 4c72a122:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs**
Modify existing code
|
{"pr_number": 6888, "pr_title": "feat(connector): [BANKOFAMERICA] Implement Samsung Pay", "merged_at": "2025-03-25T07:43:43Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"]}, "change_types": {"structs_added": 3, "functions_added": 2, "fields_added": 19, "imports_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Integrate Dwolla connector
Added ACH bank debit flow.
<details>
<summary> Flow </summary>
- Customer Creation - We create a customer using their email ID and receive the customer ID in the response headers.
- Payment Method Token (PMT) - We use the customer ID and bank account details to create a funding source.Receive the funding source ID in the response headers.
Handling Duplicate PMT Errors - When a subsequent request is made with the same bank account details, the connector returns a 4xx error along with the existing funding source ID in the error response.
To handle this scenario:
- A new connector_metadata field is added to the ErrorResponse.
- This field is populated with the funding source ID from the error.
- If connector_metadata is present in the response, the error is treated as a successful (2xx) response, and the flow continues using the provided funding source ID.
- Payments Flow
- Use the customer funding source ID (from step 2 or retrieved from connector_metadata in case of a duplicate).
- Use the merchant funding source ID (provided by the merchant and stored in metadata in MCA call).
- Initiate the payment request.
- The transaction ID is received in the response headers.
- Refunds Flow
Since the connector does not support native refunds, we reverse the direction of payment to simulate a refund.
- Use the merchant funding source ID (provided by the merchant and stored in metadata in MCA call) as the source account.
- Use the customer funding ID, which we store in connector_metadata during the payments call as destination account.
Note : In the Dwolla Sandbox environment, payment (transfer) statuses do not automatically change to "success" (or "processed") for bank-sourced transfers. By default, these transfers will remain in the "pending" state indefinitely, as the Sandbox does not replicate real ACH processing.
</details>
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/enums.rs`
**2. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/errors/api_error_response.rs`
- `crates/hyperswitch_domain_models/src/router_data.rs`
**3. Core Business Logic**
- `crates/router/src/core/connector_validation.rs`
- `crates/router/src/core/payments/access_token.rs`
- `crates/router/src/core/payments/tokenization.rs`
- ... and 3 more files
**4. External Connector Integration**
- `crates/common_enums/src/connector_enums.rs`
- `crates/connector_configs/src/connector.rs`
- `crates/connector_configs/toml/development.toml`
- ... and 182 more files
**5. Utils**
- `crates/router/src/utils.rs`
**6. Tests**
- `config/deployments/integration_test.toml`
- `loadtest/config/development.toml`
**7. Configuration Files**
- `config/config.example.toml`
- `config/deployments/production.toml`
- `config/deployments/sandbox.toml`
- ... and 2 more files
**8. Other**
- `api-reference/v1/openapi_spec_v1.json`
- `api-reference/v2/openapi_spec_v2.json`
- `crates/hyperswitch_interfaces/src/api.rs`
- ... and 1 more files
**Code Patterns Applied:**
- Define new data structures (19 changes)
- Implement new functions (34 changes)
- Extend existing types with new fields (622 changes)
- Add conditional logic for feature flags or filtering (8 changes)
**Detailed Identifier Changes:**
Commit c09c9366:
Files to modify:
**crates/api_models/src/enums.rs**
Modify existing code
**crates/common_enums/src/connector_enums.rs**
Modify existing code
**crates/connector_configs/src/connector.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/aci.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/adyen.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/adyenplatform.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/affirm.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/airwallex.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/amazonpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/archipel.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bambora.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bamboraapac.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bankofamerica.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/barclaycard.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/billwerk.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bitpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bluecode.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/bluesnap.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/boku.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/braintree.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/breadpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/cashtocode.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/celero.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/chargebee.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/checkbook.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/checkout.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/coinbase.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/coingate.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/cryptopay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/custombilling.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/cybersource.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/datatrans.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/deutschebank.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/dlocal.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/dummyconnector.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/dwolla.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/ebanx.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/fiserv.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/fiservemea.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/fiuu.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/flexiti.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/forte.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/getnet.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/globalpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/globepay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/gocardless.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/gpayments.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/helcim.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/hipay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/hyperwallet.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/iatapay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/inespay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/itaubank.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/jpmorgan.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/katapult.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/klarna.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/mifinity.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/mollie.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/moneris.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/mpgs.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/netcetera.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nexinets.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nexixpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nmi.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nomupay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/noon.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/noon/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nordea.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nordea/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/novalnet.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/opayo.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/opennode.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/paybox.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/payeezy.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/payload.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/payload/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/payme.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/payme/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/payone.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/paypal.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/paystack.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/paytm.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/payu.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/phonepe.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/placetopay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/plaid.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/powertranz.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/prophetpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/rapyd.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/razorpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/recurly.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/redsys.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/riskified.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/santander.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/shift4.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/sift.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/signifyd.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/silverflow.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/square.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/stax.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/stripe.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/stripebilling.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/taxjar.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/threedsecureio.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/thunes.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/tokenio.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/trustpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/trustpayments.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/vgs.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/volt.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/volt/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/wellsfargo.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/wise.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpay.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpayxml.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/xendit.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/zen.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/zen/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/zsl.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/default_implementations.rs**
Modify existing code
**crates/hyperswitch_connectors/src/utils.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/errors/api_error_response.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/router_data.rs**
Modify existing code
**crates/hyperswitch_interfaces/src/api.rs**
Modify existing code
**crates/hyperswitch_interfaces/src/connector_integration_v2.rs**
Modify existing code
**crates/payment_methods/src/configs/payment_connector_required_fields.rs**
Modify existing code
**crates/router/src/connector/utils.rs**
Modify existing code
**crates/router/src/core/connector_validation.rs**
Modify existing code
**crates/router/src/core/payments/access_token.rs**
Modify existing code
**crates/router/src/core/payments/tokenization.rs**
Modify existing code
**crates/router/src/core/payments/transformers.rs**
Modify existing code
**crates/router/src/core/payouts/access_token.rs**
Modify existing code
**crates/router/src/core/unified_connector_service/transformers.rs**
Modify existing code
**crates/router/src/services/api.rs**
Modify existing code
**crates/router/src/types/api/connector_mapping.rs**
Modify existing code
**crates/router/src/types/connector_transformers.rs**
Modify existing code
**crates/router/src/utils.rs**
Modify existing code
|
{"pr_number": 8586, "pr_title": "feat(connector): [DWOLLA] Connector integration", "merged_at": "2025-08-20T08:01:28Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/enums.rs"], "domain": ["crates/hyperswitch_domain_models/src/errors/api_error_response.rs", "crates/hyperswitch_domain_models/src/router_data.rs"], "core_business": ["crates/router/src/core/connector_validation.rs", "crates/router/src/core/payments/access_token.rs", "crates/router/src/core/payments/tokenization.rs", "crates/router/src/core/payments/transformers.rs", "crates/router/src/core/payouts/access_token.rs", "crates/router/src/core/unified_connector_service/transformers.rs"], "connectors": ["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.toml", "crates/hyperswitch_connectors/src/connectors/aci.rs", "crates/hyperswitch_connectors/src/connectors/adyen.rs", "crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs", "crates/hyperswitch_connectors/src/connectors/adyenplatform.rs", "crates/hyperswitch_connectors/src/connectors/affirm.rs", "crates/hyperswitch_connectors/src/connectors/airwallex.rs", "crates/hyperswitch_connectors/src/connectors/amazonpay.rs", "crates/hyperswitch_connectors/src/connectors/archipel.rs", "crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs", "crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs", "crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs", "crates/hyperswitch_connectors/src/connectors/bambora.rs", "crates/hyperswitch_connectors/src/connectors/bamboraapac.rs", "crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs", "crates/hyperswitch_connectors/src/connectors/bankofamerica.rs", "crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs", "crates/hyperswitch_connectors/src/connectors/barclaycard.rs", "crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs", "crates/hyperswitch_connectors/src/connectors/billwerk.rs", "crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs", "crates/hyperswitch_connectors/src/connectors/bitpay.rs", "crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs", "crates/hyperswitch_connectors/src/connectors/bluecode.rs", "crates/hyperswitch_connectors/src/connectors/bluesnap.rs", "crates/hyperswitch_connectors/src/connectors/boku.rs", "crates/hyperswitch_connectors/src/connectors/braintree.rs", "crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs", "crates/hyperswitch_connectors/src/connectors/breadpay.rs", "crates/hyperswitch_connectors/src/connectors/cashtocode.rs", "crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs", "crates/hyperswitch_connectors/src/connectors/celero.rs", "crates/hyperswitch_connectors/src/connectors/chargebee.rs", "crates/hyperswitch_connectors/src/connectors/checkbook.rs", "crates/hyperswitch_connectors/src/connectors/checkout.rs", "crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs", "crates/hyperswitch_connectors/src/connectors/coinbase.rs", "crates/hyperswitch_connectors/src/connectors/coingate.rs", "crates/hyperswitch_connectors/src/connectors/cryptopay.rs", "crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/custombilling.rs", "crates/hyperswitch_connectors/src/connectors/cybersource.rs", "crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs", "crates/hyperswitch_connectors/src/connectors/datatrans.rs", "crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs", "crates/hyperswitch_connectors/src/connectors/deutschebank.rs", "crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs", "crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs", "crates/hyperswitch_connectors/src/connectors/dlocal.rs", "crates/hyperswitch_connectors/src/connectors/dummyconnector.rs", "crates/hyperswitch_connectors/src/connectors/dwolla.rs", "crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs", "crates/hyperswitch_connectors/src/connectors/ebanx.rs", "crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs", "crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/fiserv.rs", "crates/hyperswitch_connectors/src/connectors/fiservemea.rs", "crates/hyperswitch_connectors/src/connectors/fiuu.rs", "crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs", "crates/hyperswitch_connectors/src/connectors/flexiti.rs", "crates/hyperswitch_connectors/src/connectors/forte.rs", "crates/hyperswitch_connectors/src/connectors/getnet.rs", "crates/hyperswitch_connectors/src/connectors/globalpay.rs", "crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/globepay.rs", "crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/gocardless.rs", "crates/hyperswitch_connectors/src/connectors/gpayments.rs", "crates/hyperswitch_connectors/src/connectors/helcim.rs", "crates/hyperswitch_connectors/src/connectors/hipay.rs", "crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs", "crates/hyperswitch_connectors/src/connectors/hyperwallet.rs", "crates/hyperswitch_connectors/src/connectors/iatapay.rs", "crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/inespay.rs", "crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/itaubank.rs", "crates/hyperswitch_connectors/src/connectors/jpmorgan.rs", "crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs", "crates/hyperswitch_connectors/src/connectors/katapult.rs", "crates/hyperswitch_connectors/src/connectors/klarna.rs", "crates/hyperswitch_connectors/src/connectors/mifinity.rs", "crates/hyperswitch_connectors/src/connectors/mollie.rs", "crates/hyperswitch_connectors/src/connectors/moneris.rs", "crates/hyperswitch_connectors/src/connectors/mpgs.rs", "crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/netcetera.rs", "crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nexinets.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nmi.rs", "crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nomupay.rs", "crates/hyperswitch_connectors/src/connectors/noon.rs", "crates/hyperswitch_connectors/src/connectors/noon/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nordea.rs", "crates/hyperswitch_connectors/src/connectors/nordea/transformers.rs", "crates/hyperswitch_connectors/src/connectors/novalnet.rs", "crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs", "crates/hyperswitch_connectors/src/connectors/opayo.rs", "crates/hyperswitch_connectors/src/connectors/opennode.rs", "crates/hyperswitch_connectors/src/connectors/paybox.rs", "crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs", "crates/hyperswitch_connectors/src/connectors/payeezy.rs", "crates/hyperswitch_connectors/src/connectors/payload.rs", "crates/hyperswitch_connectors/src/connectors/payload/transformers.rs", "crates/hyperswitch_connectors/src/connectors/payme.rs", "crates/hyperswitch_connectors/src/connectors/payme/transformers.rs", "crates/hyperswitch_connectors/src/connectors/payone.rs", "crates/hyperswitch_connectors/src/connectors/paypal.rs", "crates/hyperswitch_connectors/src/connectors/paystack.rs", "crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs", "crates/hyperswitch_connectors/src/connectors/paytm.rs", "crates/hyperswitch_connectors/src/connectors/payu.rs", "crates/hyperswitch_connectors/src/connectors/phonepe.rs", "crates/hyperswitch_connectors/src/connectors/placetopay.rs", "crates/hyperswitch_connectors/src/connectors/plaid.rs", "crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs", "crates/hyperswitch_connectors/src/connectors/powertranz.rs", "crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs", "crates/hyperswitch_connectors/src/connectors/prophetpay.rs", "crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/rapyd.rs", "crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs", "crates/hyperswitch_connectors/src/connectors/razorpay.rs", "crates/hyperswitch_connectors/src/connectors/recurly.rs", "crates/hyperswitch_connectors/src/connectors/redsys.rs", "crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs", "crates/hyperswitch_connectors/src/connectors/riskified.rs", "crates/hyperswitch_connectors/src/connectors/santander.rs", "crates/hyperswitch_connectors/src/connectors/shift4.rs", "crates/hyperswitch_connectors/src/connectors/sift.rs", "crates/hyperswitch_connectors/src/connectors/signifyd.rs", "crates/hyperswitch_connectors/src/connectors/silverflow.rs", "crates/hyperswitch_connectors/src/connectors/square.rs", "crates/hyperswitch_connectors/src/connectors/stax.rs", "crates/hyperswitch_connectors/src/connectors/stripe.rs", "crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs", "crates/hyperswitch_connectors/src/connectors/stripebilling.rs", "crates/hyperswitch_connectors/src/connectors/taxjar.rs", "crates/hyperswitch_connectors/src/connectors/threedsecureio.rs", "crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs", "crates/hyperswitch_connectors/src/connectors/thunes.rs", "crates/hyperswitch_connectors/src/connectors/tokenio.rs", "crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs", "crates/hyperswitch_connectors/src/connectors/trustpay.rs", "crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/trustpayments.rs", "crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs", "crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs", "crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs", "crates/hyperswitch_connectors/src/connectors/vgs.rs", "crates/hyperswitch_connectors/src/connectors/volt.rs", "crates/hyperswitch_connectors/src/connectors/volt/transformers.rs", "crates/hyperswitch_connectors/src/connectors/wellsfargo.rs", "crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs", "crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs", "crates/hyperswitch_connectors/src/connectors/wise.rs", "crates/hyperswitch_connectors/src/connectors/worldpay.rs", "crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs", "crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs", "crates/hyperswitch_connectors/src/connectors/worldpayxml.rs", "crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs", "crates/hyperswitch_connectors/src/connectors/xendit.rs", "crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs", "crates/hyperswitch_connectors/src/connectors/zen.rs", "crates/hyperswitch_connectors/src/connectors/zen/transformers.rs", "crates/hyperswitch_connectors/src/connectors/zsl.rs", "crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/hyperswitch_connectors/src/utils.rs", "crates/hyperswitch_interfaces/src/connector_integration_v2.rs", "crates/payment_methods/src/configs/payment_connector_required_fields.rs", "crates/router/src/connector/utils.rs", "crates/router/src/types/api/connector_mapping.rs", "crates/router/src/types/connector_transformers.rs"], "utils": ["crates/router/src/utils.rs"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml"], "other": ["api-reference/v1/openapi_spec_v1.json", "api-reference/v2/openapi_spec_v2.json", "crates/hyperswitch_interfaces/src/api.rs", "crates/router/src/services/api.rs"]}, "change_types": {"structs_added": 19, "functions_added": 34, "enums_added": 4, "fields_added": 622, "imports_added": 11, "conditionals_added": 8}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
Change connector fields that are currently implemented as required in the code to optional - billing address and card holder name are optional fields
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs`
**Code Patterns Applied:**
- Implement new functions (3 changes)
- Extend existing types with new fields (6 changes)
**Detailed Identifier Changes:**
Commit cfd0b079:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs**
Modify existing code
|
{"pr_number": 8342, "pr_title": "fix(connector): [ARCHIPEL] Change connector fields that are currently implemented as required in the code to optional", "merged_at": "2025-06-13T13:01:53Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "connector"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs"]}, "change_types": {"functions_added": 3, "fields_added": 6}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Adding Superposition as an independent module in External Services to abstract the complexity of integrating it with the core application.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core.rs`
- `crates/router/src/core/configs.rs`
- `crates/router/src/core/payment_methods/cards.rs`
**2. Type Definitions**
- `crates/external_services/src/superposition/types.rs`
**3. Configuration Files**
- `config/config.example.toml`
- `config/deployments/env_specific.toml`
- `config/development.toml`
- ... and 6 more files
**4. Other**
- `Cargo.lock`
- `crates/external_services/src/lib.rs`
- `crates/external_services/src/superposition.rs`
- ... and 2 more files
**Code Patterns Applied:**
- Define new data structures (4 changes)
- Implement new functions (19 changes)
- Extend existing types with new fields (76 changes)
- Add conditional logic for feature flags or filtering (1 changes)
**Detailed Identifier Changes:**
Commit acc1568b:
Files to modify:
**crates/external_services/src/lib.rs**
Modify existing code
**crates/external_services/src/superposition.rs**
Modify existing code
**crates/external_services/src/superposition/types.rs**
Modify existing code
**crates/router/src/configs/secrets_transformers.rs**
Modify existing code
**crates/router/src/configs/settings.rs**
Modify existing code
**crates/router/src/consts.rs**
Modify existing code
**crates/router/src/core.rs**
Modify existing code
**crates/router/src/core/configs.rs**
Modify existing code
**crates/router/src/core/payment_methods/cards.rs**
Modify existing code
**crates/router/src/routes/app.rs**
Modify existing code
|
{"pr_number": 9289, "pr_title": "feat: introduce a framework to fetch configs from superposition", "merged_at": "2025-10-09T11:05:38Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user", "card"]}, "hierarchy": {"core_business": ["crates/router/src/core.rs", "crates/router/src/core/configs.rs", "crates/router/src/core/payment_methods/cards.rs"], "types": ["crates/external_services/src/superposition/types.rs"], "config": ["config/config.example.toml", "config/deployments/env_specific.toml", "config/development.toml", "config/docker_compose.toml", "crates/external_services/Cargo.toml", "crates/router/Cargo.toml", "crates/router/src/configs/secrets_transformers.rs", "crates/router/src/configs/settings.rs", "docker-compose-development.yml"], "other": ["Cargo.lock", "crates/external_services/src/lib.rs", "crates/external_services/src/superposition.rs", "crates/router/src/consts.rs", "crates/router/src/routes/app.rs"]}, "change_types": {"structs_added": 4, "functions_added": 19, "enums_added": 1, "fields_added": 76, "imports_added": 9, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
Hotfix for https://github.com/juspay/hyperswitch/pull/7189
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/fiuu.rs`
**Code Patterns Applied:**
- Implement new functions (2 changes)
- Add conditional logic for feature flags or filtering (2 changes)
**Detailed Identifier Changes:**
Commit d1718ef0:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/fiuu.rs**
Modify existing code
|
{"pr_number": 7239, "pr_title": "chore(connector): [Fiuu] log keys in the PSync response", "merged_at": "2025-02-12T06:26:43Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/fiuu.rs"]}, "change_types": {"functions_added": 2, "imports_added": 1, "conditionals_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Template for Tesouro integration
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/connector_endpoints.rs`
**2. External Connector Integration**
- `crates/connector_configs/src/connector.rs`
- `crates/connector_configs/toml/development.toml`
- `crates/connector_configs/toml/production.toml`
- ... and 12 more files
**3. Tests**
- `config/deployments/integration_test.toml`
- `loadtest/config/development.toml`
**4. Configuration Files**
- `config/config.example.toml`
- `config/deployments/production.toml`
- `config/deployments/sandbox.toml`
- ... and 2 more files
**Code Patterns Applied:**
- Define new data structures (10 changes)
- Implement new functions (83 changes)
- Extend existing types with new fields (165 changes)
**Detailed Identifier Changes:**
Commit 239b6d37:
Files to modify:
**crates/connector_configs/src/connector.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/tesouro.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/default_implementations.rs**
Modify existing code
**crates/hyperswitch_connectors/src/default_implementations_v2.rs**
Modify existing code
**crates/hyperswitch_domain_models/src/connector_endpoints.rs**
Modify existing code
**crates/router/src/connector.rs**
Modify existing code
**crates/router/tests/connectors/main.rs**
Modify existing code
**crates/router/tests/connectors/tesouro.rs**
Modify existing code
**crates/test_utils/src/connector_auth.rs**
Modify existing code
|
{"pr_number": 9555, "pr_title": "feat(connector): [Tesouro] Add template code", "merged_at": "2025-09-25T18:03:31Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/connector_endpoints.rs"], "connectors": ["crates/connector_configs/src/connector.rs", "crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/hyperswitch_connectors/src/connectors.rs", "crates/hyperswitch_connectors/src/connectors/tesouro.rs", "crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/hyperswitch_connectors/src/default_implementations_v2.rs", "crates/router/src/connector.rs", "crates/router/tests/connectors/main.rs", "crates/router/tests/connectors/sample_auth.toml", "crates/router/tests/connectors/tesouro.rs", "crates/test_utils/src/connector_auth.rs", "scripts/add_connector.sh"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml"]}, "change_types": {"structs_added": 10, "functions_added": 83, "enums_added": 2, "fields_added": 165, "imports_added": 22}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
This PR is a part of v2 implementation of refunds. This PR contains the necessary database schema refactoring as well as handling this in the storage_impl crate.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Database Layer (Queries & Schema)**
- `crates/diesel_models/Cargo.toml`
- `crates/diesel_models/src/kv.rs`
- `crates/diesel_models/src/query/refund.rs`
- ... and 3 more files
**2. Type Definitions**
- `crates/router/src/types/storage/refund.rs`
**3. Configuration Files**
- `crates/router/Cargo.toml`
- `crates/storage_impl/Cargo.toml`
**4. Other**
- `crates/router/src/db/kafka_store.rs`
- `crates/router/src/db/refund.rs`
- `crates/router/src/services/kafka/refund.rs`
- ... and 12 more files
**Code Patterns Applied:**
- Define new data structures (5 changes)
- Implement new functions (26 changes)
- Extend existing types with new fields (326 changes)
- Modify database queries (1 changes)
**Detailed Identifier Changes:**
Commit bc8b9409:
Files to modify:
**crates/diesel_models/src/kv.rs**
Modify existing code
**crates/diesel_models/src/query/refund.rs**
Modify existing code
**crates/diesel_models/src/query/user/sample_data.rs**
Modify existing code
**crates/diesel_models/src/refund.rs**
Modify existing code
**crates/diesel_models/src/schema_v2.rs**
Modify existing code
**crates/router/src/db/kafka_store.rs**
Modify existing code
**crates/router/src/db/refund.rs**
Modify existing code
**crates/router/src/services/kafka/refund.rs**
Modify existing code
**crates/router/src/services/kafka/refund_event.rs**
Modify existing code
**crates/router/src/types/storage/refund.rs**
Modify existing code
**crates/storage_impl/src/lib.rs**
Modify existing code
|
{"pr_number": 7503, "pr_title": "feat(refunds): Add refunds diesel model support in V2 API", "merged_at": "2025-03-24T11:16:20Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["refund"]}, "hierarchy": {"database": ["crates/diesel_models/Cargo.toml", "crates/diesel_models/src/kv.rs", "crates/diesel_models/src/query/refund.rs", "crates/diesel_models/src/query/user/sample_data.rs", "crates/diesel_models/src/refund.rs", "crates/diesel_models/src/schema_v2.rs"], "types": ["crates/router/src/types/storage/refund.rs"], "config": ["crates/router/Cargo.toml", "crates/storage_impl/Cargo.toml"], "other": ["crates/router/src/db/kafka_store.rs", "crates/router/src/db/refund.rs", "crates/router/src/services/kafka/refund.rs", "crates/router/src/services/kafka/refund_event.rs", "crates/storage_impl/src/lib.rs", "v2_compatible_migrations/2024-08-28-081721_add_v2_columns/down.sql", "v2_compatible_migrations/2024-08-28-081721_add_v2_columns/up.sql", "v2_compatible_migrations/2024-08-28-081757_drop_not_null_constraints_on_v1_columns/down.sql", "v2_compatible_migrations/2024-08-28-081757_drop_not_null_constraints_on_v1_columns/up.sql", "v2_migrations/2024-08-28-081839_add_not_null_constraints_to_v2_columns/down.sql", "v2_migrations/2024-08-28-081839_add_not_null_constraints_to_v2_columns/up.sql", "v2_migrations/2024-08-28-081838_update_v2_primary_key_constraints/down.sql", "v2_migrations/2024-08-28-081838_update_v2_primary_key_constraints/up.sql", "v2_migrations/2025-01-13-081847_drop_v1_columns/down.sql", "v2_migrations/2025-01-13-081847_drop_v1_columns/up.sql"]}, "change_types": {"structs_added": 5, "functions_added": 26, "enums_added": 1, "fields_added": 326, "imports_added": 7, "database_queries": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Fix Serde derserialization issue -Elavon/Adyen
updated Serde lib was showing some errors
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs`
- `crates/hyperswitch_connectors/src/connectors/elavon.rs`
- `crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs`
**2. Tests**
- `cypress-tests/cypress/e2e/configs/Payment/Elavon.js`
**Code Patterns Applied:**
- Define new data structures (2 changes)
- Implement new functions (4 changes)
- Extend existing types with new fields (90 changes)
- Add conditional logic for feature flags or filtering (2 changes)
**Detailed Identifier Changes:**
Commit 78892257:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/elavon.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs**
Modify existing code
|
{"pr_number": 7823, "pr_title": "feat(connector): Fix Serde derserialization issue -Elavon/Adyen", "merged_at": "2025-05-05T10:49:22Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs", "crates/hyperswitch_connectors/src/connectors/elavon.rs", "crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs"], "tests": ["cypress-tests/cypress/e2e/configs/Payment/Elavon.js"]}, "change_types": {"structs_added": 2, "functions_added": 4, "enums_added": 1, "fields_added": 90, "imports_added": 3, "conditionals_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
Implement card 3ds flow for Paysafe
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/paysafe.rs`
- `crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs`
- `crates/hyperswitch_connectors/src/default_implementations.rs`
- ... and 1 more files
**2. Tests**
- `cypress-tests/cypress/e2e/configs/Payment/Paysafe.js`
- `cypress-tests/cypress/support/redirectionHandler.js`
**Code Patterns Applied:**
- Define new data structures (6 changes)
- Implement new functions (16 changes)
- Extend existing types with new fields (110 changes)
- Add conditional logic for feature flags or filtering (1 changes)
**Detailed Identifier Changes:**
Commit a87ab733:
Files to modify:
**crates/hyperswitch_connectors/src/connectors/paysafe.rs**
Modify existing code
**crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs**
Modify existing code
**crates/hyperswitch_connectors/src/default_implementations.rs**
Modify existing code
**crates/hyperswitch_connectors/src/utils.rs**
Modify existing code
|
{"pr_number": 9305, "pr_title": "feat(connector): [Paysafe] Implement card 3ds flow", "merged_at": "2025-09-11T15:53:05Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/paysafe.rs", "crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/hyperswitch_connectors/src/utils.rs"], "tests": ["cypress-tests/cypress/e2e/configs/Payment/Paysafe.js", "cypress-tests/cypress/support/redirectionHandler.js"]}, "change_types": {"structs_added": 6, "functions_added": 16, "enums_added": 6, "fields_added": 110, "imports_added": 3, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
This PR adds a referer field to the BrowserInformation struct to capture the HTTP Referer header value from client requests.
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/router_request_types.rs`
**2. Core Business Logic**
- `crates/router/src/core/unified_connector_service/transformers.rs`
**3. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs`
- `crates/router/tests/connectors/trustpay.rs`
- `crates/router/tests/connectors/utils.rs`
**4. Type Definitions**
- `crates/common_utils/src/types.rs`
**5. Utils**
- `crates/router/src/routes/payments/helpers.rs`
**6. Configuration Files**
- `crates/external_services/Cargo.toml`
- `crates/router/Cargo.toml`
**7. Other**
- `Cargo.lock`
- `api-reference/v2/openapi_spec_v2.json`
- `crates/router/src/services/api.rs`
**Code Patterns Applied:**
- Extend existing types with new fields (13 changes)
|
{"pr_number": 9474, "pr_title": "feat(core): add referer field to browser_info", "merged_at": "2025-09-24T16:51:54Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/router_request_types.rs"], "core_business": ["crates/router/src/core/unified_connector_service/transformers.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs", "crates/router/tests/connectors/trustpay.rs", "crates/router/tests/connectors/utils.rs"], "types": ["crates/common_utils/src/types.rs"], "utils": ["crates/router/src/routes/payments/helpers.rs"], "config": ["crates/external_services/Cargo.toml", "crates/router/Cargo.toml"], "other": ["Cargo.lock", "api-reference/v2/openapi_spec_v2.json", "crates/router/src/services/api.rs"]}, "change_types": {"fields_added": 13}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
Hotfix for https://github.com/juspay/hyperswitch/pull/9277
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/payments/routing.rs`
- `crates/router/src/core/payouts.rs`
- `crates/router/src/core/payouts/helpers.rs`
- ... and 1 more files
**Code Patterns Applied:**
- Implement new functions (1 changes)
- Extend existing types with new fields (9 changes)
**Detailed Identifier Changes:**
Commit 308760dd:
Files to modify:
**crates/router/src/core/payments/routing.rs**
Modify existing code
**crates/router/src/core/payouts.rs**
Modify existing code
**crates/router/src/core/payouts/helpers.rs**
Modify existing code
**crates/router/src/core/utils.rs**
Modify existing code
|
{"pr_number": 9311, "pr_title": "fix(payout): use billing address in payment_methods", "merged_at": "2025-09-09T11:27:30Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"core_business": ["crates/router/src/core/payments/routing.rs", "crates/router/src/core/payouts.rs", "crates/router/src/core/payouts/helpers.rs", "crates/router/src/core/utils.rs"]}, "change_types": {"functions_added": 1, "fields_added": 9, "imports_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
|
<!-- Describe your changes in detail -->
Fixed net_amount on Incremental Authorization Update. Additional amount gets added again during incremental authorization. Additional amount should get added once only during payments-create call
|
To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/payments/payment_attempt.rs`
**2. Core Business Logic**
- `crates/router/src/core/payments/operations/payment_response.rs`
**Code Patterns Applied:**
- Implement new functions (2 changes)
- Extend existing types with new fields (1 changes)
|
{"pr_number": 9073, "pr_title": "fix(core): Fix net_amount on Incremental Authorization Update", "merged_at": "2025-09-01T12:44:33Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"], "core_business": ["crates/router/src/core/payments/operations/payment_response.rs"]}, "change_types": {"functions_added": 2, "fields_added": 1}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.