Skip to content

Commit f72ae1d

Browse files
committed
Merge branch 'main' of github.com:juspay/hyperswitch into ci/lints
* 'main' of github.com:juspay/hyperswitch: feat(hipay): Add Template PR (#7360) chore(version): 2025.03.07.0 chore(postman): update Postman collection files feat(analytics): add new filters, dimensions and metrics for authentication analytics (#7451) feat(router): add capability to force challenge for 3DS Payments through Netcetera and send few optional fields (#7429) feat(analytics): refactor and rewrite authentication related analytics (#7433) refactor(core): Added payment id in authentication router data (#7441) feat(connector): Added ThreeDs server integration template pr (#7424) fix(xendit): Fix wasm changes (#7419) chore(postman): postman tests fixes (#7159) ci(cypress): move customer acceptance in configs to a const within commons (#7435) feat(core): add additional revenue recovery call flow (#7402) chore(version): 2025.03.06.0 feat(payment_link): expose payment link configs for SDK UI rules and payment button (#7427)
2 parents 7d6ee78 + add5152 commit f72ae1d

File tree

418 files changed

+10083
-9250
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

418 files changed

+10083
-9250
lines changed

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,48 @@
22

33
All notable changes to HyperSwitch will be documented here.
44

5+
- - -
6+
7+
## 2025.03.07.0
8+
9+
### Features
10+
11+
- **analytics:**
12+
- Refactor and rewrite authentication related analytics ([#7433](https://github.com/juspay/hyperswitch/pull/7433)) ([`1ff273e`](https://github.com/juspay/hyperswitch/commit/1ff273e137dbf04dcb05ce4fd4baa9bcfdbce07b))
13+
- Add new filters, dimensions and metrics for authentication analytics ([#7451](https://github.com/juspay/hyperswitch/pull/7451)) ([`7473182`](https://github.com/juspay/hyperswitch/commit/7473182b309c344d486aa5e363f49b71ca17e05a))
14+
- **connector:** Added ThreeDs server integration template pr ([#7424](https://github.com/juspay/hyperswitch/pull/7424)) ([`7e5da48`](https://github.com/juspay/hyperswitch/commit/7e5da488b34939bafe05b9223e1d49c25d279c7c))
15+
- **core:** Add additional revenue recovery call flow ([#7402](https://github.com/juspay/hyperswitch/pull/7402)) ([`9e4135c`](https://github.com/juspay/hyperswitch/commit/9e4135cd5e48532a95ac5f7e321978204155aa26))
16+
- **router:** Add capability to force challenge for 3DS Payments through Netcetera and send few optional fields ([#7429](https://github.com/juspay/hyperswitch/pull/7429)) ([`957a228`](https://github.com/juspay/hyperswitch/commit/957a22852522a10378fc06dd30521a3a0c530ee5))
17+
18+
### Bug Fixes
19+
20+
- **xendit:** Fix wasm changes ([#7419](https://github.com/juspay/hyperswitch/pull/7419)) ([`134c86e`](https://github.com/juspay/hyperswitch/commit/134c86ed623aa9e8d62385222c43edc31e131d12))
21+
22+
### Refactors
23+
24+
- **core:** Added payment id in authentication router data ([#7441](https://github.com/juspay/hyperswitch/pull/7441)) ([`ea81706`](https://github.com/juspay/hyperswitch/commit/ea817060cff879139909b36ad61814857b862866))
25+
26+
### Miscellaneous Tasks
27+
28+
- **postman:**
29+
- Postman tests fixes ([#7159](https://github.com/juspay/hyperswitch/pull/7159)) ([`f9ead15`](https://github.com/juspay/hyperswitch/commit/f9ead15334fab4515ab2498b45c1d319a7fcc53f))
30+
- Update Postman collection files ([`21421d7`](https://github.com/juspay/hyperswitch/commit/21421d79f22f60237203a0a57499d24e9b042f74))
31+
32+
**Full Changelog:** [`2025.03.06.0...2025.03.07.0`](https://github.com/juspay/hyperswitch/compare/2025.03.06.0...2025.03.07.0)
33+
34+
35+
- - -
36+
37+
## 2025.03.06.0
38+
39+
### Features
40+
41+
- **connector:** [EFT] Add EFT as a payment method ([#7304](https://github.com/juspay/hyperswitch/pull/7304)) ([`6df1578`](https://github.com/juspay/hyperswitch/commit/6df1578922b7bdc3d0b20ef1bc0b8714f43cc4bf))
42+
- **payment_link:** Expose payment link configs for SDK UI rules and payment button ([#7427](https://github.com/juspay/hyperswitch/pull/7427)) ([`6a5ce26`](https://github.com/juspay/hyperswitch/commit/6a5ce266d94ed2f026b26f486b4e0ea763384909))
43+
44+
**Full Changelog:** [`2025.03.05.1...2025.03.06.0`](https://github.com/juspay/hyperswitch/compare/2025.03.05.1...2025.03.06.0)
45+
46+
547
- - -
648

749
## 2025.03.05.1

api-reference-v2/openapi_spec.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12633,6 +12633,14 @@
1263312633
"type": "string",
1263412634
"description": "The url for Qr code given by the connector"
1263512635
},
12636+
"display_text": {
12637+
"type": "string",
12638+
"nullable": true
12639+
},
12640+
"border_color": {
12641+
"type": "string",
12642+
"nullable": true
12643+
},
1263612644
"type": {
1263712645
"type": "string",
1263812646
"enum": [
@@ -14029,6 +14037,28 @@
1402914037
"type": "string",
1403014038
"description": "Custom background colour for the payment link",
1403114039
"nullable": true
14040+
},
14041+
"sdk_ui_rules": {
14042+
"type": "object",
14043+
"description": "SDK configuration rules",
14044+
"additionalProperties": {
14045+
"type": "object",
14046+
"additionalProperties": {
14047+
"type": "string"
14048+
}
14049+
},
14050+
"nullable": true
14051+
},
14052+
"payment_link_ui_rules": {
14053+
"type": "object",
14054+
"description": "Payment link configuration rules",
14055+
"additionalProperties": {
14056+
"type": "object",
14057+
"additionalProperties": {
14058+
"type": "string"
14059+
}
14060+
},
14061+
"nullable": true
1403214062
}
1403314063
}
1403414064
},
@@ -14144,6 +14174,28 @@
1414414174
"type": "string",
1414514175
"description": "Custom background colour for the payment link",
1414614176
"nullable": true
14177+
},
14178+
"sdk_ui_rules": {
14179+
"type": "object",
14180+
"description": "SDK configuration rules",
14181+
"additionalProperties": {
14182+
"type": "object",
14183+
"additionalProperties": {
14184+
"type": "string"
14185+
}
14186+
},
14187+
"nullable": true
14188+
},
14189+
"payment_link_ui_rules": {
14190+
"type": "object",
14191+
"description": "Payment link configuration rules",
14192+
"additionalProperties": {
14193+
"type": "object",
14194+
"additionalProperties": {
14195+
"type": "string"
14196+
}
14197+
},
14198+
"nullable": true
1414714199
}
1414814200
}
1414914201
},

api-reference/openapi_spec.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16589,6 +16589,28 @@
1658916589
"type": "string",
1659016590
"description": "Custom background colour for the payment link",
1659116591
"nullable": true
16592+
},
16593+
"sdk_ui_rules": {
16594+
"type": "object",
16595+
"description": "SDK configuration rules",
16596+
"additionalProperties": {
16597+
"type": "object",
16598+
"additionalProperties": {
16599+
"type": "string"
16600+
}
16601+
},
16602+
"nullable": true
16603+
},
16604+
"payment_link_ui_rules": {
16605+
"type": "object",
16606+
"description": "Payment link configuration rules",
16607+
"additionalProperties": {
16608+
"type": "object",
16609+
"additionalProperties": {
16610+
"type": "string"
16611+
}
16612+
},
16613+
"nullable": true
1659216614
}
1659316615
}
1659416616
},
@@ -16704,6 +16726,28 @@
1670416726
"type": "string",
1670516727
"description": "Custom background colour for the payment link",
1670616728
"nullable": true
16729+
},
16730+
"sdk_ui_rules": {
16731+
"type": "object",
16732+
"description": "SDK configuration rules",
16733+
"additionalProperties": {
16734+
"type": "object",
16735+
"additionalProperties": {
16736+
"type": "string"
16737+
}
16738+
},
16739+
"nullable": true
16740+
},
16741+
"payment_link_ui_rules": {
16742+
"type": "object",
16743+
"description": "Payment link configuration rules",
16744+
"additionalProperties": {
16745+
"type": "object",
16746+
"additionalProperties": {
16747+
"type": "string"
16748+
}
16749+
},
16750+
"nullable": true
1670716751
}
1670816752
}
1670916753
},

config/config.example.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,12 @@ globepay.base_url = "https://pay.globepay.co/"
219219
gocardless.base_url = "https://api-sandbox.gocardless.com"
220220
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
221221
helcim.base_url = "https://api.helcim.com/"
222+
hipay.base_url = "https://stage-secure-gateway.hipay-tpp.com/rest/"
222223
iatapay.base_url = "https://sandbox.iata-pay.iata.org/api/v1"
223224
inespay.base_url = "https://apiflow.inespay.com/san/v21"
224225
itaubank.base_url = "https://sandbox.devportal.itau.com.br/"
225226
jpmorgan.base_url = "https://api-mock.payments.jpmorgan.com/api/v2"
227+
juspaythreedsserver.base_url = "http://localhost:8000"
226228
jpmorgan.secondary_base_url= "https://id.payments.jpmorgan.com"
227229
klarna.base_url = "https://api{{klarna_region}}.playground.klarna.com/"
228230
mifinity.base_url = "https://demo.mifinity.com/"
@@ -330,6 +332,7 @@ cards = [
330332
"gocardless",
331333
"gpayments",
332334
"helcim",
335+
"hipay",
333336
"mollie",
334337
"moneris",
335338
"paypal",
@@ -883,3 +886,6 @@ entity_logo_url = "https://example.com/logo.svg" # Logo URL of the entity to be
883886
foreground_color = "#000000" # Foreground color of email text
884887
primary_color = "#006DF9" # Primary color of email body
885888
background_color = "#FFFFFF" # Background color of email body
889+
890+
[additional_revenue_recovery_details_call]
891+
connectors_with_additional_revenue_recovery_details_call = "stripebilling" # List of connectors which has additional revenue recovery details api-call

config/deployments/integration_test.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,12 @@ globepay.base_url = "https://pay.globepay.co/"
6565
gocardless.base_url = "https://api-sandbox.gocardless.com"
6666
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
6767
helcim.base_url = "https://api.helcim.com/"
68+
hipay.base_url = "https://stage-secure-gateway.hipay-tpp.com/rest/"
6869
iatapay.base_url = "https://sandbox.iata-pay.iata.org/api/v1"
6970
inespay.base_url = "https://apiflow.inespay.com/san/v21"
7071
itaubank.base_url = "https://sandbox.devportal.itau.com.br/"
7172
jpmorgan.base_url = "https://api-mock.payments.jpmorgan.com/api/v2"
73+
juspaythreedsserver.base_url = "http://localhost:8000"
7274
jpmorgan.secondary_base_url="https://id.payments.jpmorgan.com"
7375
klarna.base_url = "https://api{{klarna_region}}.playground.klarna.com/"
7476
mifinity.base_url = "https://demo.mifinity.com/"

config/deployments/production.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,12 @@ globepay.base_url = "https://pay.globepay.co/"
6969
gocardless.base_url = "https://api.gocardless.com"
7070
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
7171
helcim.base_url = "https://api.helcim.com/"
72+
hipay.base_url = "https://secure-gateway.hipay-tpp.com/rest/"
7273
iatapay.base_url = "https://iata-pay.iata.org/api/v1"
7374
inespay.base_url = "https://apiflow.inespay.com/san/v21"
7475
itaubank.base_url = "https://secure.api.itau/"
7576
jpmorgan.base_url = "https://api-ms.payments.jpmorgan.com/api/v2"
77+
juspaythreedsserver.base_url = "http://localhost:8000"
7678
jpmorgan.secondary_base_url="https://id.payments.jpmorgan.com"
7779
klarna.base_url = "https://api{{klarna_region}}.klarna.com/"
7880
mifinity.base_url = "https://secure.mifinity.com/"

config/deployments/sandbox.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,12 @@ globepay.base_url = "https://pay.globepay.co/"
6969
gocardless.base_url = "https://api-sandbox.gocardless.com"
7070
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
7171
helcim.base_url = "https://api.helcim.com/"
72+
hipay.base_url = "https://stage-secure-gateway.hipay-tpp.com/rest/"
7273
iatapay.base_url = "https://sandbox.iata-pay.iata.org/api/v1"
7374
inespay.base_url = "https://apiflow.inespay.com/san/v21"
7475
itaubank.base_url = "https://sandbox.devportal.itau.com.br/"
7576
jpmorgan.base_url = "https://api-mock.payments.jpmorgan.com/api/v2"
77+
juspaythreedsserver.base_url = "http://localhost:8000"
7678
jpmorgan.secondary_base_url="https://id.payments.jpmorgan.com"
7779
klarna.base_url = "https://api{{klarna_region}}.playground.klarna.com/"
7880
mifinity.base_url = "https://demo.mifinity.com/"

config/development.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,12 @@ cards = [
176176
"gocardless",
177177
"gpayments",
178178
"helcim",
179+
"hipay",
179180
"iatapay",
180181
"inespay",
181182
"itaubank",
182183
"jpmorgan",
184+
"juspaythreedsserver",
183185
"mollie",
184186
"moneris",
185187
"multisafepay",
@@ -291,10 +293,12 @@ globepay.base_url = "https://pay.globepay.co/"
291293
gocardless.base_url = "https://api-sandbox.gocardless.com"
292294
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
293295
helcim.base_url = "https://api.helcim.com/"
296+
hipay.base_url = "https://stage-secure-gateway.hipay-tpp.com/rest/"
294297
iatapay.base_url = "https://sandbox.iata-pay.iata.org/api/v1"
295298
inespay.base_url = "https://apiflow.inespay.com/san/v21"
296299
itaubank.base_url = "https://sandbox.devportal.itau.com.br/"
297300
jpmorgan.base_url = "https://api-mock.payments.jpmorgan.com/api/v2"
301+
juspaythreedsserver.base_url = "http://localhost:8000"
298302
jpmorgan.secondary_base_url = "https://id.payments.jpmorgan.com"
299303
klarna.base_url = "https://api{{klarna_region}}.playground.klarna.com/"
300304
mifinity.base_url = "https://demo.mifinity.com/"
@@ -724,6 +728,9 @@ connectors_with_delayed_session_response = "trustpay,payme"
724728
[webhook_source_verification_call]
725729
connectors_with_webhook_source_verification_call = "paypal"
726730

731+
[additional_revenue_recovery_details_call]
732+
connectors_with_additional_revenue_recovery_details_call = "stripebilling"
733+
727734
[mandates.supported_payment_methods]
728735
bank_debit.ach = { connector_list = "gocardless,adyen,stripe" }
729736
bank_debit.becs = { connector_list = "gocardless,stripe,adyen" }

config/docker_compose.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,12 @@ globepay.base_url = "https://pay.globepay.co/"
151151
gocardless.base_url = "https://api-sandbox.gocardless.com"
152152
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
153153
helcim.base_url = "https://api.helcim.com/"
154+
hipay.base_url = "https://stage-secure-gateway.hipay-tpp.com/rest/"
154155
iatapay.base_url = "https://sandbox.iata-pay.iata.org/api/v1"
155156
inespay.base_url = "https://apiflow.inespay.com/san/v21"
156157
itaubank.base_url = "https://sandbox.devportal.itau.com.br/"
157158
jpmorgan.base_url = "https://api-mock.payments.jpmorgan.com/api/v2"
159+
juspaythreedsserver.base_url = "http://localhost:8000"
158160
jpmorgan.secondary_base_url="https://id.payments.jpmorgan.com"
159161
klarna.base_url = "https://api{{klarna_region}}.playground.klarna.com/"
160162
mifinity.base_url = "https://demo.mifinity.com/"
@@ -260,10 +262,12 @@ cards = [
260262
"gocardless",
261263
"gpayments",
262264
"helcim",
265+
"hipay",
263266
"iatapay",
264267
"inespay",
265268
"itaubank",
266269
"jpmorgan",
270+
"juspaythreedsserver",
267271
"mollie",
268272
"moneris",
269273
"multisafepay",
@@ -316,6 +320,9 @@ connectors_with_delayed_session_response = "trustpay,payme"
316320
[webhook_source_verification_call]
317321
connectors_with_webhook_source_verification_call = "paypal"
318322

323+
[additional_revenue_recovery_details_call]
324+
connectors_with_additional_revenue_recovery_details_call = "stripebilling"
325+
319326
[scheduler]
320327
stream = "SCHEDULER_STREAM"
321328

crates/analytics/src/auth_events.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
pub mod accumulator;
22
mod core;
3+
pub mod filters;
34
pub mod metrics;
5+
pub mod types;
46
pub use accumulator::{AuthEventMetricAccumulator, AuthEventMetricsAccumulator};
57

6-
pub use self::core::get_metrics;
8+
pub use self::core::{get_filters, get_metrics};

0 commit comments

Comments
 (0)