Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- prs/pr_10053.json +20 -0
- prs/pr_10092.json +76 -0
- prs/pr_10119.json +29 -0
- prs/pr_10154.json +44 -0
- prs/pr_10162.json +58 -0
- prs/pr_10192.json +106 -0
- prs/pr_10193.json +190 -0
- prs/pr_10198.json +29 -0
- prs/pr_6724.json +64 -0
- prs/pr_6733.json +129 -0
- prs/pr_6738.json +88 -0
- prs/pr_6743.json +135 -0
- prs/pr_6744.json +37 -0
- prs/pr_6816.json +436 -0
- prs/pr_6817.json +22 -0
- prs/pr_6848.json +34 -0
- prs/pr_6859.json +191 -0
- prs/pr_6910.json +22 -0
- prs/pr_6918.json +44 -0
- prs/pr_6936.json +65 -0
- prs/pr_7015.json +36 -0
- prs/pr_7056.json +30 -0
- prs/pr_7063.json +317 -0
- prs/pr_7079.json +20 -0
- prs/pr_7081.json +32 -0
- prs/pr_7130.json +72 -0
- prs/pr_7187.json +29 -0
- prs/pr_7209.json +116 -0
- prs/pr_7216.json +58 -0
- prs/pr_7218.json +142 -0
- prs/pr_7242.json +20 -0
- prs/pr_7259.json +22 -0
- prs/pr_7270.json +43 -0
- prs/pr_7275.json +92 -0
- prs/pr_7286.json +36 -0
- prs/pr_7287.json +22 -0
- prs/pr_7307.json +85 -0
- prs/pr_7348.json +38 -0
- prs/pr_7381.json +23 -0
- prs/pr_7383.json +1275 -0
- prs/pr_7386.json +225 -0
- prs/pr_7427.json +51 -0
- prs/pr_7439.json +365 -0
- prs/pr_7477.json +22 -0
- prs/pr_7478.json +100 -0
- prs/pr_7523.json +27 -0
- prs/pr_7535.json +22 -0
- prs/pr_7601.json +44 -0
- prs/pr_7605.json +65 -0
- prs/pr_7654.json +29 -0
prs/pr_10053.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 10053,
|
| 3 |
+
"title": "ci(cypress): Fix iatapay redirection flow",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [x] CI/CD\r\n\r\n## Description\r\nFix iatapay redirection flow in cypress test.\r\n\r\n\r\n\r\n## Motivation and Context\r\nTo fix the iatapay connector test\r\n\r\n\r\n## How did you test it?\r\n<img width=\"1512\" height=\"886\" alt=\"image\" src=\"https://github.com/user-attachments/assets/c7c099a4-d9c8-4d53-8d2c-1beedb341936\" />\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] I formatted the code `cargo +nightly fmt --all`\r\n- [ ] I addressed lints thrown by `cargo clippy`\r\n- [ ] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "Gnanasundari24",
|
| 6 |
+
"created_at": "2025-10-29T14:59:11+00:00",
|
| 7 |
+
"merged_at": "2025-10-30T08:19:09+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [],
|
| 10 |
+
"url": "https://github.com/juspay/hyperswitch/pull/10053",
|
| 11 |
+
"commits": [
|
| 12 |
+
{
|
| 13 |
+
"sha": "78f1662205e31bb0a23efd9348f123b72fdb77ad",
|
| 14 |
+
"message": "ci(cypress): Fix iatapay redirection flow",
|
| 15 |
+
"author": "Gnanasundari Gopal",
|
| 16 |
+
"date": "2025-10-29T14:53:42+00:00",
|
| 17 |
+
"url": "https://github.com/juspay/hyperswitch/commit/78f1662205e31bb0a23efd9348f123b72fdb77ad"
|
| 18 |
+
}
|
| 19 |
+
]
|
| 20 |
+
}
|
prs/pr_10092.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 10092,
|
| 3 |
+
"title": "fix(revenue_recovery): Change business status from EXECUTE_WORKFLOW_COMPLETE to EXECUTE_WORKFLOW_FAILURE ",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nCurrently we are closing execute job with status EXECUTE_WORKFLOW_COMPLETE when we don't get a token from redis.\r\nBut, we are not reopening the execute job for this status. \r\nChanged the business status to EXECUTE_WORKFLOW_FAILURE so that execute job can be picked again by consumer. \r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\nValidate that the is_hard_decline flag is updated when a token is selected, and during the execute workflow, if the selected token is identified as hard-declined, the workflow closes the execute job and reopens the calculate step. If another eligible token exists, the system should select the best alternative token, reopen the execute job in Pending status, and continue execution. If no alternative token is available, the calculate job must be closed with Failed_Due_To_Hard_Decline_Status.\r\n\r\n#### CURL\r\n```\r\ncurl --location --request PUT 'http://localhost:8080/v2/recovery/data-backfill/update-token' \\\r\n--header 'Authorization: admin-api-key=test_admin' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'api-key: dev_oLfyWb1y3c4lx0pBFpDJyAQfM9IdkKTM24Tbqef41AdzfM9oCi4G9ZKj5UwL7xG5' \\\r\n--data '{\r\n \"connector_customer_id\": \"362672411\",\r\n \"payment_processor_token\": \"5454540204265454\",\r\n \r\n \"is_hard_decline\": true\r\n \r\n}'\r\n```\r\n\r\n#### EXECUTE\r\n<img width=\"1713\" height=\"583\" alt=\"Screenshot 2025-11-04 at 11 00 18\u202fAM\" src=\"https://github.com/user-attachments/assets/ebcd575f-f9d4-482f-8983-fdad3bc1d899\" />\r\n\r\n#### CALCULATE\r\n<img width=\"1728\" height=\"574\" alt=\"Screenshot 2025-11-04 at 11 01 02\u202fAM\" src=\"https://github.com/user-attachments/assets/cbc92d59-beb9-4069-80ea-2899c9c0d925\" />\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "aniketburman014",
|
| 6 |
+
"created_at": "2025-11-02T18:55:36+00:00",
|
| 7 |
+
"merged_at": "2025-11-04T08:02:46+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [],
|
| 10 |
+
"url": "https://github.com/juspay/hyperswitch/pull/10092",
|
| 11 |
+
"commits": [
|
| 12 |
+
{
|
| 13 |
+
"sha": "fc53089e4383cd88a507eb26a90eee5d584961c7",
|
| 14 |
+
"message": " bug fix",
|
| 15 |
+
"author": "Aniket Burman",
|
| 16 |
+
"date": "2025-11-02T18:54:47+00:00",
|
| 17 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fc53089e4383cd88a507eb26a90eee5d584961c7"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"sha": "ba98639554134ceb1631e09f63dd5325dfe96d47",
|
| 21 |
+
"message": "chore: run formatter",
|
| 22 |
+
"author": "hyperswitch-bot[bot]",
|
| 23 |
+
"date": "2025-11-02T18:56:22+00:00",
|
| 24 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ba98639554134ceb1631e09f63dd5325dfe96d47"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"sha": "09f36b695533eeb768c806cc1bcd207c3216a6c2",
|
| 28 |
+
"message": " refactor",
|
| 29 |
+
"author": "Aniket Burman",
|
| 30 |
+
"date": "2025-11-03T10:10:57+00:00",
|
| 31 |
+
"url": "https://github.com/juspay/hyperswitch/commit/09f36b695533eeb768c806cc1bcd207c3216a6c2"
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"sha": "1e62c877b744eb163d0efc887f2d6bb808ba02a2",
|
| 35 |
+
"message": "chore: run formatter",
|
| 36 |
+
"author": "hyperswitch-bot[bot]",
|
| 37 |
+
"date": "2025-11-03T10:12:39+00:00",
|
| 38 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1e62c877b744eb163d0efc887f2d6bb808ba02a2"
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"sha": "5af5e3f46946169387acaa9c218ce40885cd3803",
|
| 42 |
+
"message": " clippy",
|
| 43 |
+
"author": "Aniket Burman",
|
| 44 |
+
"date": "2025-11-03T11:18:42+00:00",
|
| 45 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5af5e3f46946169387acaa9c218ce40885cd3803"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"sha": "471441242afddd68b77f9ee93771261eb8dea3c4",
|
| 49 |
+
"message": "chore: run formatter",
|
| 50 |
+
"author": "hyperswitch-bot[bot]",
|
| 51 |
+
"date": "2025-11-03T11:20:33+00:00",
|
| 52 |
+
"url": "https://github.com/juspay/hyperswitch/commit/471441242afddd68b77f9ee93771261eb8dea3c4"
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"sha": "ece0e2b94281f8fcc9460ca2ce12e7362add0a31",
|
| 56 |
+
"message": " minor fix",
|
| 57 |
+
"author": "Aniket Burman",
|
| 58 |
+
"date": "2025-11-03T12:39:03+00:00",
|
| 59 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ece0e2b94281f8fcc9460ca2ce12e7362add0a31"
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"sha": "b3812645619bba713f222fe390ec77e89192ecfb",
|
| 63 |
+
"message": " minor fix",
|
| 64 |
+
"author": "Aniket Burman",
|
| 65 |
+
"date": "2025-11-03T12:39:44+00:00",
|
| 66 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b3812645619bba713f222fe390ec77e89192ecfb"
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"sha": "cc6026c7b7fe06b5235d2f852def6d00db4b0454",
|
| 70 |
+
"message": "chore: run formatter",
|
| 71 |
+
"author": "hyperswitch-bot[bot]",
|
| 72 |
+
"date": "2025-11-03T12:41:04+00:00",
|
| 73 |
+
"url": "https://github.com/juspay/hyperswitch/commit/cc6026c7b7fe06b5235d2f852def6d00db4b0454"
|
| 74 |
+
}
|
| 75 |
+
]
|
| 76 |
+
}
|
prs/pr_10119.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 10119,
|
| 3 |
+
"title": "feat(connector): [STRIPE] Add Support for MOTO Payments",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [x] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nPassing payment_method_options[card][moto] as true if paymentChannel is being sent as either MailOrder or TelephoneOrder.\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\n<details>\r\n<summary> payments </summary>\r\n\r\nRequest : \r\n\r\n```\r\n\r\n{\r\n \"amount\": 100,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"all_keys_required\": true,\r\n \"customer_id\": \"cus_CtLmH8RPwrLgw\",\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"payment_channel\" : \"mail_order\",\r\n \"description\": \"Its my first payment request\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"return_url\": \"https://example.com\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"4242424242424242\",\r\n \"card_exp_month\": \"01\",\r\n \"card_exp_year\": \"28\",\r\n \"card_holder_name\": \"Joseph Doe\",\r\n \"card_cvc\": \"123\"\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"US\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\"\r\n }\r\n },\r\n \"shipping\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"US\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\"\r\n }\r\n },\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"new_customer\": \"true\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\"\r\n },\r\n \"browser_info\": {\r\n \"ip_address\": \"129.0.0.1\",\r\n \"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\",\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"language\": \"en-US\",\r\n \"color_depth\": 32,\r\n \"screen_height\": 1117,\r\n \"screen_width\": 1728,\r\n \"time_zone\": -330,\r\n \"java_enabled\": true,\r\n \"java_script_enabled\": true\r\n }\r\n}\r\n\r\n```\r\n\r\nraw_connector_request:\r\n\r\n<img width=\"1322\" height=\"234\" alt=\"Screenshot 2025-11-06 at 4 17 17\u202fPM\" src=\"https://github.com/user-attachments/assets/926c6aec-beaf-4549-b502-fc75fcd6dba9\" />\r\n\r\nResponse:\r\n\r\n```\r\n\r\n{\r\n \"payment_id\": \"pay_JjEAJVPxOhER8FBxgphN\",\r\n \"merchant_id\": \"merchant_1762176318\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 100,\r\n \"net_amount\": 100,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 100,\r\n \"connector\": \"stripe\",\r\n \"client_secret\": \"pay_JjEAJVPxOhER8FBxgphN_secret_GZariU3LDjquJ5qDCC3p\",\r\n \"created\": \"2025-11-04T08:52:36.159Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"cus_CtLmH8RPwrLgw\",\r\n \"customer\": {\r\n \"id\": \"cus_CtLmH8RPwrLgw\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": null\r\n },\r\n \"description\": \"Its my first payment request\",\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": null,\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"last4\": \"4242\",\r\n \"card_type\": null,\r\n \"card_network\": null,\r\n \"card_issuer\": null,\r\n \"card_issuing_country\": null,\r\n \"card_isin\": \"424242\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"01\",\r\n \"card_exp_year\": \"28\",\r\n \"card_holder_name\": \"Joseph Doe\",\r\n \"payment_checks\": {\r\n \"cvc_check\": \"pass\",\r\n \"address_line1_check\": \"pass\",\r\n \"address_postal_code_check\": \"pass\"\r\n },\r\n \"authentication_data\": null\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"order_details\": null,\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": \"https://example.com/\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"credit\",\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"cus_CtLmH8RPwrLgw\",\r\n \"created_at\": 1762246356,\r\n \"expires\": 1762249956,\r\n \"secret\": \"epk_5f3dc4bd91024e2bb60f5324bc1850eb\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"pi_3SPfyjD5R7gDAGff1RAlE3Ac\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\",\r\n \"new_customer\": \"true\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": {\r\n \"redirect_response\": null,\r\n \"search_tags\": null,\r\n \"apple_pay_recurring_details\": null,\r\n \"gateway_system\": \"direct\"\r\n },\r\n \"reference_id\": \"pi_3SPfyjD5R7gDAGff1RAlE3Ac\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_FSElCeVNmdMB2Kd1jBfY\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_kPXkBsvVtaVMyK0pVNqL\",\r\n \"incremental_authorization_allowed\": false,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-11-04T09:07:36.159Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"language\": \"en-US\",\r\n \"time_zone\": -330,\r\n \"ip_address\": \"129.0.0.1\",\r\n \"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\",\r\n \"color_depth\": 32,\r\n \"java_enabled\": true,\r\n \"screen_width\": 1728,\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"screen_height\": 1117,\r\n \"java_script_enabled\": true\r\n },\r\n \"payment_channel\": \"mail_order\",\r\n \"payment_method_id\": null,\r\n \"network_transaction_id\": \"104557651805572\",\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-11-04T08:52:38.456Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"extended_authorization_applied\": false,\r\n \"request_extended_authorization\": null,\r\n \"capture_before\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null,\r\n \"card_discovery\": \"manual\",\r\n \"force_3ds_challenge\": false,\r\n \"force_3ds_challenge_trigger\": false,\r\n \"issuer_error_code\": null,\r\n \"issuer_error_message\": null,\r\n \"is_iframe_redirection_enabled\": null,\r\n \"enable_partial_authorization\": null,\r\n \"enable_overcapture\": null,\r\n \"is_overcapture_enabled\": false,\r\n \"network_details\": null,\r\n \"is_stored_credential\": null,\r\n \"mit_category\": null\r\n}\r\n\r\n```\r\n</details>\r\n\r\n\r\n<details>\r\n<summary> Payment - CIT </summary>\r\n\r\nRequest:\r\n \r\n```\r\n\r\n{\r\n \"amount\": 100,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"customer_id\": \"cus_CtLmH8RPwrLgww\",\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"setup_future_usage\": \"off_session\",\r\n \"payment_channel\" : \"telephone_order\",\r\n \"description\": \"Its my first payment request\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"return_url\": \"https://example.com\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"4242424242424242\",\r\n \"card_exp_month\": \"01\",\r\n \"card_exp_year\": \"28\",\r\n \"card_holder_name\": \"Joseph Doe\",\r\n \"card_cvc\": \"123\"\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"US\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\"\r\n }\r\n },\r\n \"shipping\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"US\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\"\r\n }\r\n },\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"new_customer\": \"true\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\"\r\n },\r\n \"browser_info\": {\r\n \"ip_address\": \"129.0.0.1\",\r\n \"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\",\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"language\": \"en-US\",\r\n \"color_depth\": 32,\r\n \"screen_height\": 1117,\r\n \"screen_width\": 1728,\r\n \"time_zone\": -330,\r\n \"java_enabled\": true,\r\n \"java_script_enabled\": true\r\n },\r\n \"customer_acceptance\": {\r\n \"acceptance_type\": \"online\",\r\n \"accepted_at\": \"1963-05-03T04:07:52.723Z\",\r\n \"online\": {\r\n \"ip_address\": \"in sit\",\r\n \"user_agent\": \"amet irure esse\"\r\n }\r\n }\r\n}\r\n\r\n```\r\n\r\nraw_connector_request:\r\n\r\n<img width=\"1322\" height=\"227\" alt=\"Screenshot 2025-11-06 at 4 15 57\u202fPM\" src=\"https://github.com/user-attachments/assets/aef300be-4837-4dcc-bd52-fd79ef8631aa\" />\r\n\r\nResponse:\r\n\r\n```\r\n\r\n{\r\n \"payment_id\": \"pay_HMZ2YUufNO40ZMgdQ82Q\",\r\n \"merchant_id\": \"merchant_1762176318\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 100,\r\n \"net_amount\": 100,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 100,\r\n \"connector\": \"stripe\",\r\n \"client_secret\": \"pay_HMZ2YUufNO40ZMgdQ82Q_secret_4S82QoyFX85HtdOWd9kt\",\r\n \"created\": \"2025-11-04T08:54:53.896Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"cus_CtLmH8RPwrLgww\",\r\n \"customer\": {\r\n \"id\": \"cus_CtLmH8RPwrLgww\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": null\r\n },\r\n \"description\": \"Its my first payment request\",\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": \"off_session\",\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"last4\": \"4242\",\r\n \"card_type\": null,\r\n \"card_network\": null,\r\n \"card_issuer\": null,\r\n \"card_issuing_country\": null,\r\n \"card_isin\": \"424242\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"01\",\r\n \"card_exp_year\": \"28\",\r\n \"card_holder_name\": \"Joseph Doe\",\r\n \"payment_checks\": {\r\n \"cvc_check\": \"pass\",\r\n \"address_line1_check\": \"pass\",\r\n \"address_postal_code_check\": \"pass\"\r\n },\r\n \"authentication_data\": null\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"order_details\": null,\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": \"https://example.com/\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"credit\",\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"cus_CtLmH8RPwrLgww\",\r\n \"created_at\": 1762246493,\r\n \"expires\": 1762250093,\r\n \"secret\": \"epk_1f14f24115ec49e3b660f6b7ce23bb25\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"pi_3SPg0xD5R7gDAGff0ToS0mgk\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\",\r\n \"new_customer\": \"true\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": {\r\n \"redirect_response\": null,\r\n \"search_tags\": null,\r\n \"apple_pay_recurring_details\": null,\r\n \"gateway_system\": \"direct\"\r\n },\r\n \"reference_id\": \"pi_3SPg0xD5R7gDAGff0ToS0mgk\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_FSElCeVNmdMB2Kd1jBfY\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_kPXkBsvVtaVMyK0pVNqL\",\r\n \"incremental_authorization_allowed\": false,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-11-04T09:09:53.896Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"language\": \"en-US\",\r\n \"time_zone\": -330,\r\n \"ip_address\": \"129.0.0.1\",\r\n \"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\",\r\n \"color_depth\": 32,\r\n \"java_enabled\": true,\r\n \"screen_width\": 1728,\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"screen_height\": 1117,\r\n \"java_script_enabled\": true\r\n },\r\n \"payment_channel\": \"telephone_order\",\r\n \"payment_method_id\": \"pm_QcbT4UOgggINZd4bk5mt\",\r\n \"network_transaction_id\": \"104557651805572\",\r\n \"payment_method_status\": \"active\",\r\n \"updated\": \"2025-11-04T08:54:55.943Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"extended_authorization_applied\": false,\r\n \"request_extended_authorization\": null,\r\n \"capture_before\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": \"pm_1SPg0xD5R7gDAGffFXYga7wh\",\r\n \"card_discovery\": \"manual\",\r\n \"force_3ds_challenge\": false,\r\n \"force_3ds_challenge_trigger\": false,\r\n \"issuer_error_code\": null,\r\n \"issuer_error_message\": null,\r\n \"is_iframe_redirection_enabled\": null,\r\n \"enable_partial_authorization\": null,\r\n \"enable_overcapture\": null,\r\n \"is_overcapture_enabled\": false,\r\n \"network_details\": null,\r\n \"is_stored_credential\": null,\r\n \"mit_category\": null\r\n}\r\n\r\n```\r\n\r\n</details>\r\n\r\n<details>\r\n<summary> Payment - MIT </summary>\r\n\r\nRequest: \r\n\r\n```\r\n\r\n{\r\n \"amount\": 100,\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"cus_CtLmH8RPwrLgww\",\r\n \"confirm\": true,\r\n \"off_session\": true,\r\n \"email\": \"guest@example.com\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"recurring_details\": {\r\n \"type\": \"payment_method_id\",\r\n \"data\": \"pm_QcbT4UOgggINZd4bk5mt\" \r\n }\r\n}\r\n\r\n```\r\n\r\nResponse:\r\n\r\n```\r\n\r\n{\r\n \"payment_id\": \"pay_YAz5fAUW8uh6UW2t5xqz\",\r\n \"merchant_id\": \"merchant_1762176318\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 100,\r\n \"net_amount\": 100,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 100,\r\n \"connector\": \"stripe\",\r\n \"client_secret\": \"pay_YAz5fAUW8uh6UW2t5xqz_secret_ECESrw8Lmc8QaYofdKIy\",\r\n \"created\": \"2025-11-04T08:57:29.075Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"cus_CtLmH8RPwrLgww\",\r\n \"customer\": {\r\n \"id\": \"cus_CtLmH8RPwrLgww\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": null\r\n },\r\n \"description\": null,\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": null,\r\n \"off_session\": true,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"last4\": \"4242\",\r\n \"card_type\": null,\r\n \"card_network\": null,\r\n \"card_issuer\": null,\r\n \"card_issuing_country\": null,\r\n \"card_isin\": \"424242\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"01\",\r\n \"card_exp_year\": \"28\",\r\n \"card_holder_name\": \"Joseph Doe\",\r\n \"payment_checks\": {\r\n \"cvc_check\": \"pass\",\r\n \"address_line1_check\": \"pass\",\r\n \"address_postal_code_check\": \"pass\"\r\n },\r\n \"authentication_data\": null\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": null,\r\n \"billing\": null,\r\n \"order_details\": null,\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": null,\r\n \"authentication_type\": \"no_three_ds\",\r\n \"statement_descriptor_name\": null,\r\n \"statement_descriptor_suffix\": null,\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"credit\",\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"cus_CtLmH8RPwrLgww\",\r\n \"created_at\": 1762246649,\r\n \"expires\": 1762250249,\r\n \"secret\": \"epk_4ae72cc7e61d4d66b7ecbef1fb796b7e\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"pi_3SPg3RD5R7gDAGff1VBOiOw6\",\r\n \"frm_message\": null,\r\n \"metadata\": null,\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": {\r\n \"redirect_response\": null,\r\n \"search_tags\": null,\r\n \"apple_pay_recurring_details\": null,\r\n \"gateway_system\": \"direct\"\r\n },\r\n \"reference_id\": \"pi_3SPg3RD5R7gDAGff1VBOiOw6\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_FSElCeVNmdMB2Kd1jBfY\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_kPXkBsvVtaVMyK0pVNqL\",\r\n \"incremental_authorization_allowed\": false,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-11-04T09:12:29.075Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": null,\r\n \"payment_method_id\": \"pm_QcbT4UOgggINZd4bk5mt\",\r\n \"network_transaction_id\": \"104557651805572\",\r\n \"payment_method_status\": \"active\",\r\n \"updated\": \"2025-11-04T08:57:30.087Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"extended_authorization_applied\": false,\r\n \"request_extended_authorization\": null,\r\n \"capture_before\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": \"pm_1SPg0xD5R7gDAGffFXYga7wh\",\r\n \"card_discovery\": \"manual\",\r\n \"force_3ds_challenge\": false,\r\n \"force_3ds_challenge_trigger\": false,\r\n \"issuer_error_code\": null,\r\n \"issuer_error_message\": null,\r\n \"is_iframe_redirection_enabled\": null,\r\n \"whole_connector_response\": null,\r\n \"enable_partial_authorization\": null,\r\n \"enable_overcapture\": null,\r\n \"is_overcapture_enabled\": false,\r\n \"network_details\": null,\r\n \"is_stored_credential\": true,\r\n \"mit_category\": null\r\n}\r\n\r\n```\r\n\r\n</details>\r\n\r\n<details>\r\n<summary> Payment - Setup Mandate </summary>\r\n\r\nRequest:\r\n\r\n```\r\n\r\n{\r\n \"amount\": 0,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"all_keys_required\": true,\r\n \"customer_id\": \"cus_CtLmH8RPwrLgwaw\",\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"setup_future_usage\": \"off_session\",\r\n \"payment_channel\" : \"telephone_order\",\r\n \"description\": \"Its my first payment request\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"return_url\": \"https://example.com\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"4242424242424242\",\r\n \"card_exp_month\": \"01\",\r\n \"card_exp_year\": \"28\",\r\n \"card_holder_name\": \"Joseph Doe\",\r\n \"card_cvc\": \"123\"\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"US\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\"\r\n }\r\n },\r\n \"shipping\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"US\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\"\r\n }\r\n },\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"new_customer\": \"true\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\"\r\n },\r\n \"browser_info\": {\r\n \"ip_address\": \"129.0.0.1\",\r\n \"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\",\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"language\": \"en-US\",\r\n \"color_depth\": 32,\r\n \"screen_height\": 1117,\r\n \"screen_width\": 1728,\r\n \"time_zone\": -330,\r\n \"java_enabled\": true,\r\n \"java_script_enabled\": true\r\n },\r\n \"payment_type\":\"setup_mandate\",\r\n \"customer_acceptance\": {\r\n \"acceptance_type\": \"online\",\r\n \"accepted_at\": \"1963-05-03T04:07:52.723Z\",\r\n \"online\": {\r\n \"ip_address\": \"in sit\",\r\n \"user_agent\": \"amet irure esse\"\r\n }\r\n }\r\n}\r\n\r\n```\r\n\r\nraw_connector_request:\r\n\r\n<img width=\"1322\" height=\"122\" alt=\"Screenshot 2025-11-06 at 4 14 02\u202fPM\" src=\"https://github.com/user-attachments/assets/724c8fdb-8023-4233-a724-f7536e572488\" />\r\n\r\nResponse:\r\n```\r\n\r\n{\r\n \"payment_id\": \"pay_6odU3rgmVzhqCTTmC2VZ\",\r\n \"merchant_id\": \"merchant_1762176318\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 0,\r\n \"net_amount\": 0,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": null,\r\n \"connector\": \"stripe\",\r\n \"client_secret\": \"pay_6odU3rgmVzhqCTTmC2VZ_secret_MkKyPtykjiocsXvN4s4e\",\r\n \"created\": \"2025-11-04T08:59:56.728Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"cus_CtLmH8RPwrLgwaw\",\r\n \"customer\": {\r\n \"id\": \"cus_CtLmH8RPwrLgwaw\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": null\r\n },\r\n \"description\": \"Its my first payment request\",\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": \"off_session\",\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"last4\": \"4242\",\r\n \"card_type\": null,\r\n \"card_network\": null,\r\n \"card_issuer\": null,\r\n \"card_issuing_country\": null,\r\n \"card_isin\": \"424242\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"01\",\r\n \"card_exp_year\": \"28\",\r\n \"card_holder_name\": \"Joseph Doe\",\r\n \"payment_checks\": {\r\n \"cvc_check\": \"pass\",\r\n \"address_line1_check\": null,\r\n \"address_postal_code_check\": null\r\n },\r\n \"authentication_data\": null\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"order_details\": null,\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": \"https://example.com/\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"credit\",\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"cus_CtLmH8RPwrLgwaw\",\r\n \"created_at\": 1762246796,\r\n \"expires\": 1762250396,\r\n \"secret\": \"epk_99dfd95678744d678963f30c869a74e6\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"seti_1SPg5pD5R7gDAGff5RRDesPy\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\",\r\n \"new_customer\": \"true\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": {\r\n \"redirect_response\": null,\r\n \"search_tags\": null,\r\n \"apple_pay_recurring_details\": null,\r\n \"gateway_system\": \"direct\"\r\n },\r\n \"reference_id\": \"seti_1SPg5pD5R7gDAGff5RRDesPy\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_FSElCeVNmdMB2Kd1jBfY\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_kPXkBsvVtaVMyK0pVNqL\",\r\n \"incremental_authorization_allowed\": false,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-11-04T09:14:56.728Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"language\": \"en-US\",\r\n \"time_zone\": -330,\r\n \"ip_address\": \"129.0.0.1\",\r\n \"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\",\r\n \"color_depth\": 32,\r\n \"java_enabled\": true,\r\n \"screen_width\": 1728,\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"screen_height\": 1117,\r\n \"java_script_enabled\": true\r\n },\r\n \"payment_channel\": \"telephone_order\",\r\n \"payment_method_id\": \"pm_wVWoASefiSlv7YwrLepb\",\r\n \"network_transaction_id\": null,\r\n \"payment_method_status\": \"active\",\r\n \"updated\": \"2025-11-04T08:59:58.453Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"extended_authorization_applied\": null,\r\n \"request_extended_authorization\": null,\r\n \"capture_before\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": \"pm_1SPg5pD5R7gDAGffYQlZONkT\",\r\n \"card_discovery\": \"manual\",\r\n \"force_3ds_challenge\": false,\r\n \"force_3ds_challenge_trigger\": false,\r\n \"issuer_error_code\": null,\r\n \"issuer_error_message\": null,\r\n \"is_iframe_redirection_enabled\": null,\r\n \"whole_connector_response\": null,\r\n \"enable_partial_authorization\": null,\r\n \"enable_overcapture\": null,\r\n \"is_overcapture_enabled\": null,\r\n \"network_details\": null,\r\n \"is_stored_credential\": null,\r\n \"mit_category\": null\r\n}\r\n\r\n```\r\n\r\n</details>\r\n\r\n<details>\r\n<summary> Passing setup_future_usage as null to the connector in case we receive it as on_session for MOTO payments</summary>\r\n\r\nRequest:\r\n\r\n```\r\n\r\n{\r\n \"amount\": 100,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"all_keys_required\": true,\r\n \"customer_id\": \"cus_CtLmH8RPwr\",\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"setup_future_usage\": \"on_session\",\r\n \"payment_channel\": \"mail_order\",\r\n \"description\": \"Its my first payment request\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"return_url\": \"https://example.com\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"4242424242424242\",\r\n \"card_exp_month\": \"01\",\r\n \"card_exp_year\": \"28\",\r\n \"card_holder_name\": \"Joseph Doe\",\r\n \"card_cvc\": \"123\"\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"US\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\"\r\n }\r\n },\r\n \"shipping\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"US\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\"\r\n }\r\n },\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"new_customer\": \"true\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\"\r\n },\r\n \"browser_info\": {\r\n \"ip_address\": \"129.0.0.1\",\r\n \"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\",\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"language\": \"en-US\",\r\n \"color_depth\": 32,\r\n \"screen_height\": 1117,\r\n \"screen_width\": 1728,\r\n \"time_zone\": -330,\r\n \"java_enabled\": true,\r\n \"java_script_enabled\": true\r\n }\r\n}\r\n\r\n```\r\n\r\nraw_connector_request:\r\n\r\n<img width=\"1227\" height=\"256\" alt=\"Screenshot 2025-11-06 at 7 22 55\u202fPM\" src=\"https://github.com/user-attachments/assets/be4def8d-de05-4191-9961-bb425f069a76\" />\r\n\r\nResponse:\r\n\r\n```\r\n\r\n{\r\n \"payment_id\": \"pay_JBghOmrtt6NHVa7xPuTU\",\r\n \"merchant_id\": \"merchant_1762436939\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 100,\r\n \"net_amount\": 100,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 100,\r\n \"connector\": \"stripe\",\r\n \"client_secret\": \"pay_JBghOmrtt6NHVa7xPuTU_secret_WInxZH7iPn5XH5FK2UgW\",\r\n \"created\": \"2025-11-06T13:49:07.657Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"cus_CtLmH8RPwr\",\r\n \"customer\": {\r\n \"id\": \"cus_CtLmH8RPwr\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": null\r\n },\r\n \"description\": \"Its my first payment request\",\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": \"on_session\",\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"last4\": \"4242\",\r\n \"card_type\": null,\r\n \"card_network\": null,\r\n \"card_issuer\": null,\r\n \"card_issuing_country\": null,\r\n \"card_isin\": \"424242\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"01\",\r\n \"card_exp_year\": \"28\",\r\n \"card_holder_name\": \"Joseph Doe\",\r\n \"payment_checks\": {\r\n \"cvc_check\": \"pass\",\r\n \"address_line1_check\": \"pass\",\r\n \"address_postal_code_check\": \"pass\"\r\n },\r\n \"authentication_data\": null\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"john\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"order_details\": null,\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": \"https://example.com/\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"credit\",\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"cus_CtLmH8RPwr\",\r\n \"created_at\": 1762436947,\r\n \"expires\": 1762440547,\r\n \"secret\": \"epk_815d78ba92964ff897ba26d6d217e226\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"pi_3SQTYnD5R7gDAGff1PDiEmCW\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\",\r\n \"new_customer\": \"true\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": {\r\n \"redirect_response\": null,\r\n \"search_tags\": null,\r\n \"apple_pay_recurring_details\": null,\r\n \"gateway_system\": \"direct\"\r\n },\r\n \"reference_id\": \"pi_3SQTYnD5R7gDAGff1PDiEmCW\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_EcUMrxVH8f5pq6nmtobQ\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_B3CNn3ISwCkSOUKnBua5\",\r\n \"incremental_authorization_allowed\": false,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-11-06T14:04:07.657Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"language\": \"en-US\",\r\n \"time_zone\": -330,\r\n \"ip_address\": \"129.0.0.1\",\r\n \"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\",\r\n \"color_depth\": 32,\r\n \"java_enabled\": true,\r\n \"screen_width\": 1728,\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"screen_height\": 1117,\r\n \"java_script_enabled\": true\r\n },\r\n \"payment_channel\": \"mail_order\",\r\n \"payment_method_id\": null,\r\n \"network_transaction_id\": \"104557651805572\",\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-11-06T13:49:10.196Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"extended_authorization_applied\": false,\r\n \"extended_authorization_last_applied_at\": null,\r\n \"request_extended_authorization\": null,\r\n \"capture_before\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null,\r\n \"card_discovery\": \"manual\",\r\n \"force_3ds_challenge\": false,\r\n \"force_3ds_challenge_trigger\": false,\r\n \"issuer_error_code\": null,\r\n \"issuer_error_message\": null,\r\n \"is_iframe_redirection_enabled\": null,\r\n \"enable_partial_authorization\": null,\r\n \"enable_overcapture\": null,\r\n \"is_overcapture_enabled\": false,\r\n \"network_details\": null,\r\n \"is_stored_credential\": null,\r\n \"mit_category\": null\r\n}\r\n\r\n```\r\n\r\n</details>\r\n\r\nCypress:\r\n\r\n<details>\r\n<summary> branch: add-moto-stripe </summary>\r\n\r\n<img width=\"616\" height=\"901\" alt=\"Screenshot 2025-11-06 at 4 49 43\u202fPM\" src=\"https://github.com/user-attachments/assets/a15a2af3-2264-4d16-8543-cc278ba8b215\" />\r\n\r\n</details>\r\n\r\n<details>\r\n<summary> branch: main </summary>\r\n\r\n<img width=\"616\" height=\"935\" alt=\"Screenshot 2025-11-06 at 5 05 23\u202fPM\" src=\"https://github.com/user-attachments/assets/15c151c1-9f22-4fc0-8ed4-dd42717be25b\" />\r\n\r\n</details>\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible",
|
| 5 |
+
"author": "Vani-1107",
|
| 6 |
+
"created_at": "2025-11-04T08:45:14+00:00",
|
| 7 |
+
"merged_at": "2025-11-07T08:12:19+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-feature"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/10119",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "5767eeae2c8ea63f7f5851c9406c63574414d9bc",
|
| 16 |
+
"message": "stripe/moto",
|
| 17 |
+
"author": "Vani Gupta",
|
| 18 |
+
"date": "2025-11-04T08:43:07+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5767eeae2c8ea63f7f5851c9406c63574414d9bc"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "e3a6ab841b3f5efc8183336ca73c62b3263a4de6",
|
| 23 |
+
"message": "resolved comment",
|
| 24 |
+
"author": "Vani Gupta",
|
| 25 |
+
"date": "2025-11-04T09:44:36+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e3a6ab841b3f5efc8183336ca73c62b3263a4de6"
|
| 27 |
+
}
|
| 28 |
+
]
|
| 29 |
+
}
|
prs/pr_10154.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 10154,
|
| 3 |
+
"title": "ci(cypress): Fix Tesouro cypress test cases",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] Bugfix\r\n- [ ] New feature\r\n- [x] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [x] CI/CD\r\n\r\n## Description\r\nThis PR resolves failing Cypress tests for the Tesouro connector, specifically for the void and refund flows.\r\n\r\n### Changes\r\n\r\n1.**Void payments**: Modified from void to voidAfterconfirm state to ensure proper confirmation of voided transactions and Changed void status from cancelled to processing(because this is an async process).\r\n\r\n2.**Refund paymnets**: Updated refund state flow from pending to succeeded to accurately reflect successful refund completion.\r\n\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\nTesouro Cypress Tests were failing.\r\n\r\n\r\n## How did you test it?\r\n\r\n**After fix:**\r\n\r\n<img width=\"1728\" height=\"1117\" alt=\"Screenshot 2025-11-06 at 1 35 49\u202fPM\" src=\"https://github.com/user-attachments/assets/149a3c9e-cf0d-411c-9416-70023733fe8a\" />\r\n\r\n<img width=\"1728\" height=\"1117\" alt=\"Screenshot 2025-11-06 at 1 36 21\u202fPM\" src=\"https://github.com/user-attachments/assets/72eb1a60-e4a8-4bb4-99cf-6761d0a41235\" />\r\n\r\n\r\n<img width=\"3456\" height=\"2234\" alt=\"image\" src=\"https://github.com/user-attachments/assets/f21efd3e-01fa-4b1c-b8bf-486dcb07679e\" />\r\n\r\n\r\n<img width=\"3456\" height=\"2234\" alt=\"image\" src=\"https://github.com/user-attachments/assets/639cf2c1-7138-424d-8ba4-0a24aa90334b\" />\r\n\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] I formatted the code `cargo +nightly fmt --all`\r\n- [ ] I addressed lints thrown by `cargo clippy`\r\n- [ ] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "vasanthp-jus",
|
| 6 |
+
"created_at": "2025-11-06T09:56:45+00:00",
|
| 7 |
+
"merged_at": "2025-11-13T11:38:51+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-CI-CD",
|
| 11 |
+
"C-test"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/10154",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "d5199789ab7410f7131709ca7446f5d96cff46d5",
|
| 17 |
+
"message": "void and refund fix in cypress test",
|
| 18 |
+
"author": "vasanthp-jus",
|
| 19 |
+
"date": "2025-11-06T09:36:02+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d5199789ab7410f7131709ca7446f5d96cff46d5"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "4a818ec07e0c71256fd151a04e4f5c0f65527fad",
|
| 24 |
+
"message": "chore(cypress): run formatter and address lints",
|
| 25 |
+
"author": "hyperswitch-bot[bot]",
|
| 26 |
+
"date": "2025-11-06T09:58:43+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4a818ec07e0c71256fd151a04e4f5c0f65527fad"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "add75af2e940d657f944673311d61101bc18019c",
|
| 31 |
+
"message": "added void",
|
| 32 |
+
"author": "vasanthp-jus",
|
| 33 |
+
"date": "2025-11-06T11:46:36+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/add75af2e940d657f944673311d61101bc18019c"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "6a0a5d4c7db3654b716fd174aac24e197ba69a03",
|
| 38 |
+
"message": "chore(cypress): run formatter and address lints",
|
| 39 |
+
"author": "hyperswitch-bot[bot]",
|
| 40 |
+
"date": "2025-11-06T11:47:46+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6a0a5d4c7db3654b716fd174aac24e197ba69a03"
|
| 42 |
+
}
|
| 43 |
+
]
|
| 44 |
+
}
|
prs/pr_10162.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 10162,
|
| 3 |
+
"title": "chore: address Rust 1.91.0 clippy lints",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [x] Refactoring\r\n- [x] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n\r\nThis PR addresses clippy lints due to Rust version 1.91.0. Additionally, this PR includes some general / minor improvements outlined below.\r\n\r\n- Bumped `tokio` crate to version `1.48.0`, since code expanded from `#[tokio::main]` and `#[tokio::test]` macros triggered warnings. (See tokio-rs/tokio#7651.)\r\n- Allowed expect / panic / print / unwrap in tests by configuring lints in the `.clippy.toml` file and removing the respective `#[allow(...)]` attributes.\r\n- Removed redundant crate imports across the codebase, such as `use serde;`.\r\n- Removed a couple of `allow(unknown_lints)` annotations in the `scheduler` crate, since I believe they should no longer throw warnings on our current MSRV (1.85.0).\r\n- Corrected an error message passed to `expect()` in the `validate_card_number_chars()` function in the `cards` crate. Technically, this error message should never be seen on production, as the conditions where the `expect()` is called should never occur.\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\nThis PR addresses clippy lints arising due to a new Rust version.\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n`just clippy` and `just clippy_v2` pass locally when run with Rust 1.91 locally. Additionally, existing CI checks should also pass (such as stable and MSRV toolchain checks).\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "SanchithHegde",
|
| 6 |
+
"created_at": "2025-11-06T15:36:31+00:00",
|
| 7 |
+
"merged_at": "2025-11-07T13:51:59+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-dependencies",
|
| 11 |
+
"C-refactor"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/10162",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "649523b8fe3faa61a859a5a1bac86abffec0cf23",
|
| 17 |
+
"message": "build(deps): bump `tokio` to `1.48.0`",
|
| 18 |
+
"author": "Sanchith Hegde",
|
| 19 |
+
"date": "2025-11-05T20:04:17+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/649523b8fe3faa61a859a5a1bac86abffec0cf23"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "cbbf0ca7f59fcedb9bbb4d5a9b599e529e40b387",
|
| 24 |
+
"message": "chore: allow certain clippy lints in test using `.clippy.toml` file",
|
| 25 |
+
"author": "Sanchith Hegde",
|
| 26 |
+
"date": "2025-11-06T13:21:15+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/cbbf0ca7f59fcedb9bbb4d5a9b599e529e40b387"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "38e59dd13fd37cbd08dc67894e5d24709ea0e082",
|
| 31 |
+
"message": "chore: address Rust 1.91.0 clippy lints",
|
| 32 |
+
"author": "Sanchith Hegde",
|
| 33 |
+
"date": "2025-11-06T13:22:44+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/38e59dd13fd37cbd08dc67894e5d24709ea0e082"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "0b3886d8f2a6c57d5a67dc59f4e05d9c7e180801",
|
| 38 |
+
"message": "chore: remove redundant crate imports",
|
| 39 |
+
"author": "Sanchith Hegde",
|
| 40 |
+
"date": "2025-11-06T14:18:04+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0b3886d8f2a6c57d5a67dc59f4e05d9c7e180801"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "c98bc4c64a085ac152b8aaa7d83f70d93819af83",
|
| 45 |
+
"message": "chore(scheduler): remove `allow(unknown_lints)` annotations",
|
| 46 |
+
"author": "Sanchith Hegde",
|
| 47 |
+
"date": "2025-11-06T14:18:47+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c98bc4c64a085ac152b8aaa7d83f70d93819af83"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "c3f9846134dc4a1d335984942a31ce3aeeec661d",
|
| 52 |
+
"message": "chore(cards): correct the error message passed to `expect()`",
|
| 53 |
+
"author": "Sanchith Hegde",
|
| 54 |
+
"date": "2025-11-06T14:20:20+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c3f9846134dc4a1d335984942a31ce3aeeec661d"
|
| 56 |
+
}
|
| 57 |
+
]
|
| 58 |
+
}
|
prs/pr_10192.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 10192,
|
| 3 |
+
"title": "feat(ucs): implement UCS granular flow for PSync",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [x] New feature\r\n- [x] Enhancement\r\n- [ ] Refactoring\r\n- [x] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\nThis PR implements a granular Unified Connector Service (UCS) flow specifically for Payment Sync (PSync) operations, introducing a gateway abstraction layer that enables seamless switching between direct connector integration and UCS execution paths.\r\n\r\n### Key Components Added:\r\n\r\n**Gateway Abstraction Layer** (`crates/hyperswitch_interfaces/src/api/gateway.rs`):\r\n- `PaymentGateway` trait for unified execution interface\r\n- `DirectGateway` for traditional HTTP-based connector integration \r\n- `FlowGateway` trait for flow-specific gateway selection\r\n- Support for shadow mode execution with comparison service integration\r\n\r\n**PSync-Specific UCS Implementation** (`crates/router/src/core/payments/gateway/psync_gateway.rs`):\r\n- UCS-specific payment sync execution via gRPC\r\n- Access token handling from UCS responses\r\n- Connector-specific PSync disablement support\r\n- Comprehensive error handling and logging\r\n\r\n**Gateway Context** (`crates/router/src/core/payments/gateway/context.rs`):\r\n- `RouterGatewayContext` for execution metadata\r\n- Support for execution paths (Direct, UCS, Shadow)\r\n- Lineage IDs for distributed tracing\r\n- Gateway system tracking for stickiness\r\n\r\n**Enhanced Infrastructure**:\r\n- Comparison service configuration for comparing Direct vs UCS results\r\n- Enhanced UCS logging wrapper with comprehensive event tracking\r\n- New constants for flow identification and request tracking\r\n\r\n### Additional Changes\r\n\r\n- [x] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [x] This PR modifies application configuration/environment variables\r\n\r\nConfiguration changes in:\r\n- `crates/hyperswitch_interfaces/Cargo.toml` - Added tokio dependency\r\n- `crates/router/src/configs/settings.rs` - Added comparison service config\r\n\r\n## Motivation and Context\r\nThis change enables granular control over UCS execution at the flow level, allowing specific payment flows (starting with PSync) to be routed through UCS while maintaining backward compatibility for other flows. It provides:\r\n\r\n1. **A/B Testing Capability**: Shadow mode allows comparing Direct vs UCS execution results\r\n2. **Performance Optimization**: UCS-specific optimizations for PSync operations\r\n3. **Observability**: Enhanced logging and comparison service integration\r\n4. **Migration Path**: Foundation for extending UCS support to other payment flows\r\n\r\n## How did you test it?\r\nCannot be tested since this is a refactor and and not a feature. \r\nFor sanity, just did Force sync for a connector.\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] I formatted the code `cargo +nightly fmt --all`\r\n- [ ] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible",
|
| 5 |
+
"author": "hrithikesh026",
|
| 6 |
+
"created_at": "2025-11-11T05:10:44+00:00",
|
| 7 |
+
"merged_at": "2025-11-18T07:40:47+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"T-Core"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/10192",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "847552d0b784cc3f044f4076970dca00315a78dd",
|
| 16 |
+
"message": "feat(ucs): implement UCS granular flow for PSync",
|
| 17 |
+
"author": "hrithikesh026",
|
| 18 |
+
"date": "2025-11-11T05:03:12+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/847552d0b784cc3f044f4076970dca00315a78dd"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "c3eb9ce35edd95b6cf48ac09a720c1973a01727a",
|
| 23 |
+
"message": "feat(ucs): update header key values",
|
| 24 |
+
"author": "hrithikesh026",
|
| 25 |
+
"date": "2025-11-11T12:21:58+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c3eb9ce35edd95b6cf48ac09a720c1973a01727a"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "61df8ef0c5757b90e5cd4ee0bd3d3527cd2fe0ff",
|
| 30 |
+
"message": "chore: fix v2 clippy errors",
|
| 31 |
+
"author": "hrithikesh026",
|
| 32 |
+
"date": "2025-11-12T13:50:09+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/61df8ef0c5757b90e5cd4ee0bd3d3527cd2fe0ff"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "1c2a5b7bc121ba009ad2461dd5725e3c536b2d93",
|
| 37 |
+
"message": "chore: make context required",
|
| 38 |
+
"author": "hrithikesh026",
|
| 39 |
+
"date": "2025-11-13T04:47:26+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1c2a5b7bc121ba009ad2461dd5725e3c536b2d93"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "44e66a9c160b83a51b1168530eb610143b1a9fb6",
|
| 44 |
+
"message": "chore: address clippy lints for v2",
|
| 45 |
+
"author": "hrithikesh026",
|
| 46 |
+
"date": "2025-11-13T06:51:13+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/44e66a9c160b83a51b1168530eb610143b1a9fb6"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"sha": "4c1b23a58b59e42a84adfe78eaa6f8154883c3dc",
|
| 51 |
+
"message": "chore: run formatter",
|
| 52 |
+
"author": "hyperswitch-bot[bot]",
|
| 53 |
+
"date": "2025-11-13T06:53:37+00:00",
|
| 54 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4c1b23a58b59e42a84adfe78eaa6f8154883c3dc"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"sha": "12d9ca69243934a34dd406ff64391be34995d822",
|
| 58 |
+
"message": "fix: address v2 clippy warnings",
|
| 59 |
+
"author": "hrithikesh026",
|
| 60 |
+
"date": "2025-11-17T07:26:29+00:00",
|
| 61 |
+
"url": "https://github.com/juspay/hyperswitch/commit/12d9ca69243934a34dd406ff64391be34995d822"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"sha": "990558137164985d4219d37f630a7caa6836d591",
|
| 65 |
+
"message": "Merge remote-tracking branch 'origin/main' into psync-ucs-granular-flow",
|
| 66 |
+
"author": "hrithikesh026",
|
| 67 |
+
"date": "2025-11-17T07:46:58+00:00",
|
| 68 |
+
"url": "https://github.com/juspay/hyperswitch/commit/990558137164985d4219d37f630a7caa6836d591"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"sha": "3b1dcd02afe5f76006795c4fcca1fa1fe2c6bf2c",
|
| 72 |
+
"message": "fix: address v2 clippy warnings",
|
| 73 |
+
"author": "hrithikesh026",
|
| 74 |
+
"date": "2025-11-17T07:58:00+00:00",
|
| 75 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3b1dcd02afe5f76006795c4fcca1fa1fe2c6bf2c"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"sha": "82058bf1eedaec53d506e896fb5486350b32f335",
|
| 79 |
+
"message": "fix: name variables appropriately",
|
| 80 |
+
"author": "hrithikesh026",
|
| 81 |
+
"date": "2025-11-17T08:00:18+00:00",
|
| 82 |
+
"url": "https://github.com/juspay/hyperswitch/commit/82058bf1eedaec53d506e896fb5486350b32f335"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"sha": "6ec525dc25d7e1ab31fbd58a52688512fb11102e",
|
| 86 |
+
"message": "chore: update Cargo.lock",
|
| 87 |
+
"author": "hyperswitch-bot[bot]",
|
| 88 |
+
"date": "2025-11-17T08:14:14+00:00",
|
| 89 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6ec525dc25d7e1ab31fbd58a52688512fb11102e"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"sha": "acc98ca066af8cd5e6819b4d800c8f23fdc41ff6",
|
| 93 |
+
"message": "chore: rename constant",
|
| 94 |
+
"author": "hrithikesh026",
|
| 95 |
+
"date": "2025-11-17T09:40:41+00:00",
|
| 96 |
+
"url": "https://github.com/juspay/hyperswitch/commit/acc98ca066af8cd5e6819b4d800c8f23fdc41ff6"
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"sha": "0cacfafcf82e2694cec2f52e0076a3ceca063a5d",
|
| 100 |
+
"message": "Merge branch 'main' into psync-ucs-granular-flow",
|
| 101 |
+
"author": "Hrithikesh",
|
| 102 |
+
"date": "2025-11-18T03:58:37+00:00",
|
| 103 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0cacfafcf82e2694cec2f52e0076a3ceca063a5d"
|
| 104 |
+
}
|
| 105 |
+
]
|
| 106 |
+
}
|
prs/pr_10193.json
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 10193,
|
| 3 |
+
"title": "feat(core/connector): [ADYEN] Added Support For External Authentication By Merchant",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [x] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nWhen the request is a `three_ds` one for cards, an authentication step is required. Usually the connector does the authentication but there exists external authentication as well done by Netcetra etc. However, in some cases, the merchant himself authenticates his customers externally and passes on the authentication_data in the create/confirm call. We would be using this `three_ds_data` to pass it to the connector so that the connector/HS need not authenticate the customer any more.\r\n\r\nThis change has been implemented in Adyen connector as of now and its support has been added in core code. \r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\nAdyen Docs - check for `mpiData` object and some fields in the `additionalData` object : [Ref](https://docs.adyen.com/api-explorer/Checkout/71/post/payments)\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\nPayments Create+Confirm - Adyen : \r\n\r\ncURL: \r\n\r\n```\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_GhVAh8HCTWFCKv3J5VNBK2S5hp421eRCKntANeLPe7bCI4ZopS9M8IzrPGx8RBvR' \\\r\n--data-raw '{\r\n \"amount\": 4500,\r\n \"currency\": \"EUR\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"authentication_type\": \"three_ds\",\r\n \"setup_future_usage\": \"off_session\",\r\n \"connector\": [\r\n \"adyen\"\r\n ],\r\n \"customer_id\": \"agnostic_test_customer\",\r\n \"return_url\": \"https://google.com\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"371449635398431\",\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_cvc\": \"7373\"\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"zip\": \"94122\",\r\n \"country\": \"IT\",\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"zip\": \"94122\",\r\n \"country\": \"IT\",\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"shipping\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"IT\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"new_customer\": \"true\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\"\r\n },\r\n \"browser_info\": {\r\n \"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\",\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"language\": \"en-US\",\r\n \"color_depth\": 32,\r\n \"screen_height\": 1117,\r\n \"screen_width\": 1728,\r\n \"time_zone\": -330,\r\n \"java_enabled\": true,\r\n \"java_script_enabled\": true,\r\n \"ip_address\": \"127.0.0.1\"\r\n },\r\n \"customer_acceptance\": {\r\n \"acceptance_type\": \"online\",\r\n \"accepted_at\": \"1963-05-03T04:07:52.723Z\",\r\n \"online\": {\r\n \"ip_address\": \"127.0.0.1\",\r\n \"user_agent\": \"amet irure esse\"\r\n }\r\n },\r\n \"session_expiry\": 2890,\r\n \"three_ds_data\": {\r\n \"authentication_cryptogram\": {\r\n \"cavv\": {\r\n \"authentication_cryptogram\": \"3q2+78r+ur7erb7vyv66vv////8=\"\r\n }\r\n },\r\n \"ds_trans_id\": \"c4e59ceb-a382-4d6a-bc87-385d591fa09d\",\r\n \"version\": \"2.1.0\",\r\n \"eci\": \"05\",\r\n \"transaction_status\": \"Y\",\r\n \"exemption_indicator\": \"low_value\"\r\n }\r\n}'\r\n```\r\n\r\nResponse: \r\n\r\n```\r\n{\r\n \"payment_id\": \"pay_Zpb5dN4Bp2LbBI0F2NVI\",\r\n \"merchant_id\": \"merchant_1762777656\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 4500,\r\n \"net_amount\": 4500,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 4500,\r\n \"connector\": \"adyen\",\r\n \"client_secret\": \"pay_Zpb5dN4Bp2LbBI0F2NVI_secret_Gxk1e15NosFKTKBT6fjR\",\r\n \"created\": \"2025-11-11T06:05:36.831Z\",\r\n \"currency\": \"EUR\",\r\n \"customer_id\": \"agnostic_test_customer\",\r\n \"customer\": {\r\n \"id\": \"agnostic_test_customer\",\r\n \"name\": null,\r\n \"email\": null,\r\n \"phone\": null,\r\n \"phone_country_code\": null\r\n },\r\n \"description\": null,\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": \"on_session\",\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"last4\": \"8431\",\r\n \"card_type\": null,\r\n \"card_network\": null,\r\n \"card_issuer\": null,\r\n \"card_issuing_country\": null,\r\n \"card_isin\": \"371449\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"payment_checks\": null,\r\n \"authentication_data\": null\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"IT\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": null,\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n }\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"IT\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": null,\r\n \"last_name\": null,\r\n \"origin_zip\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"IT\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": null,\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"order_details\": null,\r\n \"email\": null,\r\n \"name\": null,\r\n \"phone\": null,\r\n \"return_url\": \"https://google.com/\",\r\n \"authentication_type\": \"three_ds\",\r\n \"statement_descriptor_name\": null,\r\n \"statement_descriptor_suffix\": null,\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": null,\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"agnostic_test_customer\",\r\n \"created_at\": 1762841136,\r\n \"expires\": 1762844736,\r\n \"secret\": \"epk_288d2d3541044f529d3c30f81fce390f\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"WZ8QJSX4VKRSPBV5\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\",\r\n \"new_customer\": \"true\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": {\r\n \"redirect_response\": null,\r\n \"search_tags\": null,\r\n \"apple_pay_recurring_details\": null,\r\n \"gateway_system\": \"direct\"\r\n },\r\n \"reference_id\": \"pay_Zpb5dN4Bp2LbBI0F2NVI_1\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_4U6QMDCACPTB9oXoC8z4\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_yglHH5YwjnFs4OeDfRcy\",\r\n \"incremental_authorization_allowed\": false,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-11-11T06:53:46.831Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"language\": \"en-US\",\r\n \"time_zone\": -330,\r\n \"ip_address\": \"127.0.0.1\",\r\n \"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\",\r\n \"color_depth\": 32,\r\n \"java_enabled\": true,\r\n \"screen_width\": 1728,\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"screen_height\": 1117,\r\n \"java_script_enabled\": true\r\n },\r\n \"payment_channel\": null,\r\n \"payment_method_id\": null,\r\n \"network_transaction_id\": \"866489719939700\",\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-11-11T06:05:40.078Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"extended_authorization_applied\": null,\r\n \"extended_authorization_last_applied_at\": null,\r\n \"request_extended_authorization\": null,\r\n \"capture_before\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null,\r\n \"card_discovery\": \"manual\",\r\n \"force_3ds_challenge\": false,\r\n \"force_3ds_challenge_trigger\": false,\r\n \"issuer_error_code\": null,\r\n \"issuer_error_message\": null,\r\n \"is_iframe_redirection_enabled\": null,\r\n \"whole_connector_response\": null,\r\n \"enable_partial_authorization\": null,\r\n \"enable_overcapture\": null,\r\n \"is_overcapture_enabled\": null,\r\n \"network_details\": null,\r\n \"is_stored_credential\": null,\r\n \"mit_category\": null\r\n}\r\n```\r\n\r\n<img width=\"1728\" height=\"205\" alt=\"Screenshot 2025-11-14 at 18 58 10\" src=\"https://github.com/user-attachments/assets/f69f215c-d800-47e4-ba96-75b38f983a14\" />\r\n\r\n\r\n2. Payments Create first then Confirm later \r\n\r\nCreate:\r\n\r\ncURL: \r\n\r\n```\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_0SAIoNkue6DUwP8vWG3toXOGgtZe2hdpnsLwEdZzuRJKJTwLSICXNzBSSF657pgl' \\\r\n--data-raw '{\r\n \"amount\": 4500,\r\n \"currency\": \"EUR\",\r\n \"confirm\": false,\r\n \"capture_method\": \"automatic\",\r\n \"authentication_type\": \"three_ds\",\r\n \"setup_future_usage\": \"off_session\",\r\n \"connector\": [\r\n \"adyen\"\r\n ],\r\n \"customer_id\": \"agnostic_test_customer\",\r\n \"return_url\": \"https://google.com\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"371449635398431\",\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_cvc\": \"7373\"\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"zip\": \"94122\",\r\n \"country\": \"IT\",\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"zip\": \"94122\",\r\n \"country\": \"IT\",\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"shipping\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"IT\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"new_customer\": \"true\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\"\r\n },\r\n \"browser_info\": {\r\n \"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\",\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"language\": \"en-US\",\r\n \"color_depth\": 32,\r\n \"screen_height\": 1117,\r\n \"screen_width\": 1728,\r\n \"time_zone\": -330,\r\n \"java_enabled\": true,\r\n \"java_script_enabled\": true,\r\n \"ip_address\": \"127.0.0.1\"\r\n },\r\n \"customer_acceptance\": {\r\n \"acceptance_type\": \"online\",\r\n \"accepted_at\": \"1963-05-03T04:07:52.723Z\",\r\n \"online\": {\r\n \"ip_address\": \"127.0.0.1\",\r\n \"user_agent\": \"amet irure esse\"\r\n }\r\n },\r\n \"session_expiry\": 2890\r\n}'\r\n```\r\n\r\nResponse: \r\n\r\n```\r\n{\r\n \"payment_id\": \"pay_pvCqKONQwHGfSNqHyqIQ\",\r\n \"merchant_id\": \"merchant_1762850839\",\r\n \"status\": \"requires_confirmation\",\r\n \"amount\": 4500,\r\n \"net_amount\": 4500,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": null,\r\n \"connector\": null,\r\n \"client_secret\": \"pay_pvCqKONQwHGfSNqHyqIQ_secret_QiymSRHsnto3QbHzM5S2\",\r\n \"created\": \"2025-11-11T08:47:37.313Z\",\r\n \"currency\": \"EUR\",\r\n \"customer_id\": \"agnostic_test_customer\",\r\n \"customer\": {\r\n \"id\": \"agnostic_test_customer\",\r\n \"name\": null,\r\n \"email\": null,\r\n \"phone\": null,\r\n \"phone_country_code\": null\r\n },\r\n \"description\": null,\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": \"off_session\",\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"last4\": \"8431\",\r\n \"card_type\": null,\r\n \"card_network\": null,\r\n \"card_issuer\": null,\r\n \"card_issuing_country\": null,\r\n \"card_isin\": \"371449\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"payment_checks\": null,\r\n \"authentication_data\": null\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"IT\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": null,\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n }\r\n },\r\n \"payment_token\": \"token_T7vJlBht234NOk3w5jHK\",\r\n \"shipping\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"IT\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": null,\r\n \"last_name\": null,\r\n \"origin_zip\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"IT\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": null,\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"order_details\": null,\r\n \"email\": null,\r\n \"name\": null,\r\n \"phone\": null,\r\n \"return_url\": \"https://google.com/\",\r\n \"authentication_type\": \"three_ds\",\r\n \"statement_descriptor_name\": null,\r\n \"statement_descriptor_suffix\": null,\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": null,\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"agnostic_test_customer\",\r\n \"created_at\": 1762850857,\r\n \"expires\": 1762854457,\r\n \"secret\": \"epk_b0be8484bccd425ca580bd01fd1e3a9f\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": null,\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\",\r\n \"new_customer\": \"true\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": null,\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_s85e6sId4QrZh47Lt4Fz\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": null,\r\n \"incremental_authorization_allowed\": null,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-11-11T09:35:47.313Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"language\": \"en-US\",\r\n \"time_zone\": -330,\r\n \"ip_address\": \"127.0.0.1\",\r\n \"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\",\r\n \"color_depth\": 32,\r\n \"java_enabled\": true,\r\n \"screen_width\": 1728,\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"screen_height\": 1117,\r\n \"java_script_enabled\": true\r\n },\r\n \"payment_channel\": null,\r\n \"payment_method_id\": null,\r\n \"network_transaction_id\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-11-11T08:47:37.397Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"extended_authorization_applied\": null,\r\n \"extended_authorization_last_applied_at\": null,\r\n \"request_extended_authorization\": null,\r\n \"capture_before\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null,\r\n \"card_discovery\": null,\r\n \"force_3ds_challenge\": false,\r\n \"force_3ds_challenge_trigger\": false,\r\n \"issuer_error_code\": null,\r\n \"issuer_error_message\": null,\r\n \"is_iframe_redirection_enabled\": null,\r\n \"whole_connector_response\": null,\r\n \"enable_partial_authorization\": null,\r\n \"enable_overcapture\": null,\r\n \"is_overcapture_enabled\": null,\r\n \"network_details\": null,\r\n \"is_stored_credential\": null,\r\n \"mit_category\": null,\r\n \"billing_descriptor\": null\r\n}\r\n```\r\n\r\nConfirm call :\r\n\r\ncURL: \r\n\r\n```\r\ncurl --location 'http://localhost:8080/payments/pay_pvCqKONQwHGfSNqHyqIQ/confirm' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_0SAIoNkue6DUwP8vWG3toXOGgtZe2hdpnsLwEdZzuRJKJTwLSICXNzBSSF657pgl' \\\r\n--data '{\r\n \"confirm\": true,\r\n \"three_ds_data\": {\r\n \r\n \"authentication_cryptogram\": {\r\n \"cavv\": {\r\n \"authentication_cryptogram\": \"3q2+78r+ur7erb7vyv66vv////8=\"\r\n }\r\n },\r\n \"ds_trans_id\": \"c4e59ceb-a382-4d6a-bc87-385d591fa09d\",\r\n \"version\": \"2.1.0\",\r\n \"eci\": \"05\",\r\n \"transaction_status\": \"Y\",\r\n \"exemption_indicator\": \"low_value\"\r\n },\r\n \"browser_info\": {\r\n \"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\",\r\n \"accept_header\": \"text\\/html,application\\/xhtml+xml,application\\/xml;q=0.9,image\\/webp,image\\/apng,*\\/*;q=0.8\",\r\n \"language\": \"nl-NL\",\r\n \"color_depth\": 24,\r\n \"screen_height\": 723,\r\n \"screen_width\": 1536,\r\n \"time_zone\": 0,\r\n \"java_enabled\": true,\r\n \"java_script_enabled\": true,\r\n \"ip_address\": \"128.0.0.1\"\r\n }\r\n}'\r\n```\r\n\r\nResponse: \r\n\r\n```\r\n{\r\n \"payment_id\": \"pay_pvCqKONQwHGfSNqHyqIQ\",\r\n \"merchant_id\": \"merchant_1762850839\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 4500,\r\n \"net_amount\": 4500,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 4500,\r\n \"connector\": \"adyen\",\r\n \"client_secret\": \"pay_pvCqKONQwHGfSNqHyqIQ_secret_QiymSRHsnto3QbHzM5S2\",\r\n \"created\": \"2025-11-11T08:47:37.313Z\",\r\n \"currency\": \"EUR\",\r\n \"customer_id\": \"agnostic_test_customer\",\r\n \"customer\": {\r\n \"id\": \"agnostic_test_customer\",\r\n \"name\": null,\r\n \"email\": null,\r\n \"phone\": null,\r\n \"phone_country_code\": null\r\n },\r\n \"description\": null,\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": \"on_session\",\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"last4\": \"8431\",\r\n \"card_type\": null,\r\n \"card_network\": null,\r\n \"card_issuer\": null,\r\n \"card_issuing_country\": null,\r\n \"card_isin\": \"371449\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"payment_checks\": null,\r\n \"authentication_data\": null\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"IT\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": null,\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n }\r\n },\r\n \"payment_token\": \"token_T7vJlBht234NOk3w5jHK\",\r\n \"shipping\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"IT\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": null,\r\n \"last_name\": null,\r\n \"origin_zip\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"IT\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": null,\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"order_details\": null,\r\n \"email\": null,\r\n \"name\": null,\r\n \"phone\": null,\r\n \"return_url\": \"https://google.com/\",\r\n \"authentication_type\": \"three_ds\",\r\n \"statement_descriptor_name\": null,\r\n \"statement_descriptor_suffix\": null,\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": null,\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": null,\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"CN27PX8ZKMJFMZ65\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\",\r\n \"new_customer\": \"true\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": {\r\n \"redirect_response\": null,\r\n \"search_tags\": null,\r\n \"apple_pay_recurring_details\": null,\r\n \"gateway_system\": \"direct\"\r\n },\r\n \"reference_id\": \"pay_pvCqKONQwHGfSNqHyqIQ_1\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_s85e6sId4QrZh47Lt4Fz\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_gektJ8Kq2zqH7mOXLQPP\",\r\n \"incremental_authorization_allowed\": false,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-11-11T09:35:47.313Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"os_type\": null,\r\n \"referer\": null,\r\n \"language\": \"nl-NL\",\r\n \"time_zone\": 0,\r\n \"ip_address\": \"128.0.0.1\",\r\n \"os_version\": null,\r\n \"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\",\r\n \"color_depth\": 24,\r\n \"device_model\": null,\r\n \"java_enabled\": true,\r\n \"screen_width\": 1536,\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"screen_height\": 723,\r\n \"accept_language\": \"en\",\r\n \"java_script_enabled\": true\r\n },\r\n \"payment_channel\": null,\r\n \"payment_method_id\": null,\r\n \"network_transaction_id\": \"324915994582364\",\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-11-11T08:49:10.513Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"extended_authorization_applied\": null,\r\n \"extended_authorization_last_applied_at\": null,\r\n \"request_extended_authorization\": null,\r\n \"capture_before\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null,\r\n \"card_discovery\": \"manual\",\r\n \"force_3ds_challenge\": false,\r\n \"force_3ds_challenge_trigger\": false,\r\n \"issuer_error_code\": null,\r\n \"issuer_error_message\": null,\r\n \"is_iframe_redirection_enabled\": null,\r\n \"whole_connector_response\": null,\r\n \"enable_partial_authorization\": null,\r\n \"enable_overcapture\": null,\r\n \"is_overcapture_enabled\": null,\r\n \"network_details\": null,\r\n \"is_stored_credential\": null,\r\n \"mit_category\": null,\r\n \"billing_descriptor\": null\r\n}\r\n```\r\n\r\n3. For Cartes Bancaries card - exception: need to pass additional fields in `three_ds_data`\r\n\r\ncURL: \r\n\r\n```\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_GhVAh8HCTWFCKv3J5VNBK2S5hp421eRCKntANeLPe7bCI4ZopS9M8IzrPGx8RBvR' \\\r\n--data-raw '{\r\n \"amount\": 4500,\r\n \"currency\": \"EUR\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"authentication_type\": \"three_ds\",\r\n \"setup_future_usage\": \"off_session\",\r\n \"connector\": [\r\n \"adyen\"\r\n ],\r\n \"customer_id\": \"agnostic_test_customer\",\r\n \"return_url\": \"https://google.com\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"4360000001000005\",\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_cvc\": \"737\",\r\n\t\t\t\"card_network\": \"CARTESBANCAIRES\"\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"zip\": \"94122\",\r\n \"country\": \"IT\",\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"zip\": \"94122\",\r\n \"country\": \"IT\",\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"shipping\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"IT\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"new_customer\": \"true\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\"\r\n },\r\n \"browser_info\": {\r\n \"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\",\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"language\": \"en-US\",\r\n \"color_depth\": 32,\r\n \"screen_height\": 1117,\r\n \"screen_width\": 1728,\r\n \"time_zone\": -330,\r\n \"java_enabled\": true,\r\n \"java_script_enabled\": true,\r\n \"ip_address\": \"127.0.0.1\"\r\n },\r\n \"customer_acceptance\": {\r\n \"acceptance_type\": \"online\",\r\n \"accepted_at\": \"1963-05-03T04:07:52.723Z\",\r\n \"online\": {\r\n \"ip_address\": \"127.0.0.1\",\r\n \"user_agent\": \"amet irure esse\"\r\n }\r\n },\r\n \"session_expiry\": 2890,\r\n \"three_ds_data\": {\r\n \"authentication_cryptogram\": {\r\n \"cavv\": {\r\n \"authentication_cryptogram\": \"3q2+78r+ur7erb7vyv66vv////8=\"\r\n }\r\n },\r\n \"ds_trans_id\": \"c4e59ceb-a382-4d6a-bc87-385d591fa09d\",\r\n \"version\": \"2.1.0\",\r\n \"eci\": \"05\",\r\n \"transaction_status\": \"Y\",\r\n \"exemption_indicator\": \"low_value\",\r\n \"network_params\": {\r\n \"cartes_bancaires\": {\r\n \"cavv_algorithm\": \"A\",\r\n \"cb_exemption\": \"00\",\r\n \"cb_score\": 95\r\n }\r\n }\r\n }\r\n}'\r\n```\r\n\r\nResponse: \r\n\r\n```\r\n{\r\n \"payment_id\": \"pay_XBUB3giG0EBmRbsf3vrB\",\r\n \"merchant_id\": \"merchant_1762777656\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 4500,\r\n \"net_amount\": 4500,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 4500,\r\n \"connector\": \"adyen\",\r\n \"client_secret\": \"pay_XBUB3giG0EBmRbsf3vrB_secret_EhTjfG0ywWLhfmeQq1eD\",\r\n \"created\": \"2025-11-11T07:56:21.262Z\",\r\n \"currency\": \"EUR\",\r\n \"customer_id\": \"agnostic_test_customer\",\r\n \"customer\": {\r\n \"id\": \"agnostic_test_customer\",\r\n \"name\": null,\r\n \"email\": null,\r\n \"phone\": null,\r\n \"phone_country_code\": null\r\n },\r\n \"description\": null,\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": \"on_session\",\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"last4\": \"8431\",\r\n \"card_type\": null,\r\n \"card_network\": null,\r\n \"card_issuer\": null,\r\n \"card_issuing_country\": null,\r\n \"card_isin\": \"371449\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"payment_checks\": null,\r\n \"authentication_data\": null\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"IT\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": null,\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n }\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"IT\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": null,\r\n \"last_name\": null,\r\n \"origin_zip\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"IT\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": null,\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"order_details\": null,\r\n \"email\": null,\r\n \"name\": null,\r\n \"phone\": null,\r\n \"return_url\": \"https://google.com/\",\r\n \"authentication_type\": \"three_ds\",\r\n \"statement_descriptor_name\": null,\r\n \"statement_descriptor_suffix\": null,\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": null,\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"agnostic_test_customer\",\r\n \"created_at\": 1762847781,\r\n \"expires\": 1762851381,\r\n \"secret\": \"epk_d09e7f33aecc438f976eefbb04b4356c\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"SGCMKLGJHS5H3275\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\",\r\n \"new_customer\": \"true\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": {\r\n \"redirect_response\": null,\r\n \"search_tags\": null,\r\n \"apple_pay_recurring_details\": null,\r\n \"gateway_system\": \"direct\"\r\n },\r\n \"reference_id\": \"pay_XBUB3giG0EBmRbsf3vrB_1\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_4U6QMDCACPTB9oXoC8z4\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_yglHH5YwjnFs4OeDfRcy\",\r\n \"incremental_authorization_allowed\": false,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-11-11T08:44:31.262Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"language\": \"en-US\",\r\n \"time_zone\": -330,\r\n \"ip_address\": \"127.0.0.1\",\r\n \"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\",\r\n \"color_depth\": 32,\r\n \"java_enabled\": true,\r\n \"screen_width\": 1728,\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"screen_height\": 1117,\r\n \"java_script_enabled\": true\r\n },\r\n \"payment_channel\": null,\r\n \"payment_method_id\": null,\r\n \"network_transaction_id\": \"715485460936692\",\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-11-11T07:56:23.966Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"extended_authorization_applied\": null,\r\n \"extended_authorization_last_applied_at\": null,\r\n \"request_extended_authorization\": null,\r\n \"capture_before\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null,\r\n \"card_discovery\": \"manual\",\r\n \"force_3ds_challenge\": false,\r\n \"force_3ds_challenge_trigger\": false,\r\n \"issuer_error_code\": null,\r\n \"issuer_error_message\": null,\r\n \"is_iframe_redirection_enabled\": null,\r\n \"whole_connector_response\": null,\r\n \"enable_partial_authorization\": null,\r\n \"enable_overcapture\": null,\r\n \"is_overcapture_enabled\": null,\r\n \"network_details\": null,\r\n \"is_stored_credential\": null,\r\n \"mit_category\": null\r\n}\r\n```\r\n\r\n<img width=\"1728\" height=\"205\" alt=\"Screenshot 2025-11-14 at 19 00 42\" src=\"https://github.com/user-attachments/assets/fe53eeb0-92c1-4b70-a3b5-c762aefbd243\" />\r\n\r\n\r\nPerforming Merchant Authentication via the `three_ds_data` supplied:\r\n\r\n<img width=\"1727\" height=\"182\" alt=\"Screenshot 2025-11-11 at 11 36 09\" src=\"https://github.com/user-attachments/assets/f2e889ef-56be-498b-8580-2b42aec4cf9b\" />\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [x] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "bsayak03",
|
| 6 |
+
"created_at": "2025-11-11T06:12:19+00:00",
|
| 7 |
+
"merged_at": "2025-11-15T06:33:01+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-api-contract-changes"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/10193",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "977d1921dfbe80d04b2c042e98a9aefaede9b204",
|
| 16 |
+
"message": "feat(core/connector): [ADYEN] Added Support For External Authentication By Merchant",
|
| 17 |
+
"author": "Sayak Bhattacharya",
|
| 18 |
+
"date": "2025-11-11T06:11:28+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/977d1921dfbe80d04b2c042e98a9aefaede9b204"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "c4461900b959dd2d4fa28cb4932b0e2af280bcc5",
|
| 23 |
+
"message": "Merge remote-tracking branch 'origin/main' into auth/server/3ds",
|
| 24 |
+
"author": "Sayak Bhattacharya",
|
| 25 |
+
"date": "2025-11-11T08:22:47+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c4461900b959dd2d4fa28cb4932b0e2af280bcc5"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "a84b68686b26c48834bdb84bd7e158dcdb9cbece",
|
| 30 |
+
"message": "fix: add structs to openapi files",
|
| 31 |
+
"author": "Sayak Bhattacharya",
|
| 32 |
+
"date": "2025-11-11T10:06:28+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a84b68686b26c48834bdb84bd7e158dcdb9cbece"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "8a79ef237254a63971edc0968d91dc97f393b373",
|
| 37 |
+
"message": "fix: resolved PR comments",
|
| 38 |
+
"author": "Sayak Bhattacharya",
|
| 39 |
+
"date": "2025-11-11T14:23:23+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8a79ef237254a63971edc0968d91dc97f393b373"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "3c197e4bf849b045ffb0356d108a60ecdee9495a",
|
| 44 |
+
"message": "fix: add default impl of a fn in Authenticate trait",
|
| 45 |
+
"author": "Sayak Bhattacharya",
|
| 46 |
+
"date": "2025-11-11T17:34:35+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3c197e4bf849b045ffb0356d108a60ecdee9495a"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"sha": "8e290059f9dda51b8f5cf25ff0cf9e0bcaebb4ef",
|
| 51 |
+
"message": "fix: added external auth data mapping in authentication_data in domain models",
|
| 52 |
+
"author": "Sayak Bhattacharya",
|
| 53 |
+
"date": "2025-11-12T13:40:47+00:00",
|
| 54 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8e290059f9dda51b8f5cf25ff0cf9e0bcaebb4ef"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"sha": "28fd837545dab513da3ed4f57697369add0540a3",
|
| 58 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 59 |
+
"author": "hyperswitch-bot[bot]",
|
| 60 |
+
"date": "2025-11-12T13:48:31+00:00",
|
| 61 |
+
"url": "https://github.com/juspay/hyperswitch/commit/28fd837545dab513da3ed4f57697369add0540a3"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"sha": "f70611fd6c98ec9e44a67a3792bc44f0237f7eb0",
|
| 65 |
+
"message": "fix: resolved clippy errors",
|
| 66 |
+
"author": "Sayak Bhattacharya",
|
| 67 |
+
"date": "2025-11-12T16:24:49+00:00",
|
| 68 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f70611fd6c98ec9e44a67a3792bc44f0237f7eb0"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"sha": "84953109963d3a4485a75afce269f9bbc9e459ff",
|
| 72 |
+
"message": "fix: add logs in core when proceeding with ext authentication from merchant",
|
| 73 |
+
"author": "Sayak Bhattacharya",
|
| 74 |
+
"date": "2025-11-13T07:13:57+00:00",
|
| 75 |
+
"url": "https://github.com/juspay/hyperswitch/commit/84953109963d3a4485a75afce269f9bbc9e459ff"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"sha": "cbff3ceaef4c4758f0f5b8246d47cff523cf88c1",
|
| 79 |
+
"message": "fix: resolved PR comments",
|
| 80 |
+
"author": "Sayak Bhattacharya",
|
| 81 |
+
"date": "2025-11-13T08:44:34+00:00",
|
| 82 |
+
"url": "https://github.com/juspay/hyperswitch/commit/cbff3ceaef4c4758f0f5b8246d47cff523cf88c1"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"sha": "06ea2a63f27919f9def5e3b17c4c15c95b6acb9e",
|
| 86 |
+
"message": "fix: added transaction_status to three_ds_data",
|
| 87 |
+
"author": "Sayak Bhattacharya",
|
| 88 |
+
"date": "2025-11-13T11:20:43+00:00",
|
| 89 |
+
"url": "https://github.com/juspay/hyperswitch/commit/06ea2a63f27919f9def5e3b17c4c15c95b6acb9e"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"sha": "2df79c0c3f2f39feb3d2a118db92c6c8f48e5443",
|
| 93 |
+
"message": "fix: reverted back to Eci being a string",
|
| 94 |
+
"author": "Sayak Bhattacharya",
|
| 95 |
+
"date": "2025-11-13T12:00:49+00:00",
|
| 96 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2df79c0c3f2f39feb3d2a118db92c6c8f48e5443"
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"sha": "f75b5dc895726fa9906317a493394c023dc81afd",
|
| 100 |
+
"message": "chore: run formatter",
|
| 101 |
+
"author": "hyperswitch-bot[bot]",
|
| 102 |
+
"date": "2025-11-13T12:02:21+00:00",
|
| 103 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f75b5dc895726fa9906317a493394c023dc81afd"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"sha": "abf1d0c35f33f1be8637d9370f5c6d547da9dbdb",
|
| 107 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 108 |
+
"author": "hyperswitch-bot[bot]",
|
| 109 |
+
"date": "2025-11-13T12:09:32+00:00",
|
| 110 |
+
"url": "https://github.com/juspay/hyperswitch/commit/abf1d0c35f33f1be8637d9370f5c6d547da9dbdb"
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"sha": "164582b53d23a59dba0874678f9dc5e5d932747a",
|
| 114 |
+
"message": "Merge branch 'main' into auth/server/3ds",
|
| 115 |
+
"author": "Sayak Bhattacharya",
|
| 116 |
+
"date": "2025-11-13T17:23:25+00:00",
|
| 117 |
+
"url": "https://github.com/juspay/hyperswitch/commit/164582b53d23a59dba0874678f9dc5e5d932747a"
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"sha": "c3ed46e1328cb15e50cbdc70f100463f2b8dd84a",
|
| 121 |
+
"message": "fix: made mpiData optional when three_ds_data is not passed",
|
| 122 |
+
"author": "Sayak Bhattacharya",
|
| 123 |
+
"date": "2025-11-14T04:04:42+00:00",
|
| 124 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c3ed46e1328cb15e50cbdc70f100463f2b8dd84a"
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"sha": "37a79898b3af0702f437551eedbc7c5812272814",
|
| 128 |
+
"message": "fix: resolved PR comments",
|
| 129 |
+
"author": "Sayak Bhattacharya",
|
| 130 |
+
"date": "2025-11-14T08:56:24+00:00",
|
| 131 |
+
"url": "https://github.com/juspay/hyperswitch/commit/37a79898b3af0702f437551eedbc7c5812272814"
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"sha": "e70fea82c49ab529c6e472561a429c9584509d76",
|
| 135 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 136 |
+
"author": "hyperswitch-bot[bot]",
|
| 137 |
+
"date": "2025-11-14T09:04:12+00:00",
|
| 138 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e70fea82c49ab529c6e472561a429c9584509d76"
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"sha": "ea8ce1f055247bca9b2d6a15fd2ef93800c42ab4",
|
| 142 |
+
"message": "fix: changed version to SemanticVersion",
|
| 143 |
+
"author": "Sayak Bhattacharya",
|
| 144 |
+
"date": "2025-11-14T09:42:03+00:00",
|
| 145 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ea8ce1f055247bca9b2d6a15fd2ef93800c42ab4"
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"sha": "04c94f81ebed0da7327a258b5d81a3be52af3fa9",
|
| 149 |
+
"message": "fix: bringing pkg.json and pkg-lock.json in sync",
|
| 150 |
+
"author": "Sayak Bhattacharya",
|
| 151 |
+
"date": "2025-11-14T17:14:43+00:00",
|
| 152 |
+
"url": "https://github.com/juspay/hyperswitch/commit/04c94f81ebed0da7327a258b5d81a3be52af3fa9"
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"sha": "38208de99438189d7755ab7f13238d56a06290a4",
|
| 156 |
+
"message": "Merge branch 'main' into auth/server/3ds",
|
| 157 |
+
"author": "Sayak Bhattacharya",
|
| 158 |
+
"date": "2025-11-14T17:38:42+00:00",
|
| 159 |
+
"url": "https://github.com/juspay/hyperswitch/commit/38208de99438189d7755ab7f13238d56a06290a4"
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"sha": "332eef1c04972aefe8c8f4470daae42240032b51",
|
| 163 |
+
"message": "fix: added fsevents in pkg.json in cypress dir",
|
| 164 |
+
"author": "Sayak Bhattacharya",
|
| 165 |
+
"date": "2025-11-14T17:42:00+00:00",
|
| 166 |
+
"url": "https://github.com/juspay/hyperswitch/commit/332eef1c04972aefe8c8f4470daae42240032b51"
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"sha": "0ff467459e5ab3d3817cc8141d6bf03c9e21ef4c",
|
| 170 |
+
"message": "fix: added fsevents in devDependencies",
|
| 171 |
+
"author": "Sayak Bhattacharya",
|
| 172 |
+
"date": "2025-11-14T17:52:38+00:00",
|
| 173 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0ff467459e5ab3d3817cc8141d6bf03c9e21ef4c"
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"sha": "ed99da09c75bd5df6799a597ef3839b531982e4c",
|
| 177 |
+
"message": "pkg",
|
| 178 |
+
"author": "Sayak Bhattacharya",
|
| 179 |
+
"date": "2025-11-14T17:57:36+00:00",
|
| 180 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ed99da09c75bd5df6799a597ef3839b531982e4c"
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"sha": "1f5a3ac8c25c687e8e20b79ca0815af0042dad71",
|
| 184 |
+
"message": "reverting pkg lock json changes",
|
| 185 |
+
"author": "Sayak Bhattacharya",
|
| 186 |
+
"date": "2025-11-15T05:00:08+00:00",
|
| 187 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1f5a3ac8c25c687e8e20b79ca0815af0042dad71"
|
| 188 |
+
}
|
| 189 |
+
]
|
| 190 |
+
}
|
prs/pr_10198.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 10198,
|
| 3 |
+
"title": "chore(euclid_wasm): add wasm for Vgs vault",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [x] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nAdd wasm changes for Vgs to make it visible in dashboard\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "Sakilmostak",
|
| 6 |
+
"created_at": "2025-11-11T09:35:33+00:00",
|
| 7 |
+
"merged_at": "2025-11-17T09:11:36+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/10198",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "dd9c33df6c23a34dae0281bc053c8e58ec635ad4",
|
| 16 |
+
"message": "chore: add wasm for vgs vault",
|
| 17 |
+
"author": "Sk Sakil Mostak",
|
| 18 |
+
"date": "2025-11-11T09:31:03+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/dd9c33df6c23a34dae0281bc053c8e58ec635ad4"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "e564683150dae3f17b25156bfc91618ec1c7a0a6",
|
| 23 |
+
"message": "Merge branch 'main' into vgs_vault_wasm",
|
| 24 |
+
"author": "Sk Sakil Mostak",
|
| 25 |
+
"date": "2025-11-17T07:33:47+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e564683150dae3f17b25156bfc91618ec1c7a0a6"
|
| 27 |
+
}
|
| 28 |
+
]
|
| 29 |
+
}
|
prs/pr_6724.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6724,
|
| 3 |
+
"title": "chore: enable `clippy::trivially_copy_pass_by_ref` lint and address it",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [x] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n\r\nThis PR enables and addresses the [`trivially_copy_pass_by_ref`](https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref) clippy lint. The lint helps identify places in code where types which implement the `Copy` trait are passed by reference, while it would be cheaper to pass them by value instead. In our case, most of these are enums, which are only 1 or 2 bytes. A similar reasoning applies to `Option<T>` parameters where `T: Copy`.\r\n\r\nNote that the lint only identifies function parameters, but not fields in structs. For instance, some of our Kafka-related types, say [`KafkaRefund`](https://github.com/juspay/hyperswitch/blob/bea4b9e7f430c3d7fbb25be0b472d2afb01135ec/crates/router/src/services/kafka/refund.rs#L9-L36), still have fields that hold references to bools and enums which implement `Copy`.\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\nThe lint helps identify places in code where types which implement the `Copy` trait are passed by reference, while it would be cheaper to pass them by value instead.\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\nI'd expect this PR to have no behavior changes, all our existing CI checks should pass, as before.\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "SanchithHegde",
|
| 6 |
+
"created_at": "2024-12-02T19:16:07+00:00",
|
| 7 |
+
"merged_at": "2024-12-05T15:09:29+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-refactor"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6724",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "63ec8ff0e718d26fe9c6872a40da3cc4b7d62921",
|
| 16 |
+
"message": "chore: enable `clippy::trivially_copy_pass_by_ref` lint and address it",
|
| 17 |
+
"author": "Sanchith Hegde",
|
| 18 |
+
"date": "2024-12-01T19:21:07+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/63ec8ff0e718d26fe9c6872a40da3cc4b7d62921"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "f9818a9a2ae736e2a5c196564bfd89ca719b5b86",
|
| 23 |
+
"message": "refactor(common_enums): specify reason to allow lint as comment instead of within attribute",
|
| 24 |
+
"author": "Sanchith Hegde",
|
| 25 |
+
"date": "2024-12-02T19:31:25+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f9818a9a2ae736e2a5c196564bfd89ca719b5b86"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "a98878fcd2d11ded845deec65d4cb7dc138fb3d6",
|
| 30 |
+
"message": "Merge branch 'main' into introduce-and-address-clippy-trivially-copy-pass-by-ref-lint",
|
| 31 |
+
"author": "Sanchith Hegde",
|
| 32 |
+
"date": "2024-12-04T10:05:10+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a98878fcd2d11ded845deec65d4cb7dc138fb3d6"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "822e1bdd0f265fa35f392b1d1ba1cc40475a0a58",
|
| 37 |
+
"message": "fix: fix failing builds",
|
| 38 |
+
"author": "Sanchith Hegde",
|
| 39 |
+
"date": "2024-12-04T11:05:16+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/822e1bdd0f265fa35f392b1d1ba1cc40475a0a58"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "14c3122f87c79ea8b61fc4f3279c70b5a863b3fd",
|
| 44 |
+
"message": "Merge branch 'main' into introduce-and-address-clippy-trivially-copy-pass-by-ref-lint",
|
| 45 |
+
"author": "Sanchith Hegde",
|
| 46 |
+
"date": "2024-12-05T09:11:51+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/14c3122f87c79ea8b61fc4f3279c70b5a863b3fd"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"sha": "0e182b823e6a49d5a281b7cf14f60c2066976f41",
|
| 51 |
+
"message": "Merge branch 'main' into introduce-and-address-clippy-trivially-copy-pass-by-ref-lint",
|
| 52 |
+
"author": "Sanchith Hegde",
|
| 53 |
+
"date": "2024-12-05T12:50:19+00:00",
|
| 54 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0e182b823e6a49d5a281b7cf14f60c2066976f41"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"sha": "df306cb0dfbb5e67f41d6b58ce55db34365e4a9f",
|
| 58 |
+
"message": "fix: fix failing build",
|
| 59 |
+
"author": "Sanchith Hegde",
|
| 60 |
+
"date": "2024-12-05T12:51:08+00:00",
|
| 61 |
+
"url": "https://github.com/juspay/hyperswitch/commit/df306cb0dfbb5e67f41d6b58ce55db34365e4a9f"
|
| 62 |
+
}
|
| 63 |
+
]
|
| 64 |
+
}
|
prs/pr_6733.json
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6733,
|
| 3 |
+
"title": "feat(analytics): Analytics Request Validator and config driven forex feature",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [x] New feature\r\n- [x] Enhancement\r\n- [x] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Fixes #6731 \r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n### Config driven forex functionality\r\n- Created a `forex_enabled` flag in config settings under analytics config.\r\n- Instead of passing `ExchangeRates` data structure now we are passing `Option<ExchangeRates>`\r\n- In amount related fields of response of any metric, we now get `null` if `forex_enabled = false`\r\n\r\n### Request Validator \r\n- Created an encapsulating `AnalyticsRequest` for all analytics request types\r\n- implemented method `requires_forex_functionality` to give additional check, as to whether forex api call is required for the given set of metrics or not.\r\n- Most importantly, it will serve as an extensible validator and provide contextual and comprehensive `4xx` errors in future.\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [x] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n### Config Driven Forex Functionality \r\nThe introduction of the `forex_enabled` flag allows greater flexibility in analytics operations by enabling or disabling forex functionality dynamically. This change minimizes unnecessary computations and API calls when forex functionality is not required, optimizing performance. By transitioning to passing `Option<ExchangeRates>`, the implementation better represents cases where forex data may not be applicable, (for e.g merchants that operate with single currency) aligning the API's behavior with user expectations. Setting `null` for amount-related fields in responses when forex is disabled ensures consistent and clear communication to the user about the absence of forex adjustments. \r\n\r\n### Request Validator \r\nThe encapsulating `AnalyticsRequest` structure improves the overall request validation framework by providing a unified approach to handling diverse analytics request types. The `requires_forex_functionality` method enhances efficiency by explicitly determining when forex operations are necessary, further reducing redundant forex API calls. Additionally, the extensibility of this validator sets the foundation for robust error handling, allowing the system to provide detailed and actionable `4xx` error responses in the future.\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n### Prerequisites\r\n```toml\r\n[analytics]\r\nsource = \"sqlx\"\r\nforex_enabled = false # update this to enable or disable\r\n```\r\n### Testing config driven forex api call\r\n```bash\r\ncurl --location 'http://localhost:8080/analytics/v1/org/metrics/payments' \\\r\n--header 'Accept: */*' \\\r\n--header 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \\\r\n--header 'Connection: keep-alive' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Origin: http://localhost:9000' \\\r\n--header 'Referer: http://localhost:9000/' \\\r\n--header 'Sec-Fetch-Dest: empty' \\\r\n--header 'Sec-Fetch-Mode: cors' \\\r\n--header 'Sec-Fetch-Site: same-site' \\\r\n--header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36' \\\r\n--header 'api-key: dev_r3kVZ4URj3fMiHhJJuhHOVqteaXwKyEMGCaFo6PiCS6S9vZsb0ErV4kCVqogM60H' \\\r\n--header 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMDZlOGRmZWYtMzI0Zi00Yjc0LTg2MTItYzdkZjNhOGZmZTcyIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzI3NDM0NTkzIiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTczMzI5Njk3MSwib3JnX2lkIjoib3JnXzl3Y0kxQ2hTOGVEdnRRQmRXak9IIiwicHJvZmlsZV9pZCI6InByb19FNW5lek43YjZUbVB1WlUzbEU1VSIsInRlbmFudF9pZCI6InB1YmxpYyJ9.fuAh7MTL96PeEizddbU3fOjOyHaXli5CXPrXMFjc-wU' \\\r\n--header 'sec-ch-ua: \"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"' \\\r\n--header 'sec-ch-ua-mobile: ?0' \\\r\n--header 'sec-ch-ua-platform: \"macOS\"' \\\r\n--data '[\r\n {\r\n \"timeRange\": {\r\n \"startTime\": \"2024-11-01T18:30:00Z\",\r\n \"endTime\": \"2024-11-11T08:24:00Z\"\r\n },\r\n \"source\": \"BATCH\",\r\n \"metrics\": [\r\n \"payment_processed_amount\"\r\n ],\r\n \"delta\": true\r\n }\r\n]'\r\n```\r\n#### when `forex_enabled=true`\r\n```json\r\n{\r\n \"queryData\": [\r\n {\r\n \"payment_success_rate\": null,\r\n \"payment_count\": null,\r\n \"payment_success_count\": null,\r\n \"payment_processed_amount\": 371940,\r\n \"payment_processed_amount_in_usd\": 4392,\r\n \"payment_processed_count\": null,\r\n \"payment_processed_amount_without_smart_retries\": 0,\r\n \"payment_processed_amount_without_smart_retries_usd\": 0,\r\n \"payment_processed_count_without_smart_retries\": null,\r\n \"avg_ticket_size\": null,\r\n \"payment_error_message\": null,\r\n \"retries_count\": null,\r\n \"retries_amount_processed\": 0,\r\n \"connector_success_rate\": null,\r\n \"payments_success_rate_distribution\": null,\r\n \"payments_success_rate_distribution_without_smart_retries\": null,\r\n \"payments_success_rate_distribution_with_only_retries\": null,\r\n \"payments_failure_rate_distribution\": null,\r\n \"payments_failure_rate_distribution_without_smart_retries\": null,\r\n \"payments_failure_rate_distribution_with_only_retries\": null,\r\n \"failure_reason_count\": 0,\r\n \"failure_reason_count_without_smart_retries\": 0,\r\n \"currency\": \"INR\",\r\n \"status\": null,\r\n \"connector\": null,\r\n \"authentication_type\": null,\r\n \"payment_method\": null,\r\n \"payment_method_type\": null,\r\n \"client_source\": null,\r\n \"client_version\": null,\r\n \"profile_id\": null,\r\n \"card_network\": null,\r\n \"merchant_id\": null,\r\n \"card_last_4\": null,\r\n \"card_issuer\": null,\r\n \"error_reason\": null,\r\n \"time_range\": {\r\n \"start_time\": \"2024-11-01T18:30:00.000Z\",\r\n \"end_time\": \"2024-11-11T08:24:00.000Z\"\r\n },\r\n \"time_bucket\": \"2024-11-01 18:30:00\"\r\n },\r\n {\r\n \"payment_success_rate\": null,\r\n \"payment_count\": null,\r\n \"payment_success_count\": null,\r\n \"payment_processed_amount\": 200000,\r\n \"payment_processed_amount_in_usd\": 200000,\r\n \"payment_processed_count\": null,\r\n \"payment_processed_amount_without_smart_retries\": 0,\r\n \"payment_processed_amount_without_smart_retries_usd\": 0,\r\n \"payment_processed_count_without_smart_retries\": null,\r\n \"avg_ticket_size\": null,\r\n \"payment_error_message\": null,\r\n \"retries_count\": null,\r\n \"retries_amount_processed\": 0,\r\n \"connector_success_rate\": null,\r\n \"payments_success_rate_distribution\": null,\r\n \"payments_success_rate_distribution_without_smart_retries\": null,\r\n \"payments_success_rate_distribution_with_only_retries\": null,\r\n \"payments_failure_rate_distribution\": null,\r\n \"payments_failure_rate_distribution_without_smart_retries\": null,\r\n \"payments_failure_rate_distribution_with_only_retries\": null,\r\n \"failure_reason_count\": 0,\r\n \"failure_reason_count_without_smart_retries\": 0,\r\n \"currency\": \"USD\",\r\n \"status\": null,\r\n \"connector\": null,\r\n \"authentication_type\": null,\r\n \"payment_method\": null,\r\n \"payment_method_type\": null,\r\n \"client_source\": null,\r\n \"client_version\": null,\r\n \"profile_id\": null,\r\n \"card_network\": null,\r\n \"merchant_id\": null,\r\n \"card_last_4\": null,\r\n \"card_issuer\": null,\r\n \"error_reason\": null,\r\n \"time_range\": {\r\n \"start_time\": \"2024-11-01T18:30:00.000Z\",\r\n \"end_time\": \"2024-11-11T08:24:00.000Z\"\r\n },\r\n \"time_bucket\": \"2024-11-01 18:30:00\"\r\n }\r\n ],\r\n \"metaData\": [\r\n {\r\n \"total_payment_processed_amount\": 571940,\r\n \"total_payment_processed_amount_in_usd\": 204392,\r\n \"total_payment_processed_amount_without_smart_retries\": 0,\r\n \"total_payment_processed_amount_without_smart_retries_usd\": 0,\r\n \"total_payment_processed_count\": 0,\r\n \"total_payment_processed_count_without_smart_retries\": 0,\r\n \"total_failure_reasons_count\": 0,\r\n \"total_failure_reasons_count_without_smart_retries\": 0\r\n }\r\n ]\r\n}\r\n```\r\n\r\n#### When `forex_enabled=false`\r\n```json\r\n{\r\n \"queryData\": [\r\n {\r\n \"payment_success_rate\": null,\r\n \"payment_count\": null,\r\n \"payment_success_count\": null,\r\n \"payment_processed_amount\": 371940,\r\n \"payment_processed_amount_in_usd\": null,\r\n \"payment_processed_count\": null,\r\n \"payment_processed_amount_without_smart_retries\": 0,\r\n \"payment_processed_amount_without_smart_retries_usd\": null,\r\n \"payment_processed_count_without_smart_retries\": null,\r\n \"avg_ticket_size\": null,\r\n \"payment_error_message\": null,\r\n \"retries_count\": null,\r\n \"retries_amount_processed\": 0,\r\n \"connector_success_rate\": null,\r\n \"payments_success_rate_distribution\": null,\r\n \"payments_success_rate_distribution_without_smart_retries\": null,\r\n \"payments_success_rate_distribution_with_only_retries\": null,\r\n \"payments_failure_rate_distribution\": null,\r\n \"payments_failure_rate_distribution_without_smart_retries\": null,\r\n \"payments_failure_rate_distribution_with_only_retries\": null,\r\n \"failure_reason_count\": 0,\r\n \"failure_reason_count_without_smart_retries\": 0,\r\n \"currency\": \"INR\",\r\n \"status\": null,\r\n \"connector\": null,\r\n \"authentication_type\": null,\r\n \"payment_method\": null,\r\n \"payment_method_type\": null,\r\n \"client_source\": null,\r\n \"client_version\": null,\r\n \"profile_id\": null,\r\n \"card_network\": null,\r\n \"merchant_id\": null,\r\n \"card_last_4\": null,\r\n \"card_issuer\": null,\r\n \"error_reason\": null,\r\n \"time_range\": {\r\n \"start_time\": \"2024-11-01T18:30:00.000Z\",\r\n \"end_time\": \"2024-11-11T08:24:00.000Z\"\r\n },\r\n \"time_bucket\": \"2024-11-01 18:30:00\"\r\n },\r\n {\r\n \"payment_success_rate\": null,\r\n \"payment_count\": null,\r\n \"payment_success_count\": null,\r\n \"payment_processed_amount\": 200000,\r\n \"payment_processed_amount_in_usd\": null,\r\n \"payment_processed_count\": null,\r\n \"payment_processed_amount_without_smart_retries\": 0,\r\n \"payment_processed_amount_without_smart_retries_usd\": null,\r\n \"payment_processed_count_without_smart_retries\": null,\r\n \"avg_ticket_size\": null,\r\n \"payment_error_message\": null,\r\n \"retries_count\": null,\r\n \"retries_amount_processed\": 0,\r\n \"connector_success_rate\": null,\r\n \"payments_success_rate_distribution\": null,\r\n \"payments_success_rate_distribution_without_smart_retries\": null,\r\n \"payments_success_rate_distribution_with_only_retries\": null,\r\n \"payments_failure_rate_distribution\": null,\r\n \"payments_failure_rate_distribution_without_smart_retries\": null,\r\n \"payments_failure_rate_distribution_with_only_retries\": null,\r\n \"failure_reason_count\": 0,\r\n \"failure_reason_count_without_smart_retries\": 0,\r\n \"currency\": \"USD\",\r\n \"status\": null,\r\n \"connector\": null,\r\n \"authentication_type\": null,\r\n \"payment_method\": null,\r\n \"payment_method_type\": null,\r\n \"client_source\": null,\r\n \"client_version\": null,\r\n \"profile_id\": null,\r\n \"card_network\": null,\r\n \"merchant_id\": null,\r\n \"card_last_4\": null,\r\n \"card_issuer\": null,\r\n \"error_reason\": null,\r\n \"time_range\": {\r\n \"start_time\": \"2024-11-01T18:30:00.000Z\",\r\n \"end_time\": \"2024-11-11T08:24:00.000Z\"\r\n },\r\n \"time_bucket\": \"2024-11-01 18:30:00\"\r\n }\r\n ],\r\n \"metaData\": [\r\n {\r\n \"total_payment_processed_amount\": 571940,\r\n \"total_payment_processed_amount_in_usd\": null,\r\n \"total_payment_processed_amount_without_smart_retries\": 0,\r\n \"total_payment_processed_amount_without_smart_retries_usd\": null,\r\n \"total_payment_processed_count\": 0,\r\n \"total_payment_processed_count_without_smart_retries\": 0,\r\n \"total_failure_reasons_count\": 0,\r\n \"total_failure_reasons_count_without_smart_retries\": 0\r\n }\r\n ]\r\n}\r\n```\r\n\r\n### Testing `request_validator()`\r\n\r\n```bash\r\ncurl --location 'http://localhost:8080/analytics/v1/org/metrics/payments' \\\r\n--header 'Accept: */*' \\\r\n--header 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \\\r\n--header 'Connection: keep-alive' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Origin: http://localhost:9000' \\\r\n--header 'Referer: http://localhost:9000/' \\\r\n--header 'Sec-Fetch-Dest: empty' \\\r\n--header 'Sec-Fetch-Mode: cors' \\\r\n--header 'Sec-Fetch-Site: same-site' \\\r\n--header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36' \\\r\n--header 'api-key: dev_r3kVZ4URj3fMiHhJJuhHOVqteaXwKyEMGCaFo6PiCS6S9vZsb0ErV4kCVqogM60H' \\\r\n--header 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMDZlOGRmZWYtMzI0Zi00Yjc0LTg2MTItYzdkZjNhOGZmZTcyIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzI3NDM0NTkzIiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTczMzI5Njk3MSwib3JnX2lkIjoib3JnXzl3Y0kxQ2hTOGVEdnRRQmRXak9IIiwicHJvZmlsZV9pZCI6InByb19FNW5lek43YjZUbVB1WlUzbEU1VSIsInRlbmFudF9pZCI6InB1YmxpYyJ9.fuAh7MTL96PeEizddbU3fOjOyHaXli5CXPrXMFjc-wU' \\\r\n--header 'sec-ch-ua: \"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"' \\\r\n--header 'sec-ch-ua-mobile: ?0' \\\r\n--header 'sec-ch-ua-platform: \"macOS\"' \\\r\n--data '[\r\n {\r\n \"timeRange\": {\r\n \"startTime\": \"2024-11-01T18:30:00Z\",\r\n \"endTime\": \"2024-11-11T08:24:00Z\"\r\n },\r\n \"source\": \"BATCH\",\r\n \"metrics\": [\r\n \"payment_success_rate\"\r\n ],\r\n \"delta\": true\r\n }\r\n]'\r\n```\r\n\r\n#### Check the logs, there won't be forex api call, and the response time also is lesser\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "maverox",
|
| 6 |
+
"created_at": "2024-12-03T13:03:26+00:00",
|
| 7 |
+
"merged_at": "2024-12-17T10:50:36+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-feature",
|
| 11 |
+
"M-configuration-changes",
|
| 12 |
+
"A-Analytics"
|
| 13 |
+
],
|
| 14 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6733",
|
| 15 |
+
"commits": [
|
| 16 |
+
{
|
| 17 |
+
"sha": "b7746e77bf8b56bad40ec5727002f5a0d30ef245",
|
| 18 |
+
"message": "feat(config): add `forex_enabled` flag in analytics config",
|
| 19 |
+
"author": "uzair khan",
|
| 20 |
+
"date": "2024-11-26T11:19:45+00:00",
|
| 21 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b7746e77bf8b56bad40ec5727002f5a0d30ef245"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"sha": "4e7ed61df773566483cf8dd90b18ffb40134216b",
|
| 25 |
+
"message": "feat(analytics): update `AnalyticsConfig` to include `forex_enabled` flag",
|
| 26 |
+
"author": "uzair khan",
|
| 27 |
+
"date": "2024-11-26T11:21:39+00:00",
|
| 28 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4e7ed61df773566483cf8dd90b18ffb40134216b"
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"sha": "e52953d4064cdf9dfa106f94070b88db98b725f1",
|
| 32 |
+
"message": "feat(analytics, router): implement optional currency conversion function call and conversion process",
|
| 33 |
+
"author": "uzair khan",
|
| 34 |
+
"date": "2024-11-26T12:06:33+00:00",
|
| 35 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e52953d4064cdf9dfa106f94070b88db98b725f1"
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"sha": "bcb8210ea6ba2276afe9de7ddafe0601471ee3c8",
|
| 39 |
+
"message": "doc(analytics): update doc to include forex_enabled flag setup instructions",
|
| 40 |
+
"author": "uzair khan",
|
| 41 |
+
"date": "2024-11-26T12:07:04+00:00",
|
| 42 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bcb8210ea6ba2276afe9de7ddafe0601471ee3c8"
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"sha": "2a7ddd6b955e2e887d2fc3a9b09563d0d178649e",
|
| 46 |
+
"message": "fix(config): default value of forex_enabled is false",
|
| 47 |
+
"author": "uzair khan",
|
| 48 |
+
"date": "2024-11-26T12:08:36+00:00",
|
| 49 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2a7ddd6b955e2e887d2fc3a9b09563d0d178649e"
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"sha": "cd08162a9203be84d3e1e2b70f65da2b0aa979eb",
|
| 53 |
+
"message": "feat(analytics, router): analytics request validator (initial commit)",
|
| 54 |
+
"author": "uzair khan",
|
| 55 |
+
"date": "2024-11-29T08:50:19+00:00",
|
| 56 |
+
"url": "https://github.com/juspay/hyperswitch/commit/cd08162a9203be84d3e1e2b70f65da2b0aa979eb"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"sha": "712f7e1970ee696d77bd13647910181c7f63d763",
|
| 60 |
+
"message": "fix(config): remove duplicate config variable `forex_enabled`",
|
| 61 |
+
"author": "uzair khan",
|
| 62 |
+
"date": "2024-12-02T07:12:40+00:00",
|
| 63 |
+
"url": "https://github.com/juspay/hyperswitch/commit/712f7e1970ee696d77bd13647910181c7f63d763"
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"sha": "e186612a38e93c968766b7df234a75911a3fab6a",
|
| 67 |
+
"message": "refactor(analytics, router): refactor request validator",
|
| 68 |
+
"author": "uzair khan",
|
| 69 |
+
"date": "2024-12-02T07:30:09+00:00",
|
| 70 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e186612a38e93c968766b7df234a75911a3fab6a"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"sha": "bab6a8610af2d2863980ab04702988397c3d81a7",
|
| 74 |
+
"message": "refactor(router, analytics): make all AnalyticsRequest struct instantiation using Default impl",
|
| 75 |
+
"author": "uzair khan",
|
| 76 |
+
"date": "2024-12-02T07:39:09+00:00",
|
| 77 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bab6a8610af2d2863980ab04702988397c3d81a7"
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"sha": "247bbb26bc77e4ab6f69f39efc41c0cc2b9d176b",
|
| 81 |
+
"message": "feat(api_models): create `ForexMetric` trait and impl for all metrics",
|
| 82 |
+
"author": "uzair khan",
|
| 83 |
+
"date": "2024-12-03T11:19:48+00:00",
|
| 84 |
+
"url": "https://github.com/juspay/hyperswitch/commit/247bbb26bc77e4ab6f69f39efc41c0cc2b9d176b"
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"sha": "2de97c4222ea6c1891d021fe478303bd05e989c0",
|
| 88 |
+
"message": "feat(router, analytics): implement requires_forex_functionality and improve request_validator",
|
| 89 |
+
"author": "uzair khan",
|
| 90 |
+
"date": "2024-12-03T11:21:41+00:00",
|
| 91 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2de97c4222ea6c1891d021fe478303bd05e989c0"
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"sha": "72cced45341b1ec3943c1579cb42ac5924ee2252",
|
| 95 |
+
"message": "chore: run formatter",
|
| 96 |
+
"author": "hyperswitch-bot[bot]",
|
| 97 |
+
"date": "2024-12-03T13:04:29+00:00",
|
| 98 |
+
"url": "https://github.com/juspay/hyperswitch/commit/72cced45341b1ec3943c1579cb42ac5924ee2252"
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"sha": "6467ec469ee1babd7df7e5dced218e847b135e62",
|
| 102 |
+
"message": "chore(analytics, api_models): addressing clippy warns",
|
| 103 |
+
"author": "uzair khan",
|
| 104 |
+
"date": "2024-12-03T13:09:55+00:00",
|
| 105 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6467ec469ee1babd7df7e5dced218e847b135e62"
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"sha": "fedb9f782f1f557d784b1a931171958e9d3bfdcb",
|
| 109 |
+
"message": "Merge branch 'main' into optional-currency-conversion-analytics",
|
| 110 |
+
"author": "Sandeep Kumar",
|
| 111 |
+
"date": "2024-12-04T12:09:06+00:00",
|
| 112 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fedb9f782f1f557d784b1a931171958e9d3bfdcb"
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"sha": "f78c2d6e5da0151c327ff409cb6abd24de7879e4",
|
| 116 |
+
"message": "Merge branch 'main' into optional-currency-conversion-analytics",
|
| 117 |
+
"author": "uzair khan",
|
| 118 |
+
"date": "2024-12-06T07:36:12+00:00",
|
| 119 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f78c2d6e5da0151c327ff409cb6abd24de7879e4"
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"sha": "5be07e8ca6efec3c5e9f4443224b201142765f70",
|
| 123 |
+
"message": "fix(config): add `forex_enabled` flag in `env_specific.toml`",
|
| 124 |
+
"author": "uzair khan",
|
| 125 |
+
"date": "2024-12-06T08:28:53+00:00",
|
| 126 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5be07e8ca6efec3c5e9f4443224b201142765f70"
|
| 127 |
+
}
|
| 128 |
+
]
|
| 129 |
+
}
|
prs/pr_6738.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6738,
|
| 3 |
+
"title": "feat(webhooks): adyen - consume and update connector's network_transaction_id in payment_methods",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\nDescribed in #6719 \r\n\r\nThis PR introduces below changes\r\n- `get_network_txn_id` fn in IncomingWebhook trait\r\n- implement this new fn for Adyen for retrieving the network txn ID\r\n- consume this fn in core flows for updating `network_transaction_id` in `payment_methods` table\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\nHelps persist network transaction IDs for connectors in case it was not present in Authorize or Capture responses but instead sent in the webhook!\r\n\r\n## How did you test it?\r\n- Ensure Adyen is configured in HS, along with webhooks!\r\n- Ensure `network_tx_reference` (field in Adyen) is not returned in Authorize or Capture response\r\n- This field should be populated in DB once webhooks are received (provided this field was also returned)\r\n\r\n`network_transaction_id` is populated after receiving webhooks\r\n<img width=\"1258\" alt=\"Screenshot 2024-12-04 at 4 45 43\u202fPM\" src=\"https://github.com/user-attachments/assets/1caeb9cd-fd77-4b40-8aa5-01226c65c6b9\">\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "kashif-m",
|
| 6 |
+
"created_at": "2024-12-04T10:44:33+00:00",
|
| 7 |
+
"merged_at": "2024-12-05T13:34:59+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-compatibility",
|
| 11 |
+
"A-core",
|
| 12 |
+
"A-webhooks",
|
| 13 |
+
"A-mandates"
|
| 14 |
+
],
|
| 15 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6738",
|
| 16 |
+
"commits": [
|
| 17 |
+
{
|
| 18 |
+
"sha": "9bdfeedf1dc993106fa62bc35335f0115314d7f0",
|
| 19 |
+
"message": "feat(webhooks): adyen - consume and update connector's network_transaction_id in payment_methods",
|
| 20 |
+
"author": "Kashif",
|
| 21 |
+
"date": "2024-12-04T10:38:05+00:00",
|
| 22 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9bdfeedf1dc993106fa62bc35335f0115314d7f0"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"sha": "fb5590a68e7c7deecb5e23ed0604dcc98ed03047",
|
| 26 |
+
"message": "refactor - use if instead of match",
|
| 27 |
+
"author": "Kashif",
|
| 28 |
+
"date": "2024-12-04T11:46:43+00:00",
|
| 29 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fb5590a68e7c7deecb5e23ed0604dcc98ed03047"
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"sha": "b3f38681804a1b9b8977287773747b9b9c176bc8",
|
| 33 |
+
"message": "refactor(webhooks): use single payment_method_update DB query",
|
| 34 |
+
"author": "Kashif",
|
| 35 |
+
"date": "2024-12-04T13:37:25+00:00",
|
| 36 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b3f38681804a1b9b8977287773747b9b9c176bc8"
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"sha": "9d5af4e6c55f9ac29db6afcd5f3dbe383dad56fe",
|
| 40 |
+
"message": "chore: run formatter",
|
| 41 |
+
"author": "hyperswitch-bot[bot]",
|
| 42 |
+
"date": "2024-12-04T14:45:30+00:00",
|
| 43 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9d5af4e6c55f9ac29db6afcd5f3dbe383dad56fe"
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"sha": "fa36641fc8d1b1fb430ccf62a8826a9779bdece2",
|
| 47 |
+
"message": "chore: run formatter",
|
| 48 |
+
"author": "hyperswitch-bot[bot]",
|
| 49 |
+
"date": "2024-12-04T15:24:16+00:00",
|
| 50 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fa36641fc8d1b1fb430ccf62a8826a9779bdece2"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"sha": "4721a48c987ed75f1711a268e4bef68556625158",
|
| 54 |
+
"message": "refactor: use Secret for network_transaction_id during DB update",
|
| 55 |
+
"author": "Kashif",
|
| 56 |
+
"date": "2024-12-05T07:14:04+00:00",
|
| 57 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4721a48c987ed75f1711a268e4bef68556625158"
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"sha": "a3b0e6d2a2345b1cc1a6c7ba397ae7f2f35e36a0",
|
| 61 |
+
"message": "chore: run formatter",
|
| 62 |
+
"author": "hyperswitch-bot[bot]",
|
| 63 |
+
"date": "2024-12-05T07:16:00+00:00",
|
| 64 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a3b0e6d2a2345b1cc1a6c7ba397ae7f2f35e36a0"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"sha": "f007d50b05238a923767a5bedfd17ea24f3fd1f5",
|
| 68 |
+
"message": "refactor: use Secret for connector_mandate_details during DB update",
|
| 69 |
+
"author": "Kashif",
|
| 70 |
+
"date": "2024-12-05T07:52:16+00:00",
|
| 71 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f007d50b05238a923767a5bedfd17ea24f3fd1f5"
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"sha": "5af4d15388a841fb5c41c08a3a4674538d5dfd4a",
|
| 75 |
+
"message": "chore: run formatter",
|
| 76 |
+
"author": "hyperswitch-bot[bot]",
|
| 77 |
+
"date": "2024-12-05T08:05:23+00:00",
|
| 78 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5af4d15388a841fb5c41c08a3a4674538d5dfd4a"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"sha": "72a5e903877f877127687aab6e97045072e028f4",
|
| 82 |
+
"message": "chore: clippy fixes",
|
| 83 |
+
"author": "Kashif",
|
| 84 |
+
"date": "2024-12-05T08:29:19+00:00",
|
| 85 |
+
"url": "https://github.com/juspay/hyperswitch/commit/72a5e903877f877127687aab6e97045072e028f4"
|
| 86 |
+
}
|
| 87 |
+
]
|
| 88 |
+
}
|
prs/pr_6743.json
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6743,
|
| 3 |
+
"title": "feat(core): Add uas framework support",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] New feature\r\n\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nAdd uas framework support\r\n\r\nThis is a template PR which enables new authentication flows for UAS, currently we cannot test it since these functions are not being invoked from core.\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "sahkal",
|
| 6 |
+
"created_at": "2024-12-04T12:38:06+00:00",
|
| 7 |
+
"merged_at": "2024-12-11T12:29:33+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-core",
|
| 11 |
+
"C-feature"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6743",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "3d8fee7cef9ba0c8622c7cac75c2430fada367f0",
|
| 17 |
+
"message": "feat(uas): added skeleton framework for uas",
|
| 18 |
+
"author": "Sahkal Poddar",
|
| 19 |
+
"date": "2024-12-02T14:26:17+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3d8fee7cef9ba0c8622c7cac75c2430fada367f0"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "34a5f6e318bb12e2f0b3b982f7ddf3449869b69a",
|
| 24 |
+
"message": "fix errors",
|
| 25 |
+
"author": "sai-harsha-vardhan",
|
| 26 |
+
"date": "2024-12-02T16:58:09+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/34a5f6e318bb12e2f0b3b982f7ddf3449869b69a"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "bb28c84a9566ff97457d1a9b3213b437b285eb65",
|
| 31 |
+
"message": "added core api supports for uas",
|
| 32 |
+
"author": "Sahkal Poddar",
|
| 33 |
+
"date": "2024-12-03T12:59:34+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bb28c84a9566ff97457d1a9b3213b437b285eb65"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "47da4cb6c1b00d5ac010a3b9a4b127a5cf31e0c1",
|
| 38 |
+
"message": "refactor(core): refactored uas template code for core",
|
| 39 |
+
"author": "Sahkal Poddar",
|
| 40 |
+
"date": "2024-12-04T12:08:26+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/47da4cb6c1b00d5ac010a3b9a4b127a5cf31e0c1"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "4d80cb99bdb895c95a9b8a516330525f9338e23e",
|
| 45 |
+
"message": "refactor(core): resolved merge conflicts",
|
| 46 |
+
"author": "Sahkal Poddar",
|
| 47 |
+
"date": "2024-12-04T12:55:05+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4d80cb99bdb895c95a9b8a516330525f9338e23e"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "2da42d8fbb3cf4a9469e5617fc82d71c4c5d9b3a",
|
| 52 |
+
"message": "refactor(core): removed unnecessary commented code",
|
| 53 |
+
"author": "Sahkal Poddar",
|
| 54 |
+
"date": "2024-12-04T12:57:51+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2da42d8fbb3cf4a9469e5617fc82d71c4c5d9b3a"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"sha": "4ea37441a15d587c3683b83845683d7f84dfbbf7",
|
| 59 |
+
"message": "refactor(core): fixed clippy errors",
|
| 60 |
+
"author": "Sahkal Poddar",
|
| 61 |
+
"date": "2024-12-05T09:36:07+00:00",
|
| 62 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4ea37441a15d587c3683b83845683d7f84dfbbf7"
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"sha": "e85b39efe288f6421b62bda876924b9a0f09dc07",
|
| 66 |
+
"message": "refactor(core): fixed spell check error",
|
| 67 |
+
"author": "Sahkal Poddar",
|
| 68 |
+
"date": "2024-12-05T10:25:03+00:00",
|
| 69 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e85b39efe288f6421b62bda876924b9a0f09dc07"
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"sha": "229111cc44f7292e7a6ab3457caf3cc5c8ac4abd",
|
| 73 |
+
"message": "resolved merge conflicts",
|
| 74 |
+
"author": "Sahkal Poddar",
|
| 75 |
+
"date": "2024-12-06T07:14:34+00:00",
|
| 76 |
+
"url": "https://github.com/juspay/hyperswitch/commit/229111cc44f7292e7a6ab3457caf3cc5c8ac4abd"
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"sha": "5263476eceda53580afe459d0c2700376227ea7c",
|
| 80 |
+
"message": "resolved pr comments for ctp <> uas",
|
| 81 |
+
"author": "Sahkal Poddar",
|
| 82 |
+
"date": "2024-12-09T11:06:27+00:00",
|
| 83 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5263476eceda53580afe459d0c2700376227ea7c"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"sha": "2608a083a9e5e30010a1b0074c841532dab6b4f4",
|
| 87 |
+
"message": "fixed pr commits",
|
| 88 |
+
"author": "Sahkal Poddar",
|
| 89 |
+
"date": "2024-12-09T11:59:27+00:00",
|
| 90 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2608a083a9e5e30010a1b0074c841532dab6b4f4"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"sha": "7fafc5d780aacdada009f223f3ab3ae28eec17dc",
|
| 94 |
+
"message": "Merge branch 'main' into add-uas-framework-support",
|
| 95 |
+
"author": "Sahkal Poddar",
|
| 96 |
+
"date": "2024-12-09T17:59:53+00:00",
|
| 97 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7fafc5d780aacdada009f223f3ab3ae28eec17dc"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"sha": "d9598621364a81b3bff299f9cf4c6e3bd596704e",
|
| 101 |
+
"message": "resolved pr comments",
|
| 102 |
+
"author": "Sahkal Poddar",
|
| 103 |
+
"date": "2024-12-11T09:23:14+00:00",
|
| 104 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d9598621364a81b3bff299f9cf4c6e3bd596704e"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"sha": "dce875d0b410f028451044c71d9369ac8cf7bdef",
|
| 108 |
+
"message": "removed todo to fix clippy ci check",
|
| 109 |
+
"author": "Sahkal Poddar",
|
| 110 |
+
"date": "2024-12-11T09:37:41+00:00",
|
| 111 |
+
"url": "https://github.com/juspay/hyperswitch/commit/dce875d0b410f028451044c71d9369ac8cf7bdef"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"sha": "9e17acb04621d2b1c55789c02286051582f77635",
|
| 115 |
+
"message": "resolved pr comments",
|
| 116 |
+
"author": "Sahkal Poddar",
|
| 117 |
+
"date": "2024-12-11T09:49:05+00:00",
|
| 118 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9e17acb04621d2b1c55789c02286051582f77635"
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"sha": "28c22aabac97e357ba7c800c9a3ef3071188b1b9",
|
| 122 |
+
"message": "Merge branch 'main' into add-uas-framework-support",
|
| 123 |
+
"author": "Sahkal Poddar",
|
| 124 |
+
"date": "2024-12-11T10:24:48+00:00",
|
| 125 |
+
"url": "https://github.com/juspay/hyperswitch/commit/28c22aabac97e357ba7c800c9a3ef3071188b1b9"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"sha": "80c58597ac771652fa91b10614cdc853c2154abf",
|
| 129 |
+
"message": "fixed clippy v2 error",
|
| 130 |
+
"author": "Sahkal Poddar",
|
| 131 |
+
"date": "2024-12-11T10:40:46+00:00",
|
| 132 |
+
"url": "https://github.com/juspay/hyperswitch/commit/80c58597ac771652fa91b10614cdc853c2154abf"
|
| 133 |
+
}
|
| 134 |
+
]
|
| 135 |
+
}
|
prs/pr_6744.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6744,
|
| 3 |
+
"title": "refactor(constraint_graph): add setup_future_usage for mandate check in payments",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [x] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nPreviously the `mandate_details` were enough to identify the payment as mandate payment but now it is optional so a payment can be mandate even if there is no `mandate_details` but the payment's `setup_future_usage` is `off-session`.\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\nThis can be tested in the following way:\r\n1. Connector create (Fiuu)\r\n```\r\ncurl --location 'http://127.0.0.1:8080/account/merchant_1733312955/connectors' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '{\r\n \"connector_type\": \"payment_processor\",\r\n \"connector_name\": \"fiuu\",\r\n \"connector_account_details\": {\r\n \"auth_type\": \"SignatureKey\",\r\n \"api_key\": \".....\",\r\n \"key1\": \"......\",\r\n \"api_secret\": \"......\"\r\n },\r\n \"test_mode\": false,\r\n \"disabled\": false,\r\n \"payment_methods_enabled\": [\r\n {\r\n \"payment_method\": \"bank_redirect\",\r\n \"payment_method_types\": [\r\n {\r\n \"payment_method_type\": \"online_banking_fpx\",\r\n \"payment_experience\": null,\r\n \"card_networks\": null,\r\n \"accepted_currencies\": null,\r\n \"accepted_countries\": null,\r\n \"minimum_amount\": 0,\r\n \"maximum_amount\": 68607706,\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": false\r\n }\r\n ]\r\n }\r\n ],\r\n \"connector_webhook_details\": {\r\n \"merchant_secret\": \".....\",\r\n \"additional_secret\": null\r\n }\r\n}'\r\n```\r\n\r\n2. Payment (off-session)\r\n```\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'Cookie;' \\\r\n--header 'api-key: .....' \\\r\n--data-raw '{\r\n \"amount\": 6540,\r\n \"setup_future_usage\": \"off_session\",\r\n \"currency\": \"EUR\",\r\n \"confirm\": false,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"amount_to_capture\": 6540,\r\n \"customer_id\": \"uiuiuiui\",\r\n \"email\": \"guest@ehjhjxample.com\",\r\n \"description\": \"Its my first payment request\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"return_url\": \"https://duck.com\",\r\n \"billing\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"NL\",\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"example@example.com\"\r\n },\r\n \"shipping\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"IN\",\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n }\r\n },\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"new_customer\": \"true\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\"\r\n }\r\n}'\r\n```\r\n\r\n3. List payment methods\r\n```\r\ncurl --location 'http://localhost:8080/account/payment_methods?client_secret=......' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: .....' \\\r\n--data ''\r\n```\r\n\r\nIt shouldn't have any payment_method\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "prajjwalkumar17",
|
| 6 |
+
"created_at": "2024-12-04T12:53:48+00:00",
|
| 7 |
+
"merged_at": "2024-12-10T12:12:50+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-refactor",
|
| 11 |
+
"A-routing"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6744",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "41206ef9d1147f9f66fc4c9ef8d8b28aebf9edfb",
|
| 17 |
+
"message": "refactor(constraint_graph): add setup_future_usage for mandate check in payments",
|
| 18 |
+
"author": "prajjwalkumar17",
|
| 19 |
+
"date": "2024-12-04T12:46:51+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/41206ef9d1147f9f66fc4c9ef8d8b28aebf9edfb"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "fb49dc45fc18bd80a2047e6cb946525f6875e994",
|
| 24 |
+
"message": "add any_aggregator only when a node is present",
|
| 25 |
+
"author": "prajjwalkumar17",
|
| 26 |
+
"date": "2024-12-05T18:04:50+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fb49dc45fc18bd80a2047e6cb946525f6875e994"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "0b3f1d07b44c735fc9f35e991a2368395733805d",
|
| 31 |
+
"message": "address lints",
|
| 32 |
+
"author": "prajjwalkumar17",
|
| 33 |
+
"date": "2024-12-06T09:07:00+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0b3f1d07b44c735fc9f35e991a2368395733805d"
|
| 35 |
+
}
|
| 36 |
+
]
|
| 37 |
+
}
|
prs/pr_6816.json
ADDED
|
@@ -0,0 +1,436 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6816,
|
| 3 |
+
"title": "feat(dynamic_routing): integration of elimination routing for core flows",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nThis will integrate elimination routing in our core flows for connectors to be filtered on basis of error codes received.\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\nTesting performed in same way as SR routing.\r\n1. Enable ER for merchant\r\n```\r\ncurl --location --request POST 'http://localhost:8080/account/merchant_1744368166/business_profile/pro_GrzjTHd5Pn5hAhwTZPRn/dynamic_routing/elimination/toggle?enable=dynamic_connector_selection' \\\r\n--header 'api-key: dev_a4XMpNXd3Yriz5DPsiwU6UbxEkiRkXdqHhwnJPolnVhssLaDEbOg6f5kE6B2hx1f'\r\n```\r\n2. Enable Volume split\r\n```\r\ncurl --location --request POST 'http://localhost:8080/account/merchant_1744368166/business_profile/pro_GrzjTHd5Pn5hAhwTZPRn/dynamic_routing/set_volume_split?split=100' \\\r\n--header 'api-key: dev_a4XMpNXd3Yriz5DPsiwU6UbxEkiRkXdqHhwnJPolnVhssLaDEbOg6f5kE6B2hx1f'\r\n```\r\n3. Create a volte Payment\r\n```\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_lnvARj6hcC6DXOC3XXByk5s2qv7EWGhG0v9vFo85RQvz3Ft9IrqMXeSMpvuotZfp' \\\r\n--data-raw '{\r\n \"amount\": 8000,\r\n \"currency\": \"EUR\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"amount_to_capture\": 8000,\r\n \"customer_id\": \"StripeCustomer\",\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+1\",\r\n \"description\": \"Its my first payment request\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"return_url\": \"https://www.google.com/\",\r\n \"payment_method\": \"bank_redirect\",\r\n \"payment_method_type\": \"open_banking_uk\",\r\n \"payment_method_data\": {\r\n \"bank_redirect\": {\r\n \"open_banking_uk\": {}\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"DE\",\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n }\r\n },\r\n \"shipping\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"DE\",\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n }\r\n },\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"new_customer\": \"true\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\"\r\n },\r\n \"profile_id\": \"pro_KEc20awDxPq8pSIDsBV0\"\r\n}'\r\n```\r\ncancel the payment after going to the payment url.\r\n\r\n4. logs checkup: \r\n`DEBUG router::core::payments::routing: dynamic_eliminated_connectors: []`\r\nif the above log is present, it shows elimination is working fine.\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] I formatted the code `cargo +nightly fmt --all`\r\n- [ ] I addressed lints thrown by `cargo clippy`\r\n- [ ] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "prajjwalkumar17",
|
| 6 |
+
"created_at": "2024-12-12T04:52:49+00:00",
|
| 7 |
+
"merged_at": "2025-04-22T07:38:05+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-feature",
|
| 11 |
+
"A-euclid-foc"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6816",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "7b214174ae478aa0c66765adec3c9978ac8ec469",
|
| 17 |
+
"message": "build theinterface for elimination routing\n:",
|
| 18 |
+
"author": "Aprabhat19",
|
| 19 |
+
"date": "2024-11-27T07:22:08+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7b214174ae478aa0c66765adec3c9978ac8ec469"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "5598cb0c5d5520ddf760973a7f65182c597772a5",
|
| 24 |
+
"message": "resolve conflicts",
|
| 25 |
+
"author": "Aprabhat19",
|
| 26 |
+
"date": "2024-11-27T10:42:16+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5598cb0c5d5520ddf760973a7f65182c597772a5"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "096bdf88918940dab48938a19d966162bc4894ec",
|
| 31 |
+
"message": "resolve conflicts add invalidation window",
|
| 32 |
+
"author": "Aprabhat19",
|
| 33 |
+
"date": "2024-11-27T10:54:45+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/096bdf88918940dab48938a19d966162bc4894ec"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "537c59a42815730647759fdefeea757f983abb14",
|
| 38 |
+
"message": "chore: run formatter",
|
| 39 |
+
"author": "hyperswitch-bot[bot]",
|
| 40 |
+
"date": "2024-11-27T10:59:24+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/537c59a42815730647759fdefeea757f983abb14"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "b91d6401c71e6da4ebb1e92c2c85b0afd3ff2ef8",
|
| 45 |
+
"message": "rename files",
|
| 46 |
+
"author": "Aprabhat19",
|
| 47 |
+
"date": "2024-11-27T11:48:47+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b91d6401c71e6da4ebb1e92c2c85b0afd3ff2ef8"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "03ab2fb2000a24a14440f4e9ecbf62d3af967919",
|
| 52 |
+
"message": "Update crates/external_services/src/grpc_client/dynamic_routing.rs\n\nCo-authored-by: Chethan Rao <70657455+Chethan-rao@users.noreply.github.com>",
|
| 53 |
+
"author": "Amisha Prabhat",
|
| 54 |
+
"date": "2024-12-03T05:35:18+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/03ab2fb2000a24a14440f4e9ecbf62d3af967919"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"sha": "00483891bc3988a445e7d772df8b88257c70a0b4",
|
| 59 |
+
"message": "resolved conflict",
|
| 60 |
+
"author": "Aprabhat19",
|
| 61 |
+
"date": "2024-12-03T05:49:58+00:00",
|
| 62 |
+
"url": "https://github.com/juspay/hyperswitch/commit/00483891bc3988a445e7d772df8b88257c70a0b4"
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"sha": "477abe3839828cbf5e40869bb7c02f423186e075",
|
| 66 |
+
"message": "Merge branch 'main' of https://github.com/juspay/hyperswitch into elimination-routing-interface",
|
| 67 |
+
"author": "Aprabhat19",
|
| 68 |
+
"date": "2024-12-03T05:50:17+00:00",
|
| 69 |
+
"url": "https://github.com/juspay/hyperswitch/commit/477abe3839828cbf5e40869bb7c02f423186e075"
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"sha": "a4b61cad4d6d5a5853f32a4fa1e33d103a53784d",
|
| 73 |
+
"message": "chore: run formatter",
|
| 74 |
+
"author": "hyperswitch-bot[bot]",
|
| 75 |
+
"date": "2024-12-03T05:50:52+00:00",
|
| 76 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a4b61cad4d6d5a5853f32a4fa1e33d103a53784d"
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"sha": "3199e570679c80ea4a8d2089eea57ec33b78c729",
|
| 80 |
+
"message": "resolve conflicts",
|
| 81 |
+
"author": "Aprabhat19",
|
| 82 |
+
"date": "2024-12-03T05:51:27+00:00",
|
| 83 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3199e570679c80ea4a8d2089eea57ec33b78c729"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"sha": "ef3c26eecbc6e807dc52e573205c3e9c07402dc1",
|
| 87 |
+
"message": "Merge branch 'elimination-routing-interface' of https://github.com/juspay/hyperswitch into elimination-routing-interface",
|
| 88 |
+
"author": "Aprabhat19",
|
| 89 |
+
"date": "2024-12-03T05:51:34+00:00",
|
| 90 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ef3c26eecbc6e807dc52e573205c3e9c07402dc1"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"sha": "7488944d6bd79b2eb6611c69a995b2a8f6970461",
|
| 94 |
+
"message": "add external fields",
|
| 95 |
+
"author": "Aprabhat19",
|
| 96 |
+
"date": "2024-12-03T06:07:42+00:00",
|
| 97 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7488944d6bd79b2eb6611c69a995b2a8f6970461"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"sha": "03530136b794b0eac56698603e591e00e5cdc3ac",
|
| 101 |
+
"message": "change the value types",
|
| 102 |
+
"author": "Aprabhat19",
|
| 103 |
+
"date": "2024-12-03T10:00:17+00:00",
|
| 104 |
+
"url": "https://github.com/juspay/hyperswitch/commit/03530136b794b0eac56698603e591e00e5cdc3ac"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"sha": "2003e6c1585441010b4e94b950736d6028ae2368",
|
| 108 |
+
"message": "minor changes",
|
| 109 |
+
"author": "Aprabhat19",
|
| 110 |
+
"date": "2024-12-03T10:29:09+00:00",
|
| 111 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2003e6c1585441010b4e94b950736d6028ae2368"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"sha": "a06e7c82a45cee10c81b5c51b6bbee89711a504b",
|
| 115 |
+
"message": "proto update",
|
| 116 |
+
"author": "Aprabhat19",
|
| 117 |
+
"date": "2024-12-04T13:42:10+00:00",
|
| 118 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a06e7c82a45cee10c81b5c51b6bbee89711a504b"
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"sha": "a5f8a00824b8289a38a4a0c1f9320766a594e333",
|
| 122 |
+
"message": "Merge branch 'main' of https://github.com/juspay/hyperswitch into elimination-routing-interface",
|
| 123 |
+
"author": "Aprabhat19",
|
| 124 |
+
"date": "2024-12-06T08:30:34+00:00",
|
| 125 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a5f8a00824b8289a38a4a0c1f9320766a594e333"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"sha": "651973c648d69defbcbd375c7800a06698f54280",
|
| 129 |
+
"message": "address naming changes",
|
| 130 |
+
"author": "Aprabhat19",
|
| 131 |
+
"date": "2024-12-06T08:43:03+00:00",
|
| 132 |
+
"url": "https://github.com/juspay/hyperswitch/commit/651973c648d69defbcbd375c7800a06698f54280"
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"sha": "6388c20df2608ec8f4c48146b7cedcabc627f334",
|
| 136 |
+
"message": "init for er in core",
|
| 137 |
+
"author": "prajjwalkumar17",
|
| 138 |
+
"date": "2024-12-12T04:49:36+00:00",
|
| 139 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6388c20df2608ec8f4c48146b7cedcabc627f334"
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"sha": "3ff2e0041c75116393ea26b3841ec39887b718df",
|
| 143 |
+
"message": "chore: run formatter",
|
| 144 |
+
"author": "hyperswitch-bot[bot]",
|
| 145 |
+
"date": "2024-12-12T04:53:34+00:00",
|
| 146 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3ff2e0041c75116393ea26b3841ec39887b718df"
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"sha": "033f447f61293f82f8fc235244366fb85ce78d30",
|
| 150 |
+
"message": "Merge branch 'elimination-routing-interface' of github.com:juspay/hyperswitch into er_core",
|
| 151 |
+
"author": "prajjwalkumar17",
|
| 152 |
+
"date": "2024-12-12T04:53:43+00:00",
|
| 153 |
+
"url": "https://github.com/juspay/hyperswitch/commit/033f447f61293f82f8fc235244366fb85ce78d30"
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"sha": "d50175377460ed25a8cf5728bb0fd93dd2510569",
|
| 157 |
+
"message": "add the cache functions",
|
| 158 |
+
"author": "prajjwalkumar17",
|
| 159 |
+
"date": "2024-12-12T05:45:12+00:00",
|
| 160 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d50175377460ed25a8cf5728bb0fd93dd2510569"
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"sha": "559e425fab58b41237cbb646535537d669f5f536",
|
| 164 |
+
"message": "add the cache functions",
|
| 165 |
+
"author": "prajjwalkumar17",
|
| 166 |
+
"date": "2024-12-12T05:46:02+00:00",
|
| 167 |
+
"url": "https://github.com/juspay/hyperswitch/commit/559e425fab58b41237cbb646535537d669f5f536"
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"sha": "b6dcc3c4d0c6778cdec9f91010c23ed0e03f73b5",
|
| 171 |
+
"message": "Merge branch 'er_core' of https://github.com/juspay/hyperswitch into er_core",
|
| 172 |
+
"author": "prajjwalkumar17",
|
| 173 |
+
"date": "2024-12-12T08:20:19+00:00",
|
| 174 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b6dcc3c4d0c6778cdec9f91010c23ed0e03f73b5"
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"sha": "057f48ca94603337b146bafa46da3f6148d5413a",
|
| 178 |
+
"message": "add the er in core flows",
|
| 179 |
+
"author": "prajjwalkumar17",
|
| 180 |
+
"date": "2024-12-17T16:15:08+00:00",
|
| 181 |
+
"url": "https://github.com/juspay/hyperswitch/commit/057f48ca94603337b146bafa46da3f6148d5413a"
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"sha": "38f51f2f267422cf8931e6db678d4126820296a3",
|
| 185 |
+
"message": "Merge branch 'er_core' of https://github.com/juspay/hyperswitch into er_core",
|
| 186 |
+
"author": "prajjwalkumar17",
|
| 187 |
+
"date": "2024-12-17T16:16:30+00:00",
|
| 188 |
+
"url": "https://github.com/juspay/hyperswitch/commit/38f51f2f267422cf8931e6db678d4126820296a3"
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"sha": "9f1137a04e2fd0eb60bc920f7c37bace2d70ad88",
|
| 192 |
+
"message": "complete core flow",
|
| 193 |
+
"author": "prajjwalkumar17",
|
| 194 |
+
"date": "2024-12-17T17:30:33+00:00",
|
| 195 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9f1137a04e2fd0eb60bc920f7c37bace2d70ad88"
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"sha": "bd7ac21b38fe5f78fc45382cb406fac68c8f2a40",
|
| 199 |
+
"message": "minor refactors",
|
| 200 |
+
"author": "prajjwalkumar17",
|
| 201 |
+
"date": "2024-12-17T18:12:48+00:00",
|
| 202 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bd7ac21b38fe5f78fc45382cb406fac68c8f2a40"
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"sha": "a2fd1dc7362ba2447bce81dced3112db60715bbd",
|
| 206 |
+
"message": "Merge branch 'main' into er_core",
|
| 207 |
+
"author": "Prajjwal Kumar",
|
| 208 |
+
"date": "2024-12-17T18:14:55+00:00",
|
| 209 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a2fd1dc7362ba2447bce81dced3112db60715bbd"
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"sha": "2a4116683deaf7bcad30142911784ddb1b6217bd",
|
| 213 |
+
"message": "chore: run formatter",
|
| 214 |
+
"author": "hyperswitch-bot[bot]",
|
| 215 |
+
"date": "2024-12-17T18:15:56+00:00",
|
| 216 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2a4116683deaf7bcad30142911784ddb1b6217bd"
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"sha": "e38df11b7653e1fad17887cebbca2b1a8a23dfe1",
|
| 220 |
+
"message": "template for update window equivalent for elimination routing servicce",
|
| 221 |
+
"author": "prajjwalkumar17",
|
| 222 |
+
"date": "2024-12-17T19:33:11+00:00",
|
| 223 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e38df11b7653e1fad17887cebbca2b1a8a23dfe1"
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"sha": "3b7e7ef6cf85d303a5e5af84d6b00540c8d3772e",
|
| 227 |
+
"message": "resolve conflicts",
|
| 228 |
+
"author": "prajjwalkumar17",
|
| 229 |
+
"date": "2024-12-17T19:34:01+00:00",
|
| 230 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3b7e7ef6cf85d303a5e5af84d6b00540c8d3772e"
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"sha": "57ede653602927c02cbbc610955ba0f1af3012f3",
|
| 234 |
+
"message": "chore: run formatter",
|
| 235 |
+
"author": "hyperswitch-bot[bot]",
|
| 236 |
+
"date": "2024-12-17T19:35:01+00:00",
|
| 237 |
+
"url": "https://github.com/juspay/hyperswitch/commit/57ede653602927c02cbbc610955ba0f1af3012f3"
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"sha": "3c2a01aa3d2b1d2746dc9711055ebe44b5aac1f3",
|
| 241 |
+
"message": "added update window",
|
| 242 |
+
"author": "prajjwalkumar17",
|
| 243 |
+
"date": "2024-12-23T10:21:44+00:00",
|
| 244 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3c2a01aa3d2b1d2746dc9711055ebe44b5aac1f3"
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"sha": "427a354116a27f9d49dc12d0775f76e3364a0a1a",
|
| 248 |
+
"message": "chore: run formatter",
|
| 249 |
+
"author": "hyperswitch-bot[bot]",
|
| 250 |
+
"date": "2024-12-23T10:22:56+00:00",
|
| 251 |
+
"url": "https://github.com/juspay/hyperswitch/commit/427a354116a27f9d49dc12d0775f76e3364a0a1a"
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"sha": "72659dd9bc3ec4500e1217e010ae30183d3753ff",
|
| 255 |
+
"message": "minor refactors",
|
| 256 |
+
"author": "prajjwalkumar17",
|
| 257 |
+
"date": "2024-12-23T10:29:09+00:00",
|
| 258 |
+
"url": "https://github.com/juspay/hyperswitch/commit/72659dd9bc3ec4500e1217e010ae30183d3753ff"
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"sha": "14cbe257ba33c6732d669d541a25e790f31b226b",
|
| 262 |
+
"message": "Merge branch 'er_core' of https://github.com/juspay/hyperswitch into er_core",
|
| 263 |
+
"author": "prajjwalkumar17",
|
| 264 |
+
"date": "2024-12-23T10:29:20+00:00",
|
| 265 |
+
"url": "https://github.com/juspay/hyperswitch/commit/14cbe257ba33c6732d669d541a25e790f31b226b"
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"sha": "0fdb825a2e0bd9b57b67c0f7fdfa7901cfb46723",
|
| 269 |
+
"message": "Merge branch 'main' into er_core",
|
| 270 |
+
"author": "Prajjwal Kumar",
|
| 271 |
+
"date": "2024-12-23T10:30:15+00:00",
|
| 272 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0fdb825a2e0bd9b57b67c0f7fdfa7901cfb46723"
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"sha": "7e4f49b792d693abc40e1d058ac0210402f1618d",
|
| 276 |
+
"message": "minor refactors",
|
| 277 |
+
"author": "prajjwalkumar17",
|
| 278 |
+
"date": "2024-12-23T10:50:43+00:00",
|
| 279 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7e4f49b792d693abc40e1d058ac0210402f1618d"
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"sha": "6f567b2bbdf8da8b290d1c9e06b65aef1f39f655",
|
| 283 |
+
"message": "minor refactors",
|
| 284 |
+
"author": "prajjwalkumar17",
|
| 285 |
+
"date": "2024-12-23T10:51:03+00:00",
|
| 286 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6f567b2bbdf8da8b290d1c9e06b65aef1f39f655"
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"sha": "edb8e04d98598689e6b2b6fdfad05a8fc5d10ecd",
|
| 290 |
+
"message": "chore: run formatter",
|
| 291 |
+
"author": "hyperswitch-bot[bot]",
|
| 292 |
+
"date": "2024-12-23T10:54:34+00:00",
|
| 293 |
+
"url": "https://github.com/juspay/hyperswitch/commit/edb8e04d98598689e6b2b6fdfad05a8fc5d10ecd"
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"sha": "432ab4c938f931d1a35e5f88dffb976b52347f45",
|
| 297 |
+
"message": "minor refactors",
|
| 298 |
+
"author": "prajjwalkumar17",
|
| 299 |
+
"date": "2024-12-24T11:44:29+00:00",
|
| 300 |
+
"url": "https://github.com/juspay/hyperswitch/commit/432ab4c938f931d1a35e5f88dffb976b52347f45"
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"sha": "ea07b453f4d3467a14727cf5899b0d156aa8242f",
|
| 304 |
+
"message": "refactor(euclid): update proto file for elimination routing",
|
| 305 |
+
"author": "prajjwalkumar17",
|
| 306 |
+
"date": "2025-01-13T08:34:16+00:00",
|
| 307 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ea07b453f4d3467a14727cf5899b0d156aa8242f"
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"sha": "ba5b768a5a833f21de305149551b92abe9e26675",
|
| 311 |
+
"message": "Merge branch 'update_proto_for_er' into er_core",
|
| 312 |
+
"author": "Prajjwal Kumar",
|
| 313 |
+
"date": "2025-01-13T08:46:19+00:00",
|
| 314 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ba5b768a5a833f21de305149551b92abe9e26675"
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"sha": "ff7986a5d7b9862f0abb9eb1333d954daffd9519",
|
| 318 |
+
"message": "remove tenant id from the req",
|
| 319 |
+
"author": "prajjwalkumar17",
|
| 320 |
+
"date": "2025-01-20T11:00:09+00:00",
|
| 321 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ff7986a5d7b9862f0abb9eb1333d954daffd9519"
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"sha": "f0b907e9551698876cfe6174c941a79bd5812467",
|
| 325 |
+
"message": "chore: run formatter",
|
| 326 |
+
"author": "hyperswitch-bot[bot]",
|
| 327 |
+
"date": "2025-01-20T11:04:23+00:00",
|
| 328 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f0b907e9551698876cfe6174c941a79bd5812467"
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"sha": "239b5c96bdec7c7856685f841402035fa3cdfdaa",
|
| 332 |
+
"message": "remove feature from cargo",
|
| 333 |
+
"author": "prajjwalkumar17",
|
| 334 |
+
"date": "2025-01-20T13:04:59+00:00",
|
| 335 |
+
"url": "https://github.com/juspay/hyperswitch/commit/239b5c96bdec7c7856685f841402035fa3cdfdaa"
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"sha": "875cae434f97d2c4cdda845d34c161b2c1714570",
|
| 339 |
+
"message": "Merge branch 'er_core' of https://github.com/juspay/hyperswitch into er_core",
|
| 340 |
+
"author": "prajjwalkumar17",
|
| 341 |
+
"date": "2025-01-20T13:05:35+00:00",
|
| 342 |
+
"url": "https://github.com/juspay/hyperswitch/commit/875cae434f97d2c4cdda845d34c161b2c1714570"
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"sha": "fc4e087b65bb9cfa00907f2bfa78d374eee6244e",
|
| 346 |
+
"message": "spelling mistake",
|
| 347 |
+
"author": "prajjwalkumar17",
|
| 348 |
+
"date": "2025-01-20T13:12:27+00:00",
|
| 349 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fc4e087b65bb9cfa00907f2bfa78d374eee6244e"
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"sha": "e8d7643fca4feb838eb2ba8e72847e3e4407a1c2",
|
| 353 |
+
"message": "address comments",
|
| 354 |
+
"author": "prajjwalkumar17",
|
| 355 |
+
"date": "2025-01-21T09:49:57+00:00",
|
| 356 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e8d7643fca4feb838eb2ba8e72847e3e4407a1c2"
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"sha": "6fb76733d73e7414db35b92a42cc70d369b9646c",
|
| 360 |
+
"message": "address conflicts",
|
| 361 |
+
"author": "prajjwalkumar17",
|
| 362 |
+
"date": "2025-02-03T10:10:22+00:00",
|
| 363 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6fb76733d73e7414db35b92a42cc70d369b9646c"
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"sha": "ab111027627e59953598d576e7a7571be6386150",
|
| 367 |
+
"message": "Merge branch 'main' into er_core",
|
| 368 |
+
"author": "Prajjwal Kumar",
|
| 369 |
+
"date": "2025-02-05T21:00:52+00:00",
|
| 370 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ab111027627e59953598d576e7a7571be6386150"
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"sha": "fac0baee0c650d823e4dd8abc1489629704bc816",
|
| 374 |
+
"message": "add support for elimination routing",
|
| 375 |
+
"author": "prajjwalkumar17",
|
| 376 |
+
"date": "2025-02-24T11:18:25+00:00",
|
| 377 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fac0baee0c650d823e4dd8abc1489629704bc816"
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"sha": "6f4a1ec844ad8ac1f49c095f837163de5e39eb09",
|
| 381 |
+
"message": "Merge branch 'main' of https://github.com/juspay/hyperswitch into er_core",
|
| 382 |
+
"author": "prajjwalkumar17",
|
| 383 |
+
"date": "2025-02-25T12:10:49+00:00",
|
| 384 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6f4a1ec844ad8ac1f49c095f837163de5e39eb09"
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"sha": "603de6942ac4d10256697179e51bba38bda9d4a6",
|
| 388 |
+
"message": "add elimination in core",
|
| 389 |
+
"author": "prajjwalkumar17",
|
| 390 |
+
"date": "2025-02-25T14:31:24+00:00",
|
| 391 |
+
"url": "https://github.com/juspay/hyperswitch/commit/603de6942ac4d10256697179e51bba38bda9d4a6"
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"sha": "2ad554f945be48e798256a719e03f2622e9730ea",
|
| 395 |
+
"message": "Merge branch 'main' into er_core",
|
| 396 |
+
"author": "Prajjwal Kumar",
|
| 397 |
+
"date": "2025-03-03T08:23:08+00:00",
|
| 398 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2ad554f945be48e798256a719e03f2622e9730ea"
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"sha": "5a76a13444ba8111ab4ed26bb8a2b61e9992d96f",
|
| 402 |
+
"message": "chore: run formatter",
|
| 403 |
+
"author": "hyperswitch-bot[bot]",
|
| 404 |
+
"date": "2025-03-03T08:48:15+00:00",
|
| 405 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5a76a13444ba8111ab4ed26bb8a2b61e9992d96f"
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"sha": "c493c32193543c09a7d5e82093c5dde696450d72",
|
| 409 |
+
"message": "address comments",
|
| 410 |
+
"author": "prajjwalkumar17",
|
| 411 |
+
"date": "2025-03-06T13:10:29+00:00",
|
| 412 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c493c32193543c09a7d5e82093c5dde696450d72"
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"sha": "9953c4c2db9b7f8c06cb888996c0d0be3496b65a",
|
| 416 |
+
"message": "address comments",
|
| 417 |
+
"author": "Prajjwal kumar",
|
| 418 |
+
"date": "2025-04-16T10:51:37+00:00",
|
| 419 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9953c4c2db9b7f8c06cb888996c0d0be3496b65a"
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"sha": "0a605e6faf83dc1cd4d19a04258992ebc5292efa",
|
| 423 |
+
"message": "Merge branch 'main' of github.com:juspay/hyperswitch into er_core",
|
| 424 |
+
"author": "Prajjwal kumar",
|
| 425 |
+
"date": "2025-04-16T11:50:38+00:00",
|
| 426 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0a605e6faf83dc1cd4d19a04258992ebc5292efa"
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"sha": "2f7d721ec88704439b856da3e4b34c89f144a910",
|
| 430 |
+
"message": "refactor: clippy lints",
|
| 431 |
+
"author": "Prajjwal kumar",
|
| 432 |
+
"date": "2025-04-16T13:14:51+00:00",
|
| 433 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2f7d721ec88704439b856da3e4b34c89f144a910"
|
| 434 |
+
}
|
| 435 |
+
]
|
| 436 |
+
}
|
prs/pr_6817.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6817,
|
| 3 |
+
"title": "fix(core): payments - map billing first and last name to card holder name",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [x] Enhancement\r\n- [x] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\nHotfix for https://github.com/juspay/hyperswitch/pull/6791\r\n\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] I formatted the code `cargo +nightly fmt --all`\r\n- [ ] I addressed lints thrown by `cargo clippy`\r\n- [ ] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "kashif-m",
|
| 6 |
+
"created_at": "2024-12-12T05:21:13+00:00",
|
| 7 |
+
"merged_at": "2024-12-12T06:39:49+00:00",
|
| 8 |
+
"base_branch": "hotfix-2024.12.04.0",
|
| 9 |
+
"labels": [
|
| 10 |
+
"Hotfix"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6817",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "9cd5dfeea2ca969ede1717ccea5e9c7ae3ef5efb",
|
| 16 |
+
"message": "fix(core): payments - map billing first and last name to card holder name (#6791)\n\nCo-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>\n(cherry picked from commit c3b22cf81a5c8cbc6538ca7f7e4b1ce4d18eb644)",
|
| 17 |
+
"author": "Kashif",
|
| 18 |
+
"date": "2024-12-10T16:14:59+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9cd5dfeea2ca969ede1717ccea5e9c7ae3ef5efb"
|
| 20 |
+
}
|
| 21 |
+
]
|
| 22 |
+
}
|
prs/pr_6848.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6848,
|
| 3 |
+
"title": "refactor(payment_methods): update `connector_mandate_details` for card metadata changes",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\nAllow update of `connector_mandate_details` for card in case of metadata changes(in case of expiry changes). First the value is set as inactive and if a successful payment has been made then set it back to active\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n \r\n- Nothreeds\r\n\r\n> - Create a MA and a MCA\r\n> - Make a off_Session save card payment\r\n> - Make a off_Session payment again with the same card just and changes expiry \r\n> - After a successful payment the Connector Mandate Details would be overriden\r\n<img width=\"1725\" alt=\"Screenshot 2024-12-16 at 4 21 51\u202fPM\" src=\"https://github.com/user-attachments/assets/2c68dc5e-f27c-400d-9b16-3080029ccfb3\" />\r\n\r\n- Follow the same step for 3threeds\r\n> - Create a MA and a MCA\r\n> - Make a off_Session save card payment\r\n> - Make a off_Session payment again with the same card just and changed expiry \r\n> -Before a successful redirection ( the connector mandate is inactive)\r\n<img width=\"1725\" alt=\"Screenshot 2024-12-16 at 4 23 50\u202fPM\" src=\"https://github.com/user-attachments/assets/69c74c67-f596-447e-baac-ea5191b3a7f0\" />\r\n\r\n> - After a successful redirection ( the connector mandate is active)\r\n<img width=\"1725\" alt=\"Screenshot 2024-12-16 at 4 24 24\u202fPM\" src=\"https://github.com/user-attachments/assets/b141a8b1-2d91-4f68-b478-928d4f6149f2\" />\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] I formatted the code `cargo +nightly fmt --all`\r\n- [ ] I addressed lints thrown by `cargo clippy`\r\n- [ ] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "Aprabhat19",
|
| 6 |
+
"created_at": "2024-12-16T10:09:23+00:00",
|
| 7 |
+
"merged_at": "2024-12-27T06:21:58+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [],
|
| 10 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6848",
|
| 11 |
+
"commits": [
|
| 12 |
+
{
|
| 13 |
+
"sha": "b3c948ad46d253a11ee828d748ccd13252a7177a",
|
| 14 |
+
"message": "update cmid for metadata",
|
| 15 |
+
"author": "Aprabhat19",
|
| 16 |
+
"date": "2024-12-16T10:03:14+00:00",
|
| 17 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b3c948ad46d253a11ee828d748ccd13252a7177a"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"sha": "26b7ac4555ac5e549a960ecd028674b1adde6fa3",
|
| 21 |
+
"message": "address clippy lints",
|
| 22 |
+
"author": "Aprabhat19",
|
| 23 |
+
"date": "2024-12-16T11:13:47+00:00",
|
| 24 |
+
"url": "https://github.com/juspay/hyperswitch/commit/26b7ac4555ac5e549a960ecd028674b1adde6fa3"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"sha": "3555d7b3bf90de843f3267391d94b07835ff7792",
|
| 28 |
+
"message": "address comments",
|
| 29 |
+
"author": "Aprabhat19",
|
| 30 |
+
"date": "2024-12-18T12:58:47+00:00",
|
| 31 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3555d7b3bf90de843f3267391d94b07835ff7792"
|
| 32 |
+
}
|
| 33 |
+
]
|
| 34 |
+
}
|
prs/pr_6859.json
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6859,
|
| 3 |
+
"title": "refactor(router): refactor ctp flow to fetch mca_id and get the connector creds instead of connector_name",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] Refactoring\r\n\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nrefactor ctp flow to fetch mca_id and get the connector creds instead of connector_name\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\n\r\n\r\nAdd config to make the merchant eligible for authentication service\r\n```shell\r\ncurl --location 'http://localhost:8080/configs/' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '{\r\n \"key\": \"merchants_eligible_for_authentication_service\",\r\n \"value\": \"[\\\"sahkal\\\", \\\"cewqcewc\\\", \\\"dqwdwljildwduoqwhduwqcqwjd\\\"]\"\r\n}'\r\n```\r\nCreate merchant connector account for Ctp_mastercard\r\n\r\n```shell\r\ncurl --location 'http://localhost:8080/account/dqwdwljildwduoqwhduwqcqwjd/connectors' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '\r\n{\r\n \"connector_type\": \"authentication_processor\",\r\n \"connector_name\": \"ctp_mastercard\",\r\n \"connector_account_details\": {\r\n \"auth_type\": \"HeaderKey\",\r\n \"api_key\": \"API-KEY\"\r\n },\r\n \"test_mode\": true,\r\n \"disabled\": false,\r\n \"payment_methods_enabled\": [\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_types\": [\r\n {\r\n \"payment_method_type\": \"credit\",\r\n \"card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\"\r\n ],\r\n \"minimum_amount\": 1,\r\n \"maximum_amount\": 68607706,\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": true\r\n },\r\n {\r\n \"payment_method_type\": \"debit\",\r\n \"card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\"\r\n ],\r\n \"minimum_amount\": 1,\r\n \"maximum_amount\": 68607706,\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": true\r\n }\r\n ]\r\n }\r\n ],\r\n \"business_country\": \"US\",\r\n \"business_label\": \"default\",\r\n \"metadata\": {\r\n \"dpa_id\": \"b6e06cc6-3018-4c4c-bbf5-9fb232615090\",\r\n \"dpa_name\": \"TestMerchant\",\r\n \"locale\": \"en_AU\",\r\n \"card_brands\": [\"mastercard\", \"visa\"],\r\n \"acquirer_bin\": \"545301\",\r\n \"acquirer_merchant_id\": \"SRC3DS\",\r\n \"merchant_category_code\": \"0001\",\r\n \"merchant_country_code\": \"US\"\r\n }\r\n}\r\n'\r\n```\r\n\r\nAdyen\r\n\r\n```shell\r\ncurl --location 'http://localhost:8080/account/dqwdwljildwduoqwhduwqcqwjd/connectors' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '\r\n{\r\n \"connector_type\": \"payment_processor\",\r\n \"connector_name\": \"adyen\",\r\n \"connector_account_details\": {\r\n \"auth_type\": \"SignatureKey\",\r\n \"api_key\": \"API-KEY\",\r\n \"key1\": \"KEY-1\",\r\n \"api_secret\": \"API-SECRET\"\r\n },\r\n \"test_mode\": true,\r\n \"disabled\": false,\r\n \"payment_methods_enabled\": [\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_types\": [\r\n {\r\n \"payment_method_type\": \"credit\",\r\n \"card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\"\r\n ],\r\n \"minimum_amount\": 1,\r\n \"maximum_amount\": 68607706,\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": true\r\n },\r\n {\r\n \"payment_method_type\": \"debit\",\r\n \"card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\"\r\n ],\r\n \"minimum_amount\": 1,\r\n \"maximum_amount\": 68607706,\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": true\r\n }\r\n ]\r\n }\r\n ],\r\n \"metadata\": {\r\n \"city\": \"NY\",\r\n \"unit\": \"245\",\r\n \"live_endpoint_prefix\": \"vsfbjh\"\r\n },\r\n \"connector_webhook_details\": {\r\n \"merchant_secret\": \"MERCHANT SECRET\"\r\n },\r\n \"business_country\": \"US\",\r\n \"business_label\": \"default\"\r\n}\r\n'\r\n```\r\n\r\nupdate business profile with ctp_mastercard mca_id\r\n\r\n```shell\r\ncurl --location 'http://localhost:8080/account/dqwdwljildwduoqwhduwqcqwjd/business_profile/pro_KCTRv8sFQfC0r65CZxrn' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '{\r\n \"is_click_to_pay_enabled\": true,\r\n \"authentication_product_ids\": {\"click_to_pay\": \"mca_XAXUpel8ABbpoGNF8lGz\"}\r\n}'\r\n```\r\n\r\ndo payments create\r\n\r\n```shell\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_fQsdc9JbERQ7CWvmguo84XDROuXOD1oK9sdfCJXOko3SossoI4zdxpJkOIPmojwn' \\\r\n--data '{\r\n \"amount\": 1130,\r\n \"currency\": \"USD\",\r\n \"confirm\": false,\r\n \"return_url\": \"https://hyperswitch.io\"\r\n } \r\n'\r\n```\r\n\r\ndo payments confirm\r\n\r\n```shell\r\ncurl --location 'http://localhost:8080/payments/pay_Ft9Ke5Lun924OCJa7yll/confirm' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: pk_dev_1f712ac5fd7f4d8c91da6a627862a4f0' \\\r\n--data '\r\n{\r\n \r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"debit\",\r\n \"client_secret\": \"pay_Ft9Ke5Lun924OCJa7yll_secret_po1FVW5adQWFolWJUhMb\",\r\n \"ctp_service_details\" : {\r\n \"merchant_transaction_id\": \"0a4e0d3.34f4a04b.803eb38b0a56f082296538d4a70c064a6b320639\",\r\n \"correlation_id\": \"34f4a04b.bcd1ac39-e0f3-479e-b3ee-703ade0c66dc\",\r\n \"x_src_flow_id\" : \"34f4a04b.bcd1ac39-e0f3-479e-b3ee-703ade0c66dc.1727438793\"\r\n },\r\n \"browser_info\": {\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"color_depth\": 24,\r\n \"java_enabled\":true,\r\n \"java_script_enabled\": true,\r\n \"language\": \"en-GB\",\r\n \"screen_height\": 1440,\r\n \"screen_width\": 2560,\r\n \"time_zone\": -330,\r\n \"user_agent\": \"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Mobile Safari/537.36\"\r\n }\r\n}'\r\n```\r\n\r\nExpected Response\r\n\r\n```shell\r\n{\r\n \"payment_id\": \"pay_Ft9Ke5Lun924OCJa7yll\",\r\n \"merchant_id\": \"dqwdwljildwduoqwhduwqcqwjd\",\r\n \"status\": \"failed\",\r\n \"amount\": 1130,\r\n \"net_amount\": 1130,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": null,\r\n \"connector\": \"adyen\",\r\n \"client_secret\": \"pay_Ft9Ke5Lun924OCJa7yll_secret_po1FVW5adQWFolWJUhMb\",\r\n \"created\": \"2024-12-18T13:00:47.663Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": null,\r\n \"customer\": null,\r\n \"description\": null,\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": null,\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": null,\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": null,\r\n \"payment_token\": null,\r\n \"shipping\": null,\r\n \"billing\": null,\r\n \"order_details\": null,\r\n \"email\": null,\r\n \"name\": null,\r\n \"phone\": null,\r\n \"return_url\": \"https://hyperswitch.io/\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"statement_descriptor_name\": null,\r\n \"statement_descriptor_suffix\": null,\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": \"2\",\r\n \"error_message\": \"Refused\",\r\n \"unified_code\": \"UE_9000\",\r\n \"unified_message\": \"Something went wrong\",\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"debit\",\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": null,\r\n \"manual_retry_allowed\": true,\r\n \"connector_transaction_id\": \"KN8X64SH6PRRVS65\",\r\n \"frm_message\": null,\r\n \"metadata\": null,\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": null,\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_KCTRv8sFQfC0r65CZxrn\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_L6N77PiH3BI2BTPwkZPL\",\r\n \"incremental_authorization_allowed\": false,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2024-12-18T13:15:47.663Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"language\": \"en-GB\",\r\n \"time_zone\": -330,\r\n \"ip_address\": \"::1\",\r\n \"user_agent\": \"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Mobile Safari/537.36\",\r\n \"color_depth\": 24,\r\n \"java_enabled\": true,\r\n \"screen_width\": 2560,\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"screen_height\": 1440,\r\n \"java_script_enabled\": true\r\n },\r\n \"payment_method_id\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2024-12-18T13:04:08.461Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null\r\n}\r\n```\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "sahkal",
|
| 6 |
+
"created_at": "2024-12-17T10:52:49+00:00",
|
| 7 |
+
"merged_at": "2025-01-20T12:02:06+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-core",
|
| 11 |
+
"C-refactor"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6859",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "5f694cfa173a22cb339d955d916f966c4b4f9cd2",
|
| 17 |
+
"message": "refactor(router): fixed mca logic fetch",
|
| 18 |
+
"author": "Sahkal Poddar",
|
| 19 |
+
"date": "2024-12-17T10:51:00+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5f694cfa173a22cb339d955d916f966c4b4f9cd2"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "5d0d9d178fd01752c501e41b195e3181d18423f2",
|
| 24 |
+
"message": "dummy commit",
|
| 25 |
+
"author": "Sahkal Poddar",
|
| 26 |
+
"date": "2024-12-18T06:21:15+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5d0d9d178fd01752c501e41b195e3181d18423f2"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "6e4bc873d876cc83b2760a388ad62f854eb869ed",
|
| 31 |
+
"message": "chore: run formatter",
|
| 32 |
+
"author": "hyperswitch-bot[bot]",
|
| 33 |
+
"date": "2024-12-18T06:22:53+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6e4bc873d876cc83b2760a388ad62f854eb869ed"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "c7a0b06db2e063fff440604d171575041e8143ed",
|
| 38 |
+
"message": "Merge branch 'main' of https://github.com/juspay/hyperswitch into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 39 |
+
"author": "Sahkal Poddar",
|
| 40 |
+
"date": "2024-12-18T11:37:27+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c7a0b06db2e063fff440604d171575041e8143ed"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "3c2e034c673de2a740644aaf1c534faf8092fd69",
|
| 45 |
+
"message": "addressed pr comments",
|
| 46 |
+
"author": "Sahkal Poddar",
|
| 47 |
+
"date": "2024-12-18T12:41:20+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3c2e034c673de2a740644aaf1c534faf8092fd69"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "60a60e1d916e45a8acdd8c55345c7a51d4d0f504",
|
| 52 |
+
"message": "fixed path url for uas",
|
| 53 |
+
"author": "Sahkal Poddar",
|
| 54 |
+
"date": "2024-12-18T13:12:19+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/60a60e1d916e45a8acdd8c55345c7a51d4d0f504"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"sha": "a97f01eeaca1ac9baedcac357835702653eaaa96",
|
| 59 |
+
"message": "resolved conflicts",
|
| 60 |
+
"author": "Sahkal Poddar",
|
| 61 |
+
"date": "2024-12-20T07:45:26+00:00",
|
| 62 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a97f01eeaca1ac9baedcac357835702653eaaa96"
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"sha": "55029ed692f175214175a63dde576cf689ecc76e",
|
| 66 |
+
"message": "addressed pr comments",
|
| 67 |
+
"author": "Sahkal Poddar",
|
| 68 |
+
"date": "2024-12-20T10:24:59+00:00",
|
| 69 |
+
"url": "https://github.com/juspay/hyperswitch/commit/55029ed692f175214175a63dde576cf689ecc76e"
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"sha": "0e7922b5cf45f2c688ac42b2afd0cedd84b8232b",
|
| 73 |
+
"message": "Merge branch 'main' into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 74 |
+
"author": "Sahkal Poddar",
|
| 75 |
+
"date": "2024-12-20T10:51:37+00:00",
|
| 76 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0e7922b5cf45f2c688ac42b2afd0cedd84b8232b"
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"sha": "98b5af4ea8c7c5b79a37b61a88eae1463397e6ff",
|
| 80 |
+
"message": "moved external 3ds under else condition",
|
| 81 |
+
"author": "Sahkal Poddar",
|
| 82 |
+
"date": "2024-12-20T11:06:41+00:00",
|
| 83 |
+
"url": "https://github.com/juspay/hyperswitch/commit/98b5af4ea8c7c5b79a37b61a88eae1463397e6ff"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"sha": "edae612175c69435f4c12c9276981d05a3130387",
|
| 87 |
+
"message": "Merge branch '7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name' of https://github.com/juspay/hyperswitch into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 88 |
+
"author": "Sahkal Poddar",
|
| 89 |
+
"date": "2024-12-20T11:06:51+00:00",
|
| 90 |
+
"url": "https://github.com/juspay/hyperswitch/commit/edae612175c69435f4c12c9276981d05a3130387"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"sha": "be0ffa9308d642add8f7f3efba2fff879a1d5437",
|
| 94 |
+
"message": "addressed pr comments",
|
| 95 |
+
"author": "Sahkal Poddar",
|
| 96 |
+
"date": "2024-12-20T18:47:39+00:00",
|
| 97 |
+
"url": "https://github.com/juspay/hyperswitch/commit/be0ffa9308d642add8f7f3efba2fff879a1d5437"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"sha": "5b4178b4b6f424e37421b8d8a8085f514b39a6b3",
|
| 101 |
+
"message": "resolved pr comments",
|
| 102 |
+
"author": "Sahkal Poddar",
|
| 103 |
+
"date": "2024-12-23T05:47:53+00:00",
|
| 104 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5b4178b4b6f424e37421b8d8a8085f514b39a6b3"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"sha": "2e791d5289a5eaf011722af0413bc64967acca19",
|
| 108 |
+
"message": "addressed pr comments",
|
| 109 |
+
"author": "Sahkal Poddar",
|
| 110 |
+
"date": "2024-12-23T09:12:53+00:00",
|
| 111 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2e791d5289a5eaf011722af0413bc64967acca19"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"sha": "389ae521c73dd728d527fba01e08bd44ddc9b799",
|
| 115 |
+
"message": "Merge branch 'main' into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 116 |
+
"author": "Sahkal Poddar",
|
| 117 |
+
"date": "2024-12-23T10:50:32+00:00",
|
| 118 |
+
"url": "https://github.com/juspay/hyperswitch/commit/389ae521c73dd728d527fba01e08bd44ddc9b799"
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"sha": "5b1cd69b172ab41eaceb8bfb4a38df4af3c59bb6",
|
| 122 |
+
"message": "resolved merge conflicts",
|
| 123 |
+
"author": "Sahkal Poddar",
|
| 124 |
+
"date": "2025-01-06T09:18:36+00:00",
|
| 125 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5b1cd69b172ab41eaceb8bfb4a38df4af3c59bb6"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"sha": "249e82b7c0dd72390259277a0c2cbd12b74a2663",
|
| 129 |
+
"message": "Merge branch 'main' into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 130 |
+
"author": "Sahkal Poddar",
|
| 131 |
+
"date": "2025-01-06T09:19:23+00:00",
|
| 132 |
+
"url": "https://github.com/juspay/hyperswitch/commit/249e82b7c0dd72390259277a0c2cbd12b74a2663"
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"sha": "a0ea8e7c10c000b3a6177e50baf4f130c9b4ba91",
|
| 136 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 137 |
+
"author": "hyperswitch-bot[bot]",
|
| 138 |
+
"date": "2025-01-06T09:22:29+00:00",
|
| 139 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a0ea8e7c10c000b3a6177e50baf4f130c9b4ba91"
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"sha": "c6bc41713bd5c26b0f19ec7bbd3415d743b0374e",
|
| 143 |
+
"message": "resolved merge conflicts",
|
| 144 |
+
"author": "Sahkal Poddar",
|
| 145 |
+
"date": "2025-01-13T10:54:11+00:00",
|
| 146 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c6bc41713bd5c26b0f19ec7bbd3415d743b0374e"
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"sha": "4f82382f08cd133fdf497069f05a8772c845a634",
|
| 150 |
+
"message": "Merge branch 'main' into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 151 |
+
"author": "Sahkal Poddar",
|
| 152 |
+
"date": "2025-01-15T07:21:05+00:00",
|
| 153 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4f82382f08cd133fdf497069f05a8772c845a634"
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"sha": "392c044f45744fb6b170f0b8be2f80fe0d262814",
|
| 157 |
+
"message": "fixed open-api specs",
|
| 158 |
+
"author": "Sahkal Poddar",
|
| 159 |
+
"date": "2025-01-15T07:27:36+00:00",
|
| 160 |
+
"url": "https://github.com/juspay/hyperswitch/commit/392c044f45744fb6b170f0b8be2f80fe0d262814"
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"sha": "5128445e5038534b8c6b10ea4ee7f868b5009e62",
|
| 164 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 165 |
+
"author": "hyperswitch-bot[bot]",
|
| 166 |
+
"date": "2025-01-15T07:56:42+00:00",
|
| 167 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5128445e5038534b8c6b10ea4ee7f868b5009e62"
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"sha": "ecbee617e88e1d8d731bbbef320afcec0201eaf3",
|
| 171 |
+
"message": "addressed pr commnets added example for apen_api specs\n'",
|
| 172 |
+
"author": "Sahkal Poddar",
|
| 173 |
+
"date": "2025-01-15T11:46:27+00:00",
|
| 174 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ecbee617e88e1d8d731bbbef320afcec0201eaf3"
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"sha": "3cfac70e273066165aaa72cfaaed301c815bfded",
|
| 178 |
+
"message": "removed if condition for logging db error",
|
| 179 |
+
"author": "Sahkal Poddar",
|
| 180 |
+
"date": "2025-01-15T14:30:19+00:00",
|
| 181 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3cfac70e273066165aaa72cfaaed301c815bfded"
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"sha": "f448f6853f2bdc0dfb68e7e19b9aacd284c1a72d",
|
| 185 |
+
"message": "Merge branch 'main' into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 186 |
+
"author": "Sai Harsha Vardhan",
|
| 187 |
+
"date": "2025-01-18T17:30:48+00:00",
|
| 188 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f448f6853f2bdc0dfb68e7e19b9aacd284c1a72d"
|
| 189 |
+
}
|
| 190 |
+
]
|
| 191 |
+
}
|
prs/pr_6910.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6910,
|
| 3 |
+
"title": "fix(connector): Update mandate PMT configs for Mandate Supported Connectors",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [x] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [x] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\nThis PR is a hot fix for the [PR](https://github.com/juspay/hyperswitch/pull/6903/)\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "awasthi21",
|
| 6 |
+
"created_at": "2024-12-20T11:15:05+00:00",
|
| 7 |
+
"merged_at": "2024-12-20T12:09:28+00:00",
|
| 8 |
+
"base_branch": "hotfix-2024.12.18.0",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-configuration-changes"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6910",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "05ea065c74cf56ddc0b00a936b683b49740a7b38",
|
| 16 |
+
"message": "fix(connector): Update mandate PMT configs for Mandate Supported Connectors (#6903)",
|
| 17 |
+
"author": "awasthi21",
|
| 18 |
+
"date": "2024-12-20T10:34:26+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/05ea065c74cf56ddc0b00a936b683b49740a7b38"
|
| 20 |
+
}
|
| 21 |
+
]
|
| 22 |
+
}
|
prs/pr_6918.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6918,
|
| 3 |
+
"title": "feat(router): add /retrieve api for relay",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [x] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n/relay is a api that will be used to just forward the request sent by merchant without performing any application logic on it. This is particular to support the refunds for the payments that was directly performed with the connector (example stripe) with out hyperswitch involved during the payment flow. \r\n\r\nThis PR introduces changes to add a retrieve API for relay refunds.\r\n\r\nThe retrieve API will:\r\n\r\n1. Return the relay status from our database when a retrieve call is made.\r\n2. If force_sync = true is passed and the relay status is not in a terminal state in our system, the API will call the connector to fetch the latest status.\r\n\r\nFlow\r\n1. Merchant performs payment directly with processor and stores the payment reference id associated with it.\r\n2. Merchant tiggers the refund through hyperswitch using the processor reference id for the payment.\r\n3. Merchant makes retrieve call for the relay status\r\n\r\n\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n-> Create a merchant connector account\r\n-> Make a refund request with invalid connector_resource_id\r\n```\r\ncurl --location 'http://localhost:8080/relay' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'X-Profile-Id: pro_rIikb0gPrzd0vEY8hIiP' \\\r\n--header 'api-key: dev_qqMQAuMWCclJSk4uMBeNNSpqAPlsKlBA3blQOwOoq5ogTSFVON3taShABqtqYNA4' \\\r\n--data '{\r\n \"connector_id\": \"mca_8W0CQfwE89J1BJBbpcnt\",\r\n \"connector_resource_id\": \"7349526182906968904951\",\r\n \"data\": {\r\n \"refund\": {\r\n \"amount\": 50,\r\n \"currency\": \"USD\"\r\n }},\r\n \"type\": \"refund\"\r\n}'\r\n```\r\n```\r\n{\r\n \"id\": \"relay_4lgXCQW0EnqKddZ9CC3b\",\r\n \"status\": \"pending\",\r\n \"connector_resource_id\": \"7349526182906968904951\",\r\n \"error\": null,\r\n \"connector_reference_id\": \"7349526431306986204951\",\r\n \"connector_id\": \"mca_8W0CQfwE89J1BJBbpcnt\",\r\n \"profile_id\": \"pro_rIikb0gPrzd0vEY8hIiP\",\r\n \"type\": \"refund\",\r\n \"data\": {\r\n \"refund\": {\r\n \"amount\": 50,\r\n \"currency\": \"USD\",\r\n \"reason\": null\r\n }\r\n }\r\n}\r\n```\r\n-> Relay retrieve\r\n```\r\ncurl --location 'http://localhost:8080/relay/relay_4lgXCQW0EnqKddZ9CC3b' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'X-Idempotency-Key: <x-idempotency-key>' \\\r\n--header 'X-Profile-Id: pro_rIikb0gPrzd0vEY8hIiP' \\\r\n--header 'api-key: dev_qqMQAuMWCclJSk4uMBeNNSpqAPlsKlBA3blQOwOoq5ogTSFVON3taShABqtqYNA4' \\\r\n--data ''\r\n```\r\n```\r\n{\r\n \"id\": \"relay_4lgXCQW0EnqKddZ9CC3b\",\r\n \"status\": \"pending\",\r\n \"connector_resource_id\": \"7349526182906968904951\",\r\n \"error\": null,\r\n \"connector_reference_id\": \"7349526431306986204951\",\r\n \"connector_id\": \"mca_8W0CQfwE89J1BJBbpcnt\",\r\n \"profile_id\": \"pro_rIikb0gPrzd0vEY8hIiP\",\r\n \"type\": \"refund\",\r\n \"data\": {\r\n \"refund\": {\r\n \"amount\": 50,\r\n \"currency\": \"USD\",\r\n \"reason\": null\r\n }\r\n }\r\n}\r\n```\r\n\r\n-> Relay retrieve force_sync = `true`\r\n```\r\ncurl --location 'http://localhost:8080/relay/relay_4lgXCQW0EnqKddZ9CC3b?force_sync=true' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'X-Idempotency-Key: <x-idempotency-key>' \\\r\n--header 'X-Profile-Id: pro_rIikb0gPrzd0vEY8hIiP' \\\r\n--header 'api-key: dev_qqMQAuMWCclJSk4uMBeNNSpqAPlsKlBA3blQOwOoq5ogTSFVON3taShABqtqYNA4' \\\r\n--data ''\r\n```\r\n```\r\n{\r\n \"id\": \"relay_4lgXCQW0EnqKddZ9CC3b\",\r\n \"status\": \"success\",\r\n \"connector_resource_id\": \"7349526182906968904951\",\r\n \"error\": null,\r\n \"connector_reference_id\": \"7349526431306986204951\",\r\n \"connector_id\": \"mca_8W0CQfwE89J1BJBbpcnt\",\r\n \"profile_id\": \"pro_rIikb0gPrzd0vEY8hIiP\",\r\n \"type\": \"refund\",\r\n \"data\": {\r\n \"refund\": {\r\n \"amount\": 50,\r\n \"currency\": \"USD\",\r\n \"reason\": null\r\n }\r\n }\r\n}\r\n```\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "ShankarSinghC",
|
| 6 |
+
"created_at": "2024-12-23T09:40:12+00:00",
|
| 7 |
+
"merged_at": "2024-12-23T13:21:14+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-core",
|
| 11 |
+
"A-payment-methods"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6918",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "84c8ad99b96012e8ab7a6d99f41f104adcc7ef28",
|
| 17 |
+
"message": "feat(router): add /retrieve api for relay",
|
| 18 |
+
"author": "Shankar Singh C",
|
| 19 |
+
"date": "2024-12-23T09:38:50+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/84c8ad99b96012e8ab7a6d99f41f104adcc7ef28"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "f5d9e0fc5a4b3210f0ae6253ce0d58ec1286487c",
|
| 24 |
+
"message": "address failing checks",
|
| 25 |
+
"author": "Shankar Singh C",
|
| 26 |
+
"date": "2024-12-23T10:03:38+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f5d9e0fc5a4b3210f0ae6253ce0d58ec1286487c"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "769271c638807e1136c3e24492f51978646b4eb7",
|
| 31 |
+
"message": "address pr comments",
|
| 32 |
+
"author": "Shankar Singh C",
|
| 33 |
+
"date": "2024-12-23T11:08:45+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/769271c638807e1136c3e24492f51978646b4eb7"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "5d5bc125562b929c44ea498e6b0a822fcb678153",
|
| 38 |
+
"message": "address pr comments",
|
| 39 |
+
"author": "Shankar Singh C",
|
| 40 |
+
"date": "2024-12-23T11:28:11+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5d5bc125562b929c44ea498e6b0a822fcb678153"
|
| 42 |
+
}
|
| 43 |
+
]
|
| 44 |
+
}
|
prs/pr_6936.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6936,
|
| 3 |
+
"title": "fix(router): populate `profile_id` in for the HeaderAuth of v1",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\npopulate `profile_id` in for the HeaderAuth of v1\r\nAnd also this pr involves the changes to unmask the profile id that is sent in the headers.\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "ShankarSinghC",
|
| 6 |
+
"created_at": "2024-12-24T12:56:35+00:00",
|
| 7 |
+
"merged_at": "2024-12-26T10:49:20+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-core",
|
| 11 |
+
"C-bug"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6936",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "a294e0e8e2e2739c5b46cf498423984713172226",
|
| 17 |
+
"message": "feat(router): populate profileid in for the HeaderAuth of v1",
|
| 18 |
+
"author": "Shankar Singh C",
|
| 19 |
+
"date": "2024-12-24T12:55:29+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a294e0e8e2e2739c5b46cf498423984713172226"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "f22c9101897dc938954472c0bfa6fe3266629865",
|
| 24 |
+
"message": "chore: run formatter",
|
| 25 |
+
"author": "hyperswitch-bot[bot]",
|
| 26 |
+
"date": "2024-12-24T12:57:23+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f22c9101897dc938954472c0bfa6fe3266629865"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "1767d9b6847ccf887995ee1702f1f46b5693c2dc",
|
| 31 |
+
"message": "address pr comments",
|
| 32 |
+
"author": "Shankar Singh C",
|
| 33 |
+
"date": "2024-12-26T07:45:38+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1767d9b6847ccf887995ee1702f1f46b5693c2dc"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "40d1f4f23af1ad5730ccb714f9b5f5afd357b20a",
|
| 38 |
+
"message": "Merge branch 'relay/fix-header-auth' of https://github.com/juspay/hyperswitch into relay/fix-header-auth",
|
| 39 |
+
"author": "Shankar Singh C",
|
| 40 |
+
"date": "2024-12-26T07:45:49+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/40d1f4f23af1ad5730ccb714f9b5f5afd357b20a"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "ff57138ce79257216e5df991f6d3223cdf559098",
|
| 45 |
+
"message": "unmask prfile id in headers",
|
| 46 |
+
"author": "Shankar Singh C",
|
| 47 |
+
"date": "2024-12-26T07:48:13+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ff57138ce79257216e5df991f6d3223cdf559098"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "f167a1ce33485fd95844ac5ebfdb40a27f8e845f",
|
| 52 |
+
"message": "Merge branch 'main' into relay/fix-header-auth",
|
| 53 |
+
"author": "Shankar Singh C",
|
| 54 |
+
"date": "2024-12-26T07:50:30+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f167a1ce33485fd95844ac5ebfdb40a27f8e845f"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"sha": "1fc28a93f43b8c8c2289f82de4207c3f3c1d0a35",
|
| 59 |
+
"message": "include the unmask profile id headers in more configs",
|
| 60 |
+
"author": "Shankar Singh C",
|
| 61 |
+
"date": "2024-12-26T09:28:19+00:00",
|
| 62 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1fc28a93f43b8c8c2289f82de4207c3f3c1d0a35"
|
| 63 |
+
}
|
| 64 |
+
]
|
| 65 |
+
}
|
prs/pr_7015.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7015,
|
| 3 |
+
"title": "refactor(dynamic_fields): dynamic fields for Adyen and Stripe, renaming klarnaCheckout, WASM for KlarnaCheckout",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [x] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n1. Dynamic fields path for `Adyen` and `Stripe` is changed which is a frontend requirement \r\n2. `WASM` for `klarnaCheckout` added in `Klarna` which is a dashboard requirement.\r\n3. Removed `KlarnaCheckout` enum and using the already present `KlarnaRedirect` enum value as it was creating some frontend conflicts with `Adyen's` KlarnaRedirect flow.\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n1. Dynamic fields path for `Adyen` and `Stripe` is changed which is a frontend requirement to show the input boxes, so no testing required.\r\n\r\n2. `WASM` for `klarnaCheckout` added in `Klarna` which is a dashboard requirement to list out the Payment Methods for `Klarna`, so no testing required.\r\n\r\n3. Have removed `KlarnaCheckout` enum and using the already present `KlarnaRedirect` enum value for the flow. This doesn't effect the payment flow and `klarnaCheckout` is working as previously.\r\n\r\n```\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_nsmdfKGJM74PYSViFQ04zsoTMLFkF2VkcvuRdmerez2zBfHSjCrZIxpEln9vYBgl' \\\r\n--data-raw '{\r\n \"amount\": 50000,\r\n \"order_tax_amount\":0,\r\n \"confirm\": false,\r\n \"currency\": \"EUR\",\r\n \"capture_method\": \"automatic\",\r\n \"customer_id\": \"klarna\",\r\n \"payment_experience\":\"redirect_to_url\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"payment_method\": \"pay_later\",\r\n \"payment_method_type\": \"klarna\",\r\n \"payment_method_data\": { \r\n \"pay_later\": {\r\n \"klarna_checkout\":{}\r\n }\r\n },\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\",\r\n \"description\": \"Its my first payment request\",\r\n \"return_url\": \"https://google.com\"\r\n}'\r\n```\r\n\r\nResponse\r\n```\r\n{\r\n \"payment_id\": \"pay_b9SVvCHWeHFV7jiTCr1v\",\r\n \"merchant_id\": \"merchant_1734083062\",\r\n \"status\": \"requires_confirmation\",\r\n \"amount\": 50000,\r\n \"net_amount\": 50000,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": null,\r\n \"connector\": null,\r\n \"client_secret\": \"pay_b9SVvCHWeHFV7jiTCr1v_secret_uTuJ4C4UZtzKWCkJqKyj\",\r\n \"created\": \"2024-12-16T12:15:12.009Z\",\r\n \"currency\": \"EUR\",\r\n \"customer_id\": \"klarna\",\r\n \"customer\": {\r\n \"id\": \"klarna\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\"\r\n },\r\n \"description\": \"Its my first payment request\",\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": null,\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"pay_later\",\r\n \"payment_method_data\": {\r\n \"pay_later\": {\r\n \"klarna_sdk\": null\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": null,\r\n \"billing\": null,\r\n \"order_details\": null,\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": \"https://google.com/\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"statement_descriptor_name\": null,\r\n \"statement_descriptor_suffix\": null,\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": \"redirect_to_url\",\r\n \"payment_method_type\": \"klarna\",\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"klarna\",\r\n \"created_at\": 1734351311,\r\n \"expires\": 1734354911,\r\n \"secret\": \"epk_5aaf5ecba75d4de68712573428fe89f2\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": null,\r\n \"frm_message\": null,\r\n \"metadata\": null,\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": null,\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_PdHB9mW2uWUx2di0W9u3\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": null,\r\n \"incremental_authorization_allowed\": null,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2024-12-16T12:30:12.009Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": null,\r\n \"payment_method_id\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2024-12-16T12:15:12.033Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": 0,\r\n \"connector_mandate_id\": null\r\n}\r\n```\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "swetasharma03",
|
| 6 |
+
"created_at": "2025-01-09T10:40:38+00:00",
|
| 7 |
+
"merged_at": "2025-02-06T14:33:44+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-api-contract-changes"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7015",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "04e6bb326614020cb4269d944ff5f098f57cbecc",
|
| 16 |
+
"message": "initial commit",
|
| 17 |
+
"author": "Sweta-Kumari-Sharma",
|
| 18 |
+
"date": "2025-01-09T10:17:19+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/04e6bb326614020cb4269d944ff5f098f57cbecc"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "7de1b6c9d216dc357fa1ada1fb4817be763abbd8",
|
| 23 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 24 |
+
"author": "hyperswitch-bot[bot]",
|
| 25 |
+
"date": "2025-01-16T12:02:42+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7de1b6c9d216dc357fa1ada1fb4817be763abbd8"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "b9670497c5f1dd2fce5b386b04b8c5a053d68c93",
|
| 30 |
+
"message": "Merge branch 'main' into dynamic-fields-refactor",
|
| 31 |
+
"author": "AkshayaFoiger",
|
| 32 |
+
"date": "2025-01-28T08:01:20+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b9670497c5f1dd2fce5b386b04b8c5a053d68c93"
|
| 34 |
+
}
|
| 35 |
+
]
|
| 36 |
+
}
|
prs/pr_7056.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7056,
|
| 3 |
+
"title": "FEAT: Add Support for Amazon Pay Redirect and Amazon Pay payment via Stripe",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [x] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nAdd Support for Amazon Pay Redirect and Amazon Pay payment via Stripe\r\n\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\n1. Create connector\r\n\r\n```\r\ncurl --location 'http://localhost:8080/account/merchant_1737107777/connectors' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '{\r\n \"connector_type\": \"payment_processor\",\r\n \"connector_name\": \"stripe\",\r\n \"business_country\": \"US\",\r\n \"business_label\": \"default\",\r\n \"connector_account_details\": {\r\n \"auth_type\": \"HeaderKey\",\r\n \"api_key\":API_KEY_HERE\r\n },\r\n \"test_mode\": false,\r\n \"disabled\": false,\r\n \"payment_methods_enabled\": [\r\n {\r\n \"payment_method\": \"wallet\",\r\n \"payment_method_types\": [\r\n {\r\n \"payment_method_type\": \"amazon_pay\",\r\n \"minimum_amount\": 1,\r\n \"maximum_amount\": 68607706,\r\n \"recurring_enabled\": false,\r\n \"installment_payment_enabled\": false\r\n }\r\n ]\r\n }\r\n\r\n ],\r\n \"metadata\": {}\r\n}\r\n \r\n'\r\n```\r\n\r\nResponse\r\n```\r\n{\r\n \"connector_type\": \"payment_processor\",\r\n \"connector_name\": \"stripe\",\r\n \"connector_label\": \"stripe_US_default\",\r\n \"merchant_connector_id\": \"mca_Y9GMWdiq1dIGbzUGr0cZ\",\r\n \"profile_id\": \"pro_PX125fppN7NPx0QnQ0kW\",\r\n \"connector_account_details\": {\r\n \"auth_type\": \"HeaderKey\",\r\n \"api_key\": \"sk*******************************************************************************************************wS\"\r\n },\r\n \"payment_methods_enabled\": [\r\n {\r\n \"payment_method\": \"wallet\",\r\n \"payment_method_types\": [\r\n {\r\n \"payment_method_type\": \"amazon_pay\",\r\n \"payment_experience\": null,\r\n \"card_networks\": null,\r\n \"accepted_currencies\": null,\r\n \"accepted_countries\": null,\r\n \"minimum_amount\": 1,\r\n \"maximum_amount\": 68607706,\r\n \"recurring_enabled\": false,\r\n \"installment_payment_enabled\": false\r\n }\r\n ]\r\n }\r\n ],\r\n \"connector_webhook_details\": null,\r\n \"metadata\": {},\r\n \"test_mode\": false,\r\n \"disabled\": false,\r\n \"frm_configs\": null,\r\n \"business_country\": \"US\",\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"applepay_verified_domains\": null,\r\n \"pm_auth_config\": null,\r\n \"status\": \"active\",\r\n \"additional_merchant_data\": null,\r\n \"connector_wallets_details\": null\r\n}\r\n```\r\n\r\n2. Authorization\r\n\r\n```\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_0llKWUC3y5Z3vACDU324XIGXXvO8ANUm2FWWjJOPb7ifHOZBllSXLDleAeoXC1ui' \\\r\n--data-raw '{\r\n \"amount\": 1800,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"customer_id\": \"klarna\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"authentication_type\": \"three_ds\",\r\n \"email\": \"guest1@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\",\r\n \"description\": \"Its my first payment request\",\r\n \"return_url\": \"https://google.com\",\r\n \"business_country\": \"US\",\r\n \"payment_method\": \"wallet\",\r\n \"payment_method_type\": \"amazon_pay\",\r\n \"payment_method_data\": {\r\n \"wallet\": {\r\n \"amazon_pay_redirect\": {}\r\n }\r\n },\r\n \"metadata\": {\r\n \"order_details\": {\r\n \"product_name\": \"Apple iphone 15\",\r\n \"quantity\": 1,\r\n \"amount\": 1800,\r\n \"account_name\": \"transaction_processing\"\r\n }\r\n }\r\n}'\r\n```\r\n\r\nResponse\r\n```\r\n{\r\n \"payment_id\": \"pay_Lcxnnod81tHdyOaL3rKN\",\r\n \"merchant_id\": \"merchant_1737039949\",\r\n \"status\": \"requires_customer_action\",\r\n \"amount\": 1800,\r\n \"net_amount\": 1800,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 1800,\r\n \"amount_received\": 0,\r\n \"connector\": \"stripe\",\r\n \"client_secret\": \"pay_Lcxnnod81tHdyOaL3rKN_secret_koHNJ4k4iszxZGs7UvLS\",\r\n \"created\": \"2025-01-17T09:43:30.081Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"klarna\",\r\n \"customer\": {\r\n \"id\": \"klarna\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest1@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\"\r\n },\r\n \"description\": \"Its my first payment request\",\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": null,\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"wallet\",\r\n \"payment_method_data\": {\r\n \"wallet\": {},\r\n \"billing\": null\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": null,\r\n \"billing\": null,\r\n \"order_details\": null,\r\n \"email\": \"guest1@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": \"https://google.com/\",\r\n \"authentication_type\": \"three_ds\",\r\n \"statement_descriptor_name\": null,\r\n \"statement_descriptor_suffix\": null,\r\n \"next_action\": {\r\n \"type\": \"redirect_to_url\",\r\n \"redirect_to_url\": \"http://localhost:8080/payments/redirect/pay_Lcxnnod81tHdyOaL3rKN/merchant_1737039949/pay_Lcxnnod81tHdyOaL3rKN_1\"\r\n },\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"amazon_pay\",\r\n \"connector_label\": \"stripe_US_default\",\r\n \"business_country\": \"US\",\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"klarna\",\r\n \"created_at\": 1737107010,\r\n \"expires\": 1737110610,\r\n \"secret\": \"epk_a49fc4c439174510b4916078a67daafc\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"pi_3QiC5OAGHc77EJXX19qPFa6Z\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"order_details\": {\r\n \"amount\": 1800,\r\n \"quantity\": 1,\r\n \"account_name\": \"transaction_processing\",\r\n \"product_name\": \"Apple iphone 15\"\r\n }\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"pi_3QiC5OAGHc77EJXX19qPFa6Z\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_HPdS7uUx46Q3kWNK6x0q\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_5nADZHcVU5I934y0ikbp\",\r\n \"incremental_authorization_allowed\": null,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-01-17T09:58:30.081Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": null,\r\n \"payment_method_id\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-01-17T09:43:31.230Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null\r\n}\r\n```\r\n\r\n3. PSync\r\n\r\n```\r\ncurl --location 'http://localhost:8080/payments/pay_Lcxnnod81tHdyOaL3rKN?force_sync=true&expand_captures=true&expand_attempts=true' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_0llKWUC3y5Z3vACDU324XIGXXvO8ANUm2FWWjJOPb7ifHOZBllSXLDleAeoXC1ui'\r\n```\r\n\r\nResponse\r\n```\r\n{\r\n \"payment_id\": \"pay_Lcxnnod81tHdyOaL3rKN\",\r\n \"merchant_id\": \"merchant_1737039949\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 1800,\r\n \"net_amount\": 1800,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 1800,\r\n \"connector\": \"stripe\",\r\n \"client_secret\": \"pay_Lcxnnod81tHdyOaL3rKN_secret_koHNJ4k4iszxZGs7UvLS\",\r\n \"created\": \"2025-01-17T09:43:30.081Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"klarna\",\r\n \"customer\": {\r\n \"id\": \"klarna\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest1@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\"\r\n },\r\n \"description\": \"Its my first payment request\",\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": null,\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"wallet\",\r\n \"payment_method_data\": {\r\n \"wallet\": {},\r\n \"billing\": null\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": null,\r\n \"billing\": null,\r\n \"order_details\": null,\r\n \"email\": \"guest1@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": \"https://google.com/\",\r\n \"authentication_type\": \"three_ds\",\r\n \"statement_descriptor_name\": null,\r\n \"statement_descriptor_suffix\": null,\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"amazon_pay\",\r\n \"connector_label\": \"stripe_US_default\",\r\n \"business_country\": \"US\",\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": null,\r\n \"manual_retry_allowed\": false,\r\n \"connector_transaction_id\": \"pi_3QiC5OAGHc77EJXX19qPFa6Z\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"order_details\": {\r\n \"amount\": 1800,\r\n \"quantity\": 1,\r\n \"account_name\": \"transaction_processing\",\r\n \"product_name\": \"Apple iphone 15\"\r\n }\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"pi_3QiC5OAGHc77EJXX19qPFa6Z\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_HPdS7uUx46Q3kWNK6x0q\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_5nADZHcVU5I934y0ikbp\",\r\n \"incremental_authorization_allowed\": null,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-01-17T09:58:30.081Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": null,\r\n \"payment_method_id\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-01-17T09:43:40.352Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null\r\n}\r\n```\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "swetasharma03",
|
| 6 |
+
"created_at": "2025-01-17T10:00:25+00:00",
|
| 7 |
+
"merged_at": "2025-02-05T15:24:59+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration",
|
| 11 |
+
"M-api-contract-changes"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7056",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "a6a52a1d9b304afe55a7b39ba3391b7b61296060",
|
| 17 |
+
"message": "initial commit",
|
| 18 |
+
"author": "Sweta-Kumari-Sharma",
|
| 19 |
+
"date": "2025-01-17T09:19:28+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a6a52a1d9b304afe55a7b39ba3391b7b61296060"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "f9c50c0d2210280244554175382756f9b612cf49",
|
| 24 |
+
"message": "feat(router): Add Support for Amazon Pay Redirect and Amazon Pay payment via Stripe",
|
| 25 |
+
"author": "hyperswitch-bot[bot]",
|
| 26 |
+
"date": "2025-01-20T09:40:06+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f9c50c0d2210280244554175382756f9b612cf49"
|
| 28 |
+
}
|
| 29 |
+
]
|
| 30 |
+
}
|
prs/pr_7063.json
ADDED
|
@@ -0,0 +1,317 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7063,
|
| 3 |
+
"title": "feat(router): add core changes for external authentication flow through unified_authentication_service",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [x] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nadd core changes for external authentication flow through unified_authentication_service\r\n\r\nCurrently, Only ClickToPay is supported through Unified Authentication Service. This PR adds support to perform external authentication through connectors like Netcetera, through Unified Authentication service.\r\n\r\n1. Add authentication flow in UnifiedAuthenticationService trait\r\n2. Refactor UnifiedAuthenticationService trait\r\n3. Refactor call_unified_authentication_service_if_eligible in payments confirm operation to support external authentication\r\n4. Add Authenticate flow for UnifiedAuthenticationService connector integration\r\n\r\nWill take up the connector side changes in a separate PR\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n6. `crates/router/src/configs`\r\n7. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\nCompiler guided - Core changes alone done, can be tested after connector related changes are done\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "sai-harsha-vardhan",
|
| 6 |
+
"created_at": "2025-01-18T17:30:12+00:00",
|
| 7 |
+
"merged_at": "2025-02-03T20:30:05+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-core",
|
| 11 |
+
"C-feature"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7063",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "5f694cfa173a22cb339d955d916f966c4b4f9cd2",
|
| 17 |
+
"message": "refactor(router): fixed mca logic fetch",
|
| 18 |
+
"author": "Sahkal Poddar",
|
| 19 |
+
"date": "2024-12-17T10:51:00+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5f694cfa173a22cb339d955d916f966c4b4f9cd2"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "5d0d9d178fd01752c501e41b195e3181d18423f2",
|
| 24 |
+
"message": "dummy commit",
|
| 25 |
+
"author": "Sahkal Poddar",
|
| 26 |
+
"date": "2024-12-18T06:21:15+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5d0d9d178fd01752c501e41b195e3181d18423f2"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "6e4bc873d876cc83b2760a388ad62f854eb869ed",
|
| 31 |
+
"message": "chore: run formatter",
|
| 32 |
+
"author": "hyperswitch-bot[bot]",
|
| 33 |
+
"date": "2024-12-18T06:22:53+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6e4bc873d876cc83b2760a388ad62f854eb869ed"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "c7a0b06db2e063fff440604d171575041e8143ed",
|
| 38 |
+
"message": "Merge branch 'main' of https://github.com/juspay/hyperswitch into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 39 |
+
"author": "Sahkal Poddar",
|
| 40 |
+
"date": "2024-12-18T11:37:27+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c7a0b06db2e063fff440604d171575041e8143ed"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "3c2e034c673de2a740644aaf1c534faf8092fd69",
|
| 45 |
+
"message": "addressed pr comments",
|
| 46 |
+
"author": "Sahkal Poddar",
|
| 47 |
+
"date": "2024-12-18T12:41:20+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3c2e034c673de2a740644aaf1c534faf8092fd69"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "60a60e1d916e45a8acdd8c55345c7a51d4d0f504",
|
| 52 |
+
"message": "fixed path url for uas",
|
| 53 |
+
"author": "Sahkal Poddar",
|
| 54 |
+
"date": "2024-12-18T13:12:19+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/60a60e1d916e45a8acdd8c55345c7a51d4d0f504"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"sha": "a97f01eeaca1ac9baedcac357835702653eaaa96",
|
| 59 |
+
"message": "resolved conflicts",
|
| 60 |
+
"author": "Sahkal Poddar",
|
| 61 |
+
"date": "2024-12-20T07:45:26+00:00",
|
| 62 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a97f01eeaca1ac9baedcac357835702653eaaa96"
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"sha": "55029ed692f175214175a63dde576cf689ecc76e",
|
| 66 |
+
"message": "addressed pr comments",
|
| 67 |
+
"author": "Sahkal Poddar",
|
| 68 |
+
"date": "2024-12-20T10:24:59+00:00",
|
| 69 |
+
"url": "https://github.com/juspay/hyperswitch/commit/55029ed692f175214175a63dde576cf689ecc76e"
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"sha": "0e7922b5cf45f2c688ac42b2afd0cedd84b8232b",
|
| 73 |
+
"message": "Merge branch 'main' into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 74 |
+
"author": "Sahkal Poddar",
|
| 75 |
+
"date": "2024-12-20T10:51:37+00:00",
|
| 76 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0e7922b5cf45f2c688ac42b2afd0cedd84b8232b"
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"sha": "98b5af4ea8c7c5b79a37b61a88eae1463397e6ff",
|
| 80 |
+
"message": "moved external 3ds under else condition",
|
| 81 |
+
"author": "Sahkal Poddar",
|
| 82 |
+
"date": "2024-12-20T11:06:41+00:00",
|
| 83 |
+
"url": "https://github.com/juspay/hyperswitch/commit/98b5af4ea8c7c5b79a37b61a88eae1463397e6ff"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"sha": "edae612175c69435f4c12c9276981d05a3130387",
|
| 87 |
+
"message": "Merge branch '7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name' of https://github.com/juspay/hyperswitch into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 88 |
+
"author": "Sahkal Poddar",
|
| 89 |
+
"date": "2024-12-20T11:06:51+00:00",
|
| 90 |
+
"url": "https://github.com/juspay/hyperswitch/commit/edae612175c69435f4c12c9276981d05a3130387"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"sha": "be0ffa9308d642add8f7f3efba2fff879a1d5437",
|
| 94 |
+
"message": "addressed pr comments",
|
| 95 |
+
"author": "Sahkal Poddar",
|
| 96 |
+
"date": "2024-12-20T18:47:39+00:00",
|
| 97 |
+
"url": "https://github.com/juspay/hyperswitch/commit/be0ffa9308d642add8f7f3efba2fff879a1d5437"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"sha": "5b4178b4b6f424e37421b8d8a8085f514b39a6b3",
|
| 101 |
+
"message": "resolved pr comments",
|
| 102 |
+
"author": "Sahkal Poddar",
|
| 103 |
+
"date": "2024-12-23T05:47:53+00:00",
|
| 104 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5b4178b4b6f424e37421b8d8a8085f514b39a6b3"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"sha": "2e791d5289a5eaf011722af0413bc64967acca19",
|
| 108 |
+
"message": "addressed pr comments",
|
| 109 |
+
"author": "Sahkal Poddar",
|
| 110 |
+
"date": "2024-12-23T09:12:53+00:00",
|
| 111 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2e791d5289a5eaf011722af0413bc64967acca19"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"sha": "389ae521c73dd728d527fba01e08bd44ddc9b799",
|
| 115 |
+
"message": "Merge branch 'main' into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 116 |
+
"author": "Sahkal Poddar",
|
| 117 |
+
"date": "2024-12-23T10:50:32+00:00",
|
| 118 |
+
"url": "https://github.com/juspay/hyperswitch/commit/389ae521c73dd728d527fba01e08bd44ddc9b799"
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"sha": "5b1cd69b172ab41eaceb8bfb4a38df4af3c59bb6",
|
| 122 |
+
"message": "resolved merge conflicts",
|
| 123 |
+
"author": "Sahkal Poddar",
|
| 124 |
+
"date": "2025-01-06T09:18:36+00:00",
|
| 125 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5b1cd69b172ab41eaceb8bfb4a38df4af3c59bb6"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"sha": "249e82b7c0dd72390259277a0c2cbd12b74a2663",
|
| 129 |
+
"message": "Merge branch 'main' into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 130 |
+
"author": "Sahkal Poddar",
|
| 131 |
+
"date": "2025-01-06T09:19:23+00:00",
|
| 132 |
+
"url": "https://github.com/juspay/hyperswitch/commit/249e82b7c0dd72390259277a0c2cbd12b74a2663"
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"sha": "a0ea8e7c10c000b3a6177e50baf4f130c9b4ba91",
|
| 136 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 137 |
+
"author": "hyperswitch-bot[bot]",
|
| 138 |
+
"date": "2025-01-06T09:22:29+00:00",
|
| 139 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a0ea8e7c10c000b3a6177e50baf4f130c9b4ba91"
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"sha": "f0ae185b97141a50d28905ce0a271834aad17076",
|
| 143 |
+
"message": "add authentication flow support in uas framework and make necessary changes in pre_auth, post_auth flows for external_authentication",
|
| 144 |
+
"author": "sai-harsha-vardhan",
|
| 145 |
+
"date": "2025-01-11T13:15:28+00:00",
|
| 146 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f0ae185b97141a50d28905ce0a271834aad17076"
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"sha": "a2d3c17727a40e3802d6b5e361a296079f3e6c14",
|
| 150 |
+
"message": "resolve conflicts",
|
| 151 |
+
"author": "sai-harsha-vardhan",
|
| 152 |
+
"date": "2025-01-11T13:20:27+00:00",
|
| 153 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a2d3c17727a40e3802d6b5e361a296079f3e6c14"
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"sha": "4a53878716d8136fbf3fe9dc42d99e321bc15fc7",
|
| 157 |
+
"message": "chore: run formatter",
|
| 158 |
+
"author": "hyperswitch-bot[bot]",
|
| 159 |
+
"date": "2025-01-11T13:21:21+00:00",
|
| 160 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4a53878716d8136fbf3fe9dc42d99e321bc15fc7"
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"sha": "15394c13915848aa9815b31a317c32bcce48cecc",
|
| 164 |
+
"message": "fix clippy",
|
| 165 |
+
"author": "sai-harsha-vardhan",
|
| 166 |
+
"date": "2025-01-11T13:33:50+00:00",
|
| 167 |
+
"url": "https://github.com/juspay/hyperswitch/commit/15394c13915848aa9815b31a317c32bcce48cecc"
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"sha": "bff3aefad88d29a11b5d32e66a7e4b0b15647ae9",
|
| 171 |
+
"message": "Merge branch 'add-auth-and-webhook-flow-uas' of github.com:juspay/hyperswitch into add-auth-and-webhook-flow-uas",
|
| 172 |
+
"author": "sai-harsha-vardhan",
|
| 173 |
+
"date": "2025-01-11T13:34:33+00:00",
|
| 174 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bff3aefad88d29a11b5d32e66a7e4b0b15647ae9"
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"sha": "c6bc41713bd5c26b0f19ec7bbd3415d743b0374e",
|
| 178 |
+
"message": "resolved merge conflicts",
|
| 179 |
+
"author": "Sahkal Poddar",
|
| 180 |
+
"date": "2025-01-13T10:54:11+00:00",
|
| 181 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c6bc41713bd5c26b0f19ec7bbd3415d743b0374e"
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"sha": "4f82382f08cd133fdf497069f05a8772c845a634",
|
| 185 |
+
"message": "Merge branch 'main' into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 186 |
+
"author": "Sahkal Poddar",
|
| 187 |
+
"date": "2025-01-15T07:21:05+00:00",
|
| 188 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4f82382f08cd133fdf497069f05a8772c845a634"
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"sha": "392c044f45744fb6b170f0b8be2f80fe0d262814",
|
| 192 |
+
"message": "fixed open-api specs",
|
| 193 |
+
"author": "Sahkal Poddar",
|
| 194 |
+
"date": "2025-01-15T07:27:36+00:00",
|
| 195 |
+
"url": "https://github.com/juspay/hyperswitch/commit/392c044f45744fb6b170f0b8be2f80fe0d262814"
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"sha": "5128445e5038534b8c6b10ea4ee7f868b5009e62",
|
| 199 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 200 |
+
"author": "hyperswitch-bot[bot]",
|
| 201 |
+
"date": "2025-01-15T07:56:42+00:00",
|
| 202 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5128445e5038534b8c6b10ea4ee7f868b5009e62"
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"sha": "ecbee617e88e1d8d731bbbef320afcec0201eaf3",
|
| 206 |
+
"message": "addressed pr commnets added example for apen_api specs\n'",
|
| 207 |
+
"author": "Sahkal Poddar",
|
| 208 |
+
"date": "2025-01-15T11:46:27+00:00",
|
| 209 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ecbee617e88e1d8d731bbbef320afcec0201eaf3"
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"sha": "3cfac70e273066165aaa72cfaaed301c815bfded",
|
| 213 |
+
"message": "removed if condition for logging db error",
|
| 214 |
+
"author": "Sahkal Poddar",
|
| 215 |
+
"date": "2025-01-15T14:30:19+00:00",
|
| 216 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3cfac70e273066165aaa72cfaaed301c815bfded"
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"sha": "4205f6425e84d468754081b2b5d25eea0d143262",
|
| 220 |
+
"message": "Merge branch 'main' of github.com:juspay/hyperswitch into external-auth-through-uas-core-flow-changes",
|
| 221 |
+
"author": "sai-harsha-vardhan",
|
| 222 |
+
"date": "2025-01-17T14:54:33+00:00",
|
| 223 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4205f6425e84d468754081b2b5d25eea0d143262"
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"sha": "0347a8949fea9565e4a5877788856cb43c3e7a4a",
|
| 227 |
+
"message": "merge refactor changes",
|
| 228 |
+
"author": "sai-harsha-vardhan",
|
| 229 |
+
"date": "2025-01-17T16:28:42+00:00",
|
| 230 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0347a8949fea9565e4a5877788856cb43c3e7a4a"
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"sha": "55df98f955976947ef408ef45e3138ede05613dd",
|
| 234 |
+
"message": "add core changes for external authentication through unified_authentication_service",
|
| 235 |
+
"author": "sai-harsha-vardhan",
|
| 236 |
+
"date": "2025-01-18T17:26:57+00:00",
|
| 237 |
+
"url": "https://github.com/juspay/hyperswitch/commit/55df98f955976947ef408ef45e3138ede05613dd"
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"sha": "f448f6853f2bdc0dfb68e7e19b9aacd284c1a72d",
|
| 241 |
+
"message": "Merge branch 'main' into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 242 |
+
"author": "Sai Harsha Vardhan",
|
| 243 |
+
"date": "2025-01-18T17:30:48+00:00",
|
| 244 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f448f6853f2bdc0dfb68e7e19b9aacd284c1a72d"
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"sha": "4769e8847ddc98b07993258546d32e2d132ed7cd",
|
| 248 |
+
"message": "Merge branch '7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name' into external-auth-through-uas-core-flow-changes",
|
| 249 |
+
"author": "Sai Harsha Vardhan",
|
| 250 |
+
"date": "2025-01-18T17:31:09+00:00",
|
| 251 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4769e8847ddc98b07993258546d32e2d132ed7cd"
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"sha": "db8b96c265479aa5a04a5dad10985887416c3272",
|
| 255 |
+
"message": "fix payment external authentication",
|
| 256 |
+
"author": "sai-harsha-vardhan",
|
| 257 |
+
"date": "2025-01-19T14:03:32+00:00",
|
| 258 |
+
"url": "https://github.com/juspay/hyperswitch/commit/db8b96c265479aa5a04a5dad10985887416c3272"
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"sha": "bb773327dbaf0e8a124352fbee934ddf93ca3958",
|
| 262 |
+
"message": "fix external_authentication_initiate in confirm flow",
|
| 263 |
+
"author": "sai-harsha-vardhan",
|
| 264 |
+
"date": "2025-01-19T17:25:53+00:00",
|
| 265 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bb773327dbaf0e8a124352fbee934ddf93ca3958"
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"sha": "7d850e71dbff55c088bce3077be1f64032e73d87",
|
| 269 |
+
"message": "resolve conflicts",
|
| 270 |
+
"author": "sai-harsha-vardhan",
|
| 271 |
+
"date": "2025-01-21T13:17:04+00:00",
|
| 272 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7d850e71dbff55c088bce3077be1f64032e73d87"
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"sha": "6b0cc79ab05adee0fefac2abf6051c407fdf13e6",
|
| 276 |
+
"message": "chore: run formatter",
|
| 277 |
+
"author": "hyperswitch-bot[bot]",
|
| 278 |
+
"date": "2025-01-21T13:18:00+00:00",
|
| 279 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6b0cc79ab05adee0fefac2abf6051c407fdf13e6"
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"sha": "59d969d2452a564054157819bab771d520d95deb",
|
| 283 |
+
"message": "resolve conflicts",
|
| 284 |
+
"author": "sai-harsha-vardhan",
|
| 285 |
+
"date": "2025-01-23T08:47:21+00:00",
|
| 286 |
+
"url": "https://github.com/juspay/hyperswitch/commit/59d969d2452a564054157819bab771d520d95deb"
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"sha": "e2958e72faff29e42bca772a991d4c9e53b048ee",
|
| 290 |
+
"message": "resolve comments",
|
| 291 |
+
"author": "sai-harsha-vardhan",
|
| 292 |
+
"date": "2025-01-23T10:18:56+00:00",
|
| 293 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e2958e72faff29e42bca772a991d4c9e53b048ee"
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"sha": "b54a55f28087c3da8bf511b767e5cab49f091f62",
|
| 297 |
+
"message": "Merge branch 'main' into external-auth-through-uas-core-flow-changes",
|
| 298 |
+
"author": "Sai Harsha Vardhan",
|
| 299 |
+
"date": "2025-01-24T08:59:01+00:00",
|
| 300 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b54a55f28087c3da8bf511b767e5cab49f091f62"
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"sha": "953430098e6861d98dfc1f1d6252e060463dbe62",
|
| 304 |
+
"message": "Merge branch 'main' of github.com:juspay/hyperswitch into external-auth-through-uas-core-flow-changes",
|
| 305 |
+
"author": "sai-harsha-vardhan",
|
| 306 |
+
"date": "2025-01-31T10:58:39+00:00",
|
| 307 |
+
"url": "https://github.com/juspay/hyperswitch/commit/953430098e6861d98dfc1f1d6252e060463dbe62"
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"sha": "b4c5c13ff8e82e1428a7346eac4f97f68cf43b7a",
|
| 311 |
+
"message": "merge latest main",
|
| 312 |
+
"author": "sai-harsha-vardhan",
|
| 313 |
+
"date": "2025-01-31T11:30:58+00:00",
|
| 314 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b4c5c13ff8e82e1428a7346eac4f97f68cf43b7a"
|
| 315 |
+
}
|
| 316 |
+
]
|
| 317 |
+
}
|
prs/pr_7079.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7079,
|
| 3 |
+
"title": "refactor(payment-link): use shouldRemoveBeforeUnloadEvents flag for handling removal of beforeunload events through SDK",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [x] Enhancement\r\n- [x] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\nHotfix for https://github.com/juspay/hyperswitch/pull/7072\r\n\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] I formatted the code `cargo +nightly fmt --all`\r\n- [ ] I addressed lints thrown by `cargo clippy`\r\n- [ ] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "kashif-m",
|
| 6 |
+
"created_at": "2025-01-20T17:20:56+00:00",
|
| 7 |
+
"merged_at": "2025-01-20T19:19:48+00:00",
|
| 8 |
+
"base_branch": "hotfix-2025.01.14.0",
|
| 9 |
+
"labels": [],
|
| 10 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7079",
|
| 11 |
+
"commits": [
|
| 12 |
+
{
|
| 13 |
+
"sha": "40eb9a52831a56e099fe1a9309735cc348a8e511",
|
| 14 |
+
"message": "refactor(payment-link): use shouldRemoveBeforeUnloadEvents flag for handling removal of beforeunload events through SDK (#7072)\n\n(cherry picked from commit 776ed9a2eb0e5ad8125112fe01bb3ea4b34195bc)",
|
| 15 |
+
"author": "Kashif",
|
| 16 |
+
"date": "2025-01-20T13:23:35+00:00",
|
| 17 |
+
"url": "https://github.com/juspay/hyperswitch/commit/40eb9a52831a56e099fe1a9309735cc348a8e511"
|
| 18 |
+
}
|
| 19 |
+
]
|
| 20 |
+
}
|
prs/pr_7081.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7081,
|
| 3 |
+
"title": "refactor(router): prioritise `connector_mandate_id` over `network_transaction_id` during MITs",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [x] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nDuring the MIT if the decided connector is same as the connector with which the mandate is created then the MIT should be processed with the connector mandate _id.\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\nConnector mandate id based payments have better auth rates than the card details with network transaction id.\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n-> Create a business profile and enable connector agnostic mandate feature\r\n```\r\ncurl --location 'http://localhost:8080/account/merchant_1737444280/business_profile/pro_h1bdGYYiQic3IHdVU1Mm' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '{\r\n \"is_connector_agnostic_mit_enabled\": true\r\n}'\r\n```\r\n```\r\n{\r\n \"merchant_id\": \"merchant_1737444280\",\r\n \"profile_id\": \"pro_h1bdGYYiQic3IHdVU1Mm\",\r\n \"profile_name\": \"US_default\",\r\n \"return_url\": \"https://google.com/success\",\r\n \"enable_payment_response_hash\": true,\r\n \"payment_response_hash_key\": \"g9sOqQ4SnAvNAjupw2CYjfkOlasfwYVIILUieujxrvuklwkPFAUjaPR6k48uxLd0\",\r\n \"redirect_to_merchant_with_http_post\": false,\r\n \"webhook_details\": {\r\n \"webhook_version\": \"1.0.1\",\r\n \"webhook_username\": \"ekart_retail\",\r\n \"webhook_password\": \"password_ekart@123\",\r\n \"webhook_url\": null,\r\n \"payment_created_enabled\": true,\r\n \"payment_succeeded_enabled\": true,\r\n \"payment_failed_enabled\": true\r\n },\r\n \"metadata\": null,\r\n \"routing_algorithm\": null,\r\n \"intent_fulfillment_time\": 900,\r\n \"frm_routing_algorithm\": null,\r\n \"payout_routing_algorithm\": null,\r\n \"applepay_verified_domains\": null,\r\n \"session_expiry\": 900,\r\n \"payment_link_config\": null,\r\n \"authentication_connector_details\": null,\r\n \"use_billing_as_payment_method_billing\": true,\r\n \"extended_card_info_config\": null,\r\n \"collect_shipping_details_from_wallet_connector\": false,\r\n \"collect_billing_details_from_wallet_connector\": false,\r\n \"always_collect_shipping_details_from_wallet_connector\": false,\r\n \"always_collect_billing_details_from_wallet_connector\": false,\r\n \"is_connector_agnostic_mit_enabled\": true,\r\n \"payout_link_config\": null,\r\n \"outgoing_webhook_custom_http_headers\": null,\r\n \"tax_connector_id\": null,\r\n \"is_tax_connector_enabled\": false,\r\n \"is_network_tokenization_enabled\": false,\r\n \"is_auto_retries_enabled\": false,\r\n \"max_auto_retries_enabled\": null,\r\n \"is_click_to_pay_enabled\": false,\r\n \"authentication_product_ids\": null\r\n}\r\n```\r\n#### Create a off session payment\r\n```\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: <api-key>' \\\r\n--header 'Content-Type: application/json' \\\r\n--data-raw '{\r\n \"amount\": 500,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"customer_id\": \"cu_1737444547\",\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\",\r\n \"description\": \"Its my first payment request\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"return_url\": \"https://google.com\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"4111111111111111\",\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_holder_name\": \"name name\",\r\n \"card_cvc\": \"737\"\r\n }\r\n },\r\n \"setup_future_usage\": \"off_session\",\r\n \"customer_acceptance\": {\r\n \"acceptance_type\": \"offline\",\r\n \"accepted_at\": \"1963-05-03T04:07:52.723Z\",\r\n \"online\": {\r\n \"ip_address\": \"in sit\",\r\n \"user_agent\": \"amet irure esse\"\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"US\",\r\n \"first_name\": \"PiX\",\r\n \"last_name\": \"ss\"\r\n }\r\n },\r\n \"shipping\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"US\",\r\n \"first_name\": \"John\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n }\r\n },\r\n \"browser_info\": {\r\n \"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\",\r\n \"accept_header\": \"text\\/html,application\\/xhtml+xml,application\\/xml;q=0.9,image\\/webp,image\\/apng,*\\/*;q=0.8\",\r\n \"language\": \"nl-NL\",\r\n \"color_depth\": 24,\r\n \"screen_height\": 723,\r\n \"screen_width\": 1536,\r\n \"time_zone\": 0,\r\n \"java_enabled\": true,\r\n \"java_script_enabled\": true,\r\n \"ip_address\": \"125.0.0.1\"\r\n },\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"metadata\": {},\r\n \"order_details\": [\r\n {\r\n \"product_name\": \"Apple iphone 15\",\r\n \"quantity\": 1,\r\n \"amount\": 0,\r\n \"account_name\": \"transaction_processing\"\r\n }\r\n ]\r\n}'\r\n```\r\n```\r\n{\r\n \"payment_id\": \"pay_KqygCo0YGgtq5kwRg7ya\",\r\n \"merchant_id\": \"merchant_1737444280\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 500,\r\n \"net_amount\": 500,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 500,\r\n \"connector\": \"stripe\",\r\n \"client_secret\": \"pay_KqygCo0YGgtq5kwRg7ya_secret_Dem5r9Q8FYZom1eRjrt0\",\r\n \"created\": \"2025-01-21T07:28:13.410Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"cu_1737444493\",\r\n \"customer\": {\r\n \"id\": \"cu_1737444493\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\"\r\n },\r\n \"description\": \"Its my first payment request\",\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": \"off_session\",\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"last4\": \"1111\",\r\n \"card_type\": null,\r\n \"card_network\": null,\r\n \"card_issuer\": null,\r\n \"card_issuing_country\": null,\r\n \"card_isin\": \"411111\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_holder_name\": \"name name\",\r\n \"payment_checks\": {\r\n \"cvc_check\": \"pass\",\r\n \"address_line1_check\": \"pass\",\r\n \"address_postal_code_check\": \"pass\"\r\n },\r\n \"authentication_data\": null\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"John\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": null\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"PiX\",\r\n \"last_name\": \"ss\"\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"order_details\": [\r\n {\r\n \"brand\": null,\r\n \"amount\": 0,\r\n \"category\": null,\r\n \"quantity\": 1,\r\n \"tax_rate\": null,\r\n \"product_id\": null,\r\n \"product_name\": \"Apple iphone 15\",\r\n \"product_type\": null,\r\n \"sub_category\": null,\r\n \"product_img_link\": null,\r\n \"product_tax_code\": null,\r\n \"total_tax_amount\": null,\r\n \"requires_shipping\": null\r\n }\r\n ],\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": \"https://google.com/\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"credit\",\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"cu_1737444493\",\r\n \"created_at\": 1737444493,\r\n \"expires\": 1737448093,\r\n \"secret\": \"epk_5565c9134045451ab40c5712bfa952b2\"\r\n },\r\n \"manual_retry_allowed\": false,\r\n \"connector_transaction_id\": \"pi_3QjbsgEOqOywnAIx1CT15pu2\",\r\n \"frm_message\": null,\r\n \"metadata\": {},\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"pi_3QjbsgEOqOywnAIx1CT15pu2\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_h1bdGYYiQic3IHdVU1Mm\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_yzI9tnLJezjQey1LjoCo\",\r\n \"incremental_authorization_allowed\": null,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-01-21T07:43:13.410Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"language\": \"nl-NL\",\r\n \"time_zone\": 0,\r\n \"ip_address\": \"125.0.0.1\",\r\n \"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\",\r\n \"color_depth\": 24,\r\n \"java_enabled\": true,\r\n \"screen_width\": 1536,\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"screen_height\": 723,\r\n \"java_script_enabled\": true\r\n },\r\n \"payment_method_id\": \"pm_LR6jCdVNR85W6L1jYIeX\",\r\n \"payment_method_status\": \"active\",\r\n \"updated\": \"2025-01-21T07:28:15.652Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": \"pm_1QjbsgEOqOywnAIxpfltM04Z\"\r\n}\r\n```\r\n-> Image showing `network_transaction_id` shored in db\r\n\r\n\r\n#### Recurring payment with same connector\r\n-> Create a payment for the same customer with confirm false\r\n```\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: <api-key>' \\\r\n--header 'Content-Type: application/json' \\\r\n--data '{\r\n \"amount\": 10000,\r\n \"currency\": \"USD\",\r\n \"capture_method\": \"automatic\",\r\n \"authentication_type\": \"three_ds\",\r\n \"confirm\": false,\r\n \"customer_id\": \"cu_1737444493\"\r\n}'\r\n```\r\n```\r\n{\r\n \"payment_id\": \"pay_pG0kiVb7LLFH8zL2MwFk\",\r\n \"merchant_id\": \"merchant_1737444280\",\r\n \"status\": \"requires_payment_method\",\r\n \"amount\": 10000,\r\n \"net_amount\": 10000,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": null,\r\n \"connector\": null,\r\n \"client_secret\": \"pay_pG0kiVb7LLFH8zL2MwFk_secret_ArZFjbGaLgfS9Xz75hcM\",\r\n \"created\": \"2025-01-21T07:31:42.526Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"cu_1737444493\",\r\n \"customer\": {\r\n \"id\": \"cu_1737444493\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\"\r\n },\r\n \"description\": null,\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": null,\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": null,\r\n \"payment_method_data\": null,\r\n \"payment_token\": null,\r\n \"shipping\": null,\r\n \"billing\": null,\r\n \"order_details\": null,\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": null,\r\n \"authentication_type\": \"three_ds\",\r\n \"statement_descriptor_name\": null,\r\n \"statement_descriptor_suffix\": null,\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": null,\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"cu_1737444493\",\r\n \"created_at\": 1737444702,\r\n \"expires\": 1737448302,\r\n \"secret\": \"epk_eb66ffa2b7be44958a581a9774279fef\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": null,\r\n \"frm_message\": null,\r\n \"metadata\": null,\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": null,\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_h1bdGYYiQic3IHdVU1Mm\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": null,\r\n \"incremental_authorization_allowed\": null,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-01-21T07:46:42.526Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": null,\r\n \"payment_method_id\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-01-21T07:31:42.545Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null\r\n}\r\n```\r\n-> List customer payment methods with the `client_secret`\r\n```\r\ncurl --location 'http://localhost:8080/customers/payment_methods?client_secret=pay_pG0kiVb7LLFH8zL2MwFk_secret_ArZFjbGaLgfS9Xz75hcM' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: pk_dev_b40ef36c556f4da5b6d4682fe66bceeb'\r\n```\r\n```\r\n{\r\n \"customer_payment_methods\": [\r\n {\r\n \"payment_token\": \"token_sBwkrgItKqpd07yTPDVG\",\r\n \"payment_method_id\": \"pm_LR6jCdVNR85W6L1jYIeX\",\r\n \"customer_id\": \"cu_1737444493\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_issuer\": null,\r\n \"payment_method_issuer_code\": null,\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": false,\r\n \"payment_experience\": [\r\n \"redirect_to_url\"\r\n ],\r\n \"card\": {\r\n \"scheme\": null,\r\n \"issuer_country\": null,\r\n \"last4_digits\": \"1111\",\r\n \"expiry_month\": \"03\",\r\n \"expiry_year\": \"2030\",\r\n \"card_token\": null,\r\n \"card_holder_name\": \"name name\",\r\n \"card_fingerprint\": null,\r\n \"nick_name\": null,\r\n \"card_network\": null,\r\n \"card_isin\": \"411111\",\r\n \"card_issuer\": null,\r\n \"card_type\": null,\r\n \"saved_to_locker\": true\r\n },\r\n \"metadata\": null,\r\n \"created\": \"2025-01-21T07:28:15.607Z\",\r\n \"bank\": null,\r\n \"surcharge_details\": null,\r\n \"requires_cvv\": true,\r\n \"last_used_at\": \"2025-01-21T07:28:15.607Z\",\r\n \"default_payment_method_set\": true,\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"name\",\r\n \"last_name\": \"name\"\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n }\r\n }\r\n ],\r\n \"is_guest_customer\": false\r\n}\r\n```\r\n-> Confirm the payment with the above listed token and the `client_secret`\r\n```\r\ncurl --location 'http://localhost:8080/payments/pay_pG0kiVb7LLFH8zL2MwFk/confirm' \\\r\n--header 'api-key: pk_dev_b40ef36c556f4da5b6d4682fe66bceeb' \\\r\n--header 'Content-Type: application/json' \\\r\n--data-raw '{\r\n \"payment_token\": \"token_sBwkrgItKqpd07yTPDVG\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method\": \"card\",\r\n \"setup_future_usage\": \"off_session\",\r\n \"client_secret\": \"pay_pG0kiVb7LLFH8zL2MwFk_secret_ArZFjbGaLgfS9Xz75hcM\",\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"test\",\r\n \"country\": \"US\",\r\n \"line1\": \"here\",\r\n \"line2\": \"there\",\r\n \"line3\": \"anywhere\",\r\n \"zip\": \"560095\",\r\n \"state\": \"Washington\",\r\n \"first_name\": \"One\",\r\n \"last_name\": \"Two\"\r\n },\r\n \"phone\": {\r\n \"number\": \"1234567890\",\r\n \"country_code\": \"+1\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n }\r\n}'\r\n```\r\n```\r\n{\r\n \"payment_id\": \"pay_pG0kiVb7LLFH8zL2MwFk\",\r\n \"merchant_id\": \"merchant_1737444280\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 10000,\r\n \"net_amount\": 10000,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 10000,\r\n \"connector\": \"stripe\",\r\n \"client_secret\": \"pay_pG0kiVb7LLFH8zL2MwFk_secret_ArZFjbGaLgfS9Xz75hcM\",\r\n \"created\": \"2025-01-21T07:31:42.526Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"cu_1737444493\",\r\n \"customer\": {\r\n \"id\": \"cu_1737444493\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\"\r\n },\r\n \"description\": null,\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": \"off_session\",\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"last4\": \"1111\",\r\n \"card_type\": null,\r\n \"card_network\": null,\r\n \"card_issuer\": null,\r\n \"card_issuing_country\": null,\r\n \"card_isin\": \"411111\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_holder_name\": \"name name\",\r\n \"payment_checks\": null,\r\n \"authentication_data\": null\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": \"token_sBwkrgItKqpd07yTPDVG\",\r\n \"shipping\": null,\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"test\",\r\n \"country\": \"US\",\r\n \"line1\": \"here\",\r\n \"line2\": \"there\",\r\n \"line3\": \"anywhere\",\r\n \"zip\": \"560095\",\r\n \"state\": \"Washington\",\r\n \"first_name\": \"One\",\r\n \"last_name\": \"Two\"\r\n },\r\n \"phone\": {\r\n \"number\": \"1234567890\",\r\n \"country_code\": \"+1\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"order_details\": null,\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": null,\r\n \"authentication_type\": \"three_ds\",\r\n \"statement_descriptor_name\": null,\r\n \"statement_descriptor_suffix\": null,\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"credit\",\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": null,\r\n \"manual_retry_allowed\": false,\r\n \"connector_transaction_id\": \"pi_3Qjbx2EOqOywnAIx0fDT7TiV\",\r\n \"frm_message\": null,\r\n \"metadata\": null,\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"pi_3Qjbx2EOqOywnAIx0fDT7TiV\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_h1bdGYYiQic3IHdVU1Mm\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_yzI9tnLJezjQey1LjoCo\",\r\n \"incremental_authorization_allowed\": null,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-01-21T07:46:42.526Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"os_type\": null,\r\n \"language\": null,\r\n \"time_zone\": null,\r\n \"ip_address\": \"::1\",\r\n \"os_version\": null,\r\n \"user_agent\": null,\r\n \"color_depth\": null,\r\n \"device_model\": null,\r\n \"java_enabled\": null,\r\n \"screen_width\": null,\r\n \"accept_header\": null,\r\n \"screen_height\": null,\r\n \"java_script_enabled\": null\r\n },\r\n \"payment_method_id\": \"pm_LR6jCdVNR85W6L1jYIeX\",\r\n \"payment_method_status\": \"active\",\r\n \"updated\": \"2025-01-21T07:32:45.176Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": \"pm_1QjbsgEOqOywnAIxpfltM04Z\"\r\n}\r\n```\r\n-> Logs indicating `connector_mandate_id` was used to make MIT\r\n\r\n\r\n#### Recurring payment with different connector\r\nSince the initial CIT was processed using the Stripe payment method, the table will only contain the connector mandate ID for Stripe. Now that Cybersource has been chosen for the MIT, the payment should be processed through Cybersource using the network_transaction_id, and it should succeed.\r\n\r\n-> Configure another connector (stripe, adyen, or cybersource), other than the one used in CIT\r\n-> Create a payment for same customer with confirm false\r\n```\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: <api-key>' \\\r\n--header 'Content-Type: application/json' \\\r\n--data '{\r\n \"amount\": 10000,\r\n \"currency\": \"USD\",\r\n \"capture_method\": \"automatic\",\r\n \"authentication_type\": \"three_ds\",\r\n \"confirm\": false,\r\n \"customer_id\": \"cu_1737444493\"\r\n}'\r\n```\r\n```\r\n{\r\n \"payment_id\": \"pay_HEjhNaSLzmzi9i7hNQAf\",\r\n \"merchant_id\": \"merchant_1737444280\",\r\n \"status\": \"requires_payment_method\",\r\n \"amount\": 10000,\r\n \"net_amount\": 10000,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": null,\r\n \"connector\": null,\r\n \"client_secret\": \"pay_HEjhNaSLzmzi9i7hNQAf_secret_HukTuQYWnuiDSV6cHmz9\",\r\n \"created\": \"2025-01-21T07:43:14.695Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"cu_1737444493\",\r\n \"customer\": {\r\n \"id\": \"cu_1737444493\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\"\r\n },\r\n \"description\": null,\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": null,\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": null,\r\n \"payment_method_data\": null,\r\n \"payment_token\": null,\r\n \"shipping\": null,\r\n \"billing\": null,\r\n \"order_details\": null,\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": null,\r\n \"authentication_type\": \"three_ds\",\r\n \"statement_descriptor_name\": null,\r\n \"statement_descriptor_suffix\": null,\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": null,\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"cu_1737444493\",\r\n \"created_at\": 1737445394,\r\n \"expires\": 1737448994,\r\n \"secret\": \"epk_e470828aef5346b78806253351aa5283\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": null,\r\n \"frm_message\": null,\r\n \"metadata\": null,\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": null,\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_h1bdGYYiQic3IHdVU1Mm\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": null,\r\n \"incremental_authorization_allowed\": null,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-01-21T07:58:14.695Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": null,\r\n \"payment_method_id\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-01-21T07:43:14.712Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null\r\n}\r\n```\r\n-> List customer payment methods using the `client_secret`\r\n```\r\ncurl --location 'http://localhost:8080/customers/payment_methods?client_secret=pay_HEjhNaSLzmzi9i7hNQAf_secret_HukTuQYWnuiDSV6cHmz9' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: pk_dev_b40ef36c556f4da5b6d4682fe66bceeb'\r\n```\r\n```\r\n{\r\n \"customer_payment_methods\": [\r\n {\r\n \"payment_token\": \"token_NG5a2aePYBabkiDr0WTP\",\r\n \"payment_method_id\": \"pm_LR6jCdVNR85W6L1jYIeX\",\r\n \"customer_id\": \"cu_1737444493\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_issuer\": null,\r\n \"payment_method_issuer_code\": null,\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": false,\r\n \"payment_experience\": [\r\n \"redirect_to_url\"\r\n ],\r\n \"card\": {\r\n \"scheme\": null,\r\n \"issuer_country\": null,\r\n \"last4_digits\": \"1111\",\r\n \"expiry_month\": \"03\",\r\n \"expiry_year\": \"2030\",\r\n \"card_token\": null,\r\n \"card_holder_name\": \"name name\",\r\n \"card_fingerprint\": null,\r\n \"nick_name\": null,\r\n \"card_network\": null,\r\n \"card_isin\": \"411111\",\r\n \"card_issuer\": null,\r\n \"card_type\": null,\r\n \"saved_to_locker\": true\r\n },\r\n \"metadata\": null,\r\n \"created\": \"2025-01-21T07:28:15.607Z\",\r\n \"bank\": null,\r\n \"surcharge_details\": null,\r\n \"requires_cvv\": true,\r\n \"last_used_at\": \"2025-01-21T07:32:45.157Z\",\r\n \"default_payment_method_set\": true,\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"name\",\r\n \"last_name\": \"name\"\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n }\r\n }\r\n ],\r\n \"is_guest_customer\": false\r\n}\r\n```\r\n-> Since the initial CIT was processed using the Stripe payment method, the table will only contain the connector mandate ID for Stripe. Now that Cybersource has been chosen for the MIT, the payment should be processed through Cybersource using the network_transaction_id, and it should succeed.\r\n\r\n```\r\ncurl --location 'http://localhost:8080/payments/pay_HEjhNaSLzmzi9i7hNQAf/confirm' \\\r\n--header 'api-key: pk_dev_b40ef36c556f4da5b6d4682fe66bceeb' \\\r\n--header 'Content-Type: application/json' \\\r\n--data-raw '{\r\n \"payment_token\": \"token_NG5a2aePYBabkiDr0WTP\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method\": \"card\",\r\n \"setup_future_usage\": \"off_session\",\r\n \"client_secret\": \"pay_HEjhNaSLzmzi9i7hNQAf_secret_HukTuQYWnuiDSV6cHmz9\",\r\n \"routing\": {\r\n \"type\": \"single\",\r\n \"data\": {\r\n \"connector\": \"cybersource\",\r\n \"merchant_connector_id\": \"mca_Nz1gr4IIjucxP22LHe1C\"\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"test\",\r\n \"country\": \"US\",\r\n \"line1\": \"here\",\r\n \"line2\": \"there\",\r\n \"line3\": \"anywhere\",\r\n \"zip\": \"560095\",\r\n \"state\": \"Washington\",\r\n \"first_name\": \"One\",\r\n \"last_name\": \"Two\"\r\n },\r\n \"phone\": {\r\n \"number\": \"1234567890\",\r\n \"country_code\": \"+1\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n }\r\n}'\r\n```\r\n```\r\n{\r\n \"payment_id\": \"pay_HEjhNaSLzmzi9i7hNQAf\",\r\n \"merchant_id\": \"merchant_1737444280\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 10000,\r\n \"net_amount\": 10000,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 10000,\r\n \"connector\": \"cybersource\",\r\n \"client_secret\": \"pay_HEjhNaSLzmzi9i7hNQAf_secret_HukTuQYWnuiDSV6cHmz9\",\r\n \"created\": \"2025-01-21T07:43:14.695Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"cu_1737444493\",\r\n \"customer\": {\r\n \"id\": \"cu_1737444493\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\"\r\n },\r\n \"description\": null,\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": \"off_session\",\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"last4\": \"1111\",\r\n \"card_type\": null,\r\n \"card_network\": null,\r\n \"card_issuer\": null,\r\n \"card_issuing_country\": null,\r\n \"card_isin\": \"411111\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_holder_name\": \"name name\",\r\n \"payment_checks\": null,\r\n \"authentication_data\": null\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": \"token_NG5a2aePYBabkiDr0WTP\",\r\n \"shipping\": null,\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"test\",\r\n \"country\": \"US\",\r\n \"line1\": \"here\",\r\n \"line2\": \"there\",\r\n \"line3\": \"anywhere\",\r\n \"zip\": \"560095\",\r\n \"state\": \"Washington\",\r\n \"first_name\": \"One\",\r\n \"last_name\": \"Two\"\r\n },\r\n \"phone\": {\r\n \"number\": \"1234567890\",\r\n \"country_code\": \"+1\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"order_details\": null,\r\n \"email\": \"guest@example.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": null,\r\n \"authentication_type\": \"three_ds\",\r\n \"statement_descriptor_name\": null,\r\n \"statement_descriptor_suffix\": null,\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"credit\",\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": null,\r\n \"manual_retry_allowed\": false,\r\n \"connector_transaction_id\": \"7374456386026828504805\",\r\n \"frm_message\": null,\r\n \"metadata\": null,\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"pay_HEjhNaSLzmzi9i7hNQAf_1\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_h1bdGYYiQic3IHdVU1Mm\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_Nz1gr4IIjucxP22LHe1C\",\r\n \"incremental_authorization_allowed\": false,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-01-21T07:58:14.695Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"os_type\": null,\r\n \"language\": null,\r\n \"time_zone\": null,\r\n \"ip_address\": \"::1\",\r\n \"os_version\": null,\r\n \"user_agent\": null,\r\n \"color_depth\": null,\r\n \"device_model\": null,\r\n \"java_enabled\": null,\r\n \"screen_width\": null,\r\n \"accept_header\": null,\r\n \"screen_height\": null,\r\n \"java_script_enabled\": null\r\n },\r\n \"payment_method_id\": \"pm_LR6jCdVNR85W6L1jYIeX\",\r\n \"payment_method_status\": \"active\",\r\n \"updated\": \"2025-01-21T07:47:19.698Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null\r\n}\r\n```\r\n-> Logs indicating `network_transaction_id` was used to make MIT\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible",
|
| 5 |
+
"author": "ShankarSinghC",
|
| 6 |
+
"created_at": "2025-01-21T07:40:34+00:00",
|
| 7 |
+
"merged_at": "2025-01-28T21:02:35+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-core",
|
| 11 |
+
"A-payment-methods",
|
| 12 |
+
"C-refactor",
|
| 13 |
+
"A-payments"
|
| 14 |
+
],
|
| 15 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7081",
|
| 16 |
+
"commits": [
|
| 17 |
+
{
|
| 18 |
+
"sha": "c1edf5ef27c243646f7556604d379b669a16688f",
|
| 19 |
+
"message": "refactor(router): prioritise connector_mandate_id over network_transaction_id during MITs",
|
| 20 |
+
"author": "Shankar Singh C",
|
| 21 |
+
"date": "2025-01-21T06:47:06+00:00",
|
| 22 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c1edf5ef27c243646f7556604d379b669a16688f"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"sha": "7b8a37d049d97ea58ce1acb61856a65fa7459859",
|
| 26 |
+
"message": "Merge branch 'main' into ntid/refactor-mit-priority",
|
| 27 |
+
"author": "Shankar Singh C",
|
| 28 |
+
"date": "2025-01-21T07:40:53+00:00",
|
| 29 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7b8a37d049d97ea58ce1acb61856a65fa7459859"
|
| 30 |
+
}
|
| 31 |
+
]
|
| 32 |
+
}
|
prs/pr_7130.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7130,
|
| 3 |
+
"title": "fix(dashboard_metadata): mask `poc_email` and `data_value` for DashboardMetadata",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] Bugfix\r\n- [ ] New feature\r\n- [x] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n- (api_models): change the `poc_email` type to `Secret<String>` \r\n - Add some `pii::Email` validation to check for input validity\r\n- (diesel_models): change `data_value` to `Secret<serde_json::Value>`\r\n\r\n## Fixes #7128 \r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n`poc_email` isn't masked for `DashboardMetadata` which leads to it being logged both at API and diesel query level.\r\n\r\nExample:\r\n<img width=\"1114\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/8aa98114-b492-40bf-bddf-68323f86ffc0\" />\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\nCurl to set metadata:\r\n```bash\r\ncurl --location 'http://localhost:8080/user/data' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: Bearer {{TOKEN}}' \\\r\n--data '\r\n{\r\n \"ProdIntent\": {\r\n \"is_completed\": true,\r\n \"legal_business_name\": \"test\",\r\n \"business_label\": \"test\",\r\n \"business_location\": \"US\",\r\n \"display_name\": \"test\",\r\n \"poc_email\": \"test@gmail.com\",\r\n \"business_type\": \"test\",\r\n \"business_identifier\": \"test\",\r\n \"business_website\": \"test\",\r\n \"poc_name\": \"test\",\r\n \"poc_contact\": \"test\",\r\n \"comments\": \"test\"\r\n }\r\n} \r\n'\r\n```\r\nResult: \r\n\r\n<img width=\"815\" alt=\"Screenshot 2025-01-28 at 3 03 49\u202fPM\" src=\"https://github.com/user-attachments/assets/039d9ee6-88f3-4213-92d6-0f6dba73c010\" />\r\n\r\n\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "maverox",
|
| 6 |
+
"created_at": "2025-01-28T09:34:50+00:00",
|
| 7 |
+
"merged_at": "2025-02-06T15:16:20+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-bug",
|
| 11 |
+
"A-users"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7130",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "d68b6c7afb2ab91395ad4a88bc55e7050d522fdb",
|
| 17 |
+
"message": "feat(diesel_models): change type of `data_value` field to `Secret<serd_json::Value>`",
|
| 18 |
+
"author": "uzair khan",
|
| 19 |
+
"date": "2025-01-28T09:17:05+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d68b6c7afb2ab91395ad4a88bc55e7050d522fdb"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "9bbff007036fff6331e26f5d4fa6a13fa9d2bdf1",
|
| 24 |
+
"message": "feat(api_models): change type of `poc_email` field in `ProdIntent` struct",
|
| 25 |
+
"author": "uzair khan",
|
| 26 |
+
"date": "2025-01-28T09:17:51+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9bbff007036fff6331e26f5d4fa6a13fa9d2bdf1"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "a8b63c40b6dda6ad3983a858508d8084e64701cc",
|
| 31 |
+
"message": "feat(router): add email input validation on set_dashboard_metadata on ProdIntent key",
|
| 32 |
+
"author": "uzair khan",
|
| 33 |
+
"date": "2025-01-28T09:18:27+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a8b63c40b6dda6ad3983a858508d8084e64701cc"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "c9fcba8a329f46e54adb278b979f7da68be9cf3f",
|
| 38 |
+
"message": "feat(router): improve `not_contains_string()` function",
|
| 39 |
+
"author": "uzair khan",
|
| 40 |
+
"date": "2025-01-28T11:40:49+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c9fcba8a329f46e54adb278b979f7da68be9cf3f"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "fc80d2340b492a0ab61dbf9e62d024c0a0e60a55",
|
| 45 |
+
"message": "chore: address clippy warns",
|
| 46 |
+
"author": "uzair khan",
|
| 47 |
+
"date": "2025-01-28T11:52:47+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fc80d2340b492a0ab61dbf9e62d024c0a0e60a55"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "a5f66d8b85032619c10c144f82f85077e6bc460c",
|
| 52 |
+
"message": "chore: address clippy_v2 warns",
|
| 53 |
+
"author": "uzair khan",
|
| 54 |
+
"date": "2025-01-28T18:25:29+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a5f66d8b85032619c10c144f82f85077e6bc460c"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"sha": "81927f8bf4a3d32efa4944ec5be1014dcf40c24c",
|
| 59 |
+
"message": "Merge branch 'main' into pii-leak-dashboard-metadata",
|
| 60 |
+
"author": "uzair khan",
|
| 61 |
+
"date": "2025-01-28T18:27:27+00:00",
|
| 62 |
+
"url": "https://github.com/juspay/hyperswitch/commit/81927f8bf4a3d32efa4944ec5be1014dcf40c24c"
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"sha": "7fb904426051607c595a0dfc2fc7315d9ace7d42",
|
| 66 |
+
"message": "Merge branch 'main' into pii-leak-dashboard-metadata",
|
| 67 |
+
"author": "Uzair Khan",
|
| 68 |
+
"date": "2025-01-29T07:51:55+00:00",
|
| 69 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7fb904426051607c595a0dfc2fc7315d9ace7d42"
|
| 70 |
+
}
|
| 71 |
+
]
|
| 72 |
+
}
|
prs/pr_7187.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7187,
|
| 3 |
+
"title": "build(deps): bump `openssl` from 0.10.66 to 0.10.70",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [x] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nUpdate openssl dependency from `version = \"0.10.66\"` to `version = \"0.10.70\"`\r\nThis pr also updates openssl-sys transitive dependency from `version = \"0.9.103\"` to `version = \"0.9.105\"`\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\nopenssl patch version `0.10.70` release\r\n\r\nWe've had to update the `openssl` crate due to the advisory GHSA-rpmj-rpgj-qmpm that was recently published against the crate.\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\nVerified by code compilation\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "ShankarSinghC",
|
| 6 |
+
"created_at": "2025-02-04T14:16:22+00:00",
|
| 7 |
+
"merged_at": "2025-02-05T14:36:59+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-dependencies"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7187",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "5a61911bc93be5a62182ce5ff5f3509b70e15ea8",
|
| 16 |
+
"message": "chore: update openssl dependency",
|
| 17 |
+
"author": "Shankar Singh C",
|
| 18 |
+
"date": "2025-02-04T14:10:56+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5a61911bc93be5a62182ce5ff5f3509b70e15ea8"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "4bdd71728679bc8ef4837e44cf83c8ff58c44ef8",
|
| 23 |
+
"message": "Merge branch 'main' into update-openssl",
|
| 24 |
+
"author": "Shankar Singh C",
|
| 25 |
+
"date": "2025-02-04T14:16:45+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4bdd71728679bc8ef4837e44cf83c8ff58c44ef8"
|
| 27 |
+
}
|
| 28 |
+
]
|
| 29 |
+
}
|
prs/pr_7209.json
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7209,
|
| 3 |
+
"title": "refactor(core): add support for expand attempt list in psync v2",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [x] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nWe have expand attempts list in v1 payment sync response which is used by dashboard team. We need similar support in v2. By passing expand_attempts in psync query param, vector of payment attempts associated with the intent will be returned in the payments get response.\r\n\r\n### Additional Changes\r\n\r\n- [x] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\nCreate payment intent and confirm the payment intent\r\n\r\nTest case 1 : pass expand_attempts=true in payment get api \r\n\r\n```\r\ncurl --location 'http://localhost:8080/v2/payments/12345_pay_0194eebea0707450881ed032755a27b7?expand_attempts=true' \\\r\n--header 'x-profile-id: pro_IpmUlwVXURuANo3ccFs0' \\\r\n--header 'api-key: dev_2my3hexC89mfCakPBewDWUw8Bzv4B1f00ytCBztsihHAfbVGhu3a7SGL5cSITK0K' \\\r\n--data ''\r\n```\r\nResponse : \r\n```\r\n{\r\n \"id\": \"12345_pay_0194eebea0707450881ed032755a27b7\",\r\n \"status\": \"failed\",\r\n \"amount\": {\r\n \"order_amount\": 100,\r\n \"currency\": \"USD\",\r\n \"shipping_cost\": null,\r\n \"order_tax_amount\": null,\r\n \"external_tax_calculation\": \"skip\",\r\n \"surcharge_calculation\": \"skip\",\r\n \"surcharge_amount\": null,\r\n \"tax_on_surcharge\": null,\r\n \"net_amount\": 100,\r\n \"amount_to_capture\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_captured\": null\r\n },\r\n \"customer_id\": null,\r\n \"connector\": \"stripe\",\r\n \"client_secret\": \"12345_pay_0194eebea0707450881ed032755a27b7_secret_0194eebea0767932ab120325b3a4e16d\",\r\n \"created\": \"2025-02-10T07:24:17.910Z\",\r\n \"payment_method_data\": {\r\n \"billing\": null\r\n },\r\n \"payment_method_type\": \"card\",\r\n \"payment_method_subtype\": \"credit\",\r\n \"connector_transaction_id\": null,\r\n \"connector_reference_id\": null,\r\n \"merchant_connector_id\": \"mca_2iDdLhFi0qpgbqzARCBQ\",\r\n \"browser_info\": null,\r\n \"error\": {\r\n \"code\": \"invalid_expiry_month\",\r\n \"message\": \"Your card's expiration month is invalid.\",\r\n \"unified_code\": null,\r\n \"unified_message\": null\r\n },\r\n \"shipping\": {\r\n \"address\": {\r\n \"city\": \"Karwar\",\r\n \"country\": null,\r\n \"line1\": null,\r\n \"line2\": null,\r\n \"line3\": null,\r\n \"zip\": \"581301\",\r\n \"state\": \"Karnataka\",\r\n \"first_name\": \"John\",\r\n \"last_name\": \"Dough\"\r\n },\r\n \"phone\": null,\r\n \"email\": \"example@example.com\"\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": null,\r\n \"country\": null,\r\n \"line1\": null,\r\n \"line2\": null,\r\n \"line3\": null,\r\n \"zip\": null,\r\n \"state\": null,\r\n \"first_name\": \"John\",\r\n \"last_name\": \"Dough\"\r\n },\r\n \"phone\": null,\r\n \"email\": \"example@example.com\"\r\n },\r\n \"attempts\": [\r\n {\r\n \"id\": \"12345_att_0194eebecdf97ec28ca55a5b24d25936\",\r\n \"status\": \"started\",\r\n \"amount\": {\r\n \"net_amount\": 100,\r\n \"amount_to_capture\": null,\r\n \"surcharge_amount\": null,\r\n \"tax_on_surcharge\": null,\r\n \"amount_capturable\": 0,\r\n \"shipping_cost\": null,\r\n \"order_tax_amount\": null\r\n },\r\n \"connector\": \"stripe\",\r\n \"error\": {\r\n \"code\": \"invalid_expiry_month\",\r\n \"message\": \"Your card's expiration month is invalid.\",\r\n \"unified_code\": null,\r\n \"unified_message\": null\r\n },\r\n \"authentication_type\": \"no_three_ds\",\r\n \"created_at\": \"2025-02-10T07:24:29.561Z\",\r\n \"modified_at\": \"2025-02-10T07:24:30.214Z\",\r\n \"cancellation_reason\": null,\r\n \"payment_token\": null,\r\n \"connector_metadata\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"card\",\r\n \"connector_reference_id\": null,\r\n \"payment_method_subtype\": \"credit\",\r\n \"connector_payment_id\": null,\r\n \"payment_method_id\": null,\r\n \"client_source\": null,\r\n \"client_version\": null\r\n }\r\n ]\r\n}\r\n```\r\n\r\nTestCase 2 : pass exapand_attemps = false or don't pass it in the query params, This should make attempts field in the response to null.\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "srujanchikke",
|
| 6 |
+
"created_at": "2025-02-07T09:28:35+00:00",
|
| 7 |
+
"merged_at": "2025-02-11T11:34:47+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-core",
|
| 11 |
+
"M-database-changes",
|
| 12 |
+
"M-api-contract-changes",
|
| 13 |
+
"api-v2"
|
| 14 |
+
],
|
| 15 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7209",
|
| 16 |
+
"commits": [
|
| 17 |
+
{
|
| 18 |
+
"sha": "e090d6e08851c3894eadd6bac1a0450c61055449",
|
| 19 |
+
"message": "add support for expand attempt list in psync_v2",
|
| 20 |
+
"author": "Chikke Srujan",
|
| 21 |
+
"date": "2025-02-07T09:27:38+00:00",
|
| 22 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e090d6e08851c3894eadd6bac1a0450c61055449"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"sha": "0d23d0df80450279b3747ee2f6c5e9104e615b3c",
|
| 26 |
+
"message": "chore: run formatter",
|
| 27 |
+
"author": "hyperswitch-bot[bot]",
|
| 28 |
+
"date": "2025-02-07T09:30:04+00:00",
|
| 29 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0d23d0df80450279b3747ee2f6c5e9104e615b3c"
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"sha": "b27a648924d2bd4e6bca647c1b11513c4aecc161",
|
| 33 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 34 |
+
"author": "hyperswitch-bot[bot]",
|
| 35 |
+
"date": "2025-02-07T09:43:14+00:00",
|
| 36 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b27a648924d2bd4e6bca647c1b11513c4aecc161"
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"sha": "89c386b6bbd7b13d59329ea5270bd9f35a4d9f3d",
|
| 40 |
+
"message": "add api models in payment retrieve request",
|
| 41 |
+
"author": "Chikke Srujan",
|
| 42 |
+
"date": "2025-02-10T07:44:23+00:00",
|
| 43 |
+
"url": "https://github.com/juspay/hyperswitch/commit/89c386b6bbd7b13d59329ea5270bd9f35a4d9f3d"
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"sha": "4cb1db0b896963cccf3a3797dd6b3f91ab2a4e8f",
|
| 47 |
+
"message": "add openapi spec v2",
|
| 48 |
+
"author": "Chikke Srujan",
|
| 49 |
+
"date": "2025-02-10T07:58:46+00:00",
|
| 50 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4cb1db0b896963cccf3a3797dd6b3f91ab2a4e8f"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"sha": "67f199bade1ef3a8bc55cf7abe8f5a10e27da759",
|
| 54 |
+
"message": "chore: run formatter",
|
| 55 |
+
"author": "hyperswitch-bot[bot]",
|
| 56 |
+
"date": "2025-02-10T08:34:32+00:00",
|
| 57 |
+
"url": "https://github.com/juspay/hyperswitch/commit/67f199bade1ef3a8bc55cf7abe8f5a10e27da759"
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"sha": "c5d91917712e5c7ae39c0046cccab288e95b9037",
|
| 61 |
+
"message": "minor refactor",
|
| 62 |
+
"author": "Chikke Srujan",
|
| 63 |
+
"date": "2025-02-10T08:39:26+00:00",
|
| 64 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c5d91917712e5c7ae39c0046cccab288e95b9037"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"sha": "d9c4f5bce117327519fd0bc7d75f1dcb275de3f9",
|
| 68 |
+
"message": "revert v2 config",
|
| 69 |
+
"author": "Chikke Srujan",
|
| 70 |
+
"date": "2025-02-10T08:42:48+00:00",
|
| 71 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d9c4f5bce117327519fd0bc7d75f1dcb275de3f9"
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"sha": "93450cf21bc6fece6febdd19422de8476b898533",
|
| 75 |
+
"message": "clippy fix",
|
| 76 |
+
"author": "Chikke Srujan",
|
| 77 |
+
"date": "2025-02-10T09:21:13+00:00",
|
| 78 |
+
"url": "https://github.com/juspay/hyperswitch/commit/93450cf21bc6fece6febdd19422de8476b898533"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"sha": "4ddec31deb4a31c19cf2909bbedbdf7f5dae8bfc",
|
| 82 |
+
"message": "create index for payment_id",
|
| 83 |
+
"author": "Chikke Srujan",
|
| 84 |
+
"date": "2025-02-10T10:43:34+00:00",
|
| 85 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4ddec31deb4a31c19cf2909bbedbdf7f5dae8bfc"
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"sha": "e2d33c70ffc6685438f66a0258aaa57a3e661526",
|
| 89 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 90 |
+
"author": "hyperswitch-bot[bot]",
|
| 91 |
+
"date": "2025-02-10T12:04:07+00:00",
|
| 92 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e2d33c70ffc6685438f66a0258aaa57a3e661526"
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"sha": "c1bb435c521d21e88209e5358df0d4b0c116b9f2",
|
| 96 |
+
"message": "ci fix",
|
| 97 |
+
"author": "Chikke Srujan",
|
| 98 |
+
"date": "2025-02-10T15:38:20+00:00",
|
| 99 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c1bb435c521d21e88209e5358df0d4b0c116b9f2"
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"sha": "51fe8140b20ed77923299b2c98376ec787ca1e1e",
|
| 103 |
+
"message": "Merge branch 'main' into expand_attempts",
|
| 104 |
+
"author": "chikke srujan",
|
| 105 |
+
"date": "2025-02-10T15:38:36+00:00",
|
| 106 |
+
"url": "https://github.com/juspay/hyperswitch/commit/51fe8140b20ed77923299b2c98376ec787ca1e1e"
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"sha": "141f03130a17a90831839af691da9c51c7da5efc",
|
| 110 |
+
"message": "resolve comments",
|
| 111 |
+
"author": "Chikke Srujan",
|
| 112 |
+
"date": "2025-02-11T04:39:34+00:00",
|
| 113 |
+
"url": "https://github.com/juspay/hyperswitch/commit/141f03130a17a90831839af691da9c51c7da5efc"
|
| 114 |
+
}
|
| 115 |
+
]
|
| 116 |
+
}
|
prs/pr_7216.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7216,
|
| 3 |
+
"title": "feat(connector): [Moneris] add template code",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [x] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n- Template Code for addition of new connector Moneris\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\nNo testing required\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] I formatted the code `cargo +nightly fmt --all`\r\n- [ ] I addressed lints thrown by `cargo clippy`\r\n- [ ] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "swangi-kumari",
|
| 6 |
+
"created_at": "2025-02-07T11:17:50+00:00",
|
| 7 |
+
"merged_at": "2025-02-13T10:29:15+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration",
|
| 11 |
+
"C-feature"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7216",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "8a7f620e0cd6e88a634cd29cc966045766e2a8b7",
|
| 17 |
+
"message": "feat(connector): add template code for Moneris",
|
| 18 |
+
"author": "swangi-kumari",
|
| 19 |
+
"date": "2025-02-07T11:06:47+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8a7f620e0cd6e88a634cd29cc966045766e2a8b7"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "8214849573447d88b886cc5d45f11768c02a337f",
|
| 24 |
+
"message": "refactor: formatting",
|
| 25 |
+
"author": "swangi-kumari",
|
| 26 |
+
"date": "2025-02-07T11:17:40+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8214849573447d88b886cc5d45f11768c02a337f"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "c416f1a000641d3f9db100ab350e150a32dd6cc1",
|
| 31 |
+
"message": "refactor: resolve conflicts",
|
| 32 |
+
"author": "swangi-kumari",
|
| 33 |
+
"date": "2025-02-07T11:54:58+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c416f1a000641d3f9db100ab350e150a32dd6cc1"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "833cd1c81b1c1165045232c3f615ef33acab7005",
|
| 38 |
+
"message": "refactor: resolve conflicts",
|
| 39 |
+
"author": "swangi-kumari",
|
| 40 |
+
"date": "2025-02-12T09:19:57+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/833cd1c81b1c1165045232c3f615ef33acab7005"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "3b9b8a55e4e3b0770a483dd063a1120f0d61a93f",
|
| 45 |
+
"message": "chore: run formatter",
|
| 46 |
+
"author": "hyperswitch-bot[bot]",
|
| 47 |
+
"date": "2025-02-12T09:54:39+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3b9b8a55e4e3b0770a483dd063a1120f0d61a93f"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "ee66016a2669adf2848243d6edb2d4b2185201a8",
|
| 52 |
+
"message": "refactor: clippy",
|
| 53 |
+
"author": "swangi-kumari",
|
| 54 |
+
"date": "2025-02-12T10:31:11+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ee66016a2669adf2848243d6edb2d4b2185201a8"
|
| 56 |
+
}
|
| 57 |
+
]
|
| 58 |
+
}
|
prs/pr_7218.json
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7218,
|
| 3 |
+
"title": "feat(core): add hypersense integration api ",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [x] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n#### Endpoints\r\n- GET `hypersense/token` (returns hypersense token).\r\n- POST `hypersense/verify_token` (verifies the token passed as payload).\r\n- POST `hypersense/signout` (invalidates the token).\r\n\r\n \r\n### Additional Changes\r\n\r\n- [x] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n#### `external_service_auth` module and `ExternalToken`\r\n- `external_service_auth` is a generic service used to issue, verify and invalidate `ExternalToken`,\r\nwhich can be associated with an external service using the enum field `external_service_type: ExternalServiceType` in the `ExternalToken`.\r\n- Essentially a new service can be integrated by simply creating routes and handlers, and calling the same core functions \r\nspecified in `external_service_auth` modules.\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n### Hypersense\r\n#### Description:\r\n##### An AI Ops tool build for Payments Cost Observability\r\n- Monitor your overall transaction payment-related costs across multiple regions, PSPs, and businesses. \r\n- Obtain actionable insights to optimise costs, track cost deviations, and effectively audit PSP invoices.\r\n\r\nLearn more: [Hypersense site](https://www.hypersense.io/)\r\n#### Purpose of Change\r\nTo integrate hypersense with hyperswitch dashboard.\r\n\r\n## Fixes #7217 \r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n1. get the hypersense_token from the response by hitting this curl.\r\n```sh\r\ncurl --location '<BASE_URL>/hypersense/token' \\\r\n--header 'Authorization: Bearer <TOKEN>'\r\n```\r\n2. using the token obtained above try hitting this to verify.\r\n```sh\r\ncurl --location '<BASE_URL>/hypersense/verify_token' \\\r\n--header 'Content-Type: application/json' \\\r\n--data '{\r\n \"token\": \"<HYPERSENSE_TOKEN>\"\r\n}'\r\n```\r\n3. signout to invalidate this token\r\n```sh\r\ncurl --location '<BASE_URL>//hypersense/signout' \\\r\n--header 'Content-Type: application/json' \\\r\n--data '{\r\n \"token\": \"<HYPERSENSE_TOKEN>\"\r\n}'\r\n```\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "maverox",
|
| 6 |
+
"created_at": "2025-02-07T11:38:25+00:00",
|
| 7 |
+
"merged_at": "2025-02-19T08:52:58+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-core",
|
| 11 |
+
"C-feature"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7218",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "10db6b07cd3da01e2030e3d167bbf3e210eb158d",
|
| 17 |
+
"message": "feat(api_models): add Hypersense response and request types",
|
| 18 |
+
"author": "uzair khan",
|
| 19 |
+
"date": "2025-01-22T07:17:17+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/10db6b07cd3da01e2030e3d167bbf3e210eb158d"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "dd99de9f950da9ecb21b295442b30aebd7e35973",
|
| 24 |
+
"message": "feat(router): Add get and verify token api for hypersense",
|
| 25 |
+
"author": "uzair khan",
|
| 26 |
+
"date": "2025-01-22T09:53:51+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/dd99de9f950da9ecb21b295442b30aebd7e35973"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "2e5c8cbba4bcf047452eb3c8a3ed8ddd23362b70",
|
| 31 |
+
"message": "feat(api_models): add name field in `verify_token` response",
|
| 32 |
+
"author": "uzair khan",
|
| 33 |
+
"date": "2025-01-22T09:54:23+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2e5c8cbba4bcf047452eb3c8a3ed8ddd23362b70"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "7f285e84df3f26b48b165f9a542919154b0b8b18",
|
| 38 |
+
"message": "Merge branch 'main' into hypersense-api",
|
| 39 |
+
"author": "uzair khan",
|
| 40 |
+
"date": "2025-01-22T10:00:16+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7f285e84df3f26b48b165f9a542919154b0b8b18"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "7814e7edd6fe29923c1a60fb994dbf4d1010f594",
|
| 45 |
+
"message": "feat(api_models, router): add `/logout` api for logout and invalidating token functionality",
|
| 46 |
+
"author": "uzair khan",
|
| 47 |
+
"date": "2025-01-23T14:07:47+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7814e7edd6fe29923c1a60fb994dbf4d1010f594"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "2a37192a1e1d5438bff3967335e8fb73494d5cf9",
|
| 52 |
+
"message": "feat(router): change the type of logout and verify request to POST",
|
| 53 |
+
"author": "uzair khan",
|
| 54 |
+
"date": "2025-01-23T14:19:22+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2a37192a1e1d5438bff3967335e8fb73494d5cf9"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"sha": "db3c359c132642f3560b644fa235590a8262b713",
|
| 59 |
+
"message": "chore: address clippy lint",
|
| 60 |
+
"author": "uzair khan",
|
| 61 |
+
"date": "2025-02-07T11:44:29+00:00",
|
| 62 |
+
"url": "https://github.com/juspay/hyperswitch/commit/db3c359c132642f3560b644fa235590a8262b713"
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"sha": "606e42901b85f160b1bfeb2e2b7c2d227fcb400f",
|
| 66 |
+
"message": "chore: cargo fmt",
|
| 67 |
+
"author": "uzair khan",
|
| 68 |
+
"date": "2025-02-07T11:44:50+00:00",
|
| 69 |
+
"url": "https://github.com/juspay/hyperswitch/commit/606e42901b85f160b1bfeb2e2b7c2d227fcb400f"
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"sha": "c132640be56b074124536a150988c1afc8232ffc",
|
| 73 |
+
"message": "refactor: change naming from `logout` to `signout`",
|
| 74 |
+
"author": "uzair khan",
|
| 75 |
+
"date": "2025-02-11T07:50:43+00:00",
|
| 76 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c132640be56b074124536a150988c1afc8232ffc"
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"sha": "849db478e29497fff42aec773ddca41dd2998de2",
|
| 80 |
+
"message": "refactor: remove fmt::Display impl with strum::Display",
|
| 81 |
+
"author": "uzair khan",
|
| 82 |
+
"date": "2025-02-11T11:18:46+00:00",
|
| 83 |
+
"url": "https://github.com/juspay/hyperswitch/commit/849db478e29497fff42aec773ddca41dd2998de2"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"sha": "f4ac41a0213ce5367afe69d24359cd8376b298c2",
|
| 87 |
+
"message": "refactor: remove get_user_from_db impl for ExternalToken",
|
| 88 |
+
"author": "uzair khan",
|
| 89 |
+
"date": "2025-02-11T11:19:16+00:00",
|
| 90 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f4ac41a0213ce5367afe69d24359cd8376b298c2"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"sha": "d5079b1038e44875a7eb365fe13cf0ebbe050885",
|
| 94 |
+
"message": "Merge branch 'main' into hypersense-api",
|
| 95 |
+
"author": "Uzair Khan",
|
| 96 |
+
"date": "2025-02-11T13:45:06+00:00",
|
| 97 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d5079b1038e44875a7eb365fe13cf0ebbe050885"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"sha": "9cff7d57097b874b770ae8bfb5d550db4aa790ca",
|
| 101 |
+
"message": "chore: run formatter",
|
| 102 |
+
"author": "hyperswitch-bot[bot]",
|
| 103 |
+
"date": "2025-02-11T14:20:15+00:00",
|
| 104 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9cff7d57097b874b770ae8bfb5d550db4aa790ca"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"sha": "5085d218b97feec760c612df3b4db9d6e09b2035",
|
| 108 |
+
"message": "feat(external_service_auth): make the external service auth more generic at the core level\n\n- renamed hypersense tagged functionalities from core onwards\n- essentially all external services will converge from route handler to\na single core token generation, verification and invalidation logic.",
|
| 109 |
+
"author": "uzair khan",
|
| 110 |
+
"date": "2025-02-13T12:13:56+00:00",
|
| 111 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5085d218b97feec760c612df3b4db9d6e09b2035"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"sha": "78c2e941d82f11f69dc029182937841b48e6c060",
|
| 115 |
+
"message": "feat(api_events): change the api events type to generic ExternalServiceAuth",
|
| 116 |
+
"author": "uzair khan",
|
| 117 |
+
"date": "2025-02-14T09:52:00+00:00",
|
| 118 |
+
"url": "https://github.com/juspay/hyperswitch/commit/78c2e941d82f11f69dc029182937841b48e6c060"
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"sha": "382be8918d6e702b79135ed490f015d4f351eac7",
|
| 122 |
+
"message": "refactor(external_service_auth): change variable name and us `fp_utils::when()`",
|
| 123 |
+
"author": "uzair khan",
|
| 124 |
+
"date": "2025-02-14T09:53:18+00:00",
|
| 125 |
+
"url": "https://github.com/juspay/hyperswitch/commit/382be8918d6e702b79135ed490f015d4f351eac7"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"sha": "de48d32f1836a7064a94e717d246b73f0868b0f7",
|
| 129 |
+
"message": "chore: addressing clippy_v2 lints",
|
| 130 |
+
"author": "uzair khan",
|
| 131 |
+
"date": "2025-02-14T10:14:01+00:00",
|
| 132 |
+
"url": "https://github.com/juspay/hyperswitch/commit/de48d32f1836a7064a94e717d246b73f0868b0f7"
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"sha": "0525b8a2038e8e91b7ad712ba1756cd66b46b488",
|
| 136 |
+
"message": "feat: change apiEventsType for ExternalVerifyTokenResponse",
|
| 137 |
+
"author": "uzair khan",
|
| 138 |
+
"date": "2025-02-14T11:15:33+00:00",
|
| 139 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0525b8a2038e8e91b7ad712ba1756cd66b46b488"
|
| 140 |
+
}
|
| 141 |
+
]
|
| 142 |
+
}
|
prs/pr_7242.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7242,
|
| 3 |
+
"title": "fix(connector): [fiuu] update PSync and webhooks response",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\nHotfix for https://github.com/juspay/hyperswitch/pull/7211\r\n\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\nHelps fix Fiuu connector specifically for DuitNow.\r\n\r\n## How did you test it?\r\nDuitNow cannot be tested. Updated based on API documentation.\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "kashif-m",
|
| 6 |
+
"created_at": "2025-02-11T08:12:49+00:00",
|
| 7 |
+
"merged_at": "2025-02-11T11:32:38+00:00",
|
| 8 |
+
"base_branch": "hotfix-2025.02.05.0",
|
| 9 |
+
"labels": [],
|
| 10 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7242",
|
| 11 |
+
"commits": [
|
| 12 |
+
{
|
| 13 |
+
"sha": "cdea3f3511bd56cdb6d843ef04b3ad588533b02c",
|
| 14 |
+
"message": "fix(connector): [fiuu] update PSync and webhooks response (#7211)\n\n(cherry picked from commit 1c54211b2f8aa650fc4dbb7ab3d796e21d50461a)",
|
| 15 |
+
"author": "Kashif",
|
| 16 |
+
"date": "2025-02-10T05:52:54+00:00",
|
| 17 |
+
"url": "https://github.com/juspay/hyperswitch/commit/cdea3f3511bd56cdb6d843ef04b3ad588533b02c"
|
| 18 |
+
}
|
| 19 |
+
]
|
| 20 |
+
}
|
prs/pr_7259.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7259,
|
| 3 |
+
"title": "ci(nix): update om command invocation",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [x] CI/CD\r\n\r\n## Description\r\nUpdates `om` CLI invocation based on this PR - https://github.com/juspay/omnix/pull/417\r\n\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\nThis fixes CI Nix workflow for GitHub actions which is run as a part of PR checks.\r\n\r\n## How did you test it?\r\nIn this PR - CI Nix workflow should not fail.\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] I formatted the code `cargo +nightly fmt --all`\r\n- [ ] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "kashif-m",
|
| 6 |
+
"created_at": "2025-02-13T06:52:40+00:00",
|
| 7 |
+
"merged_at": "2025-02-14T10:53:13+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-CI-CD"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7259",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "83b8b7bc283f7f7bef729b3c666cf9887a800dfa",
|
| 16 |
+
"message": "ci(nix): update om command invocatino",
|
| 17 |
+
"author": "Kashif",
|
| 18 |
+
"date": "2025-02-13T06:48:24+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/83b8b7bc283f7f7bef729b3c666cf9887a800dfa"
|
| 20 |
+
}
|
| 21 |
+
]
|
| 22 |
+
}
|
prs/pr_7270.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7270,
|
| 3 |
+
"title": "fix(payment_methods_v2): update fingerprint implementation in v2",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n fix fingerprint implementation in v2.\r\n \r\n Earlier, Card number is sent as the key to generate fingerprint, which restricted us to add same card for different customer and different merchant.\r\n \r\nthis 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.\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\ntest case- same card can be added for different customers.\r\n```\r\ncurl --location 'http://localhost:8080/v2/payment-methods' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'X-Profile-Id: pro_nZPdPtZmxxlxBQxxDsTM' \\\r\n--header 'api-key: dev_UblADk7XfAj2jCugEm86wsb84vmJWIYjm7TAQ6OgsQnYLpdKIywodo8BMPbP7hIP' \\\r\n--data '{\r\n \"customer_id\": \"12345_cus_019503c1a84975f1aabe5c71981158c1\",\r\n \"payment_method_type\": \"card\",\r\n \"payment_method_subtype\": \"credit\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"card_number\",\r\n \"card_exp_month\": \"12\",\r\n \"card_exp_year\": \"2026\",\r\n \"card_holder_name\": \"joseph Doe\"\r\n }\r\n }\r\n}'\r\n```\r\nresponse - \r\n```\r\n{\r\n \"id\": \"12345_pm_01951d84344c7731a0a8805aa993256\",\r\n \"merchant_id\": \"cloth_seller_TWLZ5PYK9pFQ2gQ8g0Pr\",\r\n \"customer_id\": \"12345_cus_01951d4d9b2370a2bd661b6c07f096d5\",\r\n \"payment_method_type\": \"card\",\r\n \"payment_method_subtype\": \"credit\",\r\n \"recurring_enabled\": false,\r\n \"created\": \"2025-02-19T09:22:38.284Z\",\r\n \"last_used_at\": \"2025-02-19T09:22:38.284Z\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"issuer_country\": null,\r\n \"last4_digits\": \"0093\",\r\n \"expiry_month\": \"12\",\r\n \"expiry_year\": \"2026\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"card_fingerprint\": null,\r\n \"nick_name\": null,\r\n \"card_network\": null,\r\n \"card_isin\": null,\r\n \"card_issuer\": null,\r\n \"card_type\": null,\r\n \"saved_to_locker\": true\r\n }\r\n }\r\n}\r\n```\r\n```{\r\n \"id\": \"12345_pm_01951d84d26876518c3f1b6c3c73ffac\",\r\n \"merchant_id\": \"cloth_seller_TWLZ57PXGpf9C2gQ8g0Pr\",\r\n \"customer_id\": \"12345_cus_01951d84a09071c0bce22d74a345d3e4\",\r\n \"payment_method_type\": \"card\",\r\n \"payment_method_subtype\": \"credit\",\r\n \"recurring_enabled\": false,\r\n \"created\": \"2025-02-19T09:23:18.761Z\",\r\n \"last_used_at\": \"2025-02-19T09:23:18.761Z\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"issuer_country\": null,\r\n \"last4_digits\": \"0093\",\r\n \"expiry_month\": \"12\",\r\n \"expiry_year\": \"2026\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"card_fingerprint\": null,\r\n \"nick_name\": null,\r\n \"card_network\": null,\r\n \"card_isin\": null,\r\n \"card_issuer\": null,\r\n \"card_type\": null,\r\n \"saved_to_locker\": true\r\n }\r\n }\r\n}\r\n```\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "prasunna09",
|
| 6 |
+
"created_at": "2025-02-14T11:15:13+00:00",
|
| 7 |
+
"merged_at": "2025-02-20T13:53:58+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-payment-methods"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7270",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "f28d6167ef536a362bfbcbc6fcbfd60f7212ff35",
|
| 16 |
+
"message": "fix fingerprint generation method",
|
| 17 |
+
"author": "Prasunna Soppa",
|
| 18 |
+
"date": "2025-02-14T09:42:53+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f28d6167ef536a362bfbcbc6fcbfd60f7212ff35"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "6555d28a3757d3c7d5597b14fbdb9810f8a1a73b",
|
| 23 |
+
"message": "merge main",
|
| 24 |
+
"author": "Prasunna Soppa",
|
| 25 |
+
"date": "2025-02-14T11:09:02+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6555d28a3757d3c7d5597b14fbdb9810f8a1a73b"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "7983340e7ecd4c7309ff1159025ce332f7233188",
|
| 30 |
+
"message": "code refactoring",
|
| 31 |
+
"author": "Prasunna Soppa",
|
| 32 |
+
"date": "2025-02-14T11:09:23+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7983340e7ecd4c7309ff1159025ce332f7233188"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "5c0bb5f1909ab60ade0421f9723fe3ced3ea2de5",
|
| 37 |
+
"message": "chore: run formatter",
|
| 38 |
+
"author": "hyperswitch-bot[bot]",
|
| 39 |
+
"date": "2025-02-14T11:19:35+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5c0bb5f1909ab60ade0421f9723fe3ced3ea2de5"
|
| 41 |
+
}
|
| 42 |
+
]
|
| 43 |
+
}
|
prs/pr_7275.json
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7275,
|
| 3 |
+
"title": "feat(webhook): add filter by event class and type",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [x] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nWebhook events can be filtered based on a list of event classes and event types. This PR also changes the endpoints `/events/{merchant_id}` and `/events/profile/list` to POST request.\r\n\r\n\r\n### Additional Changes\r\n\r\n- [x] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\nThis feature enhances the API by allowing merchants to filter webhook events with a list of event classes and event types. Additionally, validation ensures that only valid event class-event type combinations are used.\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n- List initial delivery attempts\r\n```\r\ncurl --location 'http://localhost:8080/events/merchant_1743589499' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '{}'\r\n```\r\n- Response\r\n```\r\n{\r\n \"events\": [\r\n {\r\n \"event_id\": \"evt_0195f62f824f7f53af13fede684998df\",\r\n \"merchant_id\": \"merchant_1743589499\",\r\n \"profile_id\": \"pro_zi0qJ2I57xmpho8jpUYR\",\r\n \"object_id\": \"pay_MvGzXvaQxCJUZZ7EAKIn\",\r\n \"event_type\": \"payment_failed\",\r\n \"event_class\": \"payments\",\r\n \"is_delivery_successful\": false,\r\n \"initial_attempt_id\": \"evt_0195f62f824f7f53af13fede684998df\",\r\n \"created\": \"2025-04-02T11:07:43.567Z\"\r\n },\r\n {\r\n \"event_id\": \"evt_0195f6099a3e7dc08e246ccc04057684\",\r\n \"merchant_id\": \"merchant_1743589499\",\r\n \"profile_id\": \"pro_zi0qJ2I57xmpho8jpUYR\",\r\n \"object_id\": \"pay_H463bjSirmF62tjviY9Q\",\r\n \"event_type\": \"payment_succeeded\",\r\n \"event_class\": \"payments\",\r\n \"is_delivery_successful\": false,\r\n \"initial_attempt_id\": \"evt_0195f6099a3e7dc08e246ccc04057684\",\r\n \"created\": \"2025-04-02T10:26:19.326Z\"\r\n }\r\n ],\r\n \"total_count\": 2\r\n}\r\n```\r\n- List initial delivery attempts with filters\r\n```\r\ncurl --location 'http://localhost:8080/events/merchant_1743589499' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '{\r\n \"created_after\": \"2025-01-01T00:00:00Z\",\r\n \"created_before\": \"2026-01-31T23:59:59Z\",\r\n \"limit\": 0,\r\n \"offset\": 0,\r\n \"object_id\": \"{{object_id}}\",\r\n \"profile_id\": \"pro_zi0qJ2I57xmpho8jpUYR\",\r\n \"event_classes\": [\"refunds\", \"payments\"],\r\n \"event_types\": [\"payment_succeeded\"],\r\n \"is_delivered\": true\r\n}'\r\n```\r\n- Response\r\n```\r\n{\r\n \"events\": [\r\n {\r\n \"event_id\": \"evt_0195f6099a3e7dc08e246ccc04057684\",\r\n \"merchant_id\": \"merchant_1743589499\",\r\n \"profile_id\": \"pro_zi0qJ2I57xmpho8jpUYR\",\r\n \"object_id\": \"pay_H463bjSirmF62tjviY9Q\",\r\n \"event_type\": \"payment_succeeded\",\r\n \"event_class\": \"payments\",\r\n \"is_delivery_successful\": false,\r\n \"initial_attempt_id\": \"evt_0195f6099a3e7dc08e246ccc04057684\",\r\n \"created\": \"2025-04-02T10:26:19.326Z\"\r\n }\r\n ],\r\n \"total_count\": 1\r\n}\r\n```\r\n- List initial delivery attempts using JWT Authentication\r\n```\r\ncurl --location 'http://localhost:8080/events/profile/list' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiZDk1NTcyN2ItYjY1Zi1hNjUwOWVmYmI0NGIiLCJtZXJjaGFudF9pZCI6Im1lcmNoYW50XzE3NDM1ODk0OTkiLCJyb2xlX2lkIjoib3JnX2FkbWluIiwiZXhwIjoxNzQzNjg0NzU0LCJvcmdfaWQiOiJwcm9femtWalRHN1kwY0FVNHJNcjRBM3QiLCJwcm9maWxlX2lkIjoicHJvX3ppMHFKMkk1N3htcGhvOGpwVVlSIiwidGVuYW50X2lkIjoicHVibGljIn0.xhs7FWIU6vuqZ2O0X3e1bt4U6m2BtELJzyxUeONSIPo' \\\r\n--header 'Cookie: login_token=eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiZDk1NTcyN2ItYjY1Zi1hNjUwOWVmYmI0NGIiLCJtZXJjaGFudF9pZCI6Im1lcmNoYW50XzE3NDM1ODk0OTkiLCJyb2xlX2lkIjoib3JnX2FkbWluIiwiZXhwIjoxNzQzNjg0NzU0LCJvcmdfaWQiOiJwcm9femtWalRHN1kwY0FVNHJNcjRBM3QiLCJwcm9maWxlX2lkIjoicHJvX3ppMHFKMkk1N3htcGhvOGpwVVlSIiwidGVuYW50X2lkIjoicHVibGljIn0.xhs7FWIU6vuqZ2O0X3e1bt4U6m2BtELJzyxUeONSIPo' \\\r\n--data '{\r\n \"limit\": 1\r\n}'\r\n```\r\n- Response\r\n```\r\n{\r\n \"events\": [\r\n {\r\n \"event_id\": \"evt_0195f62f824f7f53af13fede684998df\",\r\n \"merchant_id\": \"merchant_1743589499\",\r\n \"profile_id\": \"pro_zi0qJ2I57xmpho8jpUYR\",\r\n \"object_id\": \"pay_MvGzXvaQxCJUZZ7EAKIn\",\r\n \"event_type\": \"payment_failed\",\r\n \"event_class\": \"payments\",\r\n \"is_delivery_successful\": false,\r\n \"initial_attempt_id\": \"evt_0195f62f824f7f53af13fede684998df\",\r\n \"created\": \"2025-04-02T11:07:43.567Z\"\r\n }\r\n ],\r\n \"total_count\": 2\r\n}\r\n```\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [ ] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "Aishwariyaa-Anand",
|
| 6 |
+
"created_at": "2025-02-17T06:11:21+00:00",
|
| 7 |
+
"merged_at": "2025-04-11T10:46:08+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-api-contract-changes"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7275",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "3059ca5114fa320d7293e18be31f8c6ce235a9e5",
|
| 16 |
+
"message": "feat(webhook): add filter by event class and type",
|
| 17 |
+
"author": "Aishwariyaa Anand",
|
| 18 |
+
"date": "2025-02-17T05:54:39+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3059ca5114fa320d7293e18be31f8c6ce235a9e5"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "13d4ff3645490dd108af6d7aff9b758cc20b2760",
|
| 23 |
+
"message": "feat(openapi): add event_class and event_type to events endpoint",
|
| 24 |
+
"author": "Aishwariyaa Anand",
|
| 25 |
+
"date": "2025-02-17T06:37:30+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/13d4ff3645490dd108af6d7aff9b758cc20b2760"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "2cfe558a3aadb27af7f671c016a963c13c820da2",
|
| 30 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 31 |
+
"author": "hyperswitch-bot[bot]",
|
| 32 |
+
"date": "2025-02-17T06:50:55+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2cfe558a3aadb27af7f671c016a963c13c820da2"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "a7515b09e305e90acd2051c07e4f0cabbd494e4b",
|
| 37 |
+
"message": "refactor(webhook): reduce number of arguments",
|
| 38 |
+
"author": "Aishwariyaa Anand",
|
| 39 |
+
"date": "2025-02-17T09:17:08+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a7515b09e305e90acd2051c07e4f0cabbd494e4b"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "76a34870a6905d4a21b3a270c4fa686c231bba43",
|
| 44 |
+
"message": "Merge branch 'main' into webhook-event-class-type-filter",
|
| 45 |
+
"author": "Aishwariyaa Anand",
|
| 46 |
+
"date": "2025-03-21T03:14:10+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/76a34870a6905d4a21b3a270c4fa686c231bba43"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"sha": "97d4893b4295b196d4343b1278e977f03d4358cc",
|
| 51 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 52 |
+
"author": "hyperswitch-bot[bot]",
|
| 53 |
+
"date": "2025-03-21T03:20:21+00:00",
|
| 54 |
+
"url": "https://github.com/juspay/hyperswitch/commit/97d4893b4295b196d4343b1278e977f03d4358cc"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"sha": "be2d76bd949b5806eb8b7efa5c9d2ecfc9e46add",
|
| 58 |
+
"message": "Merge branch 'main' into webhook-event-class-type-filter",
|
| 59 |
+
"author": "Aishwariyaa Anand",
|
| 60 |
+
"date": "2025-03-28T08:47:56+00:00",
|
| 61 |
+
"url": "https://github.com/juspay/hyperswitch/commit/be2d76bd949b5806eb8b7efa5c9d2ecfc9e46add"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"sha": "e5c227e8dc8af002e08416b283ecfc728e6e45d7",
|
| 65 |
+
"message": "Merge branch 'main' into webhook-event-class-type-filter",
|
| 66 |
+
"author": "Aishwariyaa Anand",
|
| 67 |
+
"date": "2025-04-01T13:36:45+00:00",
|
| 68 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e5c227e8dc8af002e08416b283ecfc728e6e45d7"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"sha": "40790fb6788ba8c6e80ad303060bc7dc1dd4a1a0",
|
| 72 |
+
"message": "refactor(webhooks): change endpoints to POST req",
|
| 73 |
+
"author": "Aishwariyaa Anand",
|
| 74 |
+
"date": "2025-04-02T11:04:29+00:00",
|
| 75 |
+
"url": "https://github.com/juspay/hyperswitch/commit/40790fb6788ba8c6e80ad303060bc7dc1dd4a1a0"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"sha": "2a763172409f68a399fc0ed8ebd8d1981c26ae74",
|
| 79 |
+
"message": "resolve openapi failure",
|
| 80 |
+
"author": "Aishwariyaa Anand",
|
| 81 |
+
"date": "2025-04-02T11:23:45+00:00",
|
| 82 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2a763172409f68a399fc0ed8ebd8d1981c26ae74"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"sha": "881f153f45d351d179cadef11b17e5774f866106",
|
| 86 |
+
"message": "add code comments for finalize_event_types",
|
| 87 |
+
"author": "Aishwariyaa Anand",
|
| 88 |
+
"date": "2025-04-03T11:19:02+00:00",
|
| 89 |
+
"url": "https://github.com/juspay/hyperswitch/commit/881f153f45d351d179cadef11b17e5774f866106"
|
| 90 |
+
}
|
| 91 |
+
]
|
| 92 |
+
}
|
prs/pr_7286.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7286,
|
| 3 |
+
"title": "feat(connector): [PAYSTACK] EFT Payment Flows",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [x] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nPaystack EFT flow (Payments, PSync, Refunds, RSync, Webhooks).\r\n\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n1. Merchant Account Create:\r\n```\r\ncurl --location 'http://localhost:8080/accounts' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data-raw '{\r\n \"merchant_id\": \"merchant_1739960795\",\r\n \"locker_id\": \"m0010\",\r\n \"merchant_name\": \"NewAge Retailer\",\r\n \"merchant_details\": {\r\n \"primary_contact_person\": \"John Test\",\r\n \"primary_email\": \"JohnTest@test.com\",\r\n \"primary_phone\": \"sunt laborum\",\r\n \"secondary_contact_person\": \"John Test2\",\r\n \"secondary_email\": \"JohnTest2@test.com\",\r\n \"secondary_phone\": \"cillum do dolor id\",\r\n \"website\": \"https://www.example.com\",\r\n \"about_business\": \"Online Retail with a wide selection of organic products for North America\",\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"US\"\r\n }\r\n },\r\n \"return_url\": \"https://google.com/success\",\r\n \"webhook_details\": {\r\n \"webhook_version\": \"1.0.1\",\r\n \"webhook_username\": \"ekart_retail\",\r\n \"webhook_password\": \"password_ekart@123\",\r\n \"payment_created_enabled\": true,\r\n \"payment_succeeded_enabled\": true,\r\n \"payment_failed_enabled\": true\r\n },\r\n \"sub_merchants_enabled\": false,\r\n \"metadata\": {\r\n \"city\": \"NY\",\r\n \"unit\": \"245\"\r\n },\r\n \"primary_business_details\": [\r\n {\r\n \"country\": \"US\",\r\n \"business\": \"food\"\r\n }\r\n ]\r\n}'\r\n```\r\n\r\n2. API Key Create:\r\n```\r\ncurl --location 'http://localhost:8080/api_keys/merchant_1739898797' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '{\r\n \"name\": \"API Key 1\",\r\n \"description\": null,\r\n \"expiration\": \"2025-09-23T01:02:03.000Z\"\r\n}'\r\n```\r\n\r\n3. Paystack Connector Create:\r\n```\r\ncurl --location 'http://localhost:8080/account/merchant_1739898797/connectors?=' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '{\r\n \"connector_type\": \"payment_processor\",\r\n \"connector_name\": \"paystack\",\r\n \"connector_account_details\": {\r\n \"auth_type\": \"HeaderKey\",\r\n \"api_key\": \"abc\"\r\n },\r\n \"test_mode\": false,\r\n \"disabled\": false,\r\n \"payment_methods_enabled\": [\r\n {\r\n \"payment_method\": \"bank_redirect\",\r\n \"payment_method_types\": [\r\n {\r\n \"payment_method_type\": \"eft\",\r\n \"payment_experience\": \"redirect_to_url\",\r\n \"card_networks\": null,\r\n \"accepted_currencies\": null,\r\n \"accepted_countries\": null,\r\n \"minimum_amount\": 0,\r\n \"maximum_amount\": 68607706,\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": false\r\n }\r\n ]\r\n }\r\n ],\r\n \"connector_webhook_details\": {\r\n \"merchant_secret\": \"abc\",\r\n \"additional_secret\": null\r\n }\r\n}'\r\n```\r\n\r\n4. Payments Create:\r\nRequest:\r\n```\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_ykM0z3Y0k65EtZIce9BsbJXPtoq7KzcAWsLZUS3SIT13cdYEOQQ4mMkb4UMB5Oyd' \\\r\n--data-raw '{\r\n \"amount\": 6540,\r\n \"currency\": \"ZAR\",\r\n \"confirm\": true,\r\n \"amount_to_capture\": 6540,\r\n \"customer_id\": \"StripbmnxeCustomer\",\r\n \"email\": \"abc@gmail.com\",\r\n \"description\": \"Its my first payment request\",\r\n \"return_url\": \"https://google.com\",\r\n \"payment_method\": \"bank_redirect\",\r\n \"payment_method_type\": \"eft\",\r\n \"payment_method_data\": {\r\n \"bank_redirect\": {\r\n \"eft\": {\r\n \"provider\": \"ozow\"\r\n }\r\n }\r\n }\r\n}'\r\n```\r\nResponse:\r\n```\r\n{\r\n \"payment_id\": \"pay_kQrdGr1rVMmwEKYXorLM\",\r\n \"merchant_id\": \"merchant_1739898797\",\r\n \"status\": \"requires_customer_action\",\r\n \"amount\": 6540,\r\n \"net_amount\": 6540,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 6540,\r\n \"amount_received\": null,\r\n \"connector\": \"paystack\",\r\n \"client_secret\": \"pay_kQrdGr1rVMmwEKYXorLM_secret_U7lStVK9TuKNY4l0mxmc\",\r\n \"created\": \"2025-02-19T10:32:31.775Z\",\r\n \"currency\": \"ZAR\",\r\n \"customer_id\": \"StripbmnxeCustomer\",\r\n \"customer\": {\r\n \"id\": \"StripbmnxeCustomer\",\r\n \"name\": null,\r\n \"email\": \"abc@gmail.com\",\r\n \"phone\": null,\r\n \"phone_country_code\": null\r\n },\r\n \"description\": \"Its my first payment request\",\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": null,\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": null,\r\n \"payment_method\": \"bank_redirect\",\r\n \"payment_method_data\": {\r\n \"bank_redirect\": {\r\n \"type\": \"BankRedirectResponse\",\r\n \"bank_name\": null\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": null,\r\n \"billing\": null,\r\n \"order_details\": null,\r\n \"email\": \"abc@gmail.com\",\r\n \"name\": null,\r\n \"phone\": null,\r\n \"return_url\": \"https://google.com/\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"statement_descriptor_name\": null,\r\n \"statement_descriptor_suffix\": null,\r\n \"next_action\": {\r\n \"type\": \"redirect_to_url\",\r\n \"redirect_to_url\": \"http://localhost:8080/payments/redirect/pay_kQrdGr1rVMmwEKYXorLM/merchant_1739898797/pay_kQrdGr1rVMmwEKYXorLM_1\"\r\n },\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"eft\",\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"StripbmnxeCustomer\",\r\n \"created_at\": 1739961151,\r\n \"expires\": 1739964751,\r\n \"secret\": \"epk_09592792e8504aa3a943feff38c3e3e2\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"sug0jyf5kbbbpe5\",\r\n \"frm_message\": null,\r\n \"metadata\": null,\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": null,\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_z5wMP3CJUUrMDF5CBGl9\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_Ux3UO8AL0iD9BlzLSE83\",\r\n \"incremental_authorization_allowed\": null,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-02-19T10:47:31.774Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": null,\r\n \"payment_method_id\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-02-19T10:32:32.739Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null\r\n}\r\n```\r\n\r\n5. Payments Retrieve\r\nRequest:\r\n```\r\ncurl --location 'http://localhost:8080/payments/pay_kWVz157PfvGL9GyAiTnI?force_sync=true' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_ykM0z3Y0k65EtZIce9BsbJXPtoq7KzcAWsLZUS3SIT13cdYEOQQ4mMkb4UMB5Oyd' \\\r\n--data ''\r\n```\r\nResponse: Same as payments response>\r\n\r\n6. Refunds Create\r\nRequest:\r\n```\r\ncurl --location 'http://localhost:8080/refunds' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_ykM0z3Y0k65EtZIce9BsbJXPtoq7KzcAWsLZUS3SIT13cdYEOQQ4mMkb4UMB5Oyd' \\\r\n--data '{\r\n \"payment_id\": \"pay_6Ww3WmcWCT8ni7O5K5gV\",\r\n \"amount\": 1000,\r\n \"reason\": \"Customer returned product\",\r\n \"refund_type\": \"instant\",\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"new_customer\": \"true\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\"\r\n }\r\n}'\r\n```\r\nResponse:\r\n```\r\n{\r\n \"refund_id\": \"ref_XSsCj6O6bujAZypJAFJk\",\r\n \"payment_id\": \"pay_6Ww3WmcWCT8ni7O5K5gV\",\r\n \"amount\": 1000,\r\n \"currency\": \"ZAR\",\r\n \"status\": \"succeeded\",\r\n \"reason\": \"Customer returned product\",\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"new_customer\": \"true\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\"\r\n },\r\n \"error_message\": null,\r\n \"error_code\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"created_at\": \"2025-02-19T10:31:32.658Z\",\r\n \"updated_at\": \"2025-02-19T10:31:34.094Z\",\r\n \"connector\": \"paystack\",\r\n \"profile_id\": \"pro_z5wMP3CJUUrMDF5CBGl9\",\r\n \"merchant_connector_id\": \"mca_Ux3UO8AL0iD9BlzLSE83\",\r\n \"split_refunds\": null\r\n}\r\n```\r\n\r\n7. Refunds Retrieve\r\nRequest:\r\n```\r\ncurl --location 'http://localhost:8080/refunds/ref_XSsCj6O6bujAZypJAFJk' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_ZgTXlFsnanc0o4AW2Ag32dJQsA1rAvU1prQVsIE0JbUjPv7g65ZU5pO7MyiPLL5J'\r\n```\r\nResponse: Same as Refunds response.\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "ImSagnik007",
|
| 6 |
+
"created_at": "2025-02-17T11:30:04+00:00",
|
| 7 |
+
"merged_at": "2025-03-03T14:28:32+00:00",
|
| 8 |
+
"base_branch": "eft_payment_method",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7286",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "80d11ad991f30245ad38e8013494e92ef9486a48",
|
| 16 |
+
"message": "paystack eft flow",
|
| 17 |
+
"author": "Sagnik Mitra",
|
| 18 |
+
"date": "2025-02-18T20:35:54+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/80d11ad991f30245ad38e8013494e92ef9486a48"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "5549881c04d913ee77ba11875bbba9d8e43fbf27",
|
| 23 |
+
"message": "add connector configs",
|
| 24 |
+
"author": "Anurag Singh",
|
| 25 |
+
"date": "2025-02-27T10:45:58+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5549881c04d913ee77ba11875bbba9d8e43fbf27"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "1a3c9f31281cefa1973adc3a2e92681d7bec5dcf",
|
| 30 |
+
"message": "chore: run formatter",
|
| 31 |
+
"author": "hyperswitch-bot[bot]",
|
| 32 |
+
"date": "2025-02-27T11:18:48+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1a3c9f31281cefa1973adc3a2e92681d7bec5dcf"
|
| 34 |
+
}
|
| 35 |
+
]
|
| 36 |
+
}
|
prs/pr_7287.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7287,
|
| 3 |
+
"title": "refactor(utils): use to_state_code of hyperswitch_connectors in router",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [x] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nto_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.\r\n\r\nNote: Contains remaning European countries for ISO conversion\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\nSanity External 3DS payment, by sending billing_address in payment_method_data for Poland country address\r\nCURL\r\n```\r\ncurl --location 'localhost:8080/payments/pay_MRVy1jlxGGGZafdE7xsJ/3ds/authentication' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: pk_dev_d3a60dc7950549aa954219ca29746442' \\\r\n--data '{\r\n \"client_secret\": \"pay_MRVy1jlxGGGZafdE7xsJ_secret_at05FqOzGfMCtJ3bRw4Y\",\r\n \"device_channel\": \"BRW\",\r\n \"threeds_method_comp_ind\": \"Y\"\r\n}'\r\n```\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "Sakilmostak",
|
| 6 |
+
"created_at": "2025-02-17T12:57:51+00:00",
|
| 7 |
+
"merged_at": "2025-02-17T13:28:13+00:00",
|
| 8 |
+
"base_branch": "hotfix-2025.02.05.0",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-refactor"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7287",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "684c49488e7194e4cb85c6806ab39c7d888189ad",
|
| 16 |
+
"message": "refactor(utils): use to_state_code of hyperswitch_connectors in router (#7278)",
|
| 17 |
+
"author": "Sakil Mostak",
|
| 18 |
+
"date": "2025-02-17T12:52:32+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/684c49488e7194e4cb85c6806ab39c7d888189ad"
|
| 20 |
+
}
|
| 21 |
+
]
|
| 22 |
+
}
|
prs/pr_7307.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7307,
|
| 3 |
+
"title": "refactor(theme): extend theme structure",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [x] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n\r\nThis PR updates the theme.json structure to support frontend enhancements while ensuring backward compatibility with the previous format.\r\n- Expanded Colors Struct : Added optional fields `secondary` and `background` and removed `sidebar`\r\n- Addition of Sidebar Struct \r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n\r\nTo support FE theme enhancements.\r\n\r\n## How did you test it?\r\n\r\n1. CREATE THEME \r\n\r\n```curl --location 'http://localhost:8080/user/theme' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '{\r\n \"lineage\": {\r\n \"entity_type\": \"merchant\",\r\n \"tenant_id\": \"public\",\r\n \"org_id\": \"o1\",\r\n \"merchant_id\": \"m1\",\r\n \"profile_id\": \"p1\"\r\n },\r\n \"theme_name\": \"test_theme\",\r\n \"theme_data\": {\r\n \"settings\": {\r\n \"colors\": {\r\n \"primary\": \"#2167AE\",\r\n \"secondary\": \"#808080\",\r\n \"background\": \"#0A0A0A\"\r\n },\r\n \"sidebar\": {\r\n \"primary\": \"#27356B\",\r\n \"textColor\": \"#cfcfd1\",\r\n \"textColorPrimary\": \"#FFFFFF\"\r\n },\r\n \"buttons\": {\r\n \"primary\": {\r\n \"backgroundColor\": \"#2167AE\",\r\n \"textColor\": \"#ffffff\",\r\n \"hoverBackgroundColor\": \"#5495cf\"\r\n }\r\n }\r\n }\r\n }\r\n}'\r\n```\r\nRESPONSE : \r\n\r\n``` {\r\n \"theme_id\": \"d49543a8-06a8-4243-b481-b8dfec676504\",\r\n \"theme_name\": \"test_theme\",\r\n \"entity_type\": \"merchant\",\r\n \"tenant_id\": \"public\",\r\n \"org_id\": \"o1\",\r\n \"merchant_id\": \"m1\",\r\n \"profile_id\": null,\r\n \"email_config\": {\r\n \"entity_name\": \"Hyperswitch\",\r\n \"entity_logo_url\": \"https://example.com/logo.svg\",\r\n \"primary_color\": \"#006DF9\",\r\n \"foreground_color\": \"#000000\",\r\n \"background_color\": \"#FFFFFF\"\r\n },\r\n \"theme_data\": {\r\n \"settings\": {\r\n \"colors\": {\r\n \"primary\": \"#2167AE\",\r\n \"secondary\": \"#808080\",\r\n \"background\": \"#0A0A0A\"\r\n },\r\n \"sidebar\": {\r\n \"primary\": \"#27356B\",\r\n \"textColor\": \"#cfcfd1\",\r\n \"textColorPrimary\": \"#FFFFFF\"\r\n },\r\n \"typography\": null,\r\n \"buttons\": {\r\n \"primary\": {\r\n \"backgroundColor\": \"#2167AE\",\r\n \"textColor\": \"#ffffff\",\r\n \"hoverBackgroundColor\": \"#5495cf\"\r\n },\r\n \"secondary\": null\r\n },\r\n \"borders\": null,\r\n \"spacing\": null\r\n },\r\n \"urls\": null\r\n }\r\n} \r\n```\r\n3. DELETE THEME \r\n```\r\ncurl --location --request DELETE 'http://localhost:8080/user/theme/d49543a8-06a8-4243-b481-b8dfec676504?entity_type=merchant&tenant_id=public&org_id=o1&merchant_id=m1&profile_id=null' \\\r\n--header 'api-key: \u2022\u2022\u2022\u2022\u2022\u2022'\r\n```\r\n\r\nRESPONSE \r\n200 OK\r\n\r\n4. Update theme\r\n\r\n```\r\ncurl --location --request PUT 'http://localhost:8080/user/theme/56d003ef-a0b7-42c9-8b31-a4c90f799e1c' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '{\r\n \"lineage\": {\r\n \"entity_type\": \"merchant\",\r\n \"tenant_id\": \"public\",\r\n \"org_id\": \"o1\",\r\n \"merchant_id\": \"m1\",\r\n \"profile_id\": null\r\n },\r\n \"theme_name\": \"test_theme\",\r\n \"theme_data\": {\r\n \"settings\": {\r\n \"colors\": {\r\n \"primary\": \"#2167AE\",\r\n \"secondary\": \"#808080\",\r\n \"background\": \"#0A0A0A\"\r\n },\r\n \"sidebar\": {\r\n \"primary\": \"#27356B\",\r\n \"textColor\": \"#cfcfd1\",\r\n \"textColorPrimary\": \"#FFFFFF\"\r\n },\r\n \"buttons\": {\r\n \"primary\": {\r\n \"backgroundColor\": \"#FFFFFF\",\r\n \"textColor\": \"#ffffff\",\r\n \"hoverBackgroundColor\": \"#5495cf\"\r\n }\r\n }\r\n }\r\n }\r\n}'\r\n```\r\nResponse\r\n\r\n```\r\n{\r\n \"theme_id\": \"56d003ef-a0b7-42c9-8b31-a4c90f799e1c\",\r\n \"theme_name\": \"test_theme\",\r\n \"entity_type\": \"merchant\",\r\n \"tenant_id\": \"public\",\r\n \"org_id\": \"o1\",\r\n \"merchant_id\": \"m1\",\r\n \"profile_id\": null,\r\n \"email_config\": {\r\n \"entity_name\": \"Hyperswitch\",\r\n \"entity_logo_url\": \"https://example.com/logo.svg\",\r\n \"primary_color\": \"#006DF9\",\r\n \"foreground_color\": \"#000000\",\r\n \"background_color\": \"#FFFFFF\"\r\n },\r\n \"theme_data\": {\r\n \"settings\": {\r\n \"colors\": {\r\n \"primary\": \"#2167AE\",\r\n \"secondary\": \"#808080\",\r\n \"background\": \"#0A0A0A\"\r\n },\r\n \"sidebar\": {\r\n \"primary\": \"#27356B\",\r\n \"textColor\": \"#cfcfd1\",\r\n \"textColorPrimary\": \"#FFFFFF\"\r\n },\r\n \"typography\": null,\r\n \"buttons\": {\r\n \"primary\": {\r\n \"backgroundColor\": \"#FFFFFF\",\r\n \"textColor\": \"#ffffff\",\r\n \"hoverBackgroundColor\": \"#5495cf\"\r\n },\r\n \"secondary\": null\r\n },\r\n \"borders\": null,\r\n \"spacing\": null\r\n },\r\n \"urls\": null\r\n }\r\n}\r\n```\r\n\r\n5. GET THEME BY THEME ID\r\n\r\n```\r\ncurl --location 'http://localhost:8080/user/theme/56d003ef-a0b7-42c9-8b31-a4c90f799e1c' \\\r\n--header 'api-key: test_admin'\r\n```\r\nResponse :\r\n\r\n200 OK\r\n\r\n6. GET THEME BY LINEAGE \r\n\r\n```\r\ncurl --location 'http://localhost:8080/user/theme?entity_type=merchant&tenant_id=public&org_id=o1&merchant_id=m1&profile_id=null' \\\r\n--header 'api-key: test_admin'\r\n\r\n```\r\nRESPONSE :\r\n```\r\n{\r\n \"theme_id\": \"56d003ef-a0b7-42c9-8b31-a4c90f799e1c\",\r\n \"theme_name\": \"test_theme\",\r\n \"entity_type\": \"merchant\",\r\n \"tenant_id\": \"public\",\r\n \"org_id\": \"o1\",\r\n \"merchant_id\": \"m1\",\r\n \"profile_id\": null,\r\n \"email_config\": {\r\n \"entity_name\": \"Hyperswitch\",\r\n \"entity_logo_url\": \"https://example.com/logo.svg\",\r\n \"primary_color\": \"#006DF9\",\r\n \"foreground_color\": \"#000000\",\r\n \"background_color\": \"#FFFFFF\"\r\n },\r\n \"theme_data\": {\r\n \"settings\": {\r\n \"colors\": {\r\n \"primary\": \"#2167AE\",\r\n \"secondary\": \"#808080\",\r\n \"background\": \"#0A0A0A\"\r\n },\r\n \"sidebar\": {\r\n \"primary\": \"#27356B\",\r\n \"textColor\": \"#cfcfd1\",\r\n \"textColorPrimary\": \"#FFFFFF\"\r\n },\r\n \"typography\": null,\r\n \"buttons\": {\r\n \"primary\": {\r\n \"backgroundColor\": \"#FFFFFF\",\r\n \"textColor\": \"#ffffff\",\r\n \"hoverBackgroundColor\": \"#5495cf\"\r\n },\r\n \"secondary\": null\r\n },\r\n \"borders\": null,\r\n \"spacing\": null\r\n },\r\n \"urls\": null\r\n }\r\n}\r\n```\r\n\r\nTested backward compatibility using an older theme.json structure, and it works as expected.\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] I formatted the code `cargo +nightly fmt --all`\r\n- [ ] I addressed lints thrown by `cargo clippy`\r\n- [ ] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible",
|
| 5 |
+
"author": "kanikabansal-juspay",
|
| 6 |
+
"created_at": "2025-02-19T09:53:48+00:00",
|
| 7 |
+
"merged_at": "2025-02-25T18:59:58+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-refactor"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7307",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "dcef154e6d3b7aedf25a9b0f914324d9a8a9d3ad",
|
| 16 |
+
"message": "refactor(theme):Extend Theme Structure",
|
| 17 |
+
"author": "Kanika Bansal",
|
| 18 |
+
"date": "2025-02-19T06:51:02+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/dcef154e6d3b7aedf25a9b0f914324d9a8a9d3ad"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "6dbbf1647113181d0ba8a43724e6993b5cfe42d5",
|
| 23 |
+
"message": "refactor(theme):Extend Theme Structure",
|
| 24 |
+
"author": "Kanika Bansal",
|
| 25 |
+
"date": "2025-02-19T06:53:17+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6dbbf1647113181d0ba8a43724e6993b5cfe42d5"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "d4748e07ab1dd98234fcdefdd6c74f4345d8dae9",
|
| 30 |
+
"message": "refactor(theme): Extend Theme Structure",
|
| 31 |
+
"author": "Kanika Bansal",
|
| 32 |
+
"date": "2025-02-20T08:58:19+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d4748e07ab1dd98234fcdefdd6c74f4345d8dae9"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "39f56bd28e7d963967a785646e16efdbbced84b5",
|
| 37 |
+
"message": "Merge branch 'main' into themes-structure",
|
| 38 |
+
"author": "Kanika Bansal",
|
| 39 |
+
"date": "2025-02-20T09:05:16+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/39f56bd28e7d963967a785646e16efdbbced84b5"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "a9e0f9224c5444d09c82bbd6203a0b0cda56c24a",
|
| 44 |
+
"message": "refactor(theme): Extend Theme Structure",
|
| 45 |
+
"author": "Kanika Bansal",
|
| 46 |
+
"date": "2025-02-20T11:10:06+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a9e0f9224c5444d09c82bbd6203a0b0cda56c24a"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"sha": "59999a78cc8cb3aada6d8bb38e77d0e70cde4240",
|
| 51 |
+
"message": "Merge branch 'main' into themes-structure",
|
| 52 |
+
"author": "Kanika Bansal",
|
| 53 |
+
"date": "2025-02-20T12:59:21+00:00",
|
| 54 |
+
"url": "https://github.com/juspay/hyperswitch/commit/59999a78cc8cb3aada6d8bb38e77d0e70cde4240"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"sha": "1efdfbbb2a5560adb204e19c2e22df8d5452a5ee",
|
| 58 |
+
"message": "Merge branch 'main' into themes-structure",
|
| 59 |
+
"author": "Kanika Bansal",
|
| 60 |
+
"date": "2025-02-21T06:27:44+00:00",
|
| 61 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1efdfbbb2a5560adb204e19c2e22df8d5452a5ee"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"sha": "3d2ac7cc3c3edb58d6d3511fc8fd8ad82665d9f9",
|
| 65 |
+
"message": "Merge branch 'main' into themes-structure",
|
| 66 |
+
"author": "Jeeva Ramachandran",
|
| 67 |
+
"date": "2025-02-21T11:16:25+00:00",
|
| 68 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3d2ac7cc3c3edb58d6d3511fc8fd8ad82665d9f9"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"sha": "e6ffa57cf39ab3edc95b156c03227773e3edebc5",
|
| 72 |
+
"message": "Merge branch 'main' into themes-structure",
|
| 73 |
+
"author": "Kanika Bansal",
|
| 74 |
+
"date": "2025-02-24T09:14:45+00:00",
|
| 75 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e6ffa57cf39ab3edc95b156c03227773e3edebc5"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"sha": "9d0c6716c1e7d26849007f569b61f13b2d426d02",
|
| 79 |
+
"message": "Merge branch 'main' into themes-structure",
|
| 80 |
+
"author": "Kanika Bansal",
|
| 81 |
+
"date": "2025-02-25T10:35:18+00:00",
|
| 82 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9d0c6716c1e7d26849007f569b61f13b2d426d02"
|
| 83 |
+
}
|
| 84 |
+
]
|
| 85 |
+
}
|
prs/pr_7348.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7348,
|
| 3 |
+
"title": "feat(router): add merchant_configuration_id in netcetera metadata and make other merchant configurations optional",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [x] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nadd merchant_configuration_id in netcetera metadata and make other merchant configurations optional\r\n\r\nMain PR - https://github.com/juspay/hyperswitch/pull/7347\r\n\r\nClippy Successful Locally\r\n<img width=\"906\" alt=\"image\" src=\"https://github.com/user-attachments/assets/85ba726c-dd13-4071-8025-edab3485a230\" />\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [x] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\ntest cases in main PR\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "sai-harsha-vardhan",
|
| 6 |
+
"created_at": "2025-02-21T14:54:20+00:00",
|
| 7 |
+
"merged_at": "2025-02-21T17:32:29+00:00",
|
| 8 |
+
"base_branch": "hotfix-2025.02.10.0",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-core",
|
| 11 |
+
"C-feature",
|
| 12 |
+
"M-configuration-changes"
|
| 13 |
+
],
|
| 14 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7348",
|
| 15 |
+
"commits": [
|
| 16 |
+
{
|
| 17 |
+
"sha": "53cf89e7102f99323360caba56c4697d415bd17d",
|
| 18 |
+
"message": "add merchant_configuration_id in netcetera metadata and make other merchant configurations optional",
|
| 19 |
+
"author": "sai-harsha-vardhan",
|
| 20 |
+
"date": "2025-02-21T14:00:38+00:00",
|
| 21 |
+
"url": "https://github.com/juspay/hyperswitch/commit/53cf89e7102f99323360caba56c4697d415bd17d"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"sha": "a08b85fc870ae921183eb9d4607df846c6c69457",
|
| 25 |
+
"message": "fix connector_configs",
|
| 26 |
+
"author": "sai-harsha-vardhan",
|
| 27 |
+
"date": "2025-02-21T14:47:07+00:00",
|
| 28 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a08b85fc870ae921183eb9d4607df846c6c69457"
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"sha": "e7867dda93b79d5142dd57bba4eeee7ce9167265",
|
| 32 |
+
"message": "fix wasm",
|
| 33 |
+
"author": "sai-harsha-vardhan",
|
| 34 |
+
"date": "2025-02-21T15:59:01+00:00",
|
| 35 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e7867dda93b79d5142dd57bba4eeee7ce9167265"
|
| 36 |
+
}
|
| 37 |
+
]
|
| 38 |
+
}
|
prs/pr_7381.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7381,
|
| 3 |
+
"title": "fix(connector): [NETCETERA] use `prod` instead of `prev` in base_url for production config",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nuse `prod` instead of `prev` in base_url for production config\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\nPROD Base URL change only, No test cases required\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "sai-harsha-vardhan",
|
| 6 |
+
"created_at": "2025-02-26T10:50:59+00:00",
|
| 7 |
+
"merged_at": "2025-02-26T16:30:58+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-bug",
|
| 11 |
+
"M-configuration-changes"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7381",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "815bd63c12d9a8e3815d772d42dddf3290d0e11c",
|
| 17 |
+
"message": "fix netcetera PROD URL",
|
| 18 |
+
"author": "sai-harsha-vardhan",
|
| 19 |
+
"date": "2025-02-26T10:49:24+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/815bd63c12d9a8e3815d772d42dddf3290d0e11c"
|
| 21 |
+
}
|
| 22 |
+
]
|
| 23 |
+
}
|
prs/pr_7383.json
ADDED
|
@@ -0,0 +1,1275 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7383,
|
| 3 |
+
"title": "fix(openapi_v2): add missing struct in openapi v2",
|
| 4 |
+
"description": "This PR adds a missing struct because of which the openapi v2 file that was generated was not valid.\r\n\r\nThe PR which has this error: \r\nhttps://github.com/juspay/hyperswitch/pull/7248",
|
| 5 |
+
"author": "Narayanbhat166",
|
| 6 |
+
"created_at": "2025-02-27T04:04:43+00:00",
|
| 7 |
+
"merged_at": "2025-03-07T13:57:10+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-api-contract-changes"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7383",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "70cb8a1b712516b5b6a0490277ab2f7feab213ea",
|
| 16 |
+
"message": "chore: add comments with improvements to be made in merchant payment methods list",
|
| 17 |
+
"author": "Sanchith Hegde",
|
| 18 |
+
"date": "2024-12-06T09:43:52+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/70cb8a1b712516b5b6a0490277ab2f7feab213ea"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "947795fe0ec0cc53e44f8230539b025851869d5f",
|
| 23 |
+
"message": "Merge branch 'main' into initial-merchant-payment-method-list-v2",
|
| 24 |
+
"author": "Narayan Bhat",
|
| 25 |
+
"date": "2024-12-09T06:26:14+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/947795fe0ec0cc53e44f8230539b025851869d5f"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "3e7833fafd3bb09d92fdfcc7676936d6aa339194",
|
| 30 |
+
"message": "refactor: change payment_methods_enabled column to type for v2",
|
| 31 |
+
"author": "Narayan Bhat",
|
| 32 |
+
"date": "2024-12-10T12:51:17+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3e7833fafd3bb09d92fdfcc7676936d6aa339194"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "560d3f638260c052037b2619a819dda270c608cf",
|
| 37 |
+
"message": "feat(payments_v2): implement payment methods list for v2",
|
| 38 |
+
"author": "Narayan Bhat",
|
| 39 |
+
"date": "2024-12-10T19:09:47+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/560d3f638260c052037b2619a819dda270c608cf"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "09acb50340f98806b396ba8e608fbf5cafb1c277",
|
| 44 |
+
"message": "feat(payments_v2): add customers_payment_methods in pm list",
|
| 45 |
+
"author": "Narayan Bhat",
|
| 46 |
+
"date": "2024-12-11T06:34:59+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/09acb50340f98806b396ba8e608fbf5cafb1c277"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"sha": "940e2c11afe6f76e537ffbf5e187c22921c14121",
|
| 51 |
+
"message": "feat(payments_v2): add list_payment_methods to openapi",
|
| 52 |
+
"author": "Narayan Bhat",
|
| 53 |
+
"date": "2024-12-11T10:39:19+00:00",
|
| 54 |
+
"url": "https://github.com/juspay/hyperswitch/commit/940e2c11afe6f76e537ffbf5e187c22921c14121"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"sha": "19ae04f0a2f15001189da649ae3b2b8e45aef3d0",
|
| 58 |
+
"message": "feat(payments_v2): add list_payment_methods to openapi",
|
| 59 |
+
"author": "Narayan Bhat",
|
| 60 |
+
"date": "2024-12-11T10:41:31+00:00",
|
| 61 |
+
"url": "https://github.com/juspay/hyperswitch/commit/19ae04f0a2f15001189da649ae3b2b8e45aef3d0"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"sha": "f8956082f0cea16423e068c552cd679ecef5635f",
|
| 65 |
+
"message": "chore: run formatter",
|
| 66 |
+
"author": "hyperswitch-bot[bot]",
|
| 67 |
+
"date": "2024-12-11T11:47:50+00:00",
|
| 68 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f8956082f0cea16423e068c552cd679ecef5635f"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"sha": "1096cbe500851f7270995fc6379f767d5e9089f6",
|
| 72 |
+
"message": "chore: add doc comments",
|
| 73 |
+
"author": "Narayan Bhat",
|
| 74 |
+
"date": "2024-12-11T15:58:05+00:00",
|
| 75 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1096cbe500851f7270995fc6379f767d5e9089f6"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"sha": "db9652ef42f83120e2998ecfee504185e1c55f4f",
|
| 79 |
+
"message": "Merge branch 'main' into initial-merchant-payment-method-list-v2",
|
| 80 |
+
"author": "Narayan Bhat",
|
| 81 |
+
"date": "2024-12-11T21:14:41+00:00",
|
| 82 |
+
"url": "https://github.com/juspay/hyperswitch/commit/db9652ef42f83120e2998ecfee504185e1c55f4f"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"sha": "b6ab7d2c942a2e7f77b86fb1f20c91def2ea0462",
|
| 86 |
+
"message": "refactor: address PR comments",
|
| 87 |
+
"author": "Narayan Bhat",
|
| 88 |
+
"date": "2024-12-12T11:48:52+00:00",
|
| 89 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b6ab7d2c942a2e7f77b86fb1f20c91def2ea0462"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"sha": "6a2c2c18ef65615d859f1afe88d978b7080f5443",
|
| 93 |
+
"message": "Revert \"chore: add comments with improvements to be made in merchant payment methods list\"\n\nThis reverts commit 70cb8a1b712516b5b6a0490277ab2f7feab213ea.",
|
| 94 |
+
"author": "Narayan Bhat",
|
| 95 |
+
"date": "2024-12-12T11:49:02+00:00",
|
| 96 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6a2c2c18ef65615d859f1afe88d978b7080f5443"
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"sha": "fac85212489396c77c231dbb785826cc8c667bf2",
|
| 100 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 101 |
+
"author": "hyperswitch-bot[bot]",
|
| 102 |
+
"date": "2024-12-12T11:52:29+00:00",
|
| 103 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fac85212489396c77c231dbb785826cc8c667bf2"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"sha": "65f811371bbcb40153ffb03c18f1e4dbd717e2c0",
|
| 107 |
+
"message": "chore: cargo clippy",
|
| 108 |
+
"author": "Narayan Bhat",
|
| 109 |
+
"date": "2024-12-12T13:31:02+00:00",
|
| 110 |
+
"url": "https://github.com/juspay/hyperswitch/commit/65f811371bbcb40153ffb03c18f1e4dbd717e2c0"
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"sha": "2b5216ec2ed6047b0e66215c9f6cc95b6449619f",
|
| 114 |
+
"message": "Merge branch 'main' into initial-merchant-payment-method-list-v2",
|
| 115 |
+
"author": "Narayan Bhat",
|
| 116 |
+
"date": "2024-12-12T13:35:45+00:00",
|
| 117 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2b5216ec2ed6047b0e66215c9f6cc95b6449619f"
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"sha": "593df4db2473fd14fb8c242b8315f6b8c9d47c63",
|
| 121 |
+
"message": "chore: rename fields",
|
| 122 |
+
"author": "Narayan Bhat",
|
| 123 |
+
"date": "2024-12-16T06:16:55+00:00",
|
| 124 |
+
"url": "https://github.com/juspay/hyperswitch/commit/593df4db2473fd14fb8c242b8315f6b8c9d47c63"
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"sha": "fbcf8aa1a856b5c6a514c0de5fc905e7bc7b000b",
|
| 128 |
+
"message": "Merge branch 'main' into initial-merchant-payment-method-list-v2",
|
| 129 |
+
"author": "Narayan Bhat",
|
| 130 |
+
"date": "2024-12-16T06:42:59+00:00",
|
| 131 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fbcf8aa1a856b5c6a514c0de5fc905e7bc7b000b"
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"sha": "6938d61ef9338b6ddc773d597fbec588a09a36d8",
|
| 135 |
+
"message": "chore: rename fields",
|
| 136 |
+
"author": "Narayan Bhat",
|
| 137 |
+
"date": "2024-12-16T09:53:26+00:00",
|
| 138 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6938d61ef9338b6ddc773d597fbec588a09a36d8"
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"sha": "5d510922ed114d2a0b8e38c5439328bc35d50f16",
|
| 142 |
+
"message": "chore: cargo clippy",
|
| 143 |
+
"author": "Narayanbhat166",
|
| 144 |
+
"date": "2024-12-17T10:37:00+00:00",
|
| 145 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5d510922ed114d2a0b8e38c5439328bc35d50f16"
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"sha": "c92ced0e8e48f5f63dceae8294d1600f6403dc81",
|
| 149 |
+
"message": "chore: fix openapi",
|
| 150 |
+
"author": "Narayanbhat166",
|
| 151 |
+
"date": "2024-12-17T13:06:38+00:00",
|
| 152 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c92ced0e8e48f5f63dceae8294d1600f6403dc81"
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"sha": "28bf4ba0af9749a1bd8ce45bdb03617a2a69a0cc",
|
| 156 |
+
"message": "Merge branch 'main' into initial-merchant-payment-method-list-v2",
|
| 157 |
+
"author": "Narayanbhat166",
|
| 158 |
+
"date": "2024-12-17T13:29:12+00:00",
|
| 159 |
+
"url": "https://github.com/juspay/hyperswitch/commit/28bf4ba0af9749a1bd8ce45bdb03617a2a69a0cc"
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"sha": "a6f1da5084820e70b9f1240810ff07753a6cd2ce",
|
| 163 |
+
"message": "chore: add .vscode/settings to gitignore",
|
| 164 |
+
"author": "Narayanbhat166",
|
| 165 |
+
"date": "2024-12-18T10:22:49+00:00",
|
| 166 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a6f1da5084820e70b9f1240810ff07753a6cd2ce"
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"sha": "c3dd71d9a2e8fd779ed0b1d1c43d5f960e8f87e7",
|
| 170 |
+
"message": "refactor: move payment methods type to common_types",
|
| 171 |
+
"author": "Narayanbhat166",
|
| 172 |
+
"date": "2024-12-18T10:24:27+00:00",
|
| 173 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c3dd71d9a2e8fd779ed0b1d1c43d5f960e8f87e7"
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"sha": "32122adf1728ded393c47afabad87ce3ac18e26b",
|
| 177 |
+
"message": "chore: run formatter",
|
| 178 |
+
"author": "hyperswitch-bot[bot]",
|
| 179 |
+
"date": "2024-12-18T10:30:55+00:00",
|
| 180 |
+
"url": "https://github.com/juspay/hyperswitch/commit/32122adf1728ded393c47afabad87ce3ac18e26b"
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"sha": "31360f94c5f6af71ac3cefa106abb325c32a0ca7",
|
| 184 |
+
"message": "Merge branch 'main' into initial-merchant-payment-method-list-v2",
|
| 185 |
+
"author": "Narayanbhat166",
|
| 186 |
+
"date": "2024-12-18T10:50:46+00:00",
|
| 187 |
+
"url": "https://github.com/juspay/hyperswitch/commit/31360f94c5f6af71ac3cefa106abb325c32a0ca7"
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"sha": "fc2453c89613ed9902aa7d77d89566bce4c977f5",
|
| 191 |
+
"message": "chore: cargo clippy_v2",
|
| 192 |
+
"author": "Narayanbhat166",
|
| 193 |
+
"date": "2024-12-19T07:28:50+00:00",
|
| 194 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fc2453c89613ed9902aa7d77d89566bce4c977f5"
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"sha": "60a82e2a5a70b90ba6c7f1cc00c19dd3ca6bcd7d",
|
| 198 |
+
"message": "chore: fix openapi",
|
| 199 |
+
"author": "Narayanbhat166",
|
| 200 |
+
"date": "2024-12-19T07:44:31+00:00",
|
| 201 |
+
"url": "https://github.com/juspay/hyperswitch/commit/60a82e2a5a70b90ba6c7f1cc00c19dd3ca6bcd7d"
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"sha": "7618c9d5623b486f08633fcf94d5597d87f0b33e",
|
| 205 |
+
"message": "chore: cargo clippy_v2",
|
| 206 |
+
"author": "Narayanbhat166",
|
| 207 |
+
"date": "2024-12-19T08:16:21+00:00",
|
| 208 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7618c9d5623b486f08633fcf94d5597d87f0b33e"
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"sha": "a801fed85aac4df11d77c738afec6bedc8e56849",
|
| 212 |
+
"message": "chore: add extra information enum and make customer_payment_methods as optional",
|
| 213 |
+
"author": "Narayanbhat166",
|
| 214 |
+
"date": "2024-12-20T09:35:08+00:00",
|
| 215 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a801fed85aac4df11d77c738afec6bedc8e56849"
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"sha": "79c2a5bb027bbd5a2f1f0e3dc0a849ad4c888be3",
|
| 219 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 220 |
+
"author": "hyperswitch-bot[bot]",
|
| 221 |
+
"date": "2024-12-20T09:38:17+00:00",
|
| 222 |
+
"url": "https://github.com/juspay/hyperswitch/commit/79c2a5bb027bbd5a2f1f0e3dc0a849ad4c888be3"
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"sha": "4acd9e08387e520b170e18652dc8c62b74406422",
|
| 226 |
+
"message": "chore: add serde flatten",
|
| 227 |
+
"author": "Narayan Bhat",
|
| 228 |
+
"date": "2024-12-20T12:36:14+00:00",
|
| 229 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4acd9e08387e520b170e18652dc8c62b74406422"
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"sha": "a4c5b93c3eaae598713e5efa9f77fd33eac9c9a7",
|
| 233 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 234 |
+
"author": "hyperswitch-bot[bot]",
|
| 235 |
+
"date": "2024-12-20T12:39:03+00:00",
|
| 236 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a4c5b93c3eaae598713e5efa9f77fd33eac9c9a7"
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"sha": "d58841d398466852f7f83156825d3a27f5deb69d",
|
| 240 |
+
"message": "chore: change route to use kebab-case",
|
| 241 |
+
"author": "Narayan Bhat",
|
| 242 |
+
"date": "2024-12-20T13:33:28+00:00",
|
| 243 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d58841d398466852f7f83156825d3a27f5deb69d"
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"sha": "5025e6461e0d95ed22ca8644847a878ccd1dc006",
|
| 247 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 248 |
+
"author": "hyperswitch-bot[bot]",
|
| 249 |
+
"date": "2024-12-20T13:36:58+00:00",
|
| 250 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5025e6461e0d95ed22ca8644847a878ccd1dc006"
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"sha": "51ad828432598056e30cd7ee31d670ee7471446f",
|
| 254 |
+
"message": "refactor: fix openapi",
|
| 255 |
+
"author": "Narayan Bhat",
|
| 256 |
+
"date": "2024-12-20T14:00:30+00:00",
|
| 257 |
+
"url": "https://github.com/juspay/hyperswitch/commit/51ad828432598056e30cd7ee31d670ee7471446f"
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"sha": "40146e5d664e12fffdd31bcbf6170018056e4672",
|
| 261 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 262 |
+
"author": "hyperswitch-bot[bot]",
|
| 263 |
+
"date": "2024-12-20T14:03:37+00:00",
|
| 264 |
+
"url": "https://github.com/juspay/hyperswitch/commit/40146e5d664e12fffdd31bcbf6170018056e4672"
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"sha": "ac8074d1b66f05fe78ea879a852c36b49bbd44f2",
|
| 268 |
+
"message": "fix: openapi_v2",
|
| 269 |
+
"author": "Narayan Bhat",
|
| 270 |
+
"date": "2024-12-20T15:18:27+00:00",
|
| 271 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ac8074d1b66f05fe78ea879a852c36b49bbd44f2"
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"sha": "d1869041f7798ca51682d93091c681619b11da64",
|
| 275 |
+
"message": "Merge branch 'main' into initial-merchant-payment-method-list-v2",
|
| 276 |
+
"author": "Narayan Bhat",
|
| 277 |
+
"date": "2024-12-20T17:18:20+00:00",
|
| 278 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d1869041f7798ca51682d93091c681619b11da64"
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"sha": "7ae9fb442247216f445cb58b07856d1deafd6006",
|
| 282 |
+
"message": "chore: cargo clippy_v2",
|
| 283 |
+
"author": "Narayan Bhat",
|
| 284 |
+
"date": "2024-12-20T17:20:17+00:00",
|
| 285 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7ae9fb442247216f445cb58b07856d1deafd6006"
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"sha": "5bc9c590b1041bb0162b64c4c150a530825dbb7a",
|
| 289 |
+
"message": "chore: merge fixes",
|
| 290 |
+
"author": "Narayan Bhat",
|
| 291 |
+
"date": "2024-12-21T15:26:27+00:00",
|
| 292 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5bc9c590b1041bb0162b64c4c150a530825dbb7a"
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"sha": "eaff74ebbbd68cbdfa693630e38cf46924a07755",
|
| 296 |
+
"message": "chore: remove specific imports",
|
| 297 |
+
"author": "Narayanbhat166",
|
| 298 |
+
"date": "2024-12-23T11:00:04+00:00",
|
| 299 |
+
"url": "https://github.com/juspay/hyperswitch/commit/eaff74ebbbd68cbdfa693630e38cf46924a07755"
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"sha": "b10edf9a4710b84c391ce6372025de2308882eb8",
|
| 303 |
+
"message": "Merge branch 'main' into payment_methods_list_for_payment_methods",
|
| 304 |
+
"author": "Narayanbhat166",
|
| 305 |
+
"date": "2024-12-23T11:38:32+00:00",
|
| 306 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b10edf9a4710b84c391ce6372025de2308882eb8"
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"sha": "ea72debccb79baf873ed658b64a900c9f6c11c6f",
|
| 310 |
+
"message": "chore: remove redundant code because of merge conflicts",
|
| 311 |
+
"author": "Narayanbhat166",
|
| 312 |
+
"date": "2024-12-23T13:16:41+00:00",
|
| 313 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ea72debccb79baf873ed658b64a900c9f6c11c6f"
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"sha": "c4b9b726cb1295dd8e5403a980fd437f95530af4",
|
| 317 |
+
"message": "refactor: add locker config",
|
| 318 |
+
"author": "Narayan Bhat",
|
| 319 |
+
"date": "2024-12-24T13:25:23+00:00",
|
| 320 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c4b9b726cb1295dd8e5403a980fd437f95530af4"
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"sha": "c90cc048eab292e12822c2f9507ddd0fe432bcd3",
|
| 324 |
+
"message": "Merge branch 'main' into payment_methods_list_for_payment_methods",
|
| 325 |
+
"author": "Narayan Bhat",
|
| 326 |
+
"date": "2024-12-24T13:25:26+00:00",
|
| 327 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c90cc048eab292e12822c2f9507ddd0fe432bcd3"
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"sha": "4f31d6ad6c2699fe535e0df0ef118d0da82bd16e",
|
| 331 |
+
"message": "feat(payment_methods): add payment methods list",
|
| 332 |
+
"author": "Narayan Bhat",
|
| 333 |
+
"date": "2024-12-25T10:04:46+00:00",
|
| 334 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4f31d6ad6c2699fe535e0df0ef118d0da82bd16e"
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"sha": "22ae53ec2b3102430ff0738be485da98034ebdd8",
|
| 338 |
+
"message": "Merge branch 'main' into payment_methods_list_for_payment_methods",
|
| 339 |
+
"author": "Narayan Bhat",
|
| 340 |
+
"date": "2024-12-25T10:05:54+00:00",
|
| 341 |
+
"url": "https://github.com/juspay/hyperswitch/commit/22ae53ec2b3102430ff0738be485da98034ebdd8"
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"sha": "89f90c6a4f8019c42d981fdc32b4e9867c8b3af2",
|
| 345 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 346 |
+
"author": "hyperswitch-bot[bot]",
|
| 347 |
+
"date": "2024-12-25T10:27:11+00:00",
|
| 348 |
+
"url": "https://github.com/juspay/hyperswitch/commit/89f90c6a4f8019c42d981fdc32b4e9867c8b3af2"
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"sha": "289b0e5418c54fe6e9ea6c5a03facfe6569dd618",
|
| 352 |
+
"message": "feat: add openapi endpoints for payment methods list",
|
| 353 |
+
"author": "Narayan Bhat",
|
| 354 |
+
"date": "2024-12-25T11:41:38+00:00",
|
| 355 |
+
"url": "https://github.com/juspay/hyperswitch/commit/289b0e5418c54fe6e9ea6c5a03facfe6569dd618"
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"sha": "3105443bfeaaff1bd37bb6e3f4736367820c65dd",
|
| 359 |
+
"message": "chore: address PR comments",
|
| 360 |
+
"author": "Narayan Bhat",
|
| 361 |
+
"date": "2025-01-02T09:58:40+00:00",
|
| 362 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3105443bfeaaff1bd37bb6e3f4736367820c65dd"
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"sha": "96b4d958f7f8918736b5a5b679fd1b21c5a469da",
|
| 366 |
+
"message": "fix: openapi",
|
| 367 |
+
"author": "Narayan Bhat",
|
| 368 |
+
"date": "2025-01-02T11:34:08+00:00",
|
| 369 |
+
"url": "https://github.com/juspay/hyperswitch/commit/96b4d958f7f8918736b5a5b679fd1b21c5a469da"
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"sha": "4684a97c4e932e9cd4431bbad532bed98b6b8ac5",
|
| 373 |
+
"message": "feat: add required fields support for payment methods",
|
| 374 |
+
"author": "Narayan Bhat",
|
| 375 |
+
"date": "2025-01-03T09:36:35+00:00",
|
| 376 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4684a97c4e932e9cd4431bbad532bed98b6b8ac5"
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"sha": "7362fb3c0bf57d84a95f6417b0890e2121e3e521",
|
| 380 |
+
"message": "chore: run formatter",
|
| 381 |
+
"author": "hyperswitch-bot[bot]",
|
| 382 |
+
"date": "2025-01-03T09:37:43+00:00",
|
| 383 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7362fb3c0bf57d84a95f6417b0890e2121e3e521"
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"sha": "d5b694291f594391917c3f6df2a2bee384899873",
|
| 387 |
+
"message": "chore: cargo clippy",
|
| 388 |
+
"author": "Narayan Bhat",
|
| 389 |
+
"date": "2025-01-03T11:57:35+00:00",
|
| 390 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d5b694291f594391917c3f6df2a2bee384899873"
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"sha": "d538cc1815f791fd70d28118d30375ff6e75a43e",
|
| 394 |
+
"message": "refactor: add the required fields config only for v2",
|
| 395 |
+
"author": "Narayan Bhat",
|
| 396 |
+
"date": "2025-01-03T16:46:38+00:00",
|
| 397 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d538cc1815f791fd70d28118d30375ff6e75a43e"
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"sha": "1f20a9577ccdbe794faa498c8b250f7f6ad05703",
|
| 401 |
+
"message": "fix: openapi v2",
|
| 402 |
+
"author": "Narayan Bhat",
|
| 403 |
+
"date": "2025-01-03T18:02:51+00:00",
|
| 404 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1f20a9577ccdbe794faa498c8b250f7f6ad05703"
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"sha": "64808eb5c88430d8f4586be3a6d5ed9df66b398b",
|
| 408 |
+
"message": "fix: openapi v2",
|
| 409 |
+
"author": "Narayan Bhat",
|
| 410 |
+
"date": "2025-01-03T18:27:49+00:00",
|
| 411 |
+
"url": "https://github.com/juspay/hyperswitch/commit/64808eb5c88430d8f4586be3a6d5ed9df66b398b"
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"sha": "1ce18db0b562f51dd18321a2537c196afc011aea",
|
| 415 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 416 |
+
"author": "hyperswitch-bot[bot]",
|
| 417 |
+
"date": "2025-01-03T18:30:49+00:00",
|
| 418 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1ce18db0b562f51dd18321a2537c196afc011aea"
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"sha": "bdfdeeb4797447fd2990a7eec57528fccec777ad",
|
| 422 |
+
"message": "chore: cargo clippy",
|
| 423 |
+
"author": "Narayan Bhat",
|
| 424 |
+
"date": "2025-01-03T20:38:49+00:00",
|
| 425 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bdfdeeb4797447fd2990a7eec57528fccec777ad"
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"sha": "68c93c4bb301888207df299c758a4d364a39de9f",
|
| 429 |
+
"message": "chore: revert config changes",
|
| 430 |
+
"author": "Narayan Bhat",
|
| 431 |
+
"date": "2025-01-04T04:05:22+00:00",
|
| 432 |
+
"url": "https://github.com/juspay/hyperswitch/commit/68c93c4bb301888207df299c758a4d364a39de9f"
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"sha": "2c3828d7ca5a3fd803d34bdbdabbaab1645f010a",
|
| 436 |
+
"message": "chore: cargo clippy",
|
| 437 |
+
"author": "Narayan Bhat",
|
| 438 |
+
"date": "2025-01-06T07:36:17+00:00",
|
| 439 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2c3828d7ca5a3fd803d34bdbdabbaab1645f010a"
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"sha": "b02524c1c0cd9394583fec2ec56de5697e75f5e3",
|
| 443 |
+
"message": "refactor: remove customer payment methods from payment methods",
|
| 444 |
+
"author": "Narayan Bhat",
|
| 445 |
+
"date": "2025-01-06T11:16:55+00:00",
|
| 446 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b02524c1c0cd9394583fec2ec56de5697e75f5e3"
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"sha": "0bac917da0a5cee4b01a735c7a723eb1d54e6398",
|
| 450 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 451 |
+
"author": "hyperswitch-bot[bot]",
|
| 452 |
+
"date": "2025-01-06T11:19:44+00:00",
|
| 453 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0bac917da0a5cee4b01a735c7a723eb1d54e6398"
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"sha": "4b05c972904c1a82f898a8e35a14c1372e7b1321",
|
| 457 |
+
"message": "refactor: remove hardcoding required fields config",
|
| 458 |
+
"author": "Narayan Bhat",
|
| 459 |
+
"date": "2025-01-06T14:01:19+00:00",
|
| 460 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4b05c972904c1a82f898a8e35a14c1372e7b1321"
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"sha": "34c07123844372ae47334db3137484e4fbcde98c",
|
| 464 |
+
"message": "Merge branch 'main' into payment_methods_list_for_payment_methods",
|
| 465 |
+
"author": "Narayan Bhat",
|
| 466 |
+
"date": "2025-01-07T07:58:59+00:00",
|
| 467 |
+
"url": "https://github.com/juspay/hyperswitch/commit/34c07123844372ae47334db3137484e4fbcde98c"
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"sha": "3379758459e4b14c2a5b5deebc37f4b70935162d",
|
| 471 |
+
"message": "chore: merge fixes",
|
| 472 |
+
"author": "Narayan Bhat",
|
| 473 |
+
"date": "2025-01-07T08:19:38+00:00",
|
| 474 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3379758459e4b14c2a5b5deebc37f4b70935162d"
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"sha": "de188cf75a9c2bb9d9ad03e9f10c7fad6a62696a",
|
| 478 |
+
"message": "feat: add list saved payment methods endpoint",
|
| 479 |
+
"author": "Narayan Bhat",
|
| 480 |
+
"date": "2025-01-12T20:17:40+00:00",
|
| 481 |
+
"url": "https://github.com/juspay/hyperswitch/commit/de188cf75a9c2bb9d9ad03e9f10c7fad6a62696a"
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"sha": "4ba1fd7823e0d6368d379328e21a44c85f6a7586",
|
| 485 |
+
"message": "chore: cargo clippy",
|
| 486 |
+
"author": "Narayan Bhat",
|
| 487 |
+
"date": "2025-01-13T10:16:21+00:00",
|
| 488 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4ba1fd7823e0d6368d379328e21a44c85f6a7586"
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"sha": "af0cfc0c14e4171bc69065b145a97b144471f1cf",
|
| 492 |
+
"message": "Merge branch 'main' into list_saved_payment_methods",
|
| 493 |
+
"author": "Narayan Bhat",
|
| 494 |
+
"date": "2025-01-13T17:24:39+00:00",
|
| 495 |
+
"url": "https://github.com/juspay/hyperswitch/commit/af0cfc0c14e4171bc69065b145a97b144471f1cf"
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"sha": "5203d6b3d804b05ce9570df89954678bf34b7fd1",
|
| 499 |
+
"message": "chore: run formatter",
|
| 500 |
+
"author": "hyperswitch-bot[bot]",
|
| 501 |
+
"date": "2025-01-13T17:25:36+00:00",
|
| 502 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5203d6b3d804b05ce9570df89954678bf34b7fd1"
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"sha": "0902159d49b06b7e65cd8e7fb3a56dd7a42f498d",
|
| 506 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 507 |
+
"author": "hyperswitch-bot[bot]",
|
| 508 |
+
"date": "2025-01-13T17:28:44+00:00",
|
| 509 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0902159d49b06b7e65cd8e7fb3a56dd7a42f498d"
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"sha": "cbf4877e4e8cc9ca5b38ea91e549136358200f93",
|
| 513 |
+
"message": "refactor(payment_method): add strict types and batch decryption",
|
| 514 |
+
"author": "Narayan Bhat",
|
| 515 |
+
"date": "2025-01-14T10:06:36+00:00",
|
| 516 |
+
"url": "https://github.com/juspay/hyperswitch/commit/cbf4877e4e8cc9ca5b38ea91e549136358200f93"
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"sha": "9570043911dac0f5d9d8627176068daa2e2b0fe3",
|
| 520 |
+
"message": "chore: run formatter",
|
| 521 |
+
"author": "hyperswitch-bot[bot]",
|
| 522 |
+
"date": "2025-01-14T10:07:50+00:00",
|
| 523 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9570043911dac0f5d9d8627176068daa2e2b0fe3"
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"sha": "9da7881ea9145312d43702047c99af37f3dbba25",
|
| 527 |
+
"message": "Merge branch 'main' into list_saved_payment_methods",
|
| 528 |
+
"author": "Narayan Bhat",
|
| 529 |
+
"date": "2025-01-15T07:10:02+00:00",
|
| 530 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9da7881ea9145312d43702047c99af37f3dbba25"
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"sha": "5173d42dbd541da8d1a005a1b0143d85feab9c5b",
|
| 534 |
+
"message": "feat: add payment methods session endpoints",
|
| 535 |
+
"author": "Narayan Bhat",
|
| 536 |
+
"date": "2025-01-26T13:25:04+00:00",
|
| 537 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5173d42dbd541da8d1a005a1b0143d85feab9c5b"
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"sha": "e3b57ddc6cd7a7f538e0f02f62fbaf1c3f01a472",
|
| 541 |
+
"message": "Merge branch 'main' into payment_methods_session",
|
| 542 |
+
"author": "Narayan Bhat",
|
| 543 |
+
"date": "2025-01-26T15:30:50+00:00",
|
| 544 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e3b57ddc6cd7a7f538e0f02f62fbaf1c3f01a472"
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"sha": "a3a7e436e99c689117104d96e38ae1588564b111",
|
| 548 |
+
"message": "chore: run formatter",
|
| 549 |
+
"author": "hyperswitch-bot[bot]",
|
| 550 |
+
"date": "2025-01-26T15:31:45+00:00",
|
| 551 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a3a7e436e99c689117104d96e38ae1588564b111"
|
| 552 |
+
},
|
| 553 |
+
{
|
| 554 |
+
"sha": "3345149afdab634f68a0251f95d860b770e8d2ba",
|
| 555 |
+
"message": "chore: cargo clippy",
|
| 556 |
+
"author": "Narayan Bhat",
|
| 557 |
+
"date": "2025-01-27T11:32:00+00:00",
|
| 558 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3345149afdab634f68a0251f95d860b770e8d2ba"
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"sha": "be337f0b670521049cea25732e1b6b8ce6428192",
|
| 562 |
+
"message": "chore: run formatter",
|
| 563 |
+
"author": "hyperswitch-bot[bot]",
|
| 564 |
+
"date": "2025-01-27T17:01:15+00:00",
|
| 565 |
+
"url": "https://github.com/juspay/hyperswitch/commit/be337f0b670521049cea25732e1b6b8ce6428192"
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"sha": "f9772f90a9b54ae74bccd85e65c448e29633694d",
|
| 569 |
+
"message": "chore: address PR comments",
|
| 570 |
+
"author": "Narayan Bhat",
|
| 571 |
+
"date": "2025-01-28T06:45:57+00:00",
|
| 572 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f9772f90a9b54ae74bccd85e65c448e29633694d"
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"sha": "b4165d77bc6741db074826b21bd4327d629d1faa",
|
| 576 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 577 |
+
"author": "hyperswitch-bot[bot]",
|
| 578 |
+
"date": "2025-01-28T07:12:36+00:00",
|
| 579 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b4165d77bc6741db074826b21bd4327d629d1faa"
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"sha": "ddff7b126feb6522efded75ad1c0feb53d38f1a0",
|
| 583 |
+
"message": "refactor: make network tokenization into enum",
|
| 584 |
+
"author": "Narayan Bhat",
|
| 585 |
+
"date": "2025-01-29T09:35:19+00:00",
|
| 586 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ddff7b126feb6522efded75ad1c0feb53d38f1a0"
|
| 587 |
+
},
|
| 588 |
+
{
|
| 589 |
+
"sha": "e134acbaaad490bbb835f3750263da2f17c30d71",
|
| 590 |
+
"message": "refactor: remove ephemeral key from payment methods and add update saved payment methods through payment methods session",
|
| 591 |
+
"author": "Narayan Bhat",
|
| 592 |
+
"date": "2025-01-29T13:04:58+00:00",
|
| 593 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e134acbaaad490bbb835f3750263da2f17c30d71"
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"sha": "26d86963100dfc5f0207a84dd515661efbe44abc",
|
| 597 |
+
"message": "Merge branch 'main' into payment_methods_session",
|
| 598 |
+
"author": "Narayan Bhat",
|
| 599 |
+
"date": "2025-01-30T06:42:16+00:00",
|
| 600 |
+
"url": "https://github.com/juspay/hyperswitch/commit/26d86963100dfc5f0207a84dd515661efbe44abc"
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"sha": "3514cdafa7e85fdb1ddc4c93a2115271cbfa39c2",
|
| 604 |
+
"message": "chore: cargo clippy",
|
| 605 |
+
"author": "Narayan Bhat",
|
| 606 |
+
"date": "2025-01-30T06:43:17+00:00",
|
| 607 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3514cdafa7e85fdb1ddc4c93a2115271cbfa39c2"
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"sha": "0c0cf4d6cbae964edc540f664236088437a76007",
|
| 611 |
+
"message": "chore: cargo clippy",
|
| 612 |
+
"author": "Narayan Bhat",
|
| 613 |
+
"date": "2025-01-30T08:14:12+00:00",
|
| 614 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0c0cf4d6cbae964edc540f664236088437a76007"
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"sha": "afcf1ef56bf61b84bd9d1070a22964ae4c08c5fc",
|
| 618 |
+
"message": "feat: add update saved payment method endpoint",
|
| 619 |
+
"author": "Narayan Bhat",
|
| 620 |
+
"date": "2025-01-30T13:19:00+00:00",
|
| 621 |
+
"url": "https://github.com/juspay/hyperswitch/commit/afcf1ef56bf61b84bd9d1070a22964ae4c08c5fc"
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"sha": "cc9c2e966b92feae6bcd83b88835bbcd5fcc5673",
|
| 625 |
+
"message": "feat(router): [V2] Introduce V2Auth and use it for payment_methods_list_enabled (#7038)\n\nCo-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>",
|
| 626 |
+
"author": "Anurag Thakur",
|
| 627 |
+
"date": "2025-01-31T08:37:17+00:00",
|
| 628 |
+
"url": "https://github.com/juspay/hyperswitch/commit/cc9c2e966b92feae6bcd83b88835bbcd5fcc5673"
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"sha": "614b2223af8a3a65b6eedc564ba8eab8023ed54f",
|
| 632 |
+
"message": "Merge branch 'main' into payment_methods_session",
|
| 633 |
+
"author": "Narayan Bhat",
|
| 634 |
+
"date": "2025-01-31T08:37:54+00:00",
|
| 635 |
+
"url": "https://github.com/juspay/hyperswitch/commit/614b2223af8a3a65b6eedc564ba8eab8023ed54f"
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"sha": "cf6aadc08ad77448b498eae441a6ad2b837b1093",
|
| 639 |
+
"message": "Merge branch 'main' into payment_methods_session",
|
| 640 |
+
"author": "Narayan Bhat",
|
| 641 |
+
"date": "2025-02-04T06:41:35+00:00",
|
| 642 |
+
"url": "https://github.com/juspay/hyperswitch/commit/cf6aadc08ad77448b498eae441a6ad2b837b1093"
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"sha": "7754db839eb9f6b6447e307bf23459663c09d74d",
|
| 646 |
+
"message": "Fix compilation errors",
|
| 647 |
+
"author": "Anurag Thakur",
|
| 648 |
+
"date": "2025-02-04T08:31:19+00:00",
|
| 649 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7754db839eb9f6b6447e307bf23459663c09d74d"
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"sha": "eeafc78826088a6cb257f9ca117e85e0fba21108",
|
| 653 |
+
"message": "chore: cargo clippy",
|
| 654 |
+
"author": "Narayan Bhat",
|
| 655 |
+
"date": "2025-02-04T09:36:04+00:00",
|
| 656 |
+
"url": "https://github.com/juspay/hyperswitch/commit/eeafc78826088a6cb257f9ca117e85e0fba21108"
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"sha": "4feb2032ac986ae67f09149b482aacd3b2dabac1",
|
| 660 |
+
"message": "Use individual structs instead of enum for auth",
|
| 661 |
+
"author": "Anurag Thakur",
|
| 662 |
+
"date": "2025-02-06T07:35:48+00:00",
|
| 663 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4feb2032ac986ae67f09149b482aacd3b2dabac1"
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"sha": "741e03813cb9a3f9f2f3e8035df21903dac8bc6e",
|
| 667 |
+
"message": "ci: disable stripe in cypress (#7183)",
|
| 668 |
+
"author": "Pa1NarK",
|
| 669 |
+
"date": "2025-02-04T10:41:54+00:00",
|
| 670 |
+
"url": "https://github.com/juspay/hyperswitch/commit/741e03813cb9a3f9f2f3e8035df21903dac8bc6e"
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"sha": "144003f79f8c5ae40b08061b3192f128370fbc34",
|
| 674 |
+
"message": "fix(router): add dynamic fields support for `samsung_pay` (#7090)\n\nCo-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>",
|
| 675 |
+
"author": "Shankar Singh C",
|
| 676 |
+
"date": "2025-02-04T10:18:04+00:00",
|
| 677 |
+
"url": "https://github.com/juspay/hyperswitch/commit/144003f79f8c5ae40b08061b3192f128370fbc34"
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"sha": "f225e863f8f7178d3ba0954e608550528a769e2d",
|
| 681 |
+
"message": "feat(router): add card_discovery in payment_attempt (#7039)\n\nCo-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in>",
|
| 682 |
+
"author": "Sai Harsha Vardhan",
|
| 683 |
+
"date": "2025-02-04T17:13:02+00:00",
|
| 684 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f225e863f8f7178d3ba0954e608550528a769e2d"
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"sha": "3e116b81b7e2a3a74d2f5fb8318248d360129e33",
|
| 688 |
+
"message": "fix(connector): [novalnet] Remove first name, last name as required fields for Applepay, Googlepay, Paypal (#7152)",
|
| 689 |
+
"author": "Debarati Ghatak",
|
| 690 |
+
"date": "2025-02-04T18:44:38+00:00",
|
| 691 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3e116b81b7e2a3a74d2f5fb8318248d360129e33"
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"sha": "52ed290608a953dd1fb550e05adf59c65aa8e5eb",
|
| 695 |
+
"message": "fix(connector): Fix Paybox 3DS failing issue (#7153)\n\nCo-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com>",
|
| 696 |
+
"author": "awasthi21",
|
| 697 |
+
"date": "2025-02-04T18:45:37+00:00",
|
| 698 |
+
"url": "https://github.com/juspay/hyperswitch/commit/52ed290608a953dd1fb550e05adf59c65aa8e5eb"
|
| 699 |
+
},
|
| 700 |
+
{
|
| 701 |
+
"sha": "3441c14c79de404aa9f4d43680c04159d0ea1655",
|
| 702 |
+
"message": "chore(version): 2025.02.05.0",
|
| 703 |
+
"author": "github-actions",
|
| 704 |
+
"date": "2025-02-05T00:26:52+00:00",
|
| 705 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3441c14c79de404aa9f4d43680c04159d0ea1655"
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"sha": "72f0ac7c893566aa17421fa1d330cf2b95ae902f",
|
| 709 |
+
"message": "refactor(ci): Remove Adyen-specific deprecated PMTs Sofort test cases in Postman (#7099)\n\nCo-authored-by: Arindam Sahoo <arindam.sahoo@Arindam-Sahoo-F565040VFJ.local>\nCo-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>\nCo-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com>",
|
| 710 |
+
"author": "Arindam Sahoo",
|
| 711 |
+
"date": "2025-02-05T09:25:10+00:00",
|
| 712 |
+
"url": "https://github.com/juspay/hyperswitch/commit/72f0ac7c893566aa17421fa1d330cf2b95ae902f"
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"sha": "e80d4320e06eae78fc6d7911dcbf98004c2825c0",
|
| 716 |
+
"message": "feat(core): google pay decrypt flow (#6991)\n\nCo-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>\nCo-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com>",
|
| 717 |
+
"author": "Sakil Mostak",
|
| 718 |
+
"date": "2025-02-05T09:54:57+00:00",
|
| 719 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e80d4320e06eae78fc6d7911dcbf98004c2825c0"
|
| 720 |
+
},
|
| 721 |
+
{
|
| 722 |
+
"sha": "6bbfe62817161ad2ad23b17173f153fcc8ee84b0",
|
| 723 |
+
"message": "fix(connector): [BOA] throw unsupported error incase of 3DS cards and limit administrative area length to 20 characters (#7174)\n\nCo-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>",
|
| 724 |
+
"author": "AkshayaFoiger",
|
| 725 |
+
"date": "2025-02-05T12:14:40+00:00",
|
| 726 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6bbfe62817161ad2ad23b17173f153fcc8ee84b0"
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"sha": "1a197e7ff72c562dcf72f3dac489a4c28e4621af",
|
| 730 |
+
"message": "feat(users): custom role at profile read (#6875)\n\nCo-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>\nCo-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com>",
|
| 731 |
+
"author": "Riddhiagrawal001",
|
| 732 |
+
"date": "2025-02-05T13:32:38+00:00",
|
| 733 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1a197e7ff72c562dcf72f3dac489a4c28e4621af"
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"sha": "940c0203074ed67825f4e00e7ac61acc2a68fc1f",
|
| 737 |
+
"message": "refactor(core): add recurring customer support for nomupay payouts. (#6687)\n\nCo-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>",
|
| 738 |
+
"author": "Suman Maji",
|
| 739 |
+
"date": "2025-02-05T13:33:11+00:00",
|
| 740 |
+
"url": "https://github.com/juspay/hyperswitch/commit/940c0203074ed67825f4e00e7ac61acc2a68fc1f"
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"sha": "8d7e2d3ac499243a4061ac5fb86204925fc7d3c7",
|
| 744 |
+
"message": "feat(analytics): Add currency as dimension and filter for disputes (#7006)",
|
| 745 |
+
"author": "Sandeep Kumar",
|
| 746 |
+
"date": "2025-02-05T13:34:00+00:00",
|
| 747 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8d7e2d3ac499243a4061ac5fb86204925fc7d3c7"
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"sha": "ce48f2ca4224d5fbb2aefdd671c6eaf119ed5302",
|
| 751 |
+
"message": "build(deps): bump `openssl` from 0.10.66 to 0.10.70 (#7187)",
|
| 752 |
+
"author": "Shankar Singh C",
|
| 753 |
+
"date": "2025-02-05T13:35:36+00:00",
|
| 754 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ce48f2ca4224d5fbb2aefdd671c6eaf119ed5302"
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"sha": "1ad01b1a043c00fbf3502623b3cf9984c20f4cbc",
|
| 758 |
+
"message": "fix(connector): [Deutschebank] Display deutschebank card payment method in dashboard (#7060)\n\nCo-authored-by: Debarshi Gupta <debarshi.gupta@Debarshi-Gupta-CM92YWDXFD.local>",
|
| 759 |
+
"author": "Debarshi Gupta",
|
| 760 |
+
"date": "2025-02-05T13:36:31+00:00",
|
| 761 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1ad01b1a043c00fbf3502623b3cf9984c20f4cbc"
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"sha": "8237e2d42c6ba4096bdb5c604053dd109acf2d99",
|
| 765 |
+
"message": "refactor(connector): [AUTHORIZEDOTNET] Add metadata information to connector request (#7011)\n\nCo-authored-by: Debarshi Gupta <debarshi.gupta@Debarshi-Gupta-CM92YWDXFD.local>\nCo-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>",
|
| 766 |
+
"author": "Debarshi Gupta",
|
| 767 |
+
"date": "2025-02-05T13:37:08+00:00",
|
| 768 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8237e2d42c6ba4096bdb5c604053dd109acf2d99"
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"sha": "259644a86ec04dd80a055349b031d0e414dde596",
|
| 772 |
+
"message": "feat(payments_v2): implement create and confirm intent flow (#7106)",
|
| 773 |
+
"author": "Sanchith Hegde",
|
| 774 |
+
"date": "2025-02-05T13:37:11+00:00",
|
| 775 |
+
"url": "https://github.com/juspay/hyperswitch/commit/259644a86ec04dd80a055349b031d0e414dde596"
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"sha": "b8c47cdf69d768599506a47550ef65bbee93b500",
|
| 779 |
+
"message": "feat(core): Implement 3ds decision manger for V2 (#7022)",
|
| 780 |
+
"author": "Swangi Kumari",
|
| 781 |
+
"date": "2025-02-05T13:37:46+00:00",
|
| 782 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b8c47cdf69d768599506a47550ef65bbee93b500"
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"sha": "dab87488ff0e4d15e78b685ff823207db10f147e",
|
| 786 |
+
"message": "fix(connector): [Authorizedotnet] fix deserialization error for Paypal while canceling payment (#7141)",
|
| 787 |
+
"author": "Swangi Kumari",
|
| 788 |
+
"date": "2025-02-05T13:38:18+00:00",
|
| 789 |
+
"url": "https://github.com/juspay/hyperswitch/commit/dab87488ff0e4d15e78b685ff823207db10f147e"
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"sha": "af65e27b87c472b3ebad0374b3287e67eb637cc6",
|
| 793 |
+
"message": "fix(core): Add payment_link_data in PaymentData for Psync (#7137)\n\nCo-authored-by: pranav-arjunan <pranav.arjunan@juspay.in>",
|
| 794 |
+
"author": "Debarati Ghatak",
|
| 795 |
+
"date": "2025-02-05T13:38:40+00:00",
|
| 796 |
+
"url": "https://github.com/juspay/hyperswitch/commit/af65e27b87c472b3ebad0374b3287e67eb637cc6"
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"sha": "7b1bb39f0e4cd825a19758e4713cf5adb79527f7",
|
| 800 |
+
"message": "fix(connector): [worldpay] remove threeDS data from Authorize request for NTI flows (#7097)",
|
| 801 |
+
"author": "Kashif",
|
| 802 |
+
"date": "2025-02-05T13:40:48+00:00",
|
| 803 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7b1bb39f0e4cd825a19758e4713cf5adb79527f7"
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"sha": "a88cd21850672adc75107269e3b44c58f6b41672",
|
| 807 |
+
"message": "feat(connector): [INESPAY] Integrate Sepa Bank Debit (#6755)\n\nCo-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>",
|
| 808 |
+
"author": "Sagnik Mitra",
|
| 809 |
+
"date": "2025-02-05T13:41:41+00:00",
|
| 810 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a88cd21850672adc75107269e3b44c58f6b41672"
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"sha": "a56f68876b88f46f4127cad0700ceb051d4069a2",
|
| 814 |
+
"message": "FEAT: Add Support for Amazon Pay Redirect and Amazon Pay payment via Stripe (#7056)\n\nCo-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>",
|
| 815 |
+
"author": "sweta-kumari-sharma",
|
| 816 |
+
"date": "2025-02-05T13:42:35+00:00",
|
| 817 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a56f68876b88f46f4127cad0700ceb051d4069a2"
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"sha": "273c54fdde3661539b89d4aec87e3fc61ca5b98d",
|
| 821 |
+
"message": "feat(core): Add Authorize flow as fallback flow while fetching GSM for refund errors (#7129)",
|
| 822 |
+
"author": "Debarati Ghatak",
|
| 823 |
+
"date": "2025-02-05T13:44:16+00:00",
|
| 824 |
+
"url": "https://github.com/juspay/hyperswitch/commit/273c54fdde3661539b89d4aec87e3fc61ca5b98d"
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"sha": "57084effea8fbfbd610a7a291a8f38a45b5c0999",
|
| 828 |
+
"message": "feat(connector): [Deutschebank] Add Access Token Error struct (#7127)",
|
| 829 |
+
"author": "Debarati Ghatak",
|
| 830 |
+
"date": "2025-02-05T13:44:56+00:00",
|
| 831 |
+
"url": "https://github.com/juspay/hyperswitch/commit/57084effea8fbfbd610a7a291a8f38a45b5c0999"
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"sha": "e7e36f867d2cfe2000eb81fb47fb16d08b0cb16c",
|
| 835 |
+
"message": "chore(postman): update Postman collection files",
|
| 836 |
+
"author": "github-actions",
|
| 837 |
+
"date": "2025-02-06T00:26:54+00:00",
|
| 838 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e7e36f867d2cfe2000eb81fb47fb16d08b0cb16c"
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"sha": "886737f351ea884b16261d2d23c8c956594d824a",
|
| 842 |
+
"message": "chore(version): 2025.02.06.0",
|
| 843 |
+
"author": "github-actions",
|
| 844 |
+
"date": "2025-02-06T00:31:16+00:00",
|
| 845 |
+
"url": "https://github.com/juspay/hyperswitch/commit/886737f351ea884b16261d2d23c8c956594d824a"
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"sha": "316bf136dd4389234c426d3b4be7dae32c6a1261",
|
| 849 |
+
"message": "Merge branch 'main' into payment_methods_session",
|
| 850 |
+
"author": "Narayan Bhat",
|
| 851 |
+
"date": "2025-02-10T04:37:35+00:00",
|
| 852 |
+
"url": "https://github.com/juspay/hyperswitch/commit/316bf136dd4389234c426d3b4be7dae32c6a1261"
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"sha": "5bcdc1e504cd6ce9fb99f6b55237e48be025dce1",
|
| 856 |
+
"message": "chore: cargo clippy",
|
| 857 |
+
"author": "Narayan Bhat",
|
| 858 |
+
"date": "2025-02-10T04:47:57+00:00",
|
| 859 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5bcdc1e504cd6ce9fb99f6b55237e48be025dce1"
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"sha": "ae0697921c0ae595e2912d4a90de590eee11656f",
|
| 863 |
+
"message": "chore: remove formatting of changelog",
|
| 864 |
+
"author": "Narayan Bhat",
|
| 865 |
+
"date": "2025-02-10T04:48:50+00:00",
|
| 866 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ae0697921c0ae595e2912d4a90de590eee11656f"
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"sha": "0cd488d1b62f577c95b98730031e7e09bcfb17c0",
|
| 870 |
+
"message": "chore: run formatter",
|
| 871 |
+
"author": "hyperswitch-bot[bot]",
|
| 872 |
+
"date": "2025-02-10T04:50:05+00:00",
|
| 873 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0cd488d1b62f577c95b98730031e7e09bcfb17c0"
|
| 874 |
+
},
|
| 875 |
+
{
|
| 876 |
+
"sha": "052ba0dba1f286eaa5d25db7a72ffa0214b61424",
|
| 877 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 878 |
+
"author": "hyperswitch-bot[bot]",
|
| 879 |
+
"date": "2025-02-10T05:03:37+00:00",
|
| 880 |
+
"url": "https://github.com/juspay/hyperswitch/commit/052ba0dba1f286eaa5d25db7a72ffa0214b61424"
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"sha": "f6cc446dc5648b7fb32de972b82522fb71b1cb52",
|
| 884 |
+
"message": "chore: add stripe back in tests",
|
| 885 |
+
"author": "Narayan Bhat",
|
| 886 |
+
"date": "2025-02-10T06:31:10+00:00",
|
| 887 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f6cc446dc5648b7fb32de972b82522fb71b1cb52"
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"sha": "37cd31e1ff3518ec4211ef22bad0c3e1f7fe50a4",
|
| 891 |
+
"message": "Merge branch 'main' into payment_methods_session",
|
| 892 |
+
"author": "Narayan Bhat",
|
| 893 |
+
"date": "2025-02-10T06:41:01+00:00",
|
| 894 |
+
"url": "https://github.com/juspay/hyperswitch/commit/37cd31e1ff3518ec4211ef22bad0c3e1f7fe50a4"
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"sha": "8070fc94a2b869ed231fc85c9f4c18c5d5b3b77e",
|
| 898 |
+
"message": "Merge branch 'main' into payment_methods_session",
|
| 899 |
+
"author": "Narayan Bhat",
|
| 900 |
+
"date": "2025-02-10T11:39:31+00:00",
|
| 901 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8070fc94a2b869ed231fc85c9f4c18c5d5b3b77e"
|
| 902 |
+
},
|
| 903 |
+
{
|
| 904 |
+
"sha": "96dce759989ad52d136c589ee34cc90b789be958",
|
| 905 |
+
"message": "chore: remove duplicate config key",
|
| 906 |
+
"author": "Narayan Bhat",
|
| 907 |
+
"date": "2025-02-10T11:41:08+00:00",
|
| 908 |
+
"url": "https://github.com/juspay/hyperswitch/commit/96dce759989ad52d136c589ee34cc90b789be958"
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"sha": "4d7b9aff3309b681b748c69888cf199ecd459a1b",
|
| 912 |
+
"message": "Merge branch 'main' into payment_methods_session",
|
| 913 |
+
"author": "Narayan Bhat",
|
| 914 |
+
"date": "2025-02-10T13:22:15+00:00",
|
| 915 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4d7b9aff3309b681b748c69888cf199ecd459a1b"
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"sha": "50f13c1e20b0d9045621fd088bad1dcf96f7399f",
|
| 919 |
+
"message": "chore: change back locker enabled config to true",
|
| 920 |
+
"author": "Narayan Bhat",
|
| 921 |
+
"date": "2025-02-10T16:08:57+00:00",
|
| 922 |
+
"url": "https://github.com/juspay/hyperswitch/commit/50f13c1e20b0d9045621fd088bad1dcf96f7399f"
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"sha": "0fc08ac05166850f7eb3672892592cf9c16c630d",
|
| 926 |
+
"message": "chore: change back locker enabled config to true",
|
| 927 |
+
"author": "Narayan Bhat",
|
| 928 |
+
"date": "2025-02-11T04:33:37+00:00",
|
| 929 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0fc08ac05166850f7eb3672892592cf9c16c630d"
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"sha": "4c01a5a6dabcac8d04ca2d355746da188c02065c",
|
| 933 |
+
"message": "feat: add payment method session confirm endpoint",
|
| 934 |
+
"author": "Narayan Bhat",
|
| 935 |
+
"date": "2025-02-12T07:16:52+00:00",
|
| 936 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4c01a5a6dabcac8d04ca2d355746da188c02065c"
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"sha": "87fb8c892631360ab2b4cff974c113e460ee6bbf",
|
| 940 |
+
"message": "Merge branch 'main' into payment_methods_session",
|
| 941 |
+
"author": "Narayan Bhat",
|
| 942 |
+
"date": "2025-02-12T13:24:57+00:00",
|
| 943 |
+
"url": "https://github.com/juspay/hyperswitch/commit/87fb8c892631360ab2b4cff974c113e460ee6bbf"
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"sha": "d654832b0fa1d98a1de8fbad7f7927b15bbc4913",
|
| 947 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 948 |
+
"author": "hyperswitch-bot[bot]",
|
| 949 |
+
"date": "2025-02-12T14:28:49+00:00",
|
| 950 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d654832b0fa1d98a1de8fbad7f7927b15bbc4913"
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"sha": "9bb2e0c86e6b35b83b30cb740a5d396d2320b1cd",
|
| 954 |
+
"message": "Update flow of Payment Method Session",
|
| 955 |
+
"author": "shivansh.mathur",
|
| 956 |
+
"date": "2025-01-31T10:12:40+00:00",
|
| 957 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9bb2e0c86e6b35b83b30cb740a5d396d2320b1cd"
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"sha": "09ddeff54d12d1bb9de09f98014e9e3cabb16226",
|
| 961 |
+
"message": "Changes",
|
| 962 |
+
"author": "shivansh.mathur",
|
| 963 |
+
"date": "2025-02-13T09:26:47+00:00",
|
| 964 |
+
"url": "https://github.com/juspay/hyperswitch/commit/09ddeff54d12d1bb9de09f98014e9e3cabb16226"
|
| 965 |
+
},
|
| 966 |
+
{
|
| 967 |
+
"sha": "b9907320b6b2c1233f91c20ec2591cdb1c34c091",
|
| 968 |
+
"message": "openapi changes",
|
| 969 |
+
"author": "shivansh.mathur",
|
| 970 |
+
"date": "2025-02-03T09:26:05+00:00",
|
| 971 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b9907320b6b2c1233f91c20ec2591cdb1c34c091"
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"sha": "a8e7b3251bd1532151f022bf04098affd8f1e5b9",
|
| 975 |
+
"message": "chore: run formatter",
|
| 976 |
+
"author": "hyperswitch-bot[bot]",
|
| 977 |
+
"date": "2025-02-13T10:40:55+00:00",
|
| 978 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a8e7b3251bd1532151f022bf04098affd8f1e5b9"
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"sha": "48cfcfdf3e1a9e23a1f44907c59b67c13d4eadfe",
|
| 982 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 983 |
+
"author": "hyperswitch-bot[bot]",
|
| 984 |
+
"date": "2025-02-13T11:21:03+00:00",
|
| 985 |
+
"url": "https://github.com/juspay/hyperswitch/commit/48cfcfdf3e1a9e23a1f44907c59b67c13d4eadfe"
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"sha": "8afa270ef7ccfe962a73e58197ae6d05d08eb821",
|
| 989 |
+
"message": "feat: add ability to create multi use tokens from payment methods",
|
| 990 |
+
"author": "Narayan Bhat",
|
| 991 |
+
"date": "2025-02-14T14:46:52+00:00",
|
| 992 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8afa270ef7ccfe962a73e58197ae6d05d08eb821"
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"sha": "3e3b7802e60156fe979946f78ed930795006e45c",
|
| 996 |
+
"message": "chore: fix cargo clippy and beautify code",
|
| 997 |
+
"author": "Narayan Bhat",
|
| 998 |
+
"date": "2025-02-14T19:23:40+00:00",
|
| 999 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3e3b7802e60156fe979946f78ed930795006e45c"
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"sha": "682470c25dd04188c6f44f05c1e37a97bb7de691",
|
| 1003 |
+
"message": "Merge branch 'main' into payment_methods_session",
|
| 1004 |
+
"author": "Narayan Bhat",
|
| 1005 |
+
"date": "2025-02-15T07:13:12+00:00",
|
| 1006 |
+
"url": "https://github.com/juspay/hyperswitch/commit/682470c25dd04188c6f44f05c1e37a97bb7de691"
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"sha": "9d674eb3b733f74b641095e3cca438cd76f0add2",
|
| 1010 |
+
"message": "chore: run formatter",
|
| 1011 |
+
"author": "hyperswitch-bot[bot]",
|
| 1012 |
+
"date": "2025-02-15T07:14:06+00:00",
|
| 1013 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9d674eb3b733f74b641095e3cca438cd76f0add2"
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"sha": "23f797a94103c930d0af2181e3fa308d06a572dd",
|
| 1017 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 1018 |
+
"author": "hyperswitch-bot[bot]",
|
| 1019 |
+
"date": "2025-02-15T07:26:43+00:00",
|
| 1020 |
+
"url": "https://github.com/juspay/hyperswitch/commit/23f797a94103c930d0af2181e3fa308d06a572dd"
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"sha": "82c08f22513258dc96d13df2d30b58297751cefd",
|
| 1024 |
+
"message": "chore: address PR comments",
|
| 1025 |
+
"author": "Narayan Bhat",
|
| 1026 |
+
"date": "2025-02-17T12:45:05+00:00",
|
| 1027 |
+
"url": "https://github.com/juspay/hyperswitch/commit/82c08f22513258dc96d13df2d30b58297751cefd"
|
| 1028 |
+
},
|
| 1029 |
+
{
|
| 1030 |
+
"sha": "80a6ba99f15829c2ef14ad6417c31e025a63d685",
|
| 1031 |
+
"message": "chore: run formatter",
|
| 1032 |
+
"author": "hyperswitch-bot[bot]",
|
| 1033 |
+
"date": "2025-02-17T13:44:07+00:00",
|
| 1034 |
+
"url": "https://github.com/juspay/hyperswitch/commit/80a6ba99f15829c2ef14ad6417c31e025a63d685"
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"sha": "834b42ec77bd420591d1bd27b53ee6efb90fca15",
|
| 1038 |
+
"message": "feat: add openapi for payment method session confirm",
|
| 1039 |
+
"author": "Narayan Bhat",
|
| 1040 |
+
"date": "2025-02-18T06:50:33+00:00",
|
| 1041 |
+
"url": "https://github.com/juspay/hyperswitch/commit/834b42ec77bd420591d1bd27b53ee6efb90fca15"
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"sha": "555fcc37461aa6bdb33183a508ec90fc1415cfc1",
|
| 1045 |
+
"message": "refactor: add payments response in payment method session response and change payment methods session to payment method session",
|
| 1046 |
+
"author": "Narayan Bhat",
|
| 1047 |
+
"date": "2025-02-19T18:25:29+00:00",
|
| 1048 |
+
"url": "https://github.com/juspay/hyperswitch/commit/555fcc37461aa6bdb33183a508ec90fc1415cfc1"
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"sha": "d2a462ac11cd0676ecd56cb76c449cbf0b80e1a0",
|
| 1052 |
+
"message": "refactor: add return_url in payment method session and change payment response to a common response everywhere",
|
| 1053 |
+
"author": "Narayan Bhat",
|
| 1054 |
+
"date": "2025-02-20T09:59:15+00:00",
|
| 1055 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d2a462ac11cd0676ecd56cb76c449cbf0b80e1a0"
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"sha": "0b94e57ff056e945134f392c64f358240c54ccb2",
|
| 1059 |
+
"message": "chore: run formatter",
|
| 1060 |
+
"author": "hyperswitch-bot[bot]",
|
| 1061 |
+
"date": "2025-02-20T10:01:52+00:00",
|
| 1062 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0b94e57ff056e945134f392c64f358240c54ccb2"
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"sha": "c222161fa89c68eb85b5a98ce1f1326a0ec9ad0a",
|
| 1066 |
+
"message": "chore: cargo clippy",
|
| 1067 |
+
"author": "Narayan Bhat",
|
| 1068 |
+
"date": "2025-02-20T10:02:55+00:00",
|
| 1069 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c222161fa89c68eb85b5a98ce1f1326a0ec9ad0a"
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"sha": "27420006b5f1d9f4a7ca7f28648481843bc19c7d",
|
| 1073 |
+
"message": "chore: add additional doc comment for connector token",
|
| 1074 |
+
"author": "Narayan Bhat",
|
| 1075 |
+
"date": "2025-02-20T10:11:08+00:00",
|
| 1076 |
+
"url": "https://github.com/juspay/hyperswitch/commit/27420006b5f1d9f4a7ca7f28648481843bc19c7d"
|
| 1077 |
+
},
|
| 1078 |
+
{
|
| 1079 |
+
"sha": "4378976deb5be1a6433d184c0e14e562d16e0ba4",
|
| 1080 |
+
"message": "Changes for better structure",
|
| 1081 |
+
"author": "shivansh.mathur",
|
| 1082 |
+
"date": "2025-02-20T14:18:28+00:00",
|
| 1083 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4378976deb5be1a6433d184c0e14e562d16e0ba4"
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"sha": "5c1a0be6b1318a623a3e51849e37aed07adedb21",
|
| 1087 |
+
"message": "chore: run formatter",
|
| 1088 |
+
"author": "hyperswitch-bot[bot]",
|
| 1089 |
+
"date": "2025-02-20T15:16:15+00:00",
|
| 1090 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5c1a0be6b1318a623a3e51849e37aed07adedb21"
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"sha": "efaf6881ed6871fedd33ceec04bccc5bb287f4bb",
|
| 1094 |
+
"message": "refactor: add customer authentication details in session response",
|
| 1095 |
+
"author": "Narayan Bhat",
|
| 1096 |
+
"date": "2025-02-20T15:44:26+00:00",
|
| 1097 |
+
"url": "https://github.com/juspay/hyperswitch/commit/efaf6881ed6871fedd33ceec04bccc5bb287f4bb"
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"sha": "ebfba330e3947918d435fab9ba2c72070920ef44",
|
| 1101 |
+
"message": "Return value changes",
|
| 1102 |
+
"author": "shivansh.mathur",
|
| 1103 |
+
"date": "2025-02-20T18:10:57+00:00",
|
| 1104 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ebfba330e3947918d435fab9ba2c72070920ef44"
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"sha": "b86c302b396e4dc678390521fba595af65bedcb7",
|
| 1108 |
+
"message": "Merge branch 'update_payment_methods_session' of github.com:juspay/hyperswitch into update_payment_methods_session",
|
| 1109 |
+
"author": "shivansh.mathur",
|
| 1110 |
+
"date": "2025-02-20T18:11:59+00:00",
|
| 1111 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b86c302b396e4dc678390521fba595af65bedcb7"
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"sha": "a8a7c6210e8142ece2b865aa9ea40177ec8dfcf3",
|
| 1115 |
+
"message": "chore: run formatter",
|
| 1116 |
+
"author": "hyperswitch-bot[bot]",
|
| 1117 |
+
"date": "2025-02-20T18:28:56+00:00",
|
| 1118 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a8a7c6210e8142ece2b865aa9ea40177ec8dfcf3"
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"sha": "6ec0ac186d3f2d5baa2d5a34b440c9f0d3a646f3",
|
| 1122 |
+
"message": "Removing unwanted Structs",
|
| 1123 |
+
"author": "shivansh.mathur",
|
| 1124 |
+
"date": "2025-02-21T05:25:31+00:00",
|
| 1125 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6ec0ac186d3f2d5baa2d5a34b440c9f0d3a646f3"
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"sha": "7e6a18719de808c3694f368d6a14f8e63c026ee0",
|
| 1129 |
+
"message": "chore: run formatter",
|
| 1130 |
+
"author": "hyperswitch-bot[bot]",
|
| 1131 |
+
"date": "2025-02-21T05:26:36+00:00",
|
| 1132 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7e6a18719de808c3694f368d6a14f8e63c026ee0"
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"sha": "d81c8361e0d700a8fb7fd7b119151bc63851422c",
|
| 1136 |
+
"message": "Removing unwanted structs",
|
| 1137 |
+
"author": "shivansh.mathur",
|
| 1138 |
+
"date": "2025-02-21T05:36:55+00:00",
|
| 1139 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d81c8361e0d700a8fb7fd7b119151bc63851422c"
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"sha": "e48ec0691bbaddb71df5e125d94372554d802f64",
|
| 1143 |
+
"message": "Merge branch 'update_payment_methods_session' of github.com:juspay/hyperswitch into update_payment_methods_session",
|
| 1144 |
+
"author": "shivansh.mathur",
|
| 1145 |
+
"date": "2025-02-21T05:38:50+00:00",
|
| 1146 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e48ec0691bbaddb71df5e125d94372554d802f64"
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"sha": "eeb398d0bd7d2327f8acd5ad55191767cbc50a04",
|
| 1150 |
+
"message": "Removing comments",
|
| 1151 |
+
"author": "shivansh.mathur",
|
| 1152 |
+
"date": "2025-02-21T05:52:21+00:00",
|
| 1153 |
+
"url": "https://github.com/juspay/hyperswitch/commit/eeb398d0bd7d2327f8acd5ad55191767cbc50a04"
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"sha": "68293f099841b48387f0a0333e3f5a5c79628f6b",
|
| 1157 |
+
"message": "chore: run formatter",
|
| 1158 |
+
"author": "hyperswitch-bot[bot]",
|
| 1159 |
+
"date": "2025-02-21T05:53:35+00:00",
|
| 1160 |
+
"url": "https://github.com/juspay/hyperswitch/commit/68293f099841b48387f0a0333e3f5a5c79628f6b"
|
| 1161 |
+
},
|
| 1162 |
+
{
|
| 1163 |
+
"sha": "6fabd97312589b064805f4e9c6ee443b5a094e01",
|
| 1164 |
+
"message": "Merge branch 'update_payment_methods_session' into payment_methods_session",
|
| 1165 |
+
"author": "Narayan Bhat",
|
| 1166 |
+
"date": "2025-02-21T06:20:29+00:00",
|
| 1167 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6fabd97312589b064805f4e9c6ee443b5a094e01"
|
| 1168 |
+
},
|
| 1169 |
+
{
|
| 1170 |
+
"sha": "0a289e6c01973b2057bceca38b9e16533ec11914",
|
| 1171 |
+
"message": "chore: rename paymentMethodsSession to paymentMethodSession",
|
| 1172 |
+
"author": "Narayan Bhat",
|
| 1173 |
+
"date": "2025-02-21T09:52:06+00:00",
|
| 1174 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0a289e6c01973b2057bceca38b9e16533ec11914"
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"sha": "bcc3e36c3dc5450e32b711f145e544e9ac8668f1",
|
| 1178 |
+
"message": "Merge branch 'main' into payment_methods_session",
|
| 1179 |
+
"author": "Narayan Bhat",
|
| 1180 |
+
"date": "2025-02-24T05:54:02+00:00",
|
| 1181 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bcc3e36c3dc5450e32b711f145e544e9ac8668f1"
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"sha": "6d1aaf279393f84f2e6985990e0e4a384a526162",
|
| 1185 |
+
"message": "chore: cargo clippy",
|
| 1186 |
+
"author": "Narayan Bhat",
|
| 1187 |
+
"date": "2025-02-24T05:54:30+00:00",
|
| 1188 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6d1aaf279393f84f2e6985990e0e4a384a526162"
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"sha": "11a6e0305129d97e81d8e55571b5ecd929307a3f",
|
| 1192 |
+
"message": "Merge branch 'main' into payment_methods_session",
|
| 1193 |
+
"author": "Narayan Bhat",
|
| 1194 |
+
"date": "2025-02-24T10:46:38+00:00",
|
| 1195 |
+
"url": "https://github.com/juspay/hyperswitch/commit/11a6e0305129d97e81d8e55571b5ecd929307a3f"
|
| 1196 |
+
},
|
| 1197 |
+
{
|
| 1198 |
+
"sha": "70eff4359cd75fb22ce5b8ae22ec59a69ad4c7f4",
|
| 1199 |
+
"message": "refactor: rename customer_authentication_details to authentication_details",
|
| 1200 |
+
"author": "Narayan Bhat",
|
| 1201 |
+
"date": "2025-02-24T11:10:14+00:00",
|
| 1202 |
+
"url": "https://github.com/juspay/hyperswitch/commit/70eff4359cd75fb22ce5b8ae22ec59a69ad4c7f4"
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"sha": "90a48a7d0db488233ad4402b2935851fae36426c",
|
| 1206 |
+
"message": "refactor: rename customer_authentication_details to authentication_details",
|
| 1207 |
+
"author": "Narayan Bhat",
|
| 1208 |
+
"date": "2025-02-24T11:30:00+00:00",
|
| 1209 |
+
"url": "https://github.com/juspay/hyperswitch/commit/90a48a7d0db488233ad4402b2935851fae36426c"
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"sha": "3a51514b633b593f3509bf450e0dc95bb6193dc6",
|
| 1213 |
+
"message": "chore: fix openapi_v2",
|
| 1214 |
+
"author": "Narayan Bhat",
|
| 1215 |
+
"date": "2025-02-27T04:02:30+00:00",
|
| 1216 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3a51514b633b593f3509bf450e0dc95bb6193dc6"
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"sha": "81f854be2cc6ff4b62074f6f6d46759271303805",
|
| 1220 |
+
"message": "Merge branch 'main' into payment_methods_session_openapi_fix",
|
| 1221 |
+
"author": "Narayan Bhat",
|
| 1222 |
+
"date": "2025-02-27T05:02:13+00:00",
|
| 1223 |
+
"url": "https://github.com/juspay/hyperswitch/commit/81f854be2cc6ff4b62074f6f6d46759271303805"
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"sha": "faf1e19c03e03c4b778c8c9c31bd669d7808ed0b",
|
| 1227 |
+
"message": "fix: openapi v2",
|
| 1228 |
+
"author": "Narayan Bhat",
|
| 1229 |
+
"date": "2025-02-27T05:02:25+00:00",
|
| 1230 |
+
"url": "https://github.com/juspay/hyperswitch/commit/faf1e19c03e03c4b778c8c9c31bd669d7808ed0b"
|
| 1231 |
+
},
|
| 1232 |
+
{
|
| 1233 |
+
"sha": "8d4c22a27692331ceca9911f6998736c2f9dbc38",
|
| 1234 |
+
"message": "Merge branch 'main' into payment_methods_session_openapi_fix",
|
| 1235 |
+
"author": "Narayan Bhat",
|
| 1236 |
+
"date": "2025-03-03T05:19:53+00:00",
|
| 1237 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8d4c22a27692331ceca9911f6998736c2f9dbc38"
|
| 1238 |
+
},
|
| 1239 |
+
{
|
| 1240 |
+
"sha": "96a60107c688cd4e4e73fe8eee46d058dd03db05",
|
| 1241 |
+
"message": "fix: typos",
|
| 1242 |
+
"author": "Narayan Bhat",
|
| 1243 |
+
"date": "2025-03-03T06:02:47+00:00",
|
| 1244 |
+
"url": "https://github.com/juspay/hyperswitch/commit/96a60107c688cd4e4e73fe8eee46d058dd03db05"
|
| 1245 |
+
},
|
| 1246 |
+
{
|
| 1247 |
+
"sha": "246ad624e26f1a4b141c5ea455c0da803606b59e",
|
| 1248 |
+
"message": "Merge branch 'main' into payment_methods_session_openapi_fix",
|
| 1249 |
+
"author": "Narayan Bhat",
|
| 1250 |
+
"date": "2025-03-06T11:02:43+00:00",
|
| 1251 |
+
"url": "https://github.com/juspay/hyperswitch/commit/246ad624e26f1a4b141c5ea455c0da803606b59e"
|
| 1252 |
+
},
|
| 1253 |
+
{
|
| 1254 |
+
"sha": "acb77dece7fb74552b021eddec3d8c693d395b79",
|
| 1255 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 1256 |
+
"author": "hyperswitch-bot[bot]",
|
| 1257 |
+
"date": "2025-03-06T11:11:15+00:00",
|
| 1258 |
+
"url": "https://github.com/juspay/hyperswitch/commit/acb77dece7fb74552b021eddec3d8c693d395b79"
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"sha": "f09fb4c889f88032641f6db8d008f758f6fe4b20",
|
| 1262 |
+
"message": "Merge branch 'main' into payment_methods_session_openapi_fix",
|
| 1263 |
+
"author": "Narayan Bhat",
|
| 1264 |
+
"date": "2025-03-07T11:17:29+00:00",
|
| 1265 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f09fb4c889f88032641f6db8d008f758f6fe4b20"
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"sha": "f99b67cf79e45853c2c92dfdbb007630c2aaf74a",
|
| 1269 |
+
"message": "chore: update openapi",
|
| 1270 |
+
"author": "Narayan Bhat",
|
| 1271 |
+
"date": "2025-03-07T11:27:57+00:00",
|
| 1272 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f99b67cf79e45853c2c92dfdbb007630c2aaf74a"
|
| 1273 |
+
}
|
| 1274 |
+
]
|
| 1275 |
+
}
|
prs/pr_7386.json
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7386,
|
| 3 |
+
"title": "feat(users): Add V2 User APIs to Support Modularity for Merchant Accounts",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [x] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n\r\nAs part of the modularity effort, we are introducing user support to enable dashboard interactions with v2 merchant accounts. This allows users to create, list, and switch between merchant accounts within their organization. This also allows users to list profiles and switch profiles when using v2 merchant accounts.\r\n\r\n## Key Changes \r\n\r\n### 1. User Support for v2 Merchant Accounts \r\nIntroduced APIs to facilitate user interactions with v2 merchant accounts: \r\n- **Create Merchant Account API (v1 & v2)**: Allows users to create a merchant account. \r\n- **List Merchant Accounts API**: Retrieves all v2 merchant accounts associated with a user in an organization. \r\n- **Switch Merchant Account API**: Enables users to switch to a different v2 merchant account. \r\n\r\n### 2. Modified Response Structure \r\n- The response for **Create Merchant Account (v1 & v2)** now returns an object instead of just `StatusOk (200)`. The response object includes: \r\n - `merchant_id` \r\n - `merchant_name` \r\n - `product_type` \r\n - `version` \r\n- The **List Merchant Accounts API** now returns a vector of these objects instead of a raw list. \r\n\r\n### 3. Request Structure Update \r\n- The **Create Merchant Account API** request now includes an optional `product_type` field. \r\n- This field is currently optional but will be made mandatory once both the frontend and backend are stabilized. \r\n\r\n### 4. Recon\r\n- Added **Merchant Account** permission for Recon related activities.\r\n\r\n### 5. User Support for v2 Profiles\r\nIntroduced APIs to facilitate user interactions with v2 profiles: \r\n- **List Profiles API**: Retrieves all v2 profiles associated with a user in a merchant. \r\n- **Switch Profile API**: Enables users to switch to a different v2 profile in the merchant.\r\n\r\n### 6. Modified get_user_details API:\r\n- Modified **get_user_details API** response type to return the version as well, enabling FE to have more context while trying to fetch the merchant account details.\r\n \r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\nWith the modularization of the payments solution, managing multiple merchant accounts becomes essential. This update ensures a seamless user experience for handling v1 and v2 merchant accounts and profiles within an organization.\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\nThe flow looks like this:\r\n- Sign Up / Sign In through V1 merchant account --> Create Merchant Account (V1 or V2) --> List Merchant Accounts (V1 and V2)--> Switch Merchant Account (V1 and V2)\r\n\r\n### Testing V2 Flow:\r\nSign In to a V1 merchant account\r\n\r\n#### Create v2 Merchant Account:\r\n\r\n```bash\r\ncurl --location 'http://localhost:8000/v2/user/create_merchant' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMWI5ZGZjNWUtZjA2My00YWY3LThkNzUtYmFmOTgzZmU0ODE4IiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF92S09zQU9odGc2S3hpSldlR3Y2YiIsInJvbGVfaWQiOiJvcmdfYWRtaW4iLCJleHAiOjE3NDE3NTk2MjUsIm9yZ19pZCI6Im9yZ19kUENaYU51bmNaRDY5aVZXb0hKcyIsInByb2ZpbGVfaWQiOiJwcm9fQjV4UWZxUWE4dkNCaXpoc2FnTmkiLCJ0ZW5hbnRfaWQiOiJwdWJsaWMifQ.MMJ68FinbhA4dShNvbrOsofU_nTaw1MjGnUrEkmkeOk' \\\r\n--header 'Cookie: login_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMWI5ZGZjNWUtZjA2My00YWY3LThkNzUtYmFmOTgzZmU0ODE4IiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF92S09zQU9odGc2S3hpSldlR3Y2YiIsInJvbGVfaWQiOiJvcmdfYWRtaW4iLCJleHAiOjE3NDE3NTk2MjUsIm9yZ19pZCI6Im9yZ19kUENaYU51bmNaRDY5aVZXb0hKcyIsInByb2ZpbGVfaWQiOiJwcm9fQjV4UWZxUWE4dkNCaXpoc2FnTmkiLCJ0ZW5hbnRfaWQiOiJwdWJsaWMifQ.MMJ68FinbhA4dShNvbrOsofU_nTaw1MjGnUrEkmkeOk' \\\r\n--data '{\r\n \"company_name\": \"TestingMerchantAccountCreateV2\",\r\n \"product_type\": \"vault\"\r\n} '\r\n```\r\n\r\nSample Output:\r\n```json\r\n{\r\n \"merchant_id\": \"testingmerchantaccountcreatev2_Ku5OxNIapqaot1P8rlQr\",\r\n \"merchant_name\": \"TestingMerchantAccountCreateV2\",\r\n \"product_type\": \"vault\",\r\n \"version\": \"v2\"\r\n}\r\n```\r\n\r\n#### List V2 Merchant Accounts for User in Org:\r\n\r\n```bash\r\ncurl --location 'http://localhost:8000/v2/user/list/merchant' \\\r\n--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMWI5ZGZjNWUtZjA2My00YWY3LThkNzUtYmFmOTgzZmU0ODE4IiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF92S09zQU9odGc2S3hpSldlR3Y2YiIsInJvbGVfaWQiOiJvcmdfYWRtaW4iLCJleHAiOjE3NDE3NTk2MjUsIm9yZ19pZCI6Im9yZ19kUENaYU51bmNaRDY5aVZXb0hKcyIsInByb2ZpbGVfaWQiOiJwcm9fQjV4UWZxUWE4dkNCaXpoc2FnTmkiLCJ0ZW5hbnRfaWQiOiJwdWJsaWMifQ.MMJ68FinbhA4dShNvbrOsofU_nTaw1MjGnUrEkmkeOk' \\\r\n--header 'Cookie: login_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMWI5ZGZjNWUtZjA2My00YWY3LThkNzUtYmFmOTgzZmU0ODE4IiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF92S09zQU9odGc2S3hpSldlR3Y2YiIsInJvbGVfaWQiOiJvcmdfYWRtaW4iLCJleHAiOjE3NDE3NTk2MjUsIm9yZ19pZCI6Im9yZ19kUENaYU51bmNaRDY5aVZXb0hKcyIsInByb2ZpbGVfaWQiOiJwcm9fQjV4UWZxUWE4dkNCaXpoc2FnTmkiLCJ0ZW5hbnRfaWQiOiJwdWJsaWMifQ.MMJ68FinbhA4dShNvbrOsofU_nTaw1MjGnUrEkmkeOk'\r\n```\r\n\r\nSample Output:\r\n```json\r\n[\r\n {\r\n \"merchant_id\": \"merchant_vKOsAOhtg6KxiJWeGv6b\",\r\n \"merchant_name\": \"merchant\",\r\n \"product_type\": \"orchestration\",\r\n \"version\": \"v2\"\r\n },\r\n {\r\n \"merchant_id\": \"testingmerchantaccountcreatev2_Ku5OxNIapqaot1P8rlQr\",\r\n \"merchant_name\": \"TestingMerchantAccountCreateV2\",\r\n \"product_type\": \"vault\",\r\n \"version\": \"v2\"\r\n }\r\n]\r\n```\r\n\r\n#### Switch to V2 merchant Account:\r\n```bash\r\ncurl --location 'http://localhost:8000/v2/user/switch/merchant' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMWI5ZGZjNWUtZjA2My00YWY3LThkNzUtYmFmOTgzZmU0ODE4IiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF92S09zQU9odGc2S3hpSldlR3Y2YiIsInJvbGVfaWQiOiJvcmdfYWRtaW4iLCJleHAiOjE3NDE3NTk2MjUsIm9yZ19pZCI6Im9yZ19kUENaYU51bmNaRDY5aVZXb0hKcyIsInByb2ZpbGVfaWQiOiJwcm9fQjV4UWZxUWE4dkNCaXpoc2FnTmkiLCJ0ZW5hbnRfaWQiOiJwdWJsaWMifQ.MMJ68FinbhA4dShNvbrOsofU_nTaw1MjGnUrEkmkeOk' \\\r\n--header 'Cookie: login_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMWI5ZGZjNWUtZjA2My00YWY3LThkNzUtYmFmOTgzZmU0ODE4IiwibWVyY2hhbnRfaWQiOiJ0ZXN0aW5nbWVyY2hhbnRhY2NvdW50Y3JlYXRldjJfS3U1T3hOSWFwcWFvdDFQOHJsUXIiLCJyb2xlX2lkIjoib3JnX2FkbWluIiwiZXhwIjoxNzQxNzU5NzYyLCJvcmdfaWQiOiJvcmdfZFBDWmFOdW5jWkQ2OWlWV29ISnMiLCJwcm9maWxlX2lkIjoicHJvX2huN2RqaVpKckJTMnYxS1hjdWIxIiwidGVuYW50X2lkIjoicHVibGljIn0.kxj8dXx4KBXRl-Ayfy6qVJxZF5hLvwqxouJ2ENubm8Q' \\\r\n--data '{\r\n \"merchant_id\": \"testingmerchantaccountcreatev2_Ku5OxNIapqaot1P8rlQr\"\r\n}'\r\n```\r\n\r\nSample Output:\r\n```json\r\n{\r\n \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMWI5ZGZjNWUtZjA2My00YWY3LThkNzUtYmFmOTgzZmU0ODE4IiwibWVyY2hhbnRfaWQiOiJ0ZXN0aW5nbWVyY2hhbnRhY2NvdW50Y3JlYXRldjJfS3U1T3hOSWFwcWFvdDFQOHJsUXIiLCJyb2xlX2lkIjoib3JnX2FkbWluIiwiZXhwIjoxNzQxNzU5NzYyLCJvcmdfaWQiOiJvcmdfZFBDWmFOdW5jWkQ2OWlWV29ISnMiLCJwcm9maWxlX2lkIjoicHJvX2huN2RqaVpKckJTMnYxS1hjdWIxIiwidGVuYW50X2lkIjoicHVibGljIn0.kxj8dXx4KBXRl-Ayfy6qVJxZF5hLvwqxouJ2ENubm8Q\",\r\n \"token_type\": \"user_info\"\r\n}\r\n```\r\n\r\n#### Switch to V2 Profile:\r\n```bash\r\ncurl --location 'http://localhost:8000/v2/user/switch/profile' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNzhjMjBkNzQtN2FkYy00NmE5LWEzN2UtNGFhOWMzOWE0ZDY4IiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF9DaGxVcVNSakNyc1pQMTI3VmVUeCIsInJvbGVfaWQiOiJvcmdfYWRtaW4iLCJleHAiOjE3NDE4NjIxOTQsIm9yZ19pZCI6Im9yZ19VSWlNWFBvVFRsZVBXOElRU2V3MyIsInByb2ZpbGVfaWQiOiJwcm9fZnhHdTBKZm1mbUVmQVEwUGpiY1ciLCJ0ZW5hbnRfaWQiOiJwdWJsaWMifQ.8QVJGDmL-ybeQ8Rx8On_ACt7_GsFQVkE8-jZtT9fNXg' \\\r\n--header 'Cookie: login_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNzhjMjBkNzQtN2FkYy00NmE5LWEzN2UtNGFhOWMzOWE0ZDY4IiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF9DaGxVcVNSakNyc1pQMTI3VmVUeCIsInJvbGVfaWQiOiJvcmdfYWRtaW4iLCJleHAiOjE3NDE4NjIzODYsIm9yZ19pZCI6Im9yZ19VSWlNWFBvVFRsZVBXOElRU2V3MyIsInByb2ZpbGVfaWQiOiJwcm9fVWpKWUpGektSaGtvUmlZVHU4ckMiLCJ0ZW5hbnRfaWQiOiJwdWJsaWMifQ.Yo6_JeAN1fv6GTqFZJWpvsNfm3BhxqPOjP2KRYNMH-A' \\\r\n--data '{\r\n \"profile_id\": \"pro_UjJYJFzKRhkoRiYTu8rC\"\r\n}'\r\n```\r\n\r\nSample Output:\r\n```json\r\n{\r\n \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNzhjMjBkNzQtN2FkYy00NmE5LWEzN2UtNGFhOWMzOWE0ZDY4IiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF9DaGxVcVNSakNyc1pQMTI3VmVUeCIsInJvbGVfaWQiOiJvcmdfYWRtaW4iLCJleHAiOjE3NDE4NjIzODYsIm9yZ19pZCI6Im9yZ19VSWlNWFBvVFRsZVBXOElRU2V3MyIsInByb2ZpbGVfaWQiOiJwcm9fVWpKWUpGektSaGtvUmlZVHU4ckMiLCJ0ZW5hbnRfaWQiOiJwdWJsaWMifQ.Yo6_JeAN1fv6GTqFZJWpvsNfm3BhxqPOjP2KRYNMH-A\",\r\n \"token_type\": \"user_info\"\r\n}\r\n```\r\n#### List V2 Profile for a v2 merchant account:\r\n```bash\r\ncurl --location 'http://localhost:8000/v2/user/list/profile' \\\r\n--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNzhjMjBkNzQtN2FkYy00NmE5LWEzN2UtNGFhOWMzOWE0ZDY4IiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF9DaGxVcVNSakNyc1pQMTI3VmVUeCIsInJvbGVfaWQiOiJvcmdfYWRtaW4iLCJleHAiOjE3NDE4NjIxOTQsIm9yZ19pZCI6Im9yZ19VSWlNWFBvVFRsZVBXOElRU2V3MyIsInByb2ZpbGVfaWQiOiJwcm9fZnhHdTBKZm1mbUVmQVEwUGpiY1ciLCJ0ZW5hbnRfaWQiOiJwdWJsaWMifQ.8QVJGDmL-ybeQ8Rx8On_ACt7_GsFQVkE8-jZtT9fNXg' \\\r\n--header 'Cookie: login_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNzhjMjBkNzQtN2FkYy00NmE5LWEzN2UtNGFhOWMzOWE0ZDY4IiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF9DaGxVcVNSakNyc1pQMTI3VmVUeCIsInJvbGVfaWQiOiJvcmdfYWRtaW4iLCJleHAiOjE3NDE4NjIxOTQsIm9yZ19pZCI6Im9yZ19VSWlNWFBvVFRsZVBXOElRU2V3MyIsInByb2ZpbGVfaWQiOiJwcm9fZnhHdTBKZm1mbUVmQVEwUGpiY1ciLCJ0ZW5hbnRfaWQiOiJwdWJsaWMifQ.8QVJGDmL-ybeQ8Rx8On_ACt7_GsFQVkE8-jZtT9fNXg'\r\n```\r\n\r\nSample Output:\r\n```json\r\n[\r\n {\r\n \"profile_id\": \"pro_UjJYJFzKRhkoRiYTu8rC\",\r\n \"profile_name\": \"TestingV4-Profile\"\r\n },\r\n {\r\n \"profile_id\": \"pro_fxGu0JfmfmEfAQ0PjbcW\",\r\n \"profile_name\": \"default\"\r\n }\r\n]\r\n```\r\n\r\n### Testing V1 flow:\r\n\r\nSign in to V1 merchant account\r\n\r\n#### Create V1 merchant Account:\r\n```bash\r\ncurl --location 'http://localhost:8080/user/create_merchant' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNTk0OTE4YzUtOTM0OS00YjEzLWIzZDItZDc0Mzg0OTk3MWNkIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzQxNTg4NTI2Iiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTc0MTc2MTM0OCwib3JnX2lkIjoib3JnX3NYdWNFTGFKSURtVFU2YVlsbmJZIiwicHJvZmlsZV9pZCI6InByb184QnNld0tIRUlaa3ppdUhKa282YiIsInRlbmFudF9pZCI6InB1YmxpYyJ9.lyeIOXMCXVdDaE7ACHxzoFgAZeCY0rjDRFq1rSxu1NE' \\\r\n--header 'Cookie: login_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNTk0OTE4YzUtOTM0OS00YjEzLWIzZDItZDc0Mzg0OTk3MWNkIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzQxNTg4NTI2Iiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTc0MTc2MTM0OCwib3JnX2lkIjoib3JnX3NYdWNFTGFKSURtVFU2YVlsbmJZIiwicHJvZmlsZV9pZCI6InByb184QnNld0tIRUlaa3ppdUhKa282YiIsInRlbmFudF9pZCI6InB1YmxpYyJ9.lyeIOXMCXVdDaE7ACHxzoFgAZeCY0rjDRFq1rSxu1NE' \\\r\n--data '{\r\n \"company_name\": \"TestingV1\",\r\n \"product_type\": \"recovery\"\r\n}'\r\n```\r\n\r\nSample Output:\r\n```json\r\n{\r\n \"merchant_id\": \"merchant_1741588579\",\r\n \"merchant_name\": \"TestingV1\",\r\n \"product_type\": \"recovery\",\r\n \"version\": \"v1\"\r\n}\r\n```\r\n\r\n#### List V1 Merchant Accounts for User in Org:\r\n```bash\r\ncurl --location 'http://localhost:8080/user/list/merchant' \\\r\n--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNTk0OTE4YzUtOTM0OS00YjEzLWIzZDItZDc0Mzg0OTk3MWNkIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzQxNTg4NTI2Iiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTc0MTc2MTM0OCwib3JnX2lkIjoib3JnX3NYdWNFTGFKSURtVFU2YVlsbmJZIiwicHJvZmlsZV9pZCI6InByb184QnNld0tIRUlaa3ppdUhKa282YiIsInRlbmFudF9pZCI6InB1YmxpYyJ9.lyeIOXMCXVdDaE7ACHxzoFgAZeCY0rjDRFq1rSxu1NE' \\\r\n--header 'Cookie: login_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNTk0OTE4YzUtOTM0OS00YjEzLWIzZDItZDc0Mzg0OTk3MWNkIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzQxNTg4NTI2Iiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTc0MTc2MTM0OCwib3JnX2lkIjoib3JnX3NYdWNFTGFKSURtVFU2YVlsbmJZIiwicHJvZmlsZV9pZCI6InByb184QnNld0tIRUlaa3ppdUhKa282YiIsInRlbmFudF9pZCI6InB1YmxpYyJ9.lyeIOXMCXVdDaE7ACHxzoFgAZeCY0rjDRFq1rSxu1NE'\r\n```\r\n\r\nSample Output:\r\n```json\r\n[\r\n {\r\n \"merchant_id\": \"merchant_1741588526\",\r\n \"merchant_name\": null,\r\n \"product_type\": \"orchestration\",\r\n \"version\": \"v1\"\r\n },\r\n {\r\n \"merchant_id\": \"merchant_1741588579\",\r\n \"merchant_name\": \"TestingV1\",\r\n \"product_type\": \"recovery\",\r\n \"version\": \"v1\"\r\n }\r\n]\r\n```\r\n\r\n\r\n#### Switch to V1 Merchant Account:\r\n```bash\r\ncurl --location 'http://localhost:8080/user/switch/merchant' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNTk0OTE4YzUtOTM0OS00YjEzLWIzZDItZDc0Mzg0OTk3MWNkIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzQxNTg4NTI2Iiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTc0MTc2MTM0OCwib3JnX2lkIjoib3JnX3NYdWNFTGFKSURtVFU2YVlsbmJZIiwicHJvZmlsZV9pZCI6InByb184QnNld0tIRUlaa3ppdUhKa282YiIsInRlbmFudF9pZCI6InB1YmxpYyJ9.lyeIOXMCXVdDaE7ACHxzoFgAZeCY0rjDRFq1rSxu1NE' \\\r\n--header 'Cookie: login_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNTk0OTE4YzUtOTM0OS00YjEzLWIzZDItZDc0Mzg0OTk3MWNkIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzQxNTg4NTc5Iiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTc0MTc2MTUwNSwib3JnX2lkIjoib3JnX3NYdWNFTGFKSURtVFU2YVlsbmJZIiwicHJvZmlsZV9pZCI6InByb19PVnQ0OTIzYmdoS0dVRU13Y1JiOSIsInRlbmFudF9pZCI6InB1YmxpYyJ9.5yi6unFpacer1FO_wcxxQIHRls_mjDjPraIHD6BO0ME' \\\r\n--data '{\r\n \"merchant_id\": \"merchant_1741588579\"\r\n}'\r\n```\r\n\r\nSample Output:\r\n```json\r\n{\r\n \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNTk0OTE4YzUtOTM0OS00YjEzLWIzZDItZDc0Mzg0OTk3MWNkIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzQxNTg4NTc5Iiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTc0MTc2MTUwNSwib3JnX2lkIjoib3JnX3NYdWNFTGFKSURtVFU2YVlsbmJZIiwicHJvZmlsZV9pZCI6InByb19PVnQ0OTIzYmdoS0dVRU13Y1JiOSIsInRlbmFudF9pZCI6InB1YmxpYyJ9.5yi6unFpacer1FO_wcxxQIHRls_mjDjPraIHD6BO0ME\",\r\n \"token_type\": \"user_info\"\r\n}\r\n```\r\n\r\n#### get_user_details\r\n```bash\r\ncurl --location 'https://integ-api.hyperswitch.io/user' \\\r\n--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMTlmN2IzZjctMmEwOS00NTllLTllNGItZTRlODcwZDMwMjEwIiwibWVyY2hhbnRfaWQiOiJ0ZXN0Zmxvd3YyX1pMNmV3aFBiZUhIMWU5dmlVc2JoIiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTc0MTk0MzQ0Miwib3JnX2lkIjoib3JnX3MzUGVzYTQxRk1aNng3VVJOT0RPIiwicHJvZmlsZV9pZCI6InByb19zbjVFTFV0eGpFSnphN0dnYzhmRCIsInRlbmFudF9pZCI6InB1YmxpYyJ9.EbmlEihGnAM_DW08BAyyeDHFZlBWmCm8Q0bRlAPnEfM' \\\r\n--header 'Cookie: login_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMTlmN2IzZjctMmEwOS00NTllLTllNGItZTRlODcwZDMwMjEwIiwibWVyY2hhbnRfaWQiOiJ0ZXN0Zmxvd3YyX1pMNmV3aFBiZUhIMWU5dmlVc2JoIiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTc0MTk0MzQ0Miwib3JnX2lkIjoib3JnX3MzUGVzYTQxRk1aNng3VVJOT0RPIiwicHJvZmlsZV9pZCI6InByb19zbjVFTFV0eGpFSnphN0dnYzhmRCIsInRlbmFudF9pZCI6InB1YmxpYyJ9.EbmlEihGnAM_DW08BAyyeDHFZlBWmCm8Q0bRlAPnEfM'\r\n```\r\n\r\nSample Output:\r\n```json\r\n{\r\n \"merchant_id\": \"testflowv2_ZL6ewhPbeHH1e9viUsbh\",\r\n \"name\": \"sandeep.kumar\",\r\n \"email\": \"sandeep.kumar@juspay.in\",\r\n \"verification_days_left\": null,\r\n \"role_id\": \"org_admin\",\r\n \"org_id\": \"org_s3Pesa41FMZ6x7URNODO\",\r\n \"is_two_factor_auth_setup\": false,\r\n \"recovery_codes_left\": null,\r\n \"profile_id\": \"pro_sn5ELUtxjEJza7Ggc8fD\",\r\n \"entity_type\": \"organization\",\r\n \"theme_id\": null,\r\n \"version\": \"v2\"\r\n}\r\n```\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "tsdk02",
|
| 6 |
+
"created_at": "2025-02-27T06:26:07+00:00",
|
| 7 |
+
"merged_at": "2025-03-12T14:36:50+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-feature"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7386",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "790c2227cafb46b4ee4cf1383e47d25365e4945d",
|
| 16 |
+
"message": "feat(users): add merchant account permission for recon",
|
| 17 |
+
"author": "Sandeep Kumar",
|
| 18 |
+
"date": "2025-02-27T06:23:19+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/790c2227cafb46b4ee4cf1383e47d25365e4945d"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "0216c5006420a5d9a856bcf1e60268343b490922",
|
| 23 |
+
"message": "feat(users): add merchant account permission for recon",
|
| 24 |
+
"author": "Sandeep Kumar",
|
| 25 |
+
"date": "2025-02-27T06:44:49+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0216c5006420a5d9a856bcf1e60268343b490922"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "91996b1605f250d5c43f6d3daba79783b9d44d8b",
|
| 30 |
+
"message": "feat(users): add v2 routes for user create, switch and list merchant accounts",
|
| 31 |
+
"author": "Sandeep Kumar",
|
| 32 |
+
"date": "2025-02-27T07:08:30+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/91996b1605f250d5c43f6d3daba79783b9d44d8b"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "f73c0c3faffa499e739aff4f8ab8db6bab196974",
|
| 37 |
+
"message": "Merge remote-tracking branch 'origin/modularity-dashboard' into modularity-dashboard\nmerging changes",
|
| 38 |
+
"author": "Sandeep Kumar",
|
| 39 |
+
"date": "2025-02-27T07:19:53+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f73c0c3faffa499e739aff4f8ab8db6bab196974"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "712acc7bc2490dc22ef4d0d8ce9da6819363ca8f",
|
| 44 |
+
"message": "Merge branch 'main' into modularity-dashboard",
|
| 45 |
+
"author": "Sandeep Kumar",
|
| 46 |
+
"date": "2025-02-27T07:22:57+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/712acc7bc2490dc22ef4d0d8ce9da6819363ca8f"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"sha": "c352981762c649a1480074f09e3729f32ddb054f",
|
| 51 |
+
"message": "resolve comments",
|
| 52 |
+
"author": "Sandeep Kumar",
|
| 53 |
+
"date": "2025-02-27T12:48:09+00:00",
|
| 54 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c352981762c649a1480074f09e3729f32ddb054f"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"sha": "d04481f998d19f2e082d520dc7e1bb87f0092d8a",
|
| 58 |
+
"message": "Merge branch 'main' into modularity-dashboard",
|
| 59 |
+
"author": "Sandeep Kumar",
|
| 60 |
+
"date": "2025-03-02T07:03:35+00:00",
|
| 61 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d04481f998d19f2e082d520dc7e1bb87f0092d8a"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"sha": "db418fee7e280c73565c34aaa08f2ddd0b9cef47",
|
| 65 |
+
"message": "Merge branch 'main' into modularity-dashboard",
|
| 66 |
+
"author": "Sandeep Kumar",
|
| 67 |
+
"date": "2025-03-07T11:45:53+00:00",
|
| 68 |
+
"url": "https://github.com/juspay/hyperswitch/commit/db418fee7e280c73565c34aaa08f2ddd0b9cef47"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"sha": "aaa77dac16b400d4b3e63f83d961a49ac52e9018",
|
| 72 |
+
"message": "Merge branch 'main' into modularity-dashboard",
|
| 73 |
+
"author": "Sandeep Kumar",
|
| 74 |
+
"date": "2025-03-07T13:50:18+00:00",
|
| 75 |
+
"url": "https://github.com/juspay/hyperswitch/commit/aaa77dac16b400d4b3e63f83d961a49ac52e9018"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"sha": "126391190ee0880b544a34586ea81b9f2ea80e2d",
|
| 79 |
+
"message": "feat(users): added product type and version context in create, and list merchant APIs",
|
| 80 |
+
"author": "Sandeep Kumar",
|
| 81 |
+
"date": "2025-03-08T08:25:37+00:00",
|
| 82 |
+
"url": "https://github.com/juspay/hyperswitch/commit/126391190ee0880b544a34586ea81b9f2ea80e2d"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"sha": "a648fe25194f5429ac926ac815149b65a6b6a4d5",
|
| 86 |
+
"message": "fix clipy errors and comments",
|
| 87 |
+
"author": "Sandeep Kumar",
|
| 88 |
+
"date": "2025-03-10T04:44:41+00:00",
|
| 89 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a648fe25194f5429ac926ac815149b65a6b6a4d5"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"sha": "87c8dfd5ca5ab7e21128dccb581218ac735a160d",
|
| 93 |
+
"message": "fix clippy errors",
|
| 94 |
+
"author": "Sandeep Kumar",
|
| 95 |
+
"date": "2025-03-10T06:53:32+00:00",
|
| 96 |
+
"url": "https://github.com/juspay/hyperswitch/commit/87c8dfd5ca5ab7e21128dccb581218ac735a160d"
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"sha": "99814a0f3792fb55356fcb4a2f2645d224dfb79c",
|
| 100 |
+
"message": "resolve comments",
|
| 101 |
+
"author": "Sandeep Kumar",
|
| 102 |
+
"date": "2025-03-10T07:30:50+00:00",
|
| 103 |
+
"url": "https://github.com/juspay/hyperswitch/commit/99814a0f3792fb55356fcb4a2f2645d224dfb79c"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"sha": "d86489d613207c588db32d3d3ea7fa43e7f608db",
|
| 107 |
+
"message": "Merge branch 'main' into modularity-dashboard",
|
| 108 |
+
"author": "Sandeep Kumar",
|
| 109 |
+
"date": "2025-03-10T07:32:02+00:00",
|
| 110 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d86489d613207c588db32d3d3ea7fa43e7f608db"
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"sha": "7e42c7c4ab429ead50a555aecf322afe67ed3002",
|
| 114 |
+
"message": "resolved comments",
|
| 115 |
+
"author": "Sandeep Kumar",
|
| 116 |
+
"date": "2025-03-10T08:14:43+00:00",
|
| 117 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7e42c7c4ab429ead50a555aecf322afe67ed3002"
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"sha": "b04f3be4f4d4a7025cfb7c8395ef27b0b9fcaf78",
|
| 121 |
+
"message": "resolve comments",
|
| 122 |
+
"author": "Sandeep Kumar",
|
| 123 |
+
"date": "2025-03-10T08:15:02+00:00",
|
| 124 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b04f3be4f4d4a7025cfb7c8395ef27b0b9fcaf78"
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"sha": "3404190f11bf87fcd50e415cb8d594a2dcf438e0",
|
| 128 |
+
"message": "resolved more comments",
|
| 129 |
+
"author": "Sandeep Kumar",
|
| 130 |
+
"date": "2025-03-10T10:36:12+00:00",
|
| 131 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3404190f11bf87fcd50e415cb8d594a2dcf438e0"
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"sha": "f3a9d1b3939c68fd03d37a203e600be2bebae77b",
|
| 135 |
+
"message": "remove unused signup and signin v2 routes",
|
| 136 |
+
"author": "Sandeep Kumar",
|
| 137 |
+
"date": "2025-03-10T11:48:50+00:00",
|
| 138 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f3a9d1b3939c68fd03d37a203e600be2bebae77b"
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"sha": "01e049b554511f0fbd7eb3ea04b692fb84c83669",
|
| 142 |
+
"message": "fix comments",
|
| 143 |
+
"author": "Sandeep Kumar",
|
| 144 |
+
"date": "2025-03-10T13:20:26+00:00",
|
| 145 |
+
"url": "https://github.com/juspay/hyperswitch/commit/01e049b554511f0fbd7eb3ea04b692fb84c83669"
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"sha": "170c0138dd3b4dc3457bdf9da9807621557a6bde",
|
| 149 |
+
"message": "minor nits",
|
| 150 |
+
"author": "Sandeep Kumar",
|
| 151 |
+
"date": "2025-03-10T15:07:30+00:00",
|
| 152 |
+
"url": "https://github.com/juspay/hyperswitch/commit/170c0138dd3b4dc3457bdf9da9807621557a6bde"
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"sha": "451cac16362d754aadf287289bc7f57f172bb8b4",
|
| 156 |
+
"message": "Merge branch 'main' into modularity-dashboard",
|
| 157 |
+
"author": "Sandeep Kumar",
|
| 158 |
+
"date": "2025-03-11T05:17:13+00:00",
|
| 159 |
+
"url": "https://github.com/juspay/hyperswitch/commit/451cac16362d754aadf287289bc7f57f172bb8b4"
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"sha": "1ebf9b962bdb44952109f20d9ad19fd96e71b15a",
|
| 163 |
+
"message": "avoid specific imports",
|
| 164 |
+
"author": "Sandeep Kumar",
|
| 165 |
+
"date": "2025-03-11T09:29:08+00:00",
|
| 166 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1ebf9b962bdb44952109f20d9ad19fd96e71b15a"
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"sha": "5b3bfe2d2553897b2d96591b9db5431e0edf55d9",
|
| 170 |
+
"message": "Merge branch 'main' into modularity-dashboard",
|
| 171 |
+
"author": "Sandeep Kumar",
|
| 172 |
+
"date": "2025-03-11T09:30:24+00:00",
|
| 173 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5b3bfe2d2553897b2d96591b9db5431e0edf55d9"
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"sha": "78134dd232a42bc2743c7e7ecb81e3047af5b624",
|
| 177 |
+
"message": "feat(users): add v2 routes for list profiles and switch profile",
|
| 178 |
+
"author": "Sandeep Kumar",
|
| 179 |
+
"date": "2025-03-11T11:13:29+00:00",
|
| 180 |
+
"url": "https://github.com/juspay/hyperswitch/commit/78134dd232a42bc2743c7e7ecb81e3047af5b624"
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"sha": "53e660211794df64bd457fffefe34a441c517bc2",
|
| 184 |
+
"message": "chore: run formatter",
|
| 185 |
+
"author": "hyperswitch-bot[bot]",
|
| 186 |
+
"date": "2025-03-11T11:36:28+00:00",
|
| 187 |
+
"url": "https://github.com/juspay/hyperswitch/commit/53e660211794df64bd457fffefe34a441c517bc2"
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"sha": "b64317963513890c742e217f093f863a30449ba6",
|
| 191 |
+
"message": "fix: add merchant_account checks in user_info",
|
| 192 |
+
"author": "Mani Chandra Dulam",
|
| 193 |
+
"date": "2025-03-11T13:04:53+00:00",
|
| 194 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b64317963513890c742e217f093f863a30449ba6"
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"sha": "2d3cf211060f3f51a30da0b3a6b0c275868c97e8",
|
| 198 |
+
"message": "feat(user): modified get_user_details API",
|
| 199 |
+
"author": "Sandeep Kumar",
|
| 200 |
+
"date": "2025-03-11T13:13:53+00:00",
|
| 201 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2d3cf211060f3f51a30da0b3a6b0c275868c97e8"
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"sha": "d3d9a89cdbfa0efca3954c8b53fc754f5f391f77",
|
| 205 |
+
"message": "minor nits",
|
| 206 |
+
"author": "Sandeep Kumar",
|
| 207 |
+
"date": "2025-03-11T13:26:07+00:00",
|
| 208 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d3d9a89cdbfa0efca3954c8b53fc754f5f391f77"
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"sha": "9b3e7fea58c312373ccd1639ea441abb626d816e",
|
| 212 |
+
"message": "removed check for merchant account emptiness in list_merchants_for_user_in_org function",
|
| 213 |
+
"author": "Sandeep Kumar",
|
| 214 |
+
"date": "2025-03-11T13:56:15+00:00",
|
| 215 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9b3e7fea58c312373ccd1639ea441abb626d816e"
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"sha": "2e4c5b182beb9bc26b265f266ed013bde3c8d2da",
|
| 219 |
+
"message": "Merge branch 'main' into modularity-dashboard",
|
| 220 |
+
"author": "Sandeep Kumar",
|
| 221 |
+
"date": "2025-03-12T03:29:26+00:00",
|
| 222 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2e4c5b182beb9bc26b265f266ed013bde3c8d2da"
|
| 223 |
+
}
|
| 224 |
+
]
|
| 225 |
+
}
|
prs/pr_7427.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7427,
|
| 3 |
+
"title": "feat(payment_link): expose payment link configs for SDK UI rules and payment button",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [x] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\nThis PR exposes customizations for payment links. Below configs are added -\r\n- SDK UI rules - https://docs.hyperswitch.io/explore-hyperswitch/merchant-controls/integration-guide/web/customization#id-4.-rules\r\n- Payment Link UI rules - similar to SDK UI rules, but for payment link template*\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\nGives granular control to the payment link consumer for designing their UI.\r\n\r\n## How did you test it?\r\nTested locally.\r\n\r\n<details>\r\n <summary>1. Add a payment link style ID</summary>\r\n\r\ncURL\r\n\r\n curl --location --request POST 'http://localhost:8080/account/merchant_1741095653/business_profile/pro_dgzCAaE0KhqCTj6cY5a7' \\\r\n --header 'Content-Type: application/json' \\\r\n --header 'api-key: test_admin' \\\r\n --data '{\"payment_link_config\":{\"allowed_domains\":[\"*\"],\"business_specific_configs\":{\"style1\":{\"enabled_saved_payment_method\":true,\"theme\":\"#E71D36\",\"logo\":\"https://hyperswitch.io/favicon.ico\",\"sdk_ui_rules\":{\".Label\":{\"fontWeight\":\"700 !important\",\"fontSize\":\"13px !important\",\"color\":\"#003264 !important\",\"opacity\":\"1 !important\"}},\"payment_link_ui_rules\":{\"#submit\":{\"color\":\"#003264\",\"fontWeight\":\"700\",\"fontSize\":\"18px\",\"padding\":\"25px 0\",\"borderRadius\":\"20px\",\"backgroundColor\":\"#ffc439\"},\"#hyper-checkout-sdk\":{\"backgroundColor\":\"#003264\"}}}}}}'\r\n\r\nResponse\r\n\r\n {\"merchant_id\":\"merchant_1741095653\",\"profile_id\":\"pro_dgzCAaE0KhqCTj6cY5a7\",\"profile_name\":\"IN_default\",\"return_url\":\"https://google.com/success\",\"enable_payment_response_hash\":true,\"payment_response_hash_key\":\"fVkaUtGhpJbDbwJ6bkDO1MX6yRgCNlJPSyaaMkOfe8izhPgWUGS8mdP8p95t5gqp\",\"redirect_to_merchant_with_http_post\":false,\"webhook_details\":{\"webhook_version\":\"1.0.1\",\"webhook_username\":\"random\",\"webhook_password\":\"pass\",\"webhook_url\":\"https://webhook.site/c5368f5d-882b-4d3a-b5be-f372294b6146\",\"payment_created_enabled\":true,\"payment_succeeded_enabled\":true,\"payment_failed_enabled\":true},\"metadata\":null,\"routing_algorithm\":null,\"intent_fulfillment_time\":900,\"frm_routing_algorithm\":null,\"payout_routing_algorithm\":null,\"applepay_verified_domains\":null,\"session_expiry\":900,\"payment_link_config\":{\"domain_name\":null,\"theme\":\"#1A1A1A\",\"logo\":\"https://hyperswitch.io/favicon.ico\",\"seller_name\":null,\"sdk_layout\":null,\"display_sdk_only\":null,\"enabled_saved_payment_method\":true,\"hide_card_nickname_field\":null,\"show_card_form_by_default\":null,\"transaction_details\":null,\"background_image\":null,\"details_layout\":null,\"payment_button_text\":\"Proceed to Payment!\",\"custom_message_for_card_terms\":\"Hello\",\"payment_button_colour\":null,\"skip_status_screen\":null,\"payment_button_text_colour\":null,\"background_colour\":null,\"sdk_ui_rules\":{\".Label\":{\"fontWeight\":\"700 !important\",\"fontSize\":\"13px !important\",\"opacity\":\"1 !important\",\"backgroundColor\":\"red !important\",\"color\":\"#003264 !important\"}},\"payment_link_ui_rules\":null,\"business_specific_configs\":{\"style2\":{\"theme\":\"#1A1A1A\",\"logo\":\"https://hyperswitch.io/favicon.ico\",\"seller_name\":null,\"sdk_layout\":null,\"display_sdk_only\":null,\"enabled_saved_payment_method\":true,\"hide_card_nickname_field\":null,\"show_card_form_by_default\":null,\"transaction_details\":null,\"background_image\":null,\"details_layout\":null,\"payment_button_text\":null,\"custom_message_for_card_terms\":null,\"payment_button_colour\":null,\"skip_status_screen\":null,\"payment_button_text_colour\":null,\"background_colour\":null,\"sdk_ui_rules\":null,\"payment_link_ui_rules\":null},\"style1\":{\"theme\":\"#E71D36\",\"logo\":\"https://hyperswitch.io/favicon.ico\",\"seller_name\":null,\"sdk_layout\":null,\"display_sdk_only\":null,\"enabled_saved_payment_method\":true,\"hide_card_nickname_field\":null,\"show_card_form_by_default\":null,\"transaction_details\":null,\"background_image\":null,\"details_layout\":null,\"payment_button_text\":null,\"custom_message_for_card_terms\":null,\"payment_button_colour\":null,\"skip_status_screen\":null,\"payment_button_text_colour\":null,\"background_colour\":null,\"sdk_ui_rules\":{\".Label\":{\"color\":\"#003264 !important\",\"opacity\":\"1 !important\",\"fontWeight\":\"700 !important\",\"fontSize\":\"13px !important\"}},\"payment_link_ui_rules\":{\"#submit\":{\"color\":\"#003264\",\"fontSize\":\"18px\",\"backgroundColor\":\"#ffc439\",\"borderRadius\":\"20px\",\"padding\":\"25px 0\",\"fontWeight\":\"700\"},\"#hyper-checkout-sdk\":{\"backgroundColor\":\"#003264\"}}}},\"allowed_domains\":[\"*\"],\"branding_visibility\":null},\"authentication_connector_details\":null,\"use_billing_as_payment_method_billing\":true,\"extended_card_info_config\":null,\"collect_shipping_details_from_wallet_connector\":false,\"collect_billing_details_from_wallet_connector\":false,\"always_collect_shipping_details_from_wallet_connector\":false,\"always_collect_billing_details_from_wallet_connector\":false,\"is_connector_agnostic_mit_enabled\":true,\"payout_link_config\":null,\"outgoing_webhook_custom_http_headers\":null,\"tax_connector_id\":null,\"is_tax_connector_enabled\":false,\"is_network_tokenization_enabled\":true,\"is_auto_retries_enabled\":false,\"max_auto_retries_enabled\":null,\"always_request_extended_authorization\":null,\"is_click_to_pay_enabled\":true,\"authentication_product_ids\":null,\"card_testing_guard_config\":{\"card_ip_blocking_status\":\"disabled\",\"card_ip_blocking_threshold\":3,\"guest_user_card_blocking_status\":\"disabled\",\"guest_user_card_blocking_threshold\":10,\"customer_id_blocking_status\":\"disabled\",\"customer_id_blocking_threshold\":5,\"card_testing_guard_expiry\":3600},\"is_clear_pan_retries_enabled\":false}\r\n\r\n</details>\r\n\r\n<details>\r\n <summary>2. Create a payment link</summary>\r\n\r\ncURL\r\n\r\n curl --location --request POST 'http://localhost:8080/payments' \\\r\n --header 'Content-Type: application/json' \\\r\n --header 'Accept: application/json' \\\r\n --header 'api-key: dev_R70SBQ7gQzMiqsCrbSGMBTEtsKbNkgc8sXo5yHgpEA0mvT8BktGLXrn9zPOxLwpf' \\\r\n --data '{\"customer_id\":\"cus_jJuzSZ5cVZ5mgBGGUNYs\",\"profile_id\":\"pro_dgzCAaE0KhqCTj6cY5a7\",\"customer_acceptance\":{\"acceptance_type\":\"online\",\"accepted_at\":\"1963-05-03T04:07:52.723Z\",\"online\":{\"ip_address\":\"127.0.0.1\",\"user_agent\":\"amet irure esse\"}},\"amount\":100,\"currency\":\"EUR\",\"payment_link\":true,\"setup_future_usage\":\"off_session\",\"capture_method\":\"automatic\",\"session_expiry\":100000,\"return_url\":\"https://example.com\",\"payment_link_config_id\":\"style1\"}'\r\n\r\nResponse\r\n\r\n {\"payment_id\":\"pay_1QLObAU2blLbNSfehTJN\",\"merchant_id\":\"merchant_1741095653\",\"status\":\"requires_payment_method\",\"amount\":100,\"net_amount\":100,\"shipping_cost\":null,\"amount_capturable\":100,\"amount_received\":null,\"connector\":null,\"client_secret\":\"pay_1QLObAU2blLbNSfehTJN_secret_oRqjfv36rG6plNEBHvvQ\",\"created\":\"2025-03-04T22:10:37.490Z\",\"currency\":\"EUR\",\"customer_id\":\"cus_jJuzSZ5cVZ5mgBGGUNYs\",\"customer\":{\"id\":\"cus_jJuzSZ5cVZ5mgBGGUNYs\",\"name\":\"John Nether\",\"email\":null,\"phone\":\"6168205362\",\"phone_country_code\":\"+1\"},\"description\":null,\"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\":null,\"payment_method_data\":null,\"payment_token\":null,\"shipping\":null,\"billing\":null,\"order_details\":null,\"email\":null,\"name\":\"John Nether\",\"phone\":\"6168205362\",\"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\":{\"customer_id\":\"cus_jJuzSZ5cVZ5mgBGGUNYs\",\"created_at\":1741126237,\"expires\":1741129837,\"secret\":\"epk_5255cf68bc6947db9fcf59f285eeb37b\"},\"manual_retry_allowed\":null,\"connector_transaction_id\":null,\"frm_message\":null,\"metadata\":null,\"connector_metadata\":null,\"feature_metadata\":null,\"reference_id\":null,\"payment_link\":{\"link\":\"http://localhost:8080/payment_link/merchant_1741095653/pay_1QLObAU2blLbNSfehTJN?locale=en\",\"secure_link\":\"http://localhost:8080/payment_link/s/merchant_1741095653/pay_1QLObAU2blLbNSfehTJN?locale=en\",\"payment_link_id\":\"plink_Uve1VxVAdO7XJAkBQzMg\"},\"profile_id\":\"pro_dgzCAaE0KhqCTj6cY5a7\",\"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-03-06T01:57:17.488Z\",\"fingerprint\":null,\"browser_info\":null,\"payment_method_id\":null,\"payment_method_status\":null,\"updated\":\"2025-03-04T22:10:37.496Z\",\"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}\r\n\r\n<img width=\"646\" alt=\"Screenshot 2025-03-05 at 3 41 38\u202fAM\" src=\"https://github.com/user-attachments/assets/5ceef6f4-e935-463d-904c-6855de2bd4a3\" />\r\n\r\n\r\n</details>\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n\r\n### Note\r\n**\\* - EDIT 1**\r\n\r\n",
|
| 5 |
+
"author": "kashif-m",
|
| 6 |
+
"created_at": "2025-03-04T13:52:10+00:00",
|
| 7 |
+
"merged_at": "2025-03-05T17:28:25+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-api-contract-changes",
|
| 11 |
+
"Payment Links"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7427",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "8646fcc47d5ae358cf117ad3d454f4380010a5a7",
|
| 17 |
+
"message": "feat(payment_link): expose payment link configs for SDK UI rules and payment button",
|
| 18 |
+
"author": "Kashif",
|
| 19 |
+
"date": "2025-03-04T13:38:49+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8646fcc47d5ae358cf117ad3d454f4380010a5a7"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "e82cfad1cf15d8c701987c2cb934181af77d0d42",
|
| 24 |
+
"message": "chore: fix clippy_v2",
|
| 25 |
+
"author": "Kashif",
|
| 26 |
+
"date": "2025-03-04T14:02:12+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e82cfad1cf15d8c701987c2cb934181af77d0d42"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "ee0d3dc9a2cf0e00f2791e734909c20782869867",
|
| 31 |
+
"message": "refactor: add payment_link_ui_rules as a config for granular control over payment link design",
|
| 32 |
+
"author": "Kashif",
|
| 33 |
+
"date": "2025-03-04T22:22:47+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ee0d3dc9a2cf0e00f2791e734909c20782869867"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "b2cb7e9011bb39b544f079ff65a1e3158039093a",
|
| 38 |
+
"message": "Merge branch 'main' into 7403-enhancement-payment-link-enhancements",
|
| 39 |
+
"author": "Kashif",
|
| 40 |
+
"date": "2025-03-04T22:23:20+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b2cb7e9011bb39b544f079ff65a1e3158039093a"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "f233dadcacecd49fd7c4a22a47126523f7aaf5f1",
|
| 45 |
+
"message": "chore: add try catch for querySelector",
|
| 46 |
+
"author": "Kashif",
|
| 47 |
+
"date": "2025-03-05T09:33:41+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f233dadcacecd49fd7c4a22a47126523f7aaf5f1"
|
| 49 |
+
}
|
| 50 |
+
]
|
| 51 |
+
}
|
prs/pr_7439.json
ADDED
|
@@ -0,0 +1,365 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7439,
|
| 3 |
+
"title": "feat(connector): Recurly incoming webhook support",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [x] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nAdds support of consuming the incoming webhook and verifying it.\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\nCurl \r\n```\r\ncurl --location 'http://localhost:8080/v2/webhooks/cloth_seller_ai7Cow60BJAoMbPfF4iQ/pro_8D8NEJwqNOjig7SL49I0/mca_j248RgoucquKxIws2HhF' \\\r\n--header 'accept-encoding: gzip' \\\r\n--header 'recurly-signature: 1741198133561,3aebbaa13293399921bc1d674f06ad630505912acf048a80c3fc24e88cd82b39' \\\r\n--header 'recurly-notification-id: 4280786644291699338' \\\r\n--header 'content-type: application/json; charset=utf-8' \\\r\n--header 'authorization: Basic YW5pa2V0LmJ1cm1hbkBqdXNwYXkuaW46QW5pa2V0anVzcGF5QDE2' \\\r\n--header 'accept: */*' \\\r\n--header 'content-length: 173' \\\r\n--header 'user-agent: Recurly Webhooks/2.0 (+https://docs.recurly.com/push-notifications)' \\\r\n--header 'host: webhook.site' \\\r\n--header 'php-auth-user: aniket.burman@juspay.in' \\\r\n--header 'php-auth-pw: Aniketjuspay@16' \\\r\n--header 'api-key: dev_bk9YRPzLjbdhbvLkzT0Dv5ZviVYIO8H2jaIfWmbCoYdK5JIQuGidfL2Y8omnZ9M7' \\\r\n--data '{\"id\":\"wiuc1bhw7v0g\",\"object_type\":\"payment\",\"site_id\":\"w7x47013cfon\",\"event_type\":\"succeeded\",\"event_time\":\"2025-03-04T08:38:54Z\",\"uuid\":\"76cf1a16ee3c82670f277e47039fc7b3\"}'\r\n```\r\nRecurly \r\n<img width=\"736\" alt=\"Screenshot 2025-03-06 at 2 07 55\u202fPM\" src=\"https://github.com/user-attachments/assets/ef2b2c6c-aa6f-46d4-bcc6-c63974eebda2\" />\r\n\r\nOutput\r\n\r\n<img width=\"996\" alt=\"Screenshot 2025-03-06 at 12 58 50\u202fAM\" src=\"https://github.com/user-attachments/assets/eee1bb7b-6fb9-4869-8fc6-f751ca261ea4\" />\r\n\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "aniketburman014",
|
| 6 |
+
"created_at": "2025-03-06T07:37:00+00:00",
|
| 7 |
+
"merged_at": "2025-03-17T10:06:06+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-webhooks"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7439",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "a0ffaa7a3eb48c0cbb18e2eafff4289bc45aa425",
|
| 16 |
+
"message": "add template code for stripebilling",
|
| 17 |
+
"author": "Nishanth Challa",
|
| 18 |
+
"date": "2025-02-09T07:06:37+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a0ffaa7a3eb48c0cbb18e2eafff4289bc45aa425"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "bb432a5c41a74c658a26242f8de9a33fdcefcdc9",
|
| 23 |
+
"message": "add logic instead of todo in template code",
|
| 24 |
+
"author": "Nishanth Challa",
|
| 25 |
+
"date": "2025-02-09T07:25:59+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bb432a5c41a74c658a26242f8de9a33fdcefcdc9"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "4555023d8b0c335ef7f378312ff62bbd5ff9ade5",
|
| 30 |
+
"message": "chore: run formatter",
|
| 31 |
+
"author": "hyperswitch-bot[bot]",
|
| 32 |
+
"date": "2025-02-09T07:27:47+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4555023d8b0c335ef7f378312ff62bbd5ff9ade5"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "8ab06308da07c4eec47dde42e40e6a728c347471",
|
| 37 |
+
"message": "Merge branch 'main' into template_code_stripebilling",
|
| 38 |
+
"author": "Nishanth Challa",
|
| 39 |
+
"date": "2025-02-13T13:47:54+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8ab06308da07c4eec47dde42e40e6a728c347471"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "2ad25d7aefa456f16b6745da46ce11a47ff7c759",
|
| 44 |
+
"message": "fixes errors",
|
| 45 |
+
"author": "Nishanth Challa",
|
| 46 |
+
"date": "2025-02-13T16:08:18+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2ad25d7aefa456f16b6745da46ce11a47ff7c759"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"sha": "3c38093fa33d66582465931d25d79496dd241bb7",
|
| 51 |
+
"message": "chore: run formatter",
|
| 52 |
+
"author": "hyperswitch-bot[bot]",
|
| 53 |
+
"date": "2025-02-13T16:09:25+00:00",
|
| 54 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3c38093fa33d66582465931d25d79496dd241bb7"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"sha": "a2ca88b8e4a89842fa64cc6999bd46a672def072",
|
| 58 |
+
"message": "Merge branch 'main' into template_code_stripebilling",
|
| 59 |
+
"author": "CHALLA NISHANTH BABU",
|
| 60 |
+
"date": "2025-02-24T07:01:12+00:00",
|
| 61 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a2ca88b8e4a89842fa64cc6999bd46a672def072"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"sha": "4412b10e348bb72d4abd3d46fd7e75d946007df7",
|
| 65 |
+
"message": "resolved error in default implementation",
|
| 66 |
+
"author": "Nishanth Challa",
|
| 67 |
+
"date": "2025-02-24T08:32:39+00:00",
|
| 68 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4412b10e348bb72d4abd3d46fd7e75d946007df7"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"sha": "d6c7f7a4914a58d7d21040c6be33074bdc6d69fa",
|
| 72 |
+
"message": "additional api call flow for revenue recovery",
|
| 73 |
+
"author": "Nishanth Challa",
|
| 74 |
+
"date": "2025-02-27T13:01:18+00:00",
|
| 75 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d6c7f7a4914a58d7d21040c6be33074bdc6d69fa"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"sha": "0139e0388691feede4f9ae55dba70fe3028d92c1",
|
| 79 |
+
"message": "Merge branch 'main' into template_code_stripebilling",
|
| 80 |
+
"author": "Nishanth Challa",
|
| 81 |
+
"date": "2025-02-27T13:08:37+00:00",
|
| 82 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0139e0388691feede4f9ae55dba70fe3028d92c1"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"sha": "ccfcff37c85994bdaeef81f15874f9a8cfbbbc7f",
|
| 86 |
+
"message": "chore: run formatter",
|
| 87 |
+
"author": "hyperswitch-bot[bot]",
|
| 88 |
+
"date": "2025-02-27T13:27:58+00:00",
|
| 89 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ccfcff37c85994bdaeef81f15874f9a8cfbbbc7f"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"sha": "4abdce9d6927c6df9208cd5e7e0774612643a03c",
|
| 93 |
+
"message": "Merge branch 'main' into template_code_stripebilling",
|
| 94 |
+
"author": "CHALLA NISHANTH BABU",
|
| 95 |
+
"date": "2025-03-02T20:10:15+00:00",
|
| 96 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4abdce9d6927c6df9208cd5e7e0774612643a03c"
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"sha": "6e084138761e57ea3e6ff7e50b24a767ad0b4942",
|
| 100 |
+
"message": "Merge branch 'main' into template_code_stripebilling",
|
| 101 |
+
"author": "CHALLA NISHANTH BABU",
|
| 102 |
+
"date": "2025-03-03T08:05:34+00:00",
|
| 103 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6e084138761e57ea3e6ff7e50b24a767ad0b4942"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"sha": "3295979b3e78867825e3da5117602e1ddaded39b",
|
| 107 |
+
"message": "chore: run formatter",
|
| 108 |
+
"author": "hyperswitch-bot[bot]",
|
| 109 |
+
"date": "2025-03-03T08:56:19+00:00",
|
| 110 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3295979b3e78867825e3da5117602e1ddaded39b"
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"sha": "0d5a8ea826171ab7399c533085a330d9b4aa047e",
|
| 114 |
+
"message": "changes in name of the flow in config files",
|
| 115 |
+
"author": "Nishanth Challa",
|
| 116 |
+
"date": "2025-03-03T09:16:46+00:00",
|
| 117 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0d5a8ea826171ab7399c533085a330d9b4aa047e"
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"sha": "1ad246418a5c1d268e8a8817ca906226aca49049",
|
| 121 |
+
"message": "chore: run formatter",
|
| 122 |
+
"author": "hyperswitch-bot[bot]",
|
| 123 |
+
"date": "2025-03-03T09:34:49+00:00",
|
| 124 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1ad246418a5c1d268e8a8817ca906226aca49049"
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"sha": "70b754637a5dfc356b493f1cec28bb667a1a42e8",
|
| 128 |
+
"message": "Merge branch 'template_code_stripebilling' into additional_recovery_call_flow",
|
| 129 |
+
"author": "CHALLA NISHANTH BABU",
|
| 130 |
+
"date": "2025-03-03T10:12:18+00:00",
|
| 131 |
+
"url": "https://github.com/juspay/hyperswitch/commit/70b754637a5dfc356b493f1cec28bb667a1a42e8"
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"sha": "966ce1b4a82eeef8357b75d253c9bbe9dc5b4036",
|
| 135 |
+
"message": "add paystack in deafult implememtation additional call flow",
|
| 136 |
+
"author": "Nishanth Challa",
|
| 137 |
+
"date": "2025-03-03T10:17:48+00:00",
|
| 138 |
+
"url": "https://github.com/juspay/hyperswitch/commit/966ce1b4a82eeef8357b75d253c9bbe9dc5b4036"
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"sha": "6f4573a3fd41d9b662f0aff238a9aac401bf404a",
|
| 142 |
+
"message": "Merge branch 'main' into additional_recovery_call_flow",
|
| 143 |
+
"author": "CHALLA NISHANTH BABU",
|
| 144 |
+
"date": "2025-03-03T11:26:36+00:00",
|
| 145 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6f4573a3fd41d9b662f0aff238a9aac401bf404a"
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"sha": "4a34e07bf19c34287e91dfb0138d3b68c767d6ce",
|
| 149 |
+
"message": "added paystack connector in default implementation",
|
| 150 |
+
"author": "Nishanth Challa",
|
| 151 |
+
"date": "2025-03-03T11:57:15+00:00",
|
| 152 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4a34e07bf19c34287e91dfb0138d3b68c767d6ce"
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"sha": "e10b589a9d53e11e8019147391be7737d4408cfb",
|
| 156 |
+
"message": "add debug and clone trait to Additional Revenue Recovery Flow Common Data",
|
| 157 |
+
"author": "Nishanth Challa",
|
| 158 |
+
"date": "2025-03-03T12:04:35+00:00",
|
| 159 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e10b589a9d53e11e8019147391be7737d4408cfb"
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"sha": "145a6d9896eef2e0996f12da52a34bc37728690f",
|
| 163 |
+
"message": "chore: run formatter",
|
| 164 |
+
"author": "hyperswitch-bot[bot]",
|
| 165 |
+
"date": "2025-03-03T12:05:51+00:00",
|
| 166 |
+
"url": "https://github.com/juspay/hyperswitch/commit/145a6d9896eef2e0996f12da52a34bc37728690f"
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"sha": "2cc26beafdabea5d6b2a3dfc6b3d6736f513faa1",
|
| 170 |
+
"message": "resolve spell check",
|
| 171 |
+
"author": "Nishanth Challa",
|
| 172 |
+
"date": "2025-03-03T12:36:30+00:00",
|
| 173 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2cc26beafdabea5d6b2a3dfc6b3d6736f513faa1"
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"sha": "70a430fb168fdd70e4e616b245f2d077eec3d9d1",
|
| 177 |
+
"message": "add stripebilling in configs",
|
| 178 |
+
"author": "Nishanth Challa",
|
| 179 |
+
"date": "2025-03-03T13:20:16+00:00",
|
| 180 |
+
"url": "https://github.com/juspay/hyperswitch/commit/70a430fb168fdd70e4e616b245f2d077eec3d9d1"
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"sha": "c9ae685a02654ab3c84b5cf102eb50e13006b98a",
|
| 184 |
+
"message": "refactor: rename Additional Revenue Recovery related types and traits",
|
| 185 |
+
"author": "Nishanth Challa",
|
| 186 |
+
"date": "2025-03-04T06:02:40+00:00",
|
| 187 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c9ae685a02654ab3c84b5cf102eb50e13006b98a"
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"sha": "524cce11daf58703c79c50bc2d042f26e5ed3286",
|
| 191 |
+
"message": "chore: run formatter",
|
| 192 |
+
"author": "hyperswitch-bot[bot]",
|
| 193 |
+
"date": "2025-03-04T06:33:36+00:00",
|
| 194 |
+
"url": "https://github.com/juspay/hyperswitch/commit/524cce11daf58703c79c50bc2d042f26e5ed3286"
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"sha": "66132cba258f09ba7b3c0298078c727a84896bfc",
|
| 198 |
+
"message": "refactor: reorganize revenue recovery module structure",
|
| 199 |
+
"author": "Nishanth Challa",
|
| 200 |
+
"date": "2025-03-04T08:10:01+00:00",
|
| 201 |
+
"url": "https://github.com/juspay/hyperswitch/commit/66132cba258f09ba7b3c0298078c727a84896bfc"
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"sha": "fc01f6cf9399a6f1beba82b810862ad07b35cbe9",
|
| 205 |
+
"message": "chore: run formatter",
|
| 206 |
+
"author": "hyperswitch-bot[bot]",
|
| 207 |
+
"date": "2025-03-04T08:25:58+00:00",
|
| 208 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fc01f6cf9399a6f1beba82b810862ad07b35cbe9"
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"sha": "f93bbc6b8a2f9259ef6b170365bad45ac79daf74",
|
| 212 |
+
"message": "Merge branch 'main' into additional_recovery_call_flow",
|
| 213 |
+
"author": "CHALLA NISHANTH BABU",
|
| 214 |
+
"date": "2025-03-04T08:27:09+00:00",
|
| 215 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f93bbc6b8a2f9259ef6b170365bad45ac79daf74"
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"sha": "51e6dcdd41d43095bb3775cef10be519bbeff506",
|
| 219 |
+
"message": "change v2 to v1",
|
| 220 |
+
"author": "Nishanth Challa",
|
| 221 |
+
"date": "2025-03-04T08:43:37+00:00",
|
| 222 |
+
"url": "https://github.com/juspay/hyperswitch/commit/51e6dcdd41d43095bb3775cef10be519bbeff506"
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"sha": "e5b83146904d2377b771208ca9394eb6bd26c739",
|
| 226 |
+
"message": "refactor: update additional revenue recovery call implementations for unified authentication service connector",
|
| 227 |
+
"author": "Nishanth Challa",
|
| 228 |
+
"date": "2025-03-04T09:02:07+00:00",
|
| 229 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e5b83146904d2377b771208ca9394eb6bd26c739"
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"sha": "25855cc2fe949c196e8497db86bd00d5cf7441fd",
|
| 233 |
+
"message": "refactor: add RevenueRecovery trait and update related implementations",
|
| 234 |
+
"author": "Nishanth Challa",
|
| 235 |
+
"date": "2025-03-04T11:23:06+00:00",
|
| 236 |
+
"url": "https://github.com/juspay/hyperswitch/commit/25855cc2fe949c196e8497db86bd00d5cf7441fd"
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"sha": "ad1e7ddf6937210896bad87718dcd235ea9f99ef",
|
| 240 |
+
"message": "chore: run formatter",
|
| 241 |
+
"author": "hyperswitch-bot[bot]",
|
| 242 |
+
"date": "2025-03-04T12:10:31+00:00",
|
| 243 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ad1e7ddf6937210896bad87718dcd235ea9f99ef"
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"sha": "7c05cb5b44e92925f5d693c55fee04083ae53560",
|
| 247 |
+
"message": "refactor: update revenue recovery request data structure",
|
| 248 |
+
"author": "Nishanth Challa",
|
| 249 |
+
"date": "2025-03-04T12:43:26+00:00",
|
| 250 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7c05cb5b44e92925f5d693c55fee04083ae53560"
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"sha": "f09f19c1d87fecc5dd17e355bdb080e86b98b627",
|
| 254 |
+
"message": "Merge branch 'main' into additional_recovery_call_flow",
|
| 255 |
+
"author": "CHALLA NISHANTH BABU",
|
| 256 |
+
"date": "2025-03-05T10:47:40+00:00",
|
| 257 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f09f19c1d87fecc5dd17e355bdb080e86b98b627"
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"sha": "5bf5bf10d0ee1d1d9e36597d5b8f9a202345b676",
|
| 261 |
+
"message": "feat(connector): add Recurly to additional revenue recovery call",
|
| 262 |
+
"author": "Nishanth Challa",
|
| 263 |
+
"date": "2025-03-05T11:50:37+00:00",
|
| 264 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5bf5bf10d0ee1d1d9e36597d5b8f9a202345b676"
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"sha": "c2897b432a1adaa19b18e292cf76374c97dbcfef",
|
| 268 |
+
"message": " Add webhook verification for recurly",
|
| 269 |
+
"author": "Aniket Burman",
|
| 270 |
+
"date": "2025-03-06T07:30:26+00:00",
|
| 271 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c2897b432a1adaa19b18e292cf76374c97dbcfef"
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"sha": "9a73ba6ee9b95276ef2cffbe905ab8d852e66382",
|
| 275 |
+
"message": "Merge branch 'main' into recurly_incoming_webhook_support",
|
| 276 |
+
"author": "Aniket Burman",
|
| 277 |
+
"date": "2025-03-06T07:38:10+00:00",
|
| 278 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9a73ba6ee9b95276ef2cffbe905ab8d852e66382"
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"sha": "3f38f66f89109cf268a2eb17b9a46447009f0b9a",
|
| 282 |
+
"message": "chore: run formatter",
|
| 283 |
+
"author": "hyperswitch-bot[bot]",
|
| 284 |
+
"date": "2025-03-06T07:43:34+00:00",
|
| 285 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3f38f66f89109cf268a2eb17b9a46447009f0b9a"
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"sha": "4924f4e6b638d0a3b7cc0883c03bca94d9e39626",
|
| 289 |
+
"message": "commented recurly implementation",
|
| 290 |
+
"author": "Aniket Burman",
|
| 291 |
+
"date": "2025-03-06T13:19:51+00:00",
|
| 292 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4924f4e6b638d0a3b7cc0883c03bca94d9e39626"
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"sha": "517d3847c58ed8510856635a9198bff2309c5580",
|
| 296 |
+
"message": "Change base url",
|
| 297 |
+
"author": "Aniket Burman",
|
| 298 |
+
"date": "2025-03-11T07:37:07+00:00",
|
| 299 |
+
"url": "https://github.com/juspay/hyperswitch/commit/517d3847c58ed8510856635a9198bff2309c5580"
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"sha": "41a59f7eecc8cda9342da0a03ec77b22b6e3ae83",
|
| 303 |
+
"message": "chore: run formatter",
|
| 304 |
+
"author": "hyperswitch-bot[bot]",
|
| 305 |
+
"date": "2025-03-11T07:38:07+00:00",
|
| 306 |
+
"url": "https://github.com/juspay/hyperswitch/commit/41a59f7eecc8cda9342da0a03ec77b22b6e3ae83"
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"sha": "8e80e299054cecbb16947dee0ab63822bc3c4a71",
|
| 310 |
+
"message": "Merge branch 'main' into recurly_incoming_webhook_support",
|
| 311 |
+
"author": "Aniket Burman",
|
| 312 |
+
"date": "2025-03-11T07:39:07+00:00",
|
| 313 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8e80e299054cecbb16947dee0ab63822bc3c4a71"
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"sha": "d5360251a3771bd82cba294c99f0e95db7f101df",
|
| 317 |
+
"message": "Update Cargo.toml file",
|
| 318 |
+
"author": "Aniket Burman",
|
| 319 |
+
"date": "2025-03-11T08:25:10+00:00",
|
| 320 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d5360251a3771bd82cba294c99f0e95db7f101df"
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"sha": "1407bac587e6ec1c26f7539da85e2e3b635f3d40",
|
| 324 |
+
"message": "Resolved error",
|
| 325 |
+
"author": "Aniket Burman",
|
| 326 |
+
"date": "2025-03-11T09:11:07+00:00",
|
| 327 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1407bac587e6ec1c26f7539da85e2e3b635f3d40"
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"sha": "2edc8093292db34d2d5ea09b044bc1b60b1c7638",
|
| 331 |
+
"message": "chore: run formatter",
|
| 332 |
+
"author": "hyperswitch-bot[bot]",
|
| 333 |
+
"date": "2025-03-11T09:12:21+00:00",
|
| 334 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2edc8093292db34d2d5ea09b044bc1b60b1c7638"
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"sha": "d61fc6a7706aa059c57111340b88be993610e8ef",
|
| 338 |
+
"message": "Throw an error for recurly",
|
| 339 |
+
"author": "Aniket Burman",
|
| 340 |
+
"date": "2025-03-12T08:18:00+00:00",
|
| 341 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d61fc6a7706aa059c57111340b88be993610e8ef"
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"sha": "60a5b8292c345f6b93772c9859d953faa6091d90",
|
| 345 |
+
"message": "Recurly error",
|
| 346 |
+
"author": "Aniket Burman",
|
| 347 |
+
"date": "2025-03-12T10:19:32+00:00",
|
| 348 |
+
"url": "https://github.com/juspay/hyperswitch/commit/60a5b8292c345f6b93772c9859d953faa6091d90"
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"sha": "b1f9e08df7da620f375c06027e2cfe551bb4fa26",
|
| 352 |
+
"message": " resolved the error in api.rs",
|
| 353 |
+
"author": "Aniket Burman",
|
| 354 |
+
"date": "2025-03-13T09:06:18+00:00",
|
| 355 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b1f9e08df7da620f375c06027e2cfe551bb4fa26"
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"sha": "7705f016e3da02b8d8d0766b62308a975430b979",
|
| 359 |
+
"message": "chore: run formatter",
|
| 360 |
+
"author": "hyperswitch-bot[bot]",
|
| 361 |
+
"date": "2025-03-13T09:14:37+00:00",
|
| 362 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7705f016e3da02b8d8d0766b62308a975430b979"
|
| 363 |
+
}
|
| 364 |
+
]
|
| 365 |
+
}
|
prs/pr_7477.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7477,
|
| 3 |
+
"title": "ci: update wise connector cypress creds",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [x] CI/CD\r\n\r\n## Description\r\nUpdate Cypress Creds\r\n\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\nwise connector failing\r\n\r\n## How did you test it?\r\nCi should pass\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] I formatted the code `cargo +nightly fmt --all`\r\n- [ ] I addressed lints thrown by `cargo clippy`\r\n- [ ] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "likhinbopanna",
|
| 6 |
+
"created_at": "2025-03-11T07:32:07+00:00",
|
| 7 |
+
"merged_at": "2025-03-11T08:47:32+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-CI-CD"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7477",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "13128187b0435a8af90bb72574c4831791c9afbd",
|
| 16 |
+
"message": "chore: update cypress creds",
|
| 17 |
+
"author": "likhinbopanna",
|
| 18 |
+
"date": "2025-03-11T07:26:49+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/13128187b0435a8af90bb72574c4831791c9afbd"
|
| 20 |
+
}
|
| 21 |
+
]
|
| 22 |
+
}
|
prs/pr_7478.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7478,
|
| 3 |
+
"title": "fix(core): [CARD TESTING GUARD] Added Card Testing Guard Config response in case of NULL",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [ ] New feature\r\n- [x] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n\r\nIn our current implementation of `Card Testing Guard`, the `card_testing_guard_config` can be `NULL`\r\nfor existing profiles. That has been fixed in this PR to return the default values for `card_testing_guard_config` in case the underlying data is `NULL`\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\nIssue Link: https://github.com/juspay/hyperswitch/issues/7598\r\n\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\n**Postman Tests**\r\n\r\n**Business Profile Retrieve**\r\n\r\n-Request\r\n\r\n```\r\ncurl --location 'http://localhost:8080/account/postman_merchant_GHAction_28c1525e-4f97-4f53-82a2-7ea63214a26a/business_profile/pro_N8dPPL3N4soUk236Rbq2' \\\r\n--header 'api-key: test_admin'\r\n```\r\n\r\n-Response\r\n\r\n```\r\n{\r\n \"merchant_id\": \"postman_merchant_GHAction_28c1525e-4f97-4f53-82a2-7ea63214a26a\",\r\n \"profile_id\": \"pro_N8dPPL3N4soUk236Rbq2\",\r\n \"profile_name\": \"US_default\",\r\n \"return_url\": \"https://duck.com/success\",\r\n \"enable_payment_response_hash\": true,\r\n \"payment_response_hash_key\": \"M59W9wzwjThfjmSUuTqagO3k9SaN74rA8BFa4NMGBTRCgzwl7Y9gBNgAAKl0FqHe\",\r\n \"redirect_to_merchant_with_http_post\": false,\r\n \"webhook_details\": {\r\n \"webhook_version\": \"1.0.1\",\r\n \"webhook_username\": \"ekart_retail\",\r\n \"webhook_password\": \"password_ekart@123\",\r\n \"webhook_url\": null,\r\n \"payment_created_enabled\": true,\r\n \"payment_succeeded_enabled\": true,\r\n \"payment_failed_enabled\": true\r\n },\r\n \"metadata\": null,\r\n \"routing_algorithm\": null,\r\n \"intent_fulfillment_time\": 900,\r\n \"frm_routing_algorithm\": null,\r\n \"payout_routing_algorithm\": null,\r\n \"applepay_verified_domains\": null,\r\n \"session_expiry\": 900,\r\n \"payment_link_config\": null,\r\n \"authentication_connector_details\": null,\r\n \"use_billing_as_payment_method_billing\": true,\r\n \"extended_card_info_config\": null,\r\n \"collect_shipping_details_from_wallet_connector\": false,\r\n \"collect_billing_details_from_wallet_connector\": false,\r\n \"always_collect_shipping_details_from_wallet_connector\": false,\r\n \"always_collect_billing_details_from_wallet_connector\": false,\r\n \"is_connector_agnostic_mit_enabled\": false,\r\n \"payout_link_config\": null,\r\n \"outgoing_webhook_custom_http_headers\": null,\r\n \"tax_connector_id\": null,\r\n \"is_tax_connector_enabled\": false,\r\n \"is_network_tokenization_enabled\": false,\r\n \"is_auto_retries_enabled\": false,\r\n \"max_auto_retries_enabled\": null,\r\n \"always_request_extended_authorization\": null,\r\n \"is_click_to_pay_enabled\": false,\r\n \"authentication_product_ids\": null,\r\n \"card_testing_guard_config\": {\r\n \"card_ip_blocking_status\": \"disabled\",\r\n \"card_ip_blocking_threshold\": 3,\r\n \"guest_user_card_blocking_status\": \"disabled\",\r\n \"guest_user_card_blocking_threshold\": 10,\r\n \"customer_id_blocking_status\": \"disabled\",\r\n \"customer_id_blocking_threshold\": 5,\r\n \"card_testing_guard_expiry\": 3600\r\n },\r\n \"is_clear_pan_retries_enabled\": false,\r\n \"force_3ds_challenge\": false\r\n}\r\n```\r\n\r\n**Cypress Tests**\r\n\r\n\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "Debarshi-Gupta",
|
| 6 |
+
"created_at": "2025-03-11T11:10:54+00:00",
|
| 7 |
+
"merged_at": "2025-04-21T08:49:18+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-core",
|
| 11 |
+
"C-bug"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7478",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "7128ce006afa2f86759c13f2c81d992bf4ba5141",
|
| 17 |
+
"message": "fix: Added Card Testing Guard Config response in case of NULL",
|
| 18 |
+
"author": "Debarshi Gupta",
|
| 19 |
+
"date": "2025-03-11T10:41:12+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7128ce006afa2f86759c13f2c81d992bf4ba5141"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "4721bbee5a434fc3994a862c7c13b442b8630b4f",
|
| 24 |
+
"message": "chore: run formatter",
|
| 25 |
+
"author": "hyperswitch-bot[bot]",
|
| 26 |
+
"date": "2025-03-11T11:35:14+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4721bbee5a434fc3994a862c7c13b442b8630b4f"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "b993569b2b4365cd526ca4ad74c09dc32752a232",
|
| 31 |
+
"message": "fix(core): Added Default Value in response for Card Testing Guard",
|
| 32 |
+
"author": "debarshi.gupta",
|
| 33 |
+
"date": "2025-03-22T18:27:28+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b993569b2b4365cd526ca4ad74c09dc32752a232"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "0530d837936c20d33271781e7012d9e6c01c3f4e",
|
| 38 |
+
"message": "Merge branch 'main' into fix/card-testing",
|
| 39 |
+
"author": "Debarshi Gupta",
|
| 40 |
+
"date": "2025-03-22T18:35:12+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0530d837936c20d33271781e7012d9e6c01c3f4e"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "95574bac174a37f3541ed9de862d42eeb4a27536",
|
| 45 |
+
"message": "chore: Resolved github checks",
|
| 46 |
+
"author": "debarshi.gupta",
|
| 47 |
+
"date": "2025-03-22T19:13:16+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/95574bac174a37f3541ed9de862d42eeb4a27536"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "badd9982b73c83ca4d577ddd059d7ba5bc62b454",
|
| 52 |
+
"message": "chore: Resolve PR comments",
|
| 53 |
+
"author": "debarshi.gupta",
|
| 54 |
+
"date": "2025-03-26T07:31:22+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/badd9982b73c83ca4d577ddd059d7ba5bc62b454"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"sha": "86021c3ac3277f8cac911a3715a252e4d85a7ebc",
|
| 59 |
+
"message": "Merge branch 'main' into fix/card-testing",
|
| 60 |
+
"author": "Debarshi Gupta",
|
| 61 |
+
"date": "2025-03-26T07:32:01+00:00",
|
| 62 |
+
"url": "https://github.com/juspay/hyperswitch/commit/86021c3ac3277f8cac911a3715a252e4d85a7ebc"
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"sha": "8f2478ec545fd96aa82f823a0ae2d4b3d7999f13",
|
| 66 |
+
"message": "chore: Resolve PR comments",
|
| 67 |
+
"author": "debarshi.gupta",
|
| 68 |
+
"date": "2025-03-26T08:10:18+00:00",
|
| 69 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8f2478ec545fd96aa82f823a0ae2d4b3d7999f13"
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"sha": "1c95fbc2ffd7976fa7bccdab5f926d8447e2a391",
|
| 73 |
+
"message": "chore: Resolve PR comments",
|
| 74 |
+
"author": "debarshi.gupta",
|
| 75 |
+
"date": "2025-03-26T09:11:53+00:00",
|
| 76 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1c95fbc2ffd7976fa7bccdab5f926d8447e2a391"
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"sha": "db039597dab8cf81e9a7bcf3c76f47c95f94fe7d",
|
| 80 |
+
"message": "Merge branch 'main' into fix/card-testing",
|
| 81 |
+
"author": "Debarshi Gupta",
|
| 82 |
+
"date": "2025-04-01T08:21:14+00:00",
|
| 83 |
+
"url": "https://github.com/juspay/hyperswitch/commit/db039597dab8cf81e9a7bcf3c76f47c95f94fe7d"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"sha": "fb7e99c381aac28c5c4e04853339062797a1fca9",
|
| 87 |
+
"message": "Merge branch 'main' into fix/card-testing",
|
| 88 |
+
"author": "Debarshi Gupta",
|
| 89 |
+
"date": "2025-04-01T13:18:47+00:00",
|
| 90 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fb7e99c381aac28c5c4e04853339062797a1fca9"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"sha": "ad0141118c778dee0af4af95b2df92e415523301",
|
| 94 |
+
"message": "Merge branch 'main' into fix/card-testing",
|
| 95 |
+
"author": "Debarshi Gupta",
|
| 96 |
+
"date": "2025-04-06T13:10:04+00:00",
|
| 97 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ad0141118c778dee0af4af95b2df92e415523301"
|
| 98 |
+
}
|
| 99 |
+
]
|
| 100 |
+
}
|
prs/pr_7523.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7523,
|
| 3 |
+
"title": "fix(connector): fix incorrect mapping of attempt status in AuthorizeDotNet connector",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\nCloses this [issue](https://github.com/juspay/hyperswitch/issues/7522)\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n\r\nChanged the attempt status mapping of `CapturedPendingSettlement` given by AuthorizeDotNet from `ChargeInitiated` to `Charged`\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\nWhen the capture_method is automatic, AuthorizeDotNet connector first sends a `CapturedPendingSettlement` status which is mapped to `ChargeInitiated` in our codebase. That results in `processing` transaction status in the Hyperswitch's response (in production environment).\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\nPostman tests are not valid since AuthorizeDotNet directly sends `SettledSuccessfully` status in local/sandbox environment.\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "Anurag-05-prog",
|
| 6 |
+
"created_at": "2025-03-13T19:39:20+00:00",
|
| 7 |
+
"merged_at": "2025-03-17T14:53:38+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [],
|
| 10 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7523",
|
| 11 |
+
"commits": [
|
| 12 |
+
{
|
| 13 |
+
"sha": "d4b4cc8d0c15abd5a7750722069d929eaef6f61f",
|
| 14 |
+
"message": "fix(connector): fix incorrect mapping of attempt status",
|
| 15 |
+
"author": "Anurag Singh",
|
| 16 |
+
"date": "2025-03-13T19:19:06+00:00",
|
| 17 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d4b4cc8d0c15abd5a7750722069d929eaef6f61f"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"sha": "4385810813ebbc34f21ebadf997023e13083c632",
|
| 21 |
+
"message": "chore: run formatter",
|
| 22 |
+
"author": "hyperswitch-bot[bot]",
|
| 23 |
+
"date": "2025-03-13T19:40:09+00:00",
|
| 24 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4385810813ebbc34f21ebadf997023e13083c632"
|
| 25 |
+
}
|
| 26 |
+
]
|
| 27 |
+
}
|
prs/pr_7535.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7535,
|
| 3 |
+
"title": "feat(analytics): add issuer as filter for authentication analytics",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] Bugfix\r\n- [x] New feature\r\n- [x] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nAdded `acs_reference_number` as filter for authentication analytics.\r\nWill display it as `issuer` on FE dashboard.\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\nBetter insights into authentication data by applying filters\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\nGet Info curl:\r\n```bash\r\ncurl --location 'http://localhost:8080/analytics/v1/auth_events/info' \\\r\n--header 'Accept: */*' \\\r\n--header 'Accept-Language: en-US,en;q=0.9' \\\r\n--header 'Connection: keep-alive' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Referer: http://localhost:9000/dashboard/analytics-payments' \\\r\n--header 'Sec-Fetch-Dest: empty' \\\r\n--header 'Sec-Fetch-Mode: cors' \\\r\n--header 'Sec-Fetch-Site: same-origin' \\\r\n--header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36' \\\r\n--header 'X-Merchant-Id: merchant_1740414909' \\\r\n--header 'X-Profile-Id: pro_q9g6emqpc7b41Lo7UXpx' \\\r\n--header 'api-key: dev_zKT6VT7TvcxCtwq8N716HELM6HZJAwZvkWVHrlKAU54Pzu6D18GL3u3UswnkMkug' \\\r\n--header 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiYWFiNWIxNDEtNjQwOC00YTUyLTk2MjMtNTVhNTgxMTU1M2U4IiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzQwNDE0OTA5Iiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTc0MTI3NDY4NSwib3JnX2lkIjoib3JnX1QwSEtYNHYyRGFRT2lHUDVwRk52IiwicHJvZmlsZV9pZCI6InByb19xOWc2ZW1xcGM3YjQxTG83VVhweCIsInRlbmFudF9pZCI6InB1YmxpYyJ9.LIExs1jjG6N5AFu5_S3oiuy77fWF0IbJmNGbK8HHLXI' \\\r\n--header 'sec-ch-ua: \"Not(A:Brand\";v=\"99\", \"Google Chrome\";v=\"133\", \"Chromium\";v=\"133\"' \\\r\n--header 'sec-ch-ua-mobile: ?0' \\\r\n--header 'sec-ch-ua-platform: \"macOS\"'\r\n```\r\n\r\nSample Output:\r\n```json\r\n{\r\n \"metrics\": [\r\n {\r\n \"name\": \"authentication_count\",\r\n \"desc\": \"\"\r\n },\r\n {\r\n \"name\": \"authentication_attempt_count\",\r\n \"desc\": \"\"\r\n },\r\n {\r\n \"name\": \"authentication_success_count\",\r\n \"desc\": \"\"\r\n },\r\n {\r\n \"name\": \"challenge_flow_count\",\r\n \"desc\": \"\"\r\n },\r\n {\r\n \"name\": \"frictionless_flow_count\",\r\n \"desc\": \"\"\r\n },\r\n {\r\n \"name\": \"frictionless_success_count\",\r\n \"desc\": \"\"\r\n },\r\n {\r\n \"name\": \"challenge_attempt_count\",\r\n \"desc\": \"\"\r\n },\r\n {\r\n \"name\": \"challenge_success_count\",\r\n \"desc\": \"\"\r\n },\r\n {\r\n \"name\": \"authentication_error_message\",\r\n \"desc\": \"\"\r\n },\r\n {\r\n \"name\": \"authentication_funnel\",\r\n \"desc\": \"\"\r\n }\r\n ],\r\n \"downloadDimensions\": null,\r\n \"dimensions\": [\r\n {\r\n \"name\": \"authentication_connector\",\r\n \"desc\": \"\"\r\n },\r\n {\r\n \"name\": \"message_version\",\r\n \"desc\": \"\"\r\n },\r\n {\r\n \"name\": \"acs_reference_number\",\r\n \"desc\": \"\"\r\n }\r\n ]\r\n}\r\n```\r\nacs_reference_number is being sent in the dimensions list.\r\n\r\nFilters API:\r\n\r\n```bash\r\ncurl --location 'http://localhost:8080/analytics/v1/filters/auth_events' \\\r\n--header 'Accept: */*' \\\r\n--header 'Accept-Language: en-US,en;q=0.9' \\\r\n--header 'Connection: keep-alive' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Origin: http://localhost:9000' \\\r\n--header 'Referer: http://localhost:9000/' \\\r\n--header 'Sec-Fetch-Dest: empty' \\\r\n--header 'Sec-Fetch-Mode: cors' \\\r\n--header 'Sec-Fetch-Site: same-site' \\\r\n--header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36' \\\r\n--header 'api-key: hyperswitch' \\\r\n--header 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiM2RlMDFhYWYtOWVkMi00YTY5LTg3YWItNWU1YmI2ZWFiNGQ5IiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzQyMjEyMzQxIiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTc0MjM4NTE0Miwib3JnX2lkIjoib3JnX3pMQmRNTnpLaDZrNmhiT2tockdJIiwicHJvZmlsZV9pZCI6InByb19LWnhHZ21rUHFkMldQdXBFa2psWCIsInRlbmFudF9pZCI6InB1YmxpYyJ9.efMstkbz90nfMKju4PmdIedl_tN-FHW3aQKD44jOnxo' \\\r\n--header 'sec-ch-ua: \"Chromium\";v=\"128\", \"Not;A=Brand\";v=\"24\", \"Google Chrome\";v=\"128\"' \\\r\n--header 'sec-ch-ua-mobile: ?0' \\\r\n--header 'sec-ch-ua-platform: \"macOS\"' \\\r\n--data '{\r\n \"timeRange\": {\r\n \"startTime\": \"2025-02-01T18:30:00.000Z\",\r\n \"endTime\": \"2025-02-28T09:22:30.000Z\"\r\n },\r\n \"groupByNames\": [\r\n \"message_version\",\r\n \"authentication_connector\",\r\n \"acs_reference_number\"\r\n\r\n ],\r\n \"source\": \"BATCH\",\r\n \"delta\": true\r\n}'\r\n```\r\n\r\nSample Output:\r\n```json\r\n{\r\n \"queryData\": [\r\n {\r\n \"dimension\": \"message_version\",\r\n \"values\": [\r\n \"2.3.1\"\r\n ]\r\n },\r\n {\r\n \"dimension\": \"authentication_connector\",\r\n \"values\": [\r\n \"netcetera\"\r\n ]\r\n },\r\n {\r\n \"dimension\": \"acs_reference_number\",\r\n \"values\": [\r\n \"3DS_LOA_ACS_201_13579\"\r\n ]\r\n }\r\n ]\r\n}\r\n```\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "tsdk02",
|
| 6 |
+
"created_at": "2025-03-17T11:39:35+00:00",
|
| 7 |
+
"merged_at": "2025-03-18T10:21:02+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-Analytics"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7535",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "fd8c97b5c62c15087d4667aa70e34c2b123bba70",
|
| 16 |
+
"message": "feat(analytics): add issuer as filter for authentication analytics",
|
| 17 |
+
"author": "Sandeep Kumar",
|
| 18 |
+
"date": "2025-03-17T11:35:30+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fd8c97b5c62c15087d4667aa70e34c2b123bba70"
|
| 20 |
+
}
|
| 21 |
+
]
|
| 22 |
+
}
|
prs/pr_7601.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7601,
|
| 3 |
+
"title": "fix(connectors): [Adyen] remove redundant enums ",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n In Adyen: Removed enums variants with the same renamed name. Affected payment methods include \r\n -> Lawson\r\n-> MiniStop\r\n-> FamilyMart\r\n-> Seicomart\r\n-> PayEasy\r\nThis PR doesn't cause any change to the payment request sent to Adyen.\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\nTo verify the changes made in this PR, initiate a payment using any of the listed vouchers and ensure that the Adyen with redirect_to_url response. \r\n\r\n<details> \r\n<summary> 1. Lawson </summary>\r\n\r\n```curl\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_mVIUZkvqkVBfHNj6IkoHdezgCbW8HQcDoZVnVMkjm59bIKBm40qe8szRYSbNrSgM' \\\r\n--data-raw '{\r\n \"amount\": 1000,\r\n \"currency\": \"JPY\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"amount_to_capture\": 1000,\r\n \"phone_country_code\": \"+1\",\r\n \"description\": \"Its my first payment request\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"return_url\": \"https://duck.com\",\r\n \"payment_method\": \"voucher\",\r\n \"payment_method_type\": \"lawson\",\r\n \"payment_method_data\": {\r\n \"voucher\": {\r\n \"lawson\": {}\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"635253163\",\r\n \"country_code\": \"+81\"\r\n },\r\n \"email\": \"someone@kk.com\"\r\n }\r\n}'\r\n```\r\nResponse\r\n```json\r\n{\"payment_id\":\"pay_agr67IytaxyDfWDsnpXM\",\"merchant_id\":\"postman_merchant_GHAction_abe7c2a8-b651-4afd-857e-47de8dcb59e0\",\"status\":\"requires_customer_action\",\"amount\":1000,\"net_amount\":1000,\"shipping_cost\":null,\"amount_capturable\":1000,\"amount_received\":null,\"connector\":\"adyen\",\"client_secret\":\"pay_agr67IytaxyDfWDsnpXM_secret_e7cWiaDDNy815hCXwA3T\",\"created\":\"2025-03-24T05:28:57.974Z\",\"currency\":\"JPY\",\"customer_id\":null,\"customer\":{\"id\":null,\"name\":null,\"email\":null,\"phone\":null,\"phone_country_code\":\"+1\"},\"description\":\"Its my first payment request\",\"refunds\":null,\"disputes\":null,\"mandate_id\":null,\"mandate_data\":null,\"setup_future_usage\":null,\"off_session\":null,\"capture_on\":null,\"capture_method\":\"automatic\",\"payment_method\":\"voucher\",\"payment_method_data\":{\"voucher\":{\"seven_eleven\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone_number\":null}},\"billing\":null},\"payment_token\":null,\"shipping\":null,\"billing\":{\"address\":{\"city\":null,\"country\":null,\"line1\":null,\"line2\":null,\"line3\":null,\"zip\":null,\"state\":null,\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"635253163\",\"country_code\":\"+81\"},\"email\":\"someone@kk.com\"},\"order_details\":null,\"email\":null,\"name\":null,\"phone\":null,\"return_url\":\"https://duck.com/\",\"authentication_type\":\"no_three_ds\",\"statement_descriptor_name\":null,\"statement_descriptor_suffix\":null,\"next_action\":{\"type\":\"redirect_to_url\",\"redirect_to_url\":\"http://localhost:8080/payments/redirect/pay_agr67IytaxyDfWDsnpXM/postman_merchant_GHAction_abe7c2a8-b651-4afd-857e-47de8dcb59e0/pay_agr67IytaxyDfWDsnpXM_1\"},\"cancellation_reason\":null,\"error_code\":null,\"error_message\":null,\"unified_code\":null,\"unified_message\":null,\"payment_experience\":null,\"payment_method_type\":\"lawson\",\"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\":\"QXF343VMB3DWCCV5\",\"frm_message\":null,\"metadata\":null,\"connector_metadata\":null,\"feature_metadata\":null,\"reference_id\":\"QXF343VMB3DWCCV5\",\"payment_link\":null,\"profile_id\":\"pro_B5nviptrAsQPF94dJVxM\",\"surcharge_details\":null,\"attempt_count\":1,\"merchant_decision\":null,\"merchant_connector_id\":\"mca_lZcHWAIRX6u8CymJZYZT\",\"incremental_authorization_allowed\":null,\"authorization_count\":null,\"incremental_authorizations\":null,\"external_authentication_details\":null,\"external_3ds_authentication_attempted\":false,\"expires_on\":\"2025-03-24T05:43:57.974Z\",\"fingerprint\":null,\"browser_info\":null,\"payment_method_id\":null,\"payment_method_status\":null,\"updated\":\"2025-03-24T05:29:01.533Z\",\"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,\"issuer_error_code\":null,\"issuer_error_message\":null}\r\n```\r\n</details> \r\n\r\n\r\n<details> \r\n<summary> 2. Mini Stop </summary>\r\n\r\n```curl\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_W3e5hTU3erUs5i5f8jAOQimLhI3rtfDjQeQWx59TBYeHZcYVzdST1b9BazfzLCiS' \\\r\n--data-raw '{\r\n \"amount\": 1000,\r\n \"currency\": \"JPY\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"amount_to_capture\": 1000,\r\n \"phone_country_code\": \"+1\",\r\n \"description\": \"Its my first payment request\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"return_url\": \"https://duck.com\",\r\n \"payment_method\": \"voucher\",\r\n \"payment_method_type\": \"mini_stop\",\r\n \"payment_method_data\": {\r\n \"voucher\": {\r\n \"mini_stop\": {}\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"635253163\",\r\n \"country_code\": \"+81\"\r\n },\r\n \"email\": \"someone@kk.com\"\r\n }\r\n}'\r\n```\r\nResponse\r\n\r\n```json\r\n{\"payment_id\":\"pay_3aqcAzjLWXJLyc6zoYNk\",\"merchant_id\":\"postman_merchant_GHAction_edf0ac37-15e4-4799-9789-dbf7c89c7613\",\"status\":\"requires_customer_action\",\"amount\":1000,\"net_amount\":1000,\"shipping_cost\":null,\"amount_capturable\":1000,\"amount_received\":null,\"connector\":\"adyen\",\"client_secret\":\"pay_3aqcAzjLWXJLyc6zoYNk_secret_8vxdX1EtP437ngOJMraT\",\"created\":\"2025-03-24T05:56:30.461Z\",\"currency\":\"JPY\",\"customer_id\":null,\"customer\":{\"id\":null,\"name\":null,\"email\":null,\"phone\":null,\"phone_country_code\":\"+1\"},\"description\":\"Its my first payment request\",\"refunds\":null,\"disputes\":null,\"mandate_id\":null,\"mandate_data\":null,\"setup_future_usage\":null,\"off_session\":null,\"capture_on\":null,\"capture_method\":\"automatic\",\"payment_method\":\"voucher\",\"payment_method_data\":{\"voucher\":{\"seven_eleven\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone_number\":null}},\"billing\":null},\"payment_token\":null,\"shipping\":null,\"billing\":{\"address\":{\"city\":null,\"country\":null,\"line1\":null,\"line2\":null,\"line3\":null,\"zip\":null,\"state\":null,\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"635253163\",\"country_code\":\"+81\"},\"email\":\"someone@kk.com\"},\"order_details\":null,\"email\":null,\"name\":null,\"phone\":null,\"return_url\":\"https://duck.com/\",\"authentication_type\":\"no_three_ds\",\"statement_descriptor_name\":null,\"statement_descriptor_suffix\":null,\"next_action\":{\"type\":\"redirect_to_url\",\"redirect_to_url\":\"http://localhost:8080/payments/redirect/pay_3aqcAzjLWXJLyc6zoYNk/postman_merchant_GHAction_edf0ac37-15e4-4799-9789-dbf7c89c7613/pay_3aqcAzjLWXJLyc6zoYNk_1\"},\"cancellation_reason\":null,\"error_code\":null,\"error_message\":null,\"unified_code\":null,\"unified_message\":null,\"payment_experience\":null,\"payment_method_type\":\"mini_stop\",\"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\":\"ZH3NNVR7KN5JVHV5\",\"frm_message\":null,\"metadata\":null,\"connector_metadata\":null,\"feature_metadata\":null,\"reference_id\":\"ZH3NNVR7KN5JVHV5\",\"payment_link\":null,\"profile_id\":\"pro_hGC37BBwj8Cv75xxqlgk\",\"surcharge_details\":null,\"attempt_count\":1,\"merchant_decision\":null,\"merchant_connector_id\":\"mca_3zNQt5SN5xuDD4hwBXvV\",\"incremental_authorization_allowed\":null,\"authorization_count\":null,\"incremental_authorizations\":null,\"external_authentication_details\":null,\"external_3ds_authentication_attempted\":false,\"expires_on\":\"2025-03-24T06:11:30.461Z\",\"fingerprint\":null,\"browser_info\":null,\"payment_method_id\":null,\"payment_method_status\":null,\"updated\":\"2025-03-24T05:56:35.443Z\",\"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,\"issuer_error_code\":null,\"issuer_error_message\":null}\r\n```\r\n</details> \r\n\r\n\r\n<details> \r\n<summary> 3. Family Mart</summary>\r\n\r\n```curl\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_W3e5hTU3erUs5i5f8jAOQimLhI3rtfDjQeQWx59TBYeHZcYVzdST1b9BazfzLCiS' \\\r\n--data-raw '{\r\n \"amount\": 1000,\r\n \"currency\": \"JPY\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"amount_to_capture\": 1000,\r\n \"phone_country_code\": \"+1\",\r\n \"description\": \"Its my first payment request\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"return_url\": \"https://duck.com\",\r\n \"payment_method\": \"voucher\",\r\n \"payment_method_type\": \"family_mart\",\r\n \"payment_method_data\": {\r\n \"voucher\": {\r\n \"family_mart\": {}\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"635253163\",\r\n \"country_code\": \"+81\"\r\n },\r\n \"email\": \"someone@kk.com\"\r\n }\r\n}'\r\n```\r\nResponse \r\n```json\r\n{\"payment_id\":\"pay_2Y4jklwXhABpbODpFQDL\",\"merchant_id\":\"postman_merchant_GHAction_edf0ac37-15e4-4799-9789-dbf7c89c7613\",\"status\":\"requires_customer_action\",\"amount\":1000,\"net_amount\":1000,\"shipping_cost\":null,\"amount_capturable\":1000,\"amount_received\":null,\"connector\":\"adyen\",\"client_secret\":\"pay_2Y4jklwXhABpbODpFQDL_secret_7Ir4QLnCFGDctILMQHVS\",\"created\":\"2025-03-24T05:58:23.666Z\",\"currency\":\"JPY\",\"customer_id\":null,\"customer\":{\"id\":null,\"name\":null,\"email\":null,\"phone\":null,\"phone_country_code\":\"+1\"},\"description\":\"Its my first payment request\",\"refunds\":null,\"disputes\":null,\"mandate_id\":null,\"mandate_data\":null,\"setup_future_usage\":null,\"off_session\":null,\"capture_on\":null,\"capture_method\":\"automatic\",\"payment_method\":\"voucher\",\"payment_method_data\":{\"voucher\":{\"seven_eleven\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone_number\":null}},\"billing\":null},\"payment_token\":null,\"shipping\":null,\"billing\":{\"address\":{\"city\":null,\"country\":null,\"line1\":null,\"line2\":null,\"line3\":null,\"zip\":null,\"state\":null,\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"635253163\",\"country_code\":\"+81\"},\"email\":\"someone@kk.com\"},\"order_details\":null,\"email\":null,\"name\":null,\"phone\":null,\"return_url\":\"https://duck.com/\",\"authentication_type\":\"no_three_ds\",\"statement_descriptor_name\":null,\"statement_descriptor_suffix\":null,\"next_action\":{\"type\":\"redirect_to_url\",\"redirect_to_url\":\"http://localhost:8080/payments/redirect/pay_2Y4jklwXhABpbODpFQDL/postman_merchant_GHAction_edf0ac37-15e4-4799-9789-dbf7c89c7613/pay_2Y4jklwXhABpbODpFQDL_1\"},\"cancellation_reason\":null,\"error_code\":null,\"error_message\":null,\"unified_code\":null,\"unified_message\":null,\"payment_experience\":null,\"payment_method_type\":\"family_mart\",\"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\":\"D5GBGKVMB3DWCCV5\",\"frm_message\":null,\"metadata\":null,\"connector_metadata\":null,\"feature_metadata\":null,\"reference_id\":\"D5GBGKVMB3DWCCV5\",\"payment_link\":null,\"profile_id\":\"pro_hGC37BBwj8Cv75xxqlgk\",\"surcharge_details\":null,\"attempt_count\":1,\"merchant_decision\":null,\"merchant_connector_id\":\"mca_3zNQt5SN5xuDD4hwBXvV\",\"incremental_authorization_allowed\":null,\"authorization_count\":null,\"incremental_authorizations\":null,\"external_authentication_details\":null,\"external_3ds_authentication_attempted\":false,\"expires_on\":\"2025-03-24T06:13:23.666Z\",\"fingerprint\":null,\"browser_info\":null,\"payment_method_id\":null,\"payment_method_status\":null,\"updated\":\"2025-03-24T05:58:28.227Z\",\"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,\"issuer_error_code\":null,\"issuer_error_message\":null}\r\n```\r\n</details>\r\n\r\n<details>\r\n<summary>4. Seicomart </summary>\r\n\r\n```curl\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_W3e5hTU3erUs5i5f8jAOQimLhI3rtfDjQeQWx59TBYeHZcYVzdST1b9BazfzLCiS' \\\r\n--data-raw '{\r\n \"amount\": 1000,\r\n \"currency\": \"JPY\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"amount_to_capture\": 1000,\r\n \"phone_country_code\": \"+1\",\r\n \"description\": \"Its my first payment request\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"return_url\": \"https://duck.com\",\r\n \"payment_method\": \"voucher\",\r\n \"payment_method_type\": \"seicomart\",\r\n \"payment_method_data\": {\r\n \"voucher\": {\r\n \"seicomart\": {}\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"635253163\",\r\n \"country_code\": \"+81\"\r\n },\r\n \"email\": \"someone@kk.com\"\r\n }\r\n}'\r\n```\r\nResponse\r\n```json\r\n{\"payment_id\":\"pay_x3C9vn2kxxBXu8mDm1Qm\",\"merchant_id\":\"postman_merchant_GHAction_edf0ac37-15e4-4799-9789-dbf7c89c7613\",\"status\":\"requires_customer_action\",\"amount\":1000,\"net_amount\":1000,\"shipping_cost\":null,\"amount_capturable\":1000,\"amount_received\":null,\"connector\":\"adyen\",\"client_secret\":\"pay_x3C9vn2kxxBXu8mDm1Qm_secret_FllBly68xznXB0dQcbDf\",\"created\":\"2025-03-24T06:06:24.368Z\",\"currency\":\"JPY\",\"customer_id\":null,\"customer\":{\"id\":null,\"name\":null,\"email\":null,\"phone\":null,\"phone_country_code\":\"+1\"},\"description\":\"Its my first payment request\",\"refunds\":null,\"disputes\":null,\"mandate_id\":null,\"mandate_data\":null,\"setup_future_usage\":null,\"off_session\":null,\"capture_on\":null,\"capture_method\":\"automatic\",\"payment_method\":\"voucher\",\"payment_method_data\":{\"voucher\":{\"seven_eleven\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone_number\":null}},\"billing\":null},\"payment_token\":null,\"shipping\":null,\"billing\":{\"address\":{\"city\":null,\"country\":null,\"line1\":null,\"line2\":null,\"line3\":null,\"zip\":null,\"state\":null,\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"635253163\",\"country_code\":\"+81\"},\"email\":\"someone@kk.com\"},\"order_details\":null,\"email\":null,\"name\":null,\"phone\":null,\"return_url\":\"https://duck.com/\",\"authentication_type\":\"no_three_ds\",\"statement_descriptor_name\":null,\"statement_descriptor_suffix\":null,\"next_action\":{\"type\":\"redirect_to_url\",\"redirect_to_url\":\"http://localhost:8080/payments/redirect/pay_x3C9vn2kxxBXu8mDm1Qm/postman_merchant_GHAction_edf0ac37-15e4-4799-9789-dbf7c89c7613/pay_x3C9vn2kxxBXu8mDm1Qm_1\"},\"cancellation_reason\":null,\"error_code\":null,\"error_message\":null,\"unified_code\":null,\"unified_message\":null,\"payment_experience\":null,\"payment_method_type\":\"seicomart\",\"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\":\"QNGXJKTTVDBJVHV5\",\"frm_message\":null,\"metadata\":null,\"connector_metadata\":null,\"feature_metadata\":null,\"reference_id\":\"QNGXJKTTVDBJVHV5\",\"payment_link\":null,\"profile_id\":\"pro_hGC37BBwj8Cv75xxqlgk\",\"surcharge_details\":null,\"attempt_count\":1,\"merchant_decision\":null,\"merchant_connector_id\":\"mca_3zNQt5SN5xuDD4hwBXvV\",\"incremental_authorization_allowed\":null,\"authorization_count\":null,\"incremental_authorizations\":null,\"external_authentication_details\":null,\"external_3ds_authentication_attempted\":false,\"expires_on\":\"2025-03-24T06:21:24.368Z\",\"fingerprint\":null,\"browser_info\":null,\"payment_method_id\":null,\"payment_method_status\":null,\"updated\":\"2025-03-24T06:06:28.749Z\",\"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,\"issuer_error_code\":null,\"issuer_error_message\":null}\r\n```\r\n</details>\r\n\r\n\r\n<details>\r\n<summary>5. PayEasy </summary>\r\n\r\n```curl\r\ncurl --location 'http://localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_W3e5hTU3erUs5i5f8jAOQimLhI3rtfDjQeQWx59TBYeHZcYVzdST1b9BazfzLCiS' \\\r\n--data-raw '{\r\n \"amount\": 1000,\r\n \"currency\": \"JPY\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"amount_to_capture\": 1000,\r\n \"phone_country_code\": \"+1\",\r\n \"description\": \"Its my first payment request\",\r\n \"authentication_type\": \"no_three_ds\",\r\n \"return_url\": \"https://duck.com\",\r\n \"payment_method\": \"voucher\",\r\n \"payment_method_type\": \"pay_easy\",\r\n \"payment_method_data\": {\r\n \"voucher\": {\r\n \"pay_easy\": {}\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": {\r\n \"number\": \"635253163\",\r\n \"country_code\": \"+81\"\r\n },\r\n \"email\": \"someone@kk.com\"\r\n }\r\n}'\r\n```\r\nResponse\r\n```json\r\n{\"payment_id\":\"pay_GaDjARqqiedZLVkS37dO\",\"merchant_id\":\"postman_merchant_GHAction_edf0ac37-15e4-4799-9789-dbf7c89c7613\",\"status\":\"requires_customer_action\",\"amount\":1000,\"net_amount\":1000,\"shipping_cost\":null,\"amount_capturable\":1000,\"amount_received\":null,\"connector\":\"adyen\",\"client_secret\":\"pay_GaDjARqqiedZLVkS37dO_secret_7h0wTHAIx66GfNGkyhHU\",\"created\":\"2025-03-24T06:07:37.357Z\",\"currency\":\"JPY\",\"customer_id\":null,\"customer\":{\"id\":null,\"name\":null,\"email\":null,\"phone\":null,\"phone_country_code\":\"+1\"},\"description\":\"Its my first payment request\",\"refunds\":null,\"disputes\":null,\"mandate_id\":null,\"mandate_data\":null,\"setup_future_usage\":null,\"off_session\":null,\"capture_on\":null,\"capture_method\":\"automatic\",\"payment_method\":\"voucher\",\"payment_method_data\":{\"voucher\":{\"seven_eleven\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone_number\":null}},\"billing\":null},\"payment_token\":null,\"shipping\":null,\"billing\":{\"address\":{\"city\":null,\"country\":null,\"line1\":null,\"line2\":null,\"line3\":null,\"zip\":null,\"state\":null,\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"635253163\",\"country_code\":\"+81\"},\"email\":\"someone@kk.com\"},\"order_details\":null,\"email\":null,\"name\":null,\"phone\":null,\"return_url\":\"https://duck.com/\",\"authentication_type\":\"no_three_ds\",\"statement_descriptor_name\":null,\"statement_descriptor_suffix\":null,\"next_action\":{\"type\":\"redirect_to_url\",\"redirect_to_url\":\"http://localhost:8080/payments/redirect/pay_GaDjARqqiedZLVkS37dO/postman_merchant_GHAction_edf0ac37-15e4-4799-9789-dbf7c89c7613/pay_GaDjARqqiedZLVkS37dO_1\"},\"cancellation_reason\":null,\"error_code\":null,\"error_message\":null,\"unified_code\":null,\"unified_message\":null,\"payment_experience\":null,\"payment_method_type\":\"pay_easy\",\"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\":\"JPL35LT8KKFSXC75\",\"frm_message\":null,\"metadata\":null,\"connector_metadata\":null,\"feature_metadata\":null,\"reference_id\":\"JPL35LT8KKFSXC75\",\"payment_link\":null,\"profile_id\":\"pro_hGC37BBwj8Cv75xxqlgk\",\"surcharge_details\":null,\"attempt_count\":1,\"merchant_decision\":null,\"merchant_connector_id\":\"mca_3zNQt5SN5xuDD4hwBXvV\",\"incremental_authorization_allowed\":null,\"authorization_count\":null,\"incremental_authorizations\":null,\"external_authentication_details\":null,\"external_3ds_authentication_attempted\":false,\"expires_on\":\"2025-03-24T06:22:37.357Z\",\"fingerprint\":null,\"browser_info\":null,\"payment_method_id\":null,\"payment_method_status\":null,\"updated\":\"2025-03-24T06:07:42.188Z\",\"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,\"issuer_error_code\":null,\"issuer_error_message\":null}\r\n```\r\n\r\n</details>\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "AkshayaFoiger",
|
| 6 |
+
"created_at": "2025-03-24T06:01:28+00:00",
|
| 7 |
+
"merged_at": "2025-03-26T10:26:02+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-compatibility",
|
| 11 |
+
"A-connector-integration"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7601",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "d78239e2545042ca6d459d98bc0bdb313e44d038",
|
| 17 |
+
"message": "remove redundant adyen payment method",
|
| 18 |
+
"author": "AkshayaFoiger",
|
| 19 |
+
"date": "2025-03-24T05:30:55+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d78239e2545042ca6d459d98bc0bdb313e44d038"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "550f5582d476dc26ac0bd0f811a214631b490ed5",
|
| 24 |
+
"message": "chore: run formatter",
|
| 25 |
+
"author": "hyperswitch-bot[bot]",
|
| 26 |
+
"date": "2025-03-24T06:02:38+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/550f5582d476dc26ac0bd0f811a214631b490ed5"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "d62a9062262410244cc214c51b0c6c6a7888ceb4",
|
| 31 |
+
"message": "fix clippy",
|
| 32 |
+
"author": "AkshayaFoiger",
|
| 33 |
+
"date": "2025-03-24T06:09:36+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d62a9062262410244cc214c51b0c6c6a7888ceb4"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "0ccd19cd168fe97fa82bd0e354139a793698563f",
|
| 38 |
+
"message": "chore: run formatter",
|
| 39 |
+
"author": "hyperswitch-bot[bot]",
|
| 40 |
+
"date": "2025-03-24T06:10:53+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0ccd19cd168fe97fa82bd0e354139a793698563f"
|
| 42 |
+
}
|
| 43 |
+
]
|
| 44 |
+
}
|
prs/pr_7605.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7605,
|
| 3 |
+
"title": "fix(connector): [GlobalPay] Address `5xx` when cancelling a paypal transaction",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [x] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n\r\nThis PR addresses 5xx that currently is being thrown when a user tries to cancel the PayPal transactions from the redirected page:\r\n\r\n<img width=\"372\" alt=\"image\" src=\"https://github.com/user-attachments/assets/4f920b8b-6ab4-4bcb-9705-dc4d15635c2d\" />\r\n\r\nThis is addressed by introducing a new field `cancel_url` that is required for PayPal.\r\n\r\nThis PR also removes unused structs and enums. In addition to that, `ActionType` has been replaced the previous `String` and now that it only accepts limited number of values.\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\nWe're getting a 5xx when trying to cancel the payment.\r\nCloses [#7607](https://github.com/juspay/hyperswitch/issues/7607)\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\n\u25b6 Expose the `localhost` to the internet via `tailscale funnel`\r\n<details>\r\n<summary>Make a Paypal transaction</summary>\r\n\r\nCreate Payment:\r\n\r\n```curl\r\ncurl --location 'https://pix-mbp.orthrus-monster.ts.net/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_DYcmLTXXQ6gF1HulHKL1WMBpoP8Uw2v1M4eO9mqp9za9AHCpJfhloE568dArpo5Y' \\\r\n--data-raw '{\r\n \"amount\": 1000,\r\n \"currency\": \"USD\",\r\n \"confirm\": false,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"amount_to_capture\": 1000,\r\n \"customer_id\": \"StripeCustomer\",\r\n \"email\": \"abcdef123@gmail.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\",\r\n \"description\": \"Its my first payment request\",\r\n \"authentication_type\": \"three_ds\",\r\n \"return_url\": \"https://duck.com\",\r\n \"billing\": {\r\n \"address\": {\r\n \"first_name\": \"John\",\r\n \"last_name\": \"Doe\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"US\"\r\n }\r\n },\r\n \"browser_info\": {\r\n \"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\",\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"language\": \"nl-NL\",\r\n \"color_depth\": 24,\r\n \"screen_height\": 723,\r\n \"screen_width\": 1536,\r\n \"time_zone\": 0,\r\n \"java_enabled\": true,\r\n \"java_script_enabled\": true,\r\n \"ip_address\": \"127.0.0.1\"\r\n },\r\n \"shipping\": {\r\n \"address\": {\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"city\": \"San Fransico\",\r\n \"state\": \"California\",\r\n \"zip\": \"94122\",\r\n \"country\": \"US\",\r\n \"first_name\": \"John\",\r\n \"last_name\": \"Doe\"\r\n }\r\n },\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"new_customer\": \"true\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\"\r\n }\r\n}'\r\n```\r\n```json\r\n{\r\n \"payment_id\": \"pay_nL4QMyfyB3Q6T0Cs2OEf\",\r\n \"merchant_id\": \"postman_merchant_GHAction_164c761e-166f-4a82-859f-609d96a725b0\",\r\n \"status\": \"requires_payment_method\",\r\n \"amount\": 1000,\r\n \"net_amount\": 1000,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": null,\r\n \"connector\": null,\r\n \"client_secret\": \"pay_nL4QMyfyB3Q6T0Cs2OEf_secret_No5MIK8z5xGpdgyfb5gH\",\r\n \"created\": \"2025-03-24T11:25:08.436Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"StripeCustomer\",\r\n \"customer\": {\r\n \"id\": \"StripeCustomer\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"abcdef123@gmail.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\"\r\n },\r\n \"description\": \"Its my first payment request\",\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": null,\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": null,\r\n \"payment_method_data\": null,\r\n \"payment_token\": null,\r\n \"shipping\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"John\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"John\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"order_details\": null,\r\n \"email\": \"abcdef123@gmail.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": \"https://duck.com/\",\r\n \"authentication_type\": \"three_ds\",\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": null,\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": {\r\n \"customer_id\": \"StripeCustomer\",\r\n \"created_at\": 1742815508,\r\n \"expires\": 1742819108,\r\n \"secret\": \"epk_bc69bc123b7446839d02b177bc3273f7\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": null,\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\",\r\n \"new_customer\": \"true\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": null,\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_bf5d6NP8wcNd1vnsH0eE\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": null,\r\n \"incremental_authorization_allowed\": null,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-03-24T11:40:08.436Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"language\": \"nl-NL\",\r\n \"time_zone\": 0,\r\n \"ip_address\": \"127.0.0.1\",\r\n \"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\",\r\n \"color_depth\": 24,\r\n \"java_enabled\": true,\r\n \"screen_width\": 1536,\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\r\n \"screen_height\": 723,\r\n \"java_script_enabled\": true\r\n },\r\n \"payment_method_id\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-03-24T11:25:08.461Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"extended_authorization_applied\": null,\r\n \"capture_before\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null,\r\n \"card_discovery\": null,\r\n \"issuer_error_code\": null,\r\n \"issuer_error_message\": null\r\n}\r\n```\r\n\r\nConfirm payment:\r\n\r\n```curl\r\ncurl --location 'https://pix-mbp.orthrus-monster.ts.net/payments/pay_5Vm2zTuuBxSsYrddguto/confirm' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_DYcmLTXXQ6gF1HulHKL1WMBpoP8Uw2v1M4eO9mqp9za9AHCpJfhloE568dArpo5Y' \\\r\n--data '{\r\n \"payment_method\": \"wallet\",\r\n \"payment_method_type\": \"paypal\",\r\n \"return_url\": \"https://nohello.com\",\r\n \"payment_method_data\": {\r\n \"wallet\": {\r\n \"paypal_redirect\": {\r\n }\r\n }\r\n }\r\n}\r\n'\r\n```\r\n```json\r\n{\r\n \"payment_id\": \"pay_nL4QMyfyB3Q6T0Cs2OEf\",\r\n \"merchant_id\": \"postman_merchant_GHAction_164c761e-166f-4a82-859f-609d96a725b0\",\r\n \"status\": \"requires_customer_action\",\r\n \"amount\": 1000,\r\n \"net_amount\": 1000,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 1000,\r\n \"amount_received\": null,\r\n \"connector\": \"globalpay\",\r\n \"client_secret\": \"pay_nL4QMyfyB3Q6T0Cs2OEf_secret_No5MIK8z5xGpdgyfb5gH\",\r\n \"created\": \"2025-03-24T11:25:08.436Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"StripeCustomer\",\r\n \"customer\": {\r\n \"id\": \"StripeCustomer\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"abcdef123@gmail.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\"\r\n },\r\n \"description\": \"Its my first payment request\",\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": null,\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"wallet\",\r\n \"payment_method_data\": {\r\n \"wallet\": {},\r\n \"billing\": null\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"John\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"John\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"order_details\": null,\r\n \"email\": \"abcdef123@gmail.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": \"https://nohello.com/\",\r\n \"authentication_type\": \"three_ds\",\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"next_action\": {\r\n \"type\": \"redirect_to_url\",\r\n \"redirect_to_url\": \"http://localhost:8080/payments/redirect/pay_nL4QMyfyB3Q6T0Cs2OEf/postman_merchant_GHAction_164c761e-166f-4a82-859f-609d96a725b0/pay_nL4QMyfyB3Q6T0Cs2OEf_1\"\r\n },\r\n \"cancellation_reason\": null,\r\n \"error_code\": null,\r\n \"error_message\": null,\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"paypal\",\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": null,\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"TRN_PRy15uCj0zyEXanseeWWt78nr53Zh4_Q6T0Cs2OEf_1\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\",\r\n \"new_customer\": \"true\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"pay_nL4QMyfyB3Q6T0Cs2OEf_1\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_bf5d6NP8wcNd1vnsH0eE\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_vURZVfOwYJUGEdIvkfny\",\r\n \"incremental_authorization_allowed\": null,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-03-24T11:40:08.436Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"os_type\": null,\r\n \"language\": null,\r\n \"time_zone\": null,\r\n \"ip_address\": \"103.159.11.202\",\r\n \"os_version\": null,\r\n \"user_agent\": null,\r\n \"color_depth\": null,\r\n \"device_model\": null,\r\n \"java_enabled\": null,\r\n \"screen_width\": null,\r\n \"accept_header\": null,\r\n \"screen_height\": null,\r\n \"accept_language\": \"en\",\r\n \"java_script_enabled\": null\r\n },\r\n \"payment_method_id\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-03-24T11:25:12.890Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"extended_authorization_applied\": null,\r\n \"capture_before\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null,\r\n \"card_discovery\": null,\r\n \"issuer_error_code\": null,\r\n \"issuer_error_message\": null\r\n}\r\n```\r\n</details>\r\n\r\n<details>\r\n<summary>Click on `Cancel and return to Global Pay Merchant's Test Store` in PayPal **Express Checkout** page</summary>\r\n\r\n<img width=\"561\" alt=\"image\" src=\"https://github.com/user-attachments/assets/b13b7e05-31c1-4037-a9b7-a7fd8c2d017f\" />\r\n\r\n</details>\r\n\r\n<details>\r\n<summary>You should be redirected to the `return_url` with payment status as `failed`</summary>\r\n\r\n<img width=\"652\" alt=\"image\" src=\"https://github.com/user-attachments/assets/18aab179-ccce-4ce4-ab83-3a13e970999f\" />\r\n\r\n</details>\r\n\r\n\r\n<details>\r\n<summary>Retrieve the Payment to see the updated status</summary>\r\n\r\n```curl\r\ncurl --location 'https://pix-mbp.orthrus-monster.ts.net/payments/pay_5Vm2zTuuBxSsYrddguto?force_sync=true' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_DYcmLTXXQ6gF1HulHKL1WMBpoP8Uw2v1M4eO9mqp9za9AHCpJfhloE568dArpo5Y'\r\n```\r\n```json\r\n{\r\n \"payment_id\": \"pay_nL4QMyfyB3Q6T0Cs2OEf\",\r\n \"merchant_id\": \"postman_merchant_GHAction_164c761e-166f-4a82-859f-609d96a725b0\",\r\n \"status\": \"failed\",\r\n \"amount\": 1000,\r\n \"net_amount\": 1000,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": null,\r\n \"connector\": \"globalpay\",\r\n \"client_secret\": \"pay_nL4QMyfyB3Q6T0Cs2OEf_secret_No5MIK8z5xGpdgyfb5gH\",\r\n \"created\": \"2025-03-24T11:25:08.436Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"StripeCustomer\",\r\n \"customer\": {\r\n \"id\": \"StripeCustomer\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"abcdef123@gmail.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\"\r\n },\r\n \"description\": \"Its my first payment request\",\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"mandate_id\": null,\r\n \"mandate_data\": null,\r\n \"setup_future_usage\": null,\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"wallet\",\r\n \"payment_method_data\": {\r\n \"wallet\": {},\r\n \"billing\": null\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"John\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"US\",\r\n \"line1\": \"1467\",\r\n \"line2\": \"Harrison Street\",\r\n \"line3\": \"Harrison Street\",\r\n \"zip\": \"94122\",\r\n \"state\": \"California\",\r\n \"first_name\": \"John\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"order_details\": null,\r\n \"email\": \"abcdef123@gmail.com\",\r\n \"name\": \"John Doe\",\r\n \"phone\": \"999999999\",\r\n \"return_url\": \"https://nohello.com/\",\r\n \"authentication_type\": \"three_ds\",\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"next_action\": null,\r\n \"cancellation_reason\": null,\r\n \"error_code\": \"INVALID_REQUEST_DATA\",\r\n \"error_message\": \"The supplied Payer Id doesn't match the value saved in the database\",\r\n \"unified_code\": \"UE_9000\",\r\n \"unified_message\": \"Something went wrong\",\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"paypal\",\r\n \"connector_label\": null,\r\n \"business_country\": null,\r\n \"business_label\": \"default\",\r\n \"business_sub_label\": null,\r\n \"allowed_payment_method_types\": null,\r\n \"ephemeral_key\": null,\r\n \"manual_retry_allowed\": true,\r\n \"connector_transaction_id\": \"TRN_PRy15uCj0zyEXanseeWWt78nr53Zh4_Q6T0Cs2OEf_1\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\",\r\n \"new_customer\": \"true\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"pay_nL4QMyfyB3Q6T0Cs2OEf_1\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_bf5d6NP8wcNd1vnsH0eE\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_vURZVfOwYJUGEdIvkfny\",\r\n \"incremental_authorization_allowed\": false,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": null,\r\n \"external_3ds_authentication_attempted\": false,\r\n \"expires_on\": \"2025-03-24T11:40:08.436Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"os_type\": null,\r\n \"language\": null,\r\n \"time_zone\": null,\r\n \"ip_address\": \"103.159.11.202\",\r\n \"os_version\": null,\r\n \"user_agent\": null,\r\n \"color_depth\": null,\r\n \"device_model\": null,\r\n \"java_enabled\": null,\r\n \"screen_width\": null,\r\n \"accept_header\": null,\r\n \"screen_height\": null,\r\n \"accept_language\": \"en\",\r\n \"java_script_enabled\": null\r\n },\r\n \"payment_method_id\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-03-24T11:25:23.530Z\",\r\n \"split_payments\": null,\r\n \"frm_metadata\": null,\r\n \"extended_authorization_applied\": null,\r\n \"capture_before\": null,\r\n \"merchant_order_reference_id\": null,\r\n \"order_tax_amount\": null,\r\n \"connector_mandate_id\": null,\r\n \"card_discovery\": null,\r\n \"issuer_error_code\": null,\r\n \"issuer_error_message\": null\r\n}\r\n```\r\n\r\n</details>\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "pixincreate",
|
| 6 |
+
"created_at": "2025-03-24T12:08:42+00:00",
|
| 7 |
+
"merged_at": "2025-03-26T10:26:02+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration",
|
| 11 |
+
"C-bug"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7605",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "6499d429da87e3b9ffe264f54e0c5a6160e0690c",
|
| 17 |
+
"message": "fix: 5xx when cancelling paypal transaction",
|
| 18 |
+
"author": "PiX",
|
| 19 |
+
"date": "2025-03-24T11:37:03+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6499d429da87e3b9ffe264f54e0c5a6160e0690c"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "81622b00cc965cc664aa20e1fbd652d611a90114",
|
| 24 |
+
"message": "refactor: replace `String` with `ActionType` enum for action",
|
| 25 |
+
"author": "PiX",
|
| 26 |
+
"date": "2025-03-24T11:37:52+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/81622b00cc965cc664aa20e1fbd652d611a90114"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "f3b2e0acf7de3fe9f3ff94a19e926c4488b80e00",
|
| 31 |
+
"message": "refactor: just put up comments",
|
| 32 |
+
"author": "PiX",
|
| 33 |
+
"date": "2025-03-24T11:59:04+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f3b2e0acf7de3fe9f3ff94a19e926c4488b80e00"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "33bda8d9ec29a6f1c6ce3d35677d31bca292e636",
|
| 38 |
+
"message": "chore: clean up unused structs and enums\n\nthere still exist a lot of unused ones. have kept some of them as it is\nsince we might need it soon like avs checks",
|
| 39 |
+
"author": "PiX",
|
| 40 |
+
"date": "2025-03-24T12:05:37+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/33bda8d9ec29a6f1c6ce3d35677d31bca292e636"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "1be6c8457ff7443ca7be64bb85c1cad0a0356cd4",
|
| 45 |
+
"message": "chore: run formatter",
|
| 46 |
+
"author": "PiX",
|
| 47 |
+
"date": "2025-03-24T12:21:24+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1be6c8457ff7443ca7be64bb85c1cad0a0356cd4"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "bdd055b2327256797953d7144f78e5b5c8af40dc",
|
| 52 |
+
"message": "Merge branch 'main' of github.com:juspay/hyperswitch into connector/globalpay-fixes\n\n* 'main' of github.com:juspay/hyperswitch:\n feat(connector): [Recurly] Add record back support for recurly [V2] (#7544)\n refactor(webhook): add jwt authenticated endpoint to list unique webhook events for a profile (#7325)\n feat(core): Add three_ds_requestor_app_url in business_profile (#7589)\n feat(refunds): Add refunds diesel model support in V2 API (#7503)\n fix(connector): [globalpay] address 5xx due to deserialization issue when `account_name` is not passed (#7540)\n chore: update production endpoint url for globalPay (#7588)\n feat(connector): [Stripebilling] add record back support for stripebilling (#7561)\n feat(router): Make payment_method_subtype optional in payment_attempt [V2] (#7568)\n fix(connector): RSync voided status mapping in AuthorizeDotNet (#7566)\n chore(version): 2025.03.24.0\n feat(connector): [Coingate] implement refunds (#7513)\n feat(connectors): [Redsys] add Psync and Rsync support (#7586)\n refactor(connector): [BRAINTREE] Pass email in payment requests (#7591)\n feat(webhook): Return events list and total_count on list initial delivery attempt call (#7243)\n refactor(router): make error_type generic in domain_models inorder to avoid conversion of errors in storage_impl (#7537)\n feat(router): [V2] Return connector customer reference IDs in `CustomerResponse` (#7319)\n feat: core changes for extended authorization (#6766)\n feat(coingate): Add Payment webhooks (#7489)\n refactor(dynamic_routing): change insert operation to upsert for dynamic_routing_stats (#7398)\n feat(connectors): [Redsys] add 3D secure card payment support, including transaction capture, cancellation, and refunds (#7508)",
|
| 53 |
+
"author": "PiX",
|
| 54 |
+
"date": "2025-03-24T12:21:32+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bdd055b2327256797953d7144f78e5b5c8af40dc"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"sha": "551c5be9b533365065eea38bd9ff92027080d19a",
|
| 59 |
+
"message": "chore; fix typo in recurly",
|
| 60 |
+
"author": "PiX",
|
| 61 |
+
"date": "2025-03-24T12:23:27+00:00",
|
| 62 |
+
"url": "https://github.com/juspay/hyperswitch/commit/551c5be9b533365065eea38bd9ff92027080d19a"
|
| 63 |
+
}
|
| 64 |
+
]
|
| 65 |
+
}
|
prs/pr_7654.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7654,
|
| 3 |
+
"title": "fix(router): fixed ctp bug calling confirmation when UAS is eligible even though CTP is disabled",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n- [x] Bugfix\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n\r\nfixed ctp bug calling confirmation when UAS is eligible even though CTP is disabled\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\nCurrently normal card transaction with Click to Pay is failing, With error `Something Went Wrong`, This PR fixes that\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\nTry setting up CTP mastercard\r\n\r\nAdd config to make the merchant eligible for authentication service\r\n```shell\r\ncurl --location 'http://localhost:8080/configs/' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '{\r\n \"key\": \"merchants_eligible_for_authentication_service\",\r\n \"value\": \"[\\\"sahkal\\\", \\\"cewqcewc\\\", \\\"dqwdwljildwduoqwhduwqcqwjd\\\"]\"\r\n}'\r\n```\r\nCreate merchant connector account for Ctp_mastercard\r\n\r\n```shell\r\n{\r\n \"connector_type\": \"authentication_processor\",\r\n \"connector_name\": \"ctp_mastercard\",\r\n \"connector_account_details\": {\r\n \"auth_type\": \"HeaderKey\",\r\n \"api_key\": \"b6e06cc6-3018-4c4c-bbf5-9fb232615090\"\r\n },\r\n \"test_mode\": true,\r\n \"disabled\": false,\r\n \"payment_methods_enabled\": [\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_types\": [\r\n {\r\n \"payment_method_type\": \"credit\",\r\n \"card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\"\r\n ],\r\n \"minimum_amount\": 1,\r\n \"maximum_amount\": 68607706,\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": true\r\n },\r\n {\r\n \"payment_method_type\": \"debit\",\r\n \"card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\"\r\n ],\r\n \"minimum_amount\": 1,\r\n \"maximum_amount\": 68607706,\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": true\r\n }\r\n ]\r\n }\r\n ],\r\n \"connector_webhook_details\": {\r\n \"merchant_secret\": \"556B655EBE2F2F0912F6DBC893C23C8A30F5F5293746B80114844AB30549E2AB\"\r\n },\r\n \"business_country\": \"US\",\r\n \"business_label\": \"default\",\r\n \"metadata\": {\r\n \"dpa_id\": \"b6e06cc6-3018-4c4c-bbf5-9fb232615090\",//\"498WCF39JVQVH1UK4TGG21leLAj_MJQoapP5f12IanfEYaSno\",\r\n \"dpa_name\": \"TestMerchant\",\r\n \"locale\": \"en_AU\",\r\n \"card_brands\": [\"mastercard\", \"visa\"],\r\n \"acquirer_bin\": \"545301\",\r\n \"acquirer_merchant_id\": \"SRC3DS\",\r\n \"merchant_category_code\": \"0001\",\r\n \"merchant_country_code\": \"US\"\r\n }\r\n}\r\n'\r\n```\r\n\r\nAdyen\r\n\r\n```shell\r\ncurl --location 'http://localhost:8080/account/dqwdwljildwduoqwhduwqcqwjd/connectors' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '\r\n{\r\n \"connector_type\": \"payment_processor\",\r\n \"connector_name\": \"adyen\",\r\n \"connector_account_details\": {\r\n \"auth_type\": \"SignatureKey\",\r\n \"api_key\": \"API-KEY\",\r\n \"key1\": \"KEY-1\",\r\n \"api_secret\": \"API-SECRET\"\r\n },\r\n \"test_mode\": true,\r\n \"disabled\": false,\r\n \"payment_methods_enabled\": [\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_types\": [\r\n {\r\n \"payment_method_type\": \"credit\",\r\n \"card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\"\r\n ],\r\n \"minimum_amount\": 1,\r\n \"maximum_amount\": 68607706,\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": true\r\n },\r\n {\r\n \"payment_method_type\": \"debit\",\r\n \"card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\"\r\n ],\r\n \"minimum_amount\": 1,\r\n \"maximum_amount\": 68607706,\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": true\r\n }\r\n ]\r\n }\r\n ],\r\n \"metadata\": {\r\n \"city\": \"NY\",\r\n \"unit\": \"245\",\r\n \"live_endpoint_prefix\": \"vsfbjh\"\r\n },\r\n \"connector_webhook_details\": {\r\n \"merchant_secret\": \"MERCHANT SECRET\"\r\n },\r\n \"business_country\": \"US\",\r\n \"business_label\": \"default\"\r\n}\r\n'\r\n```\r\n\r\nupdate business profile with ctp_visa mca_id\r\n\r\n```shell\r\ncurl --location 'http://localhost:8080/account/dqwdwljildwduoqwhduwqcqwjd/business_profile/pro_KCTRv8sFQfC0r65CZxrn' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data '{\r\n \"is_click_to_pay_enabled\": true,\r\n \"authentication_product_ids\": {\"click_to_pay\": \"mca_XAXUpel8ABbpoGNF8lGz\"}\r\n}'\r\n```\r\n\r\ndo payments create+confirm normal card payment\r\n\r\n```shell\r\n{\r\n \"amount\": 100,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"4917610000000000\",\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"card_cvc\": \"737\"\r\n }\r\n },\r\n } \r\n'\r\n```\r\n\r\nThe transaction should succeed\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] I formatted the code `cargo +nightly fmt --all`\r\n- [x] I addressed lints thrown by `cargo clippy`\r\n- [x] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "sahkal",
|
| 6 |
+
"created_at": "2025-03-27T11:08:44+00:00",
|
| 7 |
+
"merged_at": "2025-03-27T14:56:18+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-bug"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7654",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "e084c96082f6776ac296eaf9e1ec395de348004f",
|
| 16 |
+
"message": "fixed ctp bug calling confirmation when UAS is eligible even though ctp is disabled",
|
| 17 |
+
"author": "Sahkal Poddar",
|
| 18 |
+
"date": "2025-03-27T11:07:13+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e084c96082f6776ac296eaf9e1ec395de348004f"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "6d47c630af094c7c7e32311162dbbce9c9461dd7",
|
| 23 |
+
"message": "Merge branch 'main' into fix-clicktopay-bug",
|
| 24 |
+
"author": "Sahkal Poddar",
|
| 25 |
+
"date": "2025-03-27T12:18:10+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6d47c630af094c7c7e32311162dbbce9c9461dd7"
|
| 27 |
+
}
|
| 28 |
+
]
|
| 29 |
+
}
|