Skip to content

Commit ca94f76

Browse files
committed
Merge branch 'main' of github.com:juspay/hyperswitch into refactor-error-handling-in-cypress
* 'main' of github.com:juspay/hyperswitch: fix(auth_methods): Add checks for duplicate `auth_method` in create API (#5161) chore(version): 2024.07.02.0 fix(router): rename the browser name header to `x-browser-name` (#5162) fix(router): mark retry payment as failure if `connector_tokenization` fails (#5114) fix(connector): [Paypal] dispute webhook deserialization failure (#5111) feat(analytics): Add v2 payment analytics (payment-intents analytics) (#5150) feat(globalsearch): Implement tag-based filters in global search (#5151) refactor(connector): Add amount conversion framework to iatapay along with amount conversion code to connector template (#4866) feat(payment_link): add multiple custom css support in business level (#5137) feat(connector): [Bambora Apac] Template for integration (#5062) feat(tls): add support for https in actix web (#5089) chore(ci): fix ci tests failing by removing them (#5167) chore(version): 2024.07.01.0 chore(postman): update Postman collection files ci(postman): log request id for user tests (#5159) chore(euclid_wasm): make field domain optional wasm (#5154)
2 parents 55ae0b1 + 045e974 commit ca94f76

File tree

380 files changed

+7137
-5966
lines changed

Some content is hidden

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

380 files changed

+7137
-5966
lines changed

CHANGELOG.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,67 @@ All notable changes to HyperSwitch will be documented here.
44

55
- - -
66

7+
## 2024.07.02.0
8+
9+
### Features
10+
11+
- **analytics:** Add v2 payment analytics (payment-intents analytics) ([#5150](https://github.com/juspay/hyperswitch/pull/5150)) ([`9fc525d`](https://github.com/juspay/hyperswitch/commit/9fc525d49849e160345902beecac01d3a2f4c70f))
12+
- **connector:** [Bambora Apac] Template for integration ([#5062](https://github.com/juspay/hyperswitch/pull/5062)) ([`1b89463`](https://github.com/juspay/hyperswitch/commit/1b8946321befb3a3a79c5fe2acf6b255b8930940))
13+
- **globalsearch:** Implement tag-based filters in global search ([#5151](https://github.com/juspay/hyperswitch/pull/5151)) ([`4314fcd`](https://github.com/juspay/hyperswitch/commit/4314fcd17309a1c0d82b1b65eb867f913b72fbd7))
14+
- **payment_link:** Add multiple custom css support in business level ([#5137](https://github.com/juspay/hyperswitch/pull/5137)) ([`ecc6c00`](https://github.com/juspay/hyperswitch/commit/ecc6c00d4aaa034f96eae76c64024d56bb5fa173))
15+
- **tls:** Add support for https in actix web ([#5089](https://github.com/juspay/hyperswitch/pull/5089)) ([`2688d24`](https://github.com/juspay/hyperswitch/commit/2688d24d4963550ff3efee363194446a3c75cc59))
16+
17+
### Bug Fixes
18+
19+
- **connector:** [Paypal] dispute webhook deserialization failure ([#5111](https://github.com/juspay/hyperswitch/pull/5111)) ([`af2497b`](https://github.com/juspay/hyperswitch/commit/af2497b5012f048a4cf72b61712812bca534c17c))
20+
- **router:**
21+
- Mark retry payment as failure if `connector_tokenization` fails ([#5114](https://github.com/juspay/hyperswitch/pull/5114)) ([`ecb8caf`](https://github.com/juspay/hyperswitch/commit/ecb8cafaed5a29e8ab204992a2f35102d2add09f))
22+
- Rename the browser name header to `x-browser-name` ([#5162](https://github.com/juspay/hyperswitch/pull/5162)) ([`ff14e79`](https://github.com/juspay/hyperswitch/commit/ff14e79adf48a983855cf7abcc282bf556ecf2f9))
23+
24+
### Refactors
25+
26+
- **connector:** Add amount conversion framework to iatapay along with amount conversion code to connector template ([#4866](https://github.com/juspay/hyperswitch/pull/4866)) ([`8a33bd5`](https://github.com/juspay/hyperswitch/commit/8a33bd5e7368b4e863cbc58c73702f48567d39dc))
27+
28+
### Miscellaneous Tasks
29+
30+
- **ci:** Fix ci tests failing by removing them ([#5167](https://github.com/juspay/hyperswitch/pull/5167)) ([`4fbff39`](https://github.com/juspay/hyperswitch/commit/4fbff39906a57420cf5b8b4e1084bff1f82c070b))
31+
32+
**Full Changelog:** [`2024.07.01.0...2024.07.02.0`](https://github.com/juspay/hyperswitch/compare/2024.07.01.0...2024.07.02.0)
33+
34+
- - -
35+
36+
## 2024.07.01.0
37+
38+
### Features
39+
40+
- **core:** Customer_details storage in payment_intent ([#5007](https://github.com/juspay/hyperswitch/pull/5007)) ([`bb9a971`](https://github.com/juspay/hyperswitch/commit/bb9a97154c19eeadfdf17428c18d2facebe1dd3a))
41+
- **cypress:** Add iatapay connector ([#5093](https://github.com/juspay/hyperswitch/pull/5093)) ([`f03dc7a`](https://github.com/juspay/hyperswitch/commit/f03dc7a1c9bc72f402a0e7be9830329c95a2338b))
42+
43+
### Bug Fixes
44+
45+
- **connector:** [ADYEN] send `browser_info` for all the card and googlepay payments ([#5153](https://github.com/juspay/hyperswitch/pull/5153)) ([`a172cba`](https://github.com/juspay/hyperswitch/commit/a172cba5d3575e0648be65bae988f001408d671f))
46+
- **users:** Clear cookie and alter parsing for sso ([#5147](https://github.com/juspay/hyperswitch/pull/5147)) ([`6d9b37e`](https://github.com/juspay/hyperswitch/commit/6d9b37e8a2e91a0cf2e493dd48100bfeebadd926))
47+
48+
### Refactors
49+
50+
- **connector:** Added amount framework to paypal, payouts and routing ([#4865](https://github.com/juspay/hyperswitch/pull/4865)) ([`b08ce22`](https://github.com/juspay/hyperswitch/commit/b08ce22108a5f64d33430806a8bea034c5ccb44a))
51+
- **hyperswitch_constraint_graph:** Removal of lifetime from the Constraint Graph framework ([#5132](https://github.com/juspay/hyperswitch/pull/5132)) ([`6df8f06`](https://github.com/juspay/hyperswitch/commit/6df8f0646bd05c689071d8e02a3cf993fe8912f5))
52+
53+
### Documentation
54+
55+
- Api reference docs update for Payments - Create ([#4955](https://github.com/juspay/hyperswitch/pull/4955)) ([`f55cae2`](https://github.com/juspay/hyperswitch/commit/f55cae20af6977680b86275cd3de500079d274ee))
56+
57+
### Miscellaneous Tasks
58+
59+
- **cards:** Add configuration option to change the decryption scheme locker ([#5140](https://github.com/juspay/hyperswitch/pull/5140)) ([`d2626fa`](https://github.com/juspay/hyperswitch/commit/d2626fa3fe4216504fd0df216eea8462c87cce07))
60+
- **euclid_wasm:** Make field domain optional wasm ([#5154](https://github.com/juspay/hyperswitch/pull/5154)) ([`910fcc8`](https://github.com/juspay/hyperswitch/commit/910fcc89e24b8accd59a5a30021837222f803fa9))
61+
- **postman:** Update Postman collection files ([`b4351f5`](https://github.com/juspay/hyperswitch/commit/b4351f50d6b59c190bbd4ae7d1d28097a14148e0))
62+
- Fix ui-test configs ([#5152](https://github.com/juspay/hyperswitch/pull/5152)) ([`760fd3b`](https://github.com/juspay/hyperswitch/commit/760fd3b566f7a898cf79d50e5bdb4629ed3eca5f))
63+
64+
**Full Changelog:** [`2024.06.28.0...2024.07.01.0`](https://github.com/juspay/hyperswitch/compare/2024.06.28.0...2024.07.01.0)
65+
66+
- - -
67+
768
## 2024.06.28.0
869

970
### Features

Cargo.lock

Lines changed: 61 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api-reference/openapi_spec.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6821,6 +6821,15 @@
68216821
"properties": {
68226822
"domain_name": {
68236823
"type": "string",
6824+
"description": "Custom domain name to be used for hosting the link in your own domain",
6825+
"nullable": true
6826+
},
6827+
"business_specific_configs": {
6828+
"type": "object",
6829+
"description": "list of configs for multi theme setup",
6830+
"additionalProperties": {
6831+
"$ref": "#/components/schemas/PaymentLinkConfigRequest"
6832+
},
68246833
"nullable": true
68256834
}
68266835
}
@@ -14978,6 +14987,11 @@
1497814987
],
1497914988
"nullable": true
1498014989
},
14990+
"payment_link_config_id": {
14991+
"type": "string",
14992+
"description": "custom payment link config id set at business profile send only if business_specific_configs is configured",
14993+
"nullable": true
14994+
},
1498114995
"payment_type": {
1498214996
"allOf": [
1498314997
{
@@ -15311,6 +15325,11 @@
1531115325
],
1531215326
"nullable": true
1531315327
},
15328+
"payment_link_config_id": {
15329+
"type": "string",
15330+
"description": "custom payment link config id set at business profile send only if business_specific_configs is configured",
15331+
"nullable": true
15332+
},
1531415333
"profile_id": {
1531515334
"type": "string",
1531615335
"description": "The business profile to use for this payment, if not passed the default business profile\nassociated with the merchant account will be used.",
@@ -16351,6 +16370,11 @@
1635116370
],
1635216371
"nullable": true
1635316372
},
16373+
"payment_link_config_id": {
16374+
"type": "string",
16375+
"description": "custom payment link config id set at business profile send only if business_specific_configs is configured",
16376+
"nullable": true
16377+
},
1635416378
"profile_id": {
1635516379
"type": "string",
1635616380
"description": "The business profile to use for this payment, if not passed the default business profile\nassociated with the merchant account will be used.",
@@ -17359,6 +17383,11 @@
1735917383
],
1736017384
"nullable": true
1736117385
},
17386+
"payment_link_config_id": {
17387+
"type": "string",
17388+
"description": "custom payment link config id set at business profile send only if business_specific_configs is configured",
17389+
"nullable": true
17390+
},
1736217391
"surcharge_details": {
1736317392
"allOf": [
1736417393
{

config/config.example.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ host = "127.0.0.1"
1111
shutdown_timeout = 30
1212
# HTTP Request body limit. Defaults to 32kB
1313
request_body_limit = 32_768
14+
15+
# HTTPS Server Configuration
16+
# Self-signed Private Key and Certificate can be generated with mkcert for local development
17+
[server.tls]
18+
port = 8081
19+
host = "127.0.0.1"
20+
private_key = "/path/to/private_key.pem"
21+
certificate = "/path/to/certificate.pem"
22+
1423
# Proxy server configuration for connecting to payment gateways.
1524
# Don't define the fields if a Proxy isn't needed. Empty strings will cause failure.
1625
[proxy]
@@ -172,6 +181,7 @@ airwallex.base_url = "https://api-demo.airwallex.com/"
172181
applepay.base_url = "https://apple-pay-gateway.apple.com/"
173182
authorizedotnet.base_url = "https://apitest.authorize.net/xml/v1/request.api"
174183
bambora.base_url = "https://api.na.bambora.com"
184+
bamboraapac.base_url = "https://demo.bambora.co.nz/interface/api/dts.asmx"
175185
bankofamerica.base_url = "https://apitest.merchant-services.bankofamerica.com/"
176186
billwerk.base_url = "https://api.reepay.com/"
177187
billwerk.secondary_base_url = "https://card.reepay.com/"

config/deployments/env_specific.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,14 @@ shutdown_timeout = 30
265265
# HTTP Request body limit. Defaults to 32kB
266266
request_body_limit = 32_768
267267

268+
# HTTPS Server Configuration
269+
# Self-signed Private Key and Certificate can be generated with mkcert for local development
270+
[server.tls]
271+
port = 8081
272+
host = "127.0.0.1"
273+
private_key = "/path/to/private_key.pem"
274+
certificate = "/path/to/certificate.pem"
275+
268276
[secrets_management]
269277
secrets_manager = "aws_kms" # Secrets manager client to be used
270278

config/deployments/integration_test.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ airwallex.base_url = "https://api-demo.airwallex.com/"
2626
applepay.base_url = "https://apple-pay-gateway.apple.com/"
2727
authorizedotnet.base_url = "https://apitest.authorize.net/xml/v1/request.api"
2828
bambora.base_url = "https://api.na.bambora.com"
29+
bamboraapac.base_url = "https://demo.bambora.co.nz/interface/api/dts.asmx"
2930
bankofamerica.base_url = "https://apitest.merchant-services.bankofamerica.com/"
3031
billwerk.base_url = "https://api.reepay.com/"
3132
billwerk.secondary_base_url = "https://card.reepay.com/"

config/deployments/production.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ airwallex.base_url = "https://api-demo.airwallex.com/"
3030
applepay.base_url = "https://apple-pay-gateway.apple.com/"
3131
authorizedotnet.base_url = "https://api.authorize.net/xml/v1/request.api"
3232
bambora.base_url = "https://api.na.bambora.com"
33+
bamboraapac.base_url = "https://demo.bambora.co.nz/interface/api/dts.asmx"
3334
bankofamerica.base_url = "https://api.merchant-services.bankofamerica.com/"
3435
billwerk.base_url = "https://api.reepay.com/"
3536
billwerk.secondary_base_url = "https://card.reepay.com/"

config/deployments/sandbox.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ airwallex.base_url = "https://api-demo.airwallex.com/"
3030
applepay.base_url = "https://apple-pay-gateway.apple.com/"
3131
authorizedotnet.base_url = "https://apitest.authorize.net/xml/v1/request.api"
3232
bambora.base_url = "https://api.na.bambora.com"
33+
bamboraapac.base_url = "https://demo.bambora.co.nz/interface/api/dts.asmx"
3334
bankofamerica.base_url = "https://apitest.merchant-services.bankofamerica.com/"
3435
billwerk.base_url = "https://api.reepay.com/"
3536
billwerk.secondary_base_url = "https://card.reepay.com/"

config/development.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ cards = [
9999
"airwallex",
100100
"authorizedotnet",
101101
"bambora",
102+
"bamboraapac",
102103
"bankofamerica",
103104
"billwerk",
104105
"bitpay",
@@ -175,6 +176,7 @@ airwallex.base_url = "https://api-demo.airwallex.com/"
175176
applepay.base_url = "https://apple-pay-gateway.apple.com/"
176177
authorizedotnet.base_url = "https://apitest.authorize.net/xml/v1/request.api"
177178
bambora.base_url = "https://api.na.bambora.com"
179+
bamboraapac.base_url = "https://demo.bambora.co.nz/interface/api/dts.asmx"
178180
bankofamerica.base_url = "https://apitest.merchant-services.bankofamerica.com/"
179181
billwerk.base_url = "https://api.reepay.com/"
180182
billwerk.secondary_base_url = "https://card.reepay.com/"

config/docker_compose.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ airwallex.base_url = "https://api-demo.airwallex.com/"
112112
applepay.base_url = "https://apple-pay-gateway.apple.com/"
113113
authorizedotnet.base_url = "https://apitest.authorize.net/xml/v1/request.api"
114114
bambora.base_url = "https://api.na.bambora.com"
115+
bamboraapac.base_url = "https://demo.bambora.co.nz/interface/api/dts.asmx"
115116
bankofamerica.base_url = "https://apitest.merchant-services.bankofamerica.com/"
116117
billwerk.base_url = "https://api.reepay.com/"
117118
billwerk.secondary_base_url = "https://card.reepay.com/"
@@ -194,6 +195,7 @@ cards = [
194195
"airwallex",
195196
"authorizedotnet",
196197
"bambora",
198+
"bamboraapac",
197199
"bankofamerica",
198200
"billwerk",
199201
"bitpay",

0 commit comments

Comments
 (0)