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_10026.json +71 -0
- prs/pr_10049.json +36 -0
- prs/pr_10094.json +50 -0
- prs/pr_10122.json +214 -0
- prs/pr_10129.json +36 -0
- prs/pr_10144.json +20 -0
- prs/pr_6716.json +30 -0
- prs/pr_6752.json +20 -0
- prs/pr_6776.json +23 -0
- prs/pr_6811.json +65 -0
- prs/pr_6842.json +92 -0
- prs/pr_6860.json +29 -0
- prs/pr_6907.json +29 -0
- prs/pr_6927.json +30 -0
- prs/pr_6938.json +527 -0
- prs/pr_6966.json +58 -0
- prs/pr_6967.json +141 -0
- prs/pr_6982.json +485 -0
- prs/pr_6985.json +50 -0
- prs/pr_7011.json +58 -0
- prs/pr_7012.json +20 -0
- prs/pr_7032.json +29 -0
- prs/pr_7109.json +366 -0
- prs/pr_7121.json +73 -0
- prs/pr_7148.json +34 -0
- prs/pr_7231.json +20 -0
- prs/pr_7301.json +36 -0
- prs/pr_7414.json +37 -0
- prs/pr_7451.json +30 -0
- prs/pr_7457.json +22 -0
- prs/pr_7466.json +23 -0
- prs/pr_7481.json +45 -0
- prs/pr_7484.json +122 -0
- prs/pr_7503.json +85 -0
- prs/pr_7508.json +0 -0
- prs/pr_7527.json +24 -0
- prs/pr_7575.json +80 -0
- prs/pr_7577.json +23 -0
- prs/pr_7586.json +611 -0
- prs/pr_7594.json +23 -0
- prs/pr_7639.json +130 -0
- prs/pr_7678.json +22 -0
- prs/pr_7700.json +29 -0
- prs/pr_7776.json +123 -0
- prs/pr_7954.json +20 -0
- prs/pr_7959.json +20 -0
- prs/pr_7998.json +64 -0
- prs/pr_8028.json +23 -0
- prs/pr_8132.json +96 -0
- prs/pr_8141.json +29 -0
prs/pr_10026.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 10026,
|
| 3 |
+
"title": "fix(connectors): [authorizedotnet] handle psync server maintenance error and pass complete billing address ",
|
| 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- [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\nWhenever, Authorize.net returns Psync failures due to server maintenance with a 2xx response, we are currently marking the payment as a failure. With this Pr, we will be marking, \"server maintenance\" error previous status of the transaction than failing it. \r\nIn this PR we have added the logic to concatenate the address lines and pass it to the authorizedotnet\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<details>\r\n<summary>Create a payment with line1, line2 and line 3 all combined below 60 characters </summary>\r\n\r\n```sh\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_xTQqWAGqZz3RhT7MWEhWbvN2UM9lXQPRjCp6krp5wv9ucwWqRhwZIQuJJNUsbKNl' \\\r\n--data-raw '{\r\n \"amount\": 1230,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"manual\",\r\n \"email\": \"hello@123.com\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"371449635398431\",\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"30\",\r\n \r\n \"card_cvc\": \"7373\"\r\n \r\n }\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\": \"13.232.74.226\"\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"zip\": \"46282\",\r\n \"country\": \"US\",\r\n \"state\": \"TX\",\r\n \"first_name\": \"Ellen\",\r\n \"last_name\": \"Johnson\",\r\n \"line1\": \"14\",\r\n \"line2\": \"Main\",\r\n \"line3\": \"Street\",\r\n \"city\": \"Pecan Springs\"\r\n }\r\n }\r\n}'\r\n```\r\n\r\nResponse\r\n\r\n```\r\n{\r\n \"payment_id\": \"pay_c1stG7hibHkft893tauW\",\r\n \"merchant_id\": \"postman_merchant_GHAction_d5564272-e957-4cc7-931a-9290c88c2821\",\r\n \"status\": \"requires_capture\",\r\n \"amount\": 1230,\r\n \"net_amount\": 1230,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 1230,\r\n \"amount_received\": null,\r\n \"connector\": \"authorizedotnet\",\r\n \"client_secret\": \"pay_c1stG7hibHkft893tauW_secret_ZMdc1CtNmy3KIYAzgtSu\",\r\n \"created\": \"2025-10-30T08:57:52.479Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"George_17\",\r\n \"customer\": {\r\n \"id\": \"George_17\",\r\n \"name\": \"Akshaya\",\r\n \"email\": \"hello@123.com\",\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\": null,\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"manual\",\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\": \"30\",\r\n \"card_holder_name\": null,\r\n \"payment_checks\": null,\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\": {\r\n \"address\": {\r\n \"city\": \"Pecan Springs\",\r\n \"country\": \"US\",\r\n \"line1\": \"14\",\r\n \"line2\": \"Main\",\r\n \"line3\": \"Street\",\r\n \"zip\": \"46282\",\r\n \"state\": \"TX\",\r\n \"first_name\": \"Ellen\",\r\n \"last_name\": \"Johnson\",\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\": \"hello@123.com\",\r\n \"name\": \"Akshaya\",\r\n \"phone\": null,\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\": \"George_17\",\r\n \"created_at\": 1761814672,\r\n \"expires\": 1761818272,\r\n \"secret\": \"epk_756d7ab3f74f43448c032fe94897bba3\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"0\",\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\": \"0\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_NiBKKMJPjFmdweybKENi\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_v9ggBM85ViFvzkpRqLWa\",\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-10-30T09:12:52.479Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"language\": \"nl-NL\",\r\n \"time_zone\": 0,\r\n \"ip_address\": \"13.232.74.226\",\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_channel\": null,\r\n \"payment_method_id\": null,\r\n \"network_transaction_id\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-10-30T08:57:54.914Z\",\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\": 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\nCheck authorizedotnet dashboard if line 1, line 2 and line3 are visible in the billing data\r\n\r\n<img width=\"444\" height=\"200\" alt=\"Screenshot 2025-10-30 at 4 43 43\u202fPM\" src=\"https://github.com/user-attachments/assets/f5004721-0301-4873-aa17-55b0accf2655\" />\r\n\r\n\r\n</details>\r\n\r\n\r\n<details>\r\n<summary>Create a payment with line1, line2 and line 3 all combined more than 60 characters </summary>\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_xTQqWAGqZz3RhT7MWEhWbvN2UM9lXQPRjCp6krp5wv9ucwWqRhwZIQuJJNUsbKNl' \\\r\n--data-raw '{\r\n \"amount\": 1230,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"manual\",\r\n \"email\": \"hello@123.com\",\r\n \"customer\": {\r\n \"id\": \"George_17\",\r\n },\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"371449635398431\",\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"30\",\r\n \r\n \"card_cvc\": \"7373\"\r\n \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\": \"13.232.74.226\"\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"zip\": \"560095\",\r\n \"country\": \"CA\",\r\n \"state\": \"ab\",\r\n \"first_name\": \"Sakil\",\r\n \"last_name\": \"Mostak\",\r\n \"line1\": \"1 St\",\r\n \"line2\": \"hall\",\r\n \"line3\": \"Mounteurhgjkerbgjhvbwsvfewgjdjwwkedwegsdvfsdvkjdfkvjsndjfbks\",\r\n \"city\": \"SA\"\r\n }\r\n }\r\n}'\r\n```\r\n\r\nResponse\r\n\r\n```\r\n{\r\n \"payment_id\": \"pay_96tIpfH5QppZCMSxiheU\",\r\n \"merchant_id\": \"postman_merchant_GHAction_d5564272-e957-4cc7-931a-9290c88c2821\",\r\n \"status\": \"requires_capture\",\r\n \"amount\": 1230,\r\n \"net_amount\": 1230,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 1230,\r\n \"amount_received\": null,\r\n \"connector\": \"authorizedotnet\",\r\n \"client_secret\": \"pay_96tIpfH5QppZCMSxiheU_secret_0JuNi2bgq0VlyGi8N5Op\",\r\n \"created\": \"2025-10-30T09:04:03.163Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"George_17\",\r\n \"customer\": {\r\n \"id\": \"George_17\",\r\n \"name\": \"Akshaya\",\r\n \"email\": \"hello@123.com\",\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\": null,\r\n \"off_session\": null,\r\n \"capture_on\": null,\r\n \"capture_method\": \"manual\",\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\": \"30\",\r\n \"card_holder_name\": null,\r\n \"payment_checks\": null,\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\": {\r\n \"address\": {\r\n \"city\": \"SA\",\r\n \"country\": \"CA\",\r\n \"line1\": \"1 St\",\r\n \"line2\": \"hall\",\r\n \"line3\": \"Mounteurhgjkerbgjhvbwsvfewgjdjwwkedwegsdvfsdvkjdfkvjsndjfbks\",\r\n \"zip\": \"560095\",\r\n \"state\": \"ab\",\r\n \"first_name\": \"Sakil\",\r\n \"last_name\": \"Mostak\",\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\": \"hello@123.com\",\r\n \"name\": \"Akshaya\",\r\n \"phone\": null,\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\": \"George_17\",\r\n \"created_at\": 1761815043,\r\n \"expires\": 1761818643,\r\n \"secret\": \"epk_960956da7f1f4a66b9878d924c04d3d4\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"0\",\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\": \"0\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_NiBKKMJPjFmdweybKENi\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_v9ggBM85ViFvzkpRqLWa\",\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-10-30T09:19:03.163Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"language\": \"nl-NL\",\r\n \"time_zone\": 0,\r\n \"ip_address\": \"13.232.74.226\",\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_channel\": null,\r\n \"payment_method_id\": null,\r\n \"network_transaction_id\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-10-30T09:04:03.820Z\",\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\": 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\nCheck authorizedotnet dashboard if line 1 and line 2 are visible in the billing data\r\n\r\n</details>\r\n<details>\r\n<summary>Create a 3ds payment: throws a not supported error</summary>\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_1m5uRZN5oO6t626XBKloUY8zZZGnyqFpEzN3nhMJrClxUl5XJ1C7s9iKBVRz9S40' \\\r\n--data-raw '{\r\n \"amount\": 1230,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"email\": \"hello@123.com\",\r\n \"authentication_type\": \"three_ds\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"370000000000002\",\r\n \"card_exp_month\": \"12\",\r\n \"card_exp_year\": \"29\",\r\n \r\n \"card_cvc\": \"1234\"\r\n }\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\": \"13.232.74.226\"\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"zip\": \"46282\",\r\n \"country\": \"US\",\r\n \"state\": \"TX\",\r\n \"first_name\": \"Ellen\",\r\n \"last_name\": \"Johnson\",\r\n \"line1\": \"14\",\r\n \"line2\": \"Main\",\r\n \"line3\": \"Street\",\r\n \"city\": \"Pecan Springs\"\r\n }\r\n }\r\n}'\r\n```\r\nResponse\r\n\r\n```\r\n{\r\n \"error\": {\r\n \"type\": \"invalid_request\",\r\n \"message\": \"Payment method type not supported\",\r\n \"code\": \"IR_19\",\r\n \"reason\": \"3DS flow is not supported by Authorizedotnet\"\r\n }\r\n}\r\n```\r\n</details>\r\n\r\nCypress ran before the changes before the changes \r\n <img width=\"600\" height=\"921\" alt=\"Screenshot 2025-10-30 at 5 35 58\u202fPM\" src=\"https://github.com/user-attachments/assets/357e63c1-6ac8-43a2-b5c0-98a85a436de2\" />\r\n\r\nCypress ran after the changes before the changes \r\n\r\n<img width=\"586\" height=\"685\" alt=\"Screenshot 2025-10-30 at 6 03 49\u202fPM\" src=\"https://github.com/user-attachments/assets/99307079-304d-426f-beab-87fd585f9607\" />\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": "AkshayaFoiger",
|
| 6 |
+
"created_at": "2025-10-28T10:25:44+00:00",
|
| 7 |
+
"merged_at": "2025-10-31T08:17:51+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/10026",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "09910f287130155590718d99792e5a8e81f57d4d",
|
| 16 |
+
"message": "fix minimum authorizedotnet",
|
| 17 |
+
"author": "AkshayaFoiger",
|
| 18 |
+
"date": "2025-10-28T10:21:14+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/09910f287130155590718d99792e5a8e81f57d4d"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "30a176d8bb71a4096200ab91a115fc2b1f54cc8c",
|
| 23 |
+
"message": "add address line fix",
|
| 24 |
+
"author": "AkshayaFoiger",
|
| 25 |
+
"date": "2025-10-30T06:28:58+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/30a176d8bb71a4096200ab91a115fc2b1f54cc8c"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "d89420ef39abc7872c2ab21f262d3d7478bfdaf1",
|
| 30 |
+
"message": "chore: run formatter",
|
| 31 |
+
"author": "hyperswitch-bot[bot]",
|
| 32 |
+
"date": "2025-10-30T06:29:50+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d89420ef39abc7872c2ab21f262d3d7478bfdaf1"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "88a85c467ed24123925417a78e4978f10036c726",
|
| 37 |
+
"message": "fix clippy",
|
| 38 |
+
"author": "AkshayaFoiger",
|
| 39 |
+
"date": "2025-10-30T06:48:43+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/88a85c467ed24123925417a78e4978f10036c726"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "49a30d1fc7cdd1070c560d8390f289d53dab51b8",
|
| 44 |
+
"message": "Only fix the \"Server in maintenance\" error",
|
| 45 |
+
"author": "AkshayaFoiger",
|
| 46 |
+
"date": "2025-10-30T09:09:33+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/49a30d1fc7cdd1070c560d8390f289d53dab51b8"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"sha": "73bba0483281d7c5491704c6881b4d57c850bdc0",
|
| 51 |
+
"message": "remove comment",
|
| 52 |
+
"author": "AkshayaFoiger",
|
| 53 |
+
"date": "2025-10-30T09:11:24+00:00",
|
| 54 |
+
"url": "https://github.com/juspay/hyperswitch/commit/73bba0483281d7c5491704c6881b4d57c850bdc0"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"sha": "997133bc11343dafbf1d4dfb40bb2b05b743484c",
|
| 58 |
+
"message": "undo psync change",
|
| 59 |
+
"author": "AkshayaFoiger",
|
| 60 |
+
"date": "2025-10-30T09:12:21+00:00",
|
| 61 |
+
"url": "https://github.com/juspay/hyperswitch/commit/997133bc11343dafbf1d4dfb40bb2b05b743484c"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"sha": "5bcc3de290eff3e8f363f2a4433742c6cc5f0744",
|
| 65 |
+
"message": "add 3ds validation fix",
|
| 66 |
+
"author": "AkshayaFoiger",
|
| 67 |
+
"date": "2025-10-30T12:07:55+00:00",
|
| 68 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5bcc3de290eff3e8f363f2a4433742c6cc5f0744"
|
| 69 |
+
}
|
| 70 |
+
]
|
| 71 |
+
}
|
prs/pr_10049.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 10049,
|
| 3 |
+
"title": "ci(cypress): add invalid publishable key tests",
|
| 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- [x] CI/CD\r\n\r\n## Description\r\nadd invalid publishable key tests for confirm payments and session call \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\nTest cases enhancement\r\n\r\n\r\n## How did you test it?\r\n\r\n<img width=\"844\" height=\"665\" alt=\"image\" src=\"https://github.com/user-attachments/assets/7c6f2162-41fd-49b6-a9d6-c33501011c91\" />\r\n\r\n- Stripe\r\n\r\n<img width=\"706\" height=\"994\" alt=\"image\" src=\"https://github.com/user-attachments/assets/7cee97c2-98d0-4ae0-ba05-d93ecaa532f5\" />\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": "likhinbopanna",
|
| 6 |
+
"created_at": "2025-10-29T12:08:27+00:00",
|
| 7 |
+
"merged_at": "2025-10-30T08:19:09+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-CI-CD"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/10049",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "9dd5614a62e9893f6cf7b1ef95fa17eeffa93da8",
|
| 16 |
+
"message": "ci(cypress): add invalid publishable key scenarios",
|
| 17 |
+
"author": "likhinbopanna",
|
| 18 |
+
"date": "2025-10-29T11:46:48+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9dd5614a62e9893f6cf7b1ef95fa17eeffa93da8"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "986d9399e2b47c64da368372c80590a0279e94c0",
|
| 23 |
+
"message": "fix: remove unused config",
|
| 24 |
+
"author": "likhinbopanna",
|
| 25 |
+
"date": "2025-10-29T12:10:25+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/986d9399e2b47c64da368372c80590a0279e94c0"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "78df17e20fdf514507131b0255540d10e6ea7214",
|
| 30 |
+
"message": "chore(cypress): run formatter and address lints",
|
| 31 |
+
"author": "hyperswitch-bot[bot]",
|
| 32 |
+
"date": "2025-10-29T12:14:55+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/78df17e20fdf514507131b0255540d10e6ea7214"
|
| 34 |
+
}
|
| 35 |
+
]
|
| 36 |
+
}
|
prs/pr_10094.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 10094,
|
| 3 |
+
"title": "fix(connectors): [Adyen] add migrated payment method check",
|
| 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\nWe need to maintain the correct shopper reference sent to adyen in case of migrated and non migrated payment methods for MIT calls.\r\nIn case of non migrated MIT calls shopper reference should be the static value which we used for CIT call i.e {merchant_id}_{customer_id} and in case of migrated MIT calls it should be connector customer id stored in customer 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\nFailing MITs for a merchant.\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\nCurls:\r\nMIT Call Request:\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_l8ETorgiUets3Z2QczmwR63RLW' \\\r\n--data '{\r\n \"amount\": 100,\r\n \"currency\": \"EUR\",\r\n \"confirm\": true,\r\n \"customer_id\": \"mrudul123\",\r\n \"profile_id\": \"pro_ihYxgnHGNuyTwl4olEUM\",\r\n \r\n \"recurring_details\": {\r\n \"type\": \"payment_method_id\",\r\n \"data\": \"pm_DIS7A5c7K2dNsRp6wS26\"\r\n },\r\n \"off_session\": true\r\n}'\r\n```\r\nResponse:\r\n```\r\n{\"payment_id\":\"pay_HGB0GI0PQnl2vfM1QuiB\",\"merchant_id\":\"merchant_1761903910\",\"status\":\"succeeded\",\"amount\":100,\"net_amount\":100,\"shipping_cost\":null,\"amount_capturable\":0,\"amount_received\":100,\"connector\":\"adyen\",\"client_secret\":\"pay_HGB0GI0PQnl2vfM1QuiB_secret_K6kklwAT7YZJjZCcxYwb\",\"created\":\"2025-11-03T04:21:19.782Z\",\"currency\":\"EUR\",\"customer_id\":\"mrudul123\",\"customer\":{\"id\":\"mrudul123\",\"name\":\"John Doe\",\"email\":\"customerssh@gmail.com\",\"phone\":\"9999999999\",\"phone_country_code\":\"+1\"},\"description\":null,\"refunds\":null,\"disputes\":null,\"mandate_id\":null,\"mandate_data\":null,\"setup_future_usage\":null,\"off_session\":true,\"capture_on\":null,\"capture_method\":null,\"payment_method\":\"card\",\"payment_method_data\":{\"card\":{\"last4\":\"1111\",\"card_type\":null,\"card_network\":null,\"card_issuer\":null,\"card_issuing_country\":null,\"card_isin\":\"411111\",\"card_extended_bin\":null,\"card_exp_month\":\"03\",\"card_exp_year\":\"30\",\"card_holder_name\":\"joseph Doe\",\"payment_checks\":null,\"authentication_data\":null},\"billing\":null},\"payment_token\":null,\"shipping\":null,\"billing\":null,\"order_details\":null,\"email\":\"customerssh@gmail.com\",\"name\":\"John Doe\",\"phone\":\"9999999999\",\"return_url\":null,\"authentication_type\":\"no_three_ds\",\"statement_descriptor_name\":null,\"statement_descriptor_suffix\":null,\"next_action\":null,\"cancellation_reason\":null,\"error_code\":null,\"error_message\":null,\"unified_code\":null,\"unified_message\":null,\"payment_experience\":null,\"payment_method_type\":\"credit\",\"connector_label\":null,\"business_country\":null,\"business_label\":\"default\",\"business_sub_label\":null,\"allowed_payment_method_types\":null,\"ephemeral_key\":{\"customer_id\":\"mrudul123\",\"created_at\":1762143679,\"expires\":1762147279,\"secret\":\"epk_0efb96870e1242e089cffd6335d08f45\"},\"manual_retry_allowed\":null,\"connector_transaction_id\":\"DPPLCR3BZBWD2HV5\",\"frm_message\":null,\"metadata\":null,\"connector_metadata\":null,\"feature_metadata\":{\"redirect_response\":null,\"search_tags\":null,\"apple_pay_recurring_details\":null,\"gateway_system\":\"direct\"},\"reference_id\":\"pay_HGB0GI0PQnl2vfM1QuiB_1\",\"payment_link\":null,\"profile_id\":\"pro_ihYxgnHGNuyTwl4olEUM\",\"surcharge_details\":null,\"attempt_count\":1,\"merchant_decision\":null,\"merchant_connector_id\":\"mca_fT5MALNyEqSNg78D1ACS\",\"incremental_authorization_allowed\":false,\"authorization_count\":null,\"incremental_authorizations\":null,\"external_authentication_details\":null,\"external_3ds_authentication_attempted\":false,\"expires_on\":\"2025-11-03T04:36:19.782Z\",\"fingerprint\":null,\"browser_info\":null,\"payment_channel\":null,\"payment_method_id\":\"pm_DIS7A5c7K2dNsRp6wS26\",\"network_transaction_id\":\"801009328541041\",\"payment_method_status\":\"active\",\"updated\":\"2025-11-03T04:21:22.659Z\",\"split_payments\":null,\"frm_metadata\":null,\"extended_authorization_applied\":null,\"request_extended_authorization\":null,\"capture_before\":null,\"merchant_order_reference_id\":null,\"order_tax_amount\":null,\"connector_mandate_id\":\"GN2K34DX99V2TV65\",\"card_discovery\":\"manual\",\"force_3ds_challenge\":false,\"force_3ds_challenge_trigger\":false,\"issuer_error_code\":null,\"issuer_error_message\":null,\"is_iframe_redirection_enabled\":null,\"whole_connector_response\":null,\"enable_partial_authorization\":null,\"enable_overcapture\":null,\"is_overcapture_enabled\":null,\"network_details\":null,\"is_stored_credential\":true,\"mit_category\":null}\r\n```\r\n\r\nFor non migrated MIT:\r\n<img width=\"1728\" height=\"593\" alt=\"image\" src=\"https://github.com/user-attachments/assets/efc5c332-600a-4110-bdd1-7b1fb9c8a394\" />\r\n\r\nFor migrated MIT:\r\n<img width=\"1728\" height=\"593\" alt=\"image\" src=\"https://github.com/user-attachments/assets/715e2904-3e1a-4828-b4c5-75dae3932aa1\" />\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": "mrudulvajpayee4935",
|
| 6 |
+
"created_at": "2025-11-03T05:27:04+00:00",
|
| 7 |
+
"merged_at": "2025-11-05T10:29:22+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-compatibility"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/10094",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "10c2630b946f8899904c73861cfdca99b99c78fd",
|
| 16 |
+
"message": "add migrated payment method check",
|
| 17 |
+
"author": "Mrudul Vajpayee",
|
| 18 |
+
"date": "2025-11-03T05:08:01+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/10c2630b946f8899904c73861cfdca99b99c78fd"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "253cf4760c706c0c490efc28cd7710f268ab0d2a",
|
| 23 |
+
"message": "Merge branch 'main' into payment-method-migrate-check",
|
| 24 |
+
"author": "Mrudul Vajpayee",
|
| 25 |
+
"date": "2025-11-03T07:18:59+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/253cf4760c706c0c490efc28cd7710f268ab0d2a"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "8cc9638cd2339901ef380bffc4eee960124df763",
|
| 30 |
+
"message": "use is_migrated_card",
|
| 31 |
+
"author": "Mrudul Vajpayee",
|
| 32 |
+
"date": "2025-11-03T11:55:48+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8cc9638cd2339901ef380bffc4eee960124df763"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "4030d8d7d44ee401cf61165b3b4936f7e3f6a65d",
|
| 37 |
+
"message": "solve clippy checks",
|
| 38 |
+
"author": "Mrudul Vajpayee",
|
| 39 |
+
"date": "2025-11-04T03:22:20+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4030d8d7d44ee401cf61165b3b4936f7e3f6a65d"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "3c3923b5e0ff831c1986a42c00d50c66d89d5520",
|
| 44 |
+
"message": "remove from authorize data",
|
| 45 |
+
"author": "Mrudul Vajpayee",
|
| 46 |
+
"date": "2025-11-05T07:32:40+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3c3923b5e0ff831c1986a42c00d50c66d89d5520"
|
| 48 |
+
}
|
| 49 |
+
]
|
| 50 |
+
}
|
prs/pr_10122.json
ADDED
|
@@ -0,0 +1,214 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 10122,
|
| 3 |
+
"title": "feat(connectors): Tesouro recurring wallets & store expiry-date for decrypted Apple&Googlepay",
|
| 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- Mandate wallets googlepay and applepay for tesouro\r\n- STORE expiry date and year for Applepay and google pay for mandates (only decrypted FLOW) \r\n\r\n<details>\r\n<summary>GOOGLE PAY</summary>\r\n\r\n## request\r\n\r\n```json\r\n{\r\n \"amount\": 689,\r\n \"customer_id\":\"dfasfdsdsafsaf\",\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"wallet\",\r\n \"payment_method_type\": \"google_pay\",\r\n \"description\": \"hellow world\",\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\": \"127.0.0.1\",\r\n \"user_agent\": \"amet irure esse\"\r\n }\r\n },\r\n \"connector\": [\"tesouro\"],\r\n \"setup_future_usage\": \"off_session\",\r\n \"billing\": {\r\n \"address\": {\r\n \"zip\": \"560095\",\r\n \"country\": \"US\",\r\n \"first_name\": \"Sakil\",\r\n \"last_name\": \"Mostak\",\r\n \"line1\": \"Fasdf\",\r\n \"line2\": \"Fasdf\",\r\n \"city\": \"Fasdf\"\r\n }\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_method_data\": {\r\n \"wallet\": {\r\n \"google_pay\": {\r\n \"type\": \"CARD\",\r\n \"tokenization_data\": {\r\n \"application_primary_account_number\": \"4761344136xxxx\",\r\n \"card_exp_month\": \"12\",\r\n \"card_exp_year\": \"25\",\r\n \"cryptogram\": \"ejJRWxxxxxxxxx\",\r\n \"eci_indicator\": \"5\"\r\n },\r\n \"info\": {\r\n \"card_details\": \"Discover 9319\",\r\n \"card_network\": \"VISA\"\r\n },\r\n \"description\": \"something\"\r\n }\r\n }\r\n }\r\n}\r\n\r\n```\r\n\r\n## response\r\n\r\n```json\r\n{\r\n \"payment_id\": \"pay_OnFwcaViLaQ2uLpa5XXS\",\r\n \"merchant_id\": \"merchant_1762245250\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 689,\r\n \"net_amount\": 689,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 689,\r\n \"connector\": \"tesouro\",\r\n \"client_secret\": \"pay_OnFwcaViLaQ2uLpa5XXS_secret_bpl3ZG3gLk6aDrRIrbLy\",\r\n \"created\": \"2025-11-04T08:34:59.151Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"dfasfdsdsafsaf\",\r\n \"customer\": {\r\n \"id\": \"dfasfdsdsafsaf\",\r\n \"name\": null,\r\n \"email\": null,\r\n \"phone\": null,\r\n \"phone_country_code\": null\r\n },\r\n \"description\": \"hellow world\",\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\": \"wallet\",\r\n \"payment_method_data\": {\r\n \"wallet\": {\r\n \"google_pay\": {\r\n \"last4\": \"Discover 9319\",\r\n \"card_network\": \"VISA\",\r\n \"type\": \"CARD\",\r\n \"card_exp_month\": \"12\",\r\n \"card_exp_year\": \"25\"\r\n }\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": null,\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"Fasdf\",\r\n \"country\": \"US\",\r\n \"line1\": \"Fasdf\",\r\n \"line2\": \"Fasdf\",\r\n \"line3\": null,\r\n \"zip\": \"560095\",\r\n \"state\": null,\r\n \"first_name\": \"Sakil\",\r\n \"last_name\": \"Mostak\",\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\": null,\r\n \"name\": null,\r\n \"phone\": null,\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\": \"google_pay\",\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\": \"dfasfdsdsafsaf\",\r\n \"created_at\": 1762245299,\r\n \"expires\": 1762248899,\r\n \"secret\": \"epk_ecd90f08839f4af1b7bf843bf4911346\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"26433924-b959-11f0-962b-56e7b8e39428\",\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\": null,\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_TKew5SYzewHMN8zIJQeR\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_9KwqBYbBm0ifDzdORRnB\",\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-04T08:49:59.151Z\",\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\": null,\r\n \"payment_method_id\": \"pm_fKK4asOsXLvIVcVHQZNh\",\r\n \"network_transaction_id\": null,\r\n \"payment_method_status\": \"active\",\r\n \"updated\": \"2025-11-04T08:34:59.502Z\",\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\": \"d7af227c-8f91-4d1b-942a-437c4ee8fbcf\",\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}\r\n```\r\n\r\n## mandates request\r\n\r\n```json\r\n{\r\n \"amount\": 333,\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"{{customer_id}}\",\r\n \"confirm\": true,\r\n \"off_session\": true,\r\n \"recurring_details\": {\r\n \"type\": \"payment_method_id\",\r\n \"data\": \"{{payment_method_id}}\"//pass the payment method id here\r\n },\r\n \"browser_info\": {\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\",\r\n \"ip_address\": \"192.168.1.1\",\r\n \"java_enabled\": false,\r\n \"java_script_enabled\": true,\r\n \"language\": \"en-US\",\r\n \"color_depth\": 24,\r\n \"screen_height\": 1080,\r\n \"screen_width\": 1920,\r\n \"time_zone\": 330,\r\n \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\r\n }\r\n}\r\n```\r\n## Response\r\n\r\n```json\r\n{\r\n \"payment_id\": \"pay_PhbpusUpIEO0t3lgdYxZ\",\r\n \"merchant_id\": \"merchant_1762245250\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 333,\r\n \"net_amount\": 333,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 333,\r\n \"connector\": \"tesouro\",\r\n \"client_secret\": \"pay_PhbpusUpIEO0t3lgdYxZ_secret_mpbL9WfIPSKQkbtAt2xO\",\r\n \"created\": \"2025-11-04T09:52:05.136Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"dfasfdsdsafsaf\",\r\n \"customer\": {\r\n \"id\": \"dfasfdsdsafsaf\",\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\": null,\r\n \"off_session\": true,\r\n \"capture_on\": null,\r\n \"capture_method\": null,\r\n \"payment_method\": \"wallet\",\r\n \"payment_method_data\": {\r\n \"wallet\": {\r\n \"google_pay\": {\r\n \"last4\": \"Discover 9319\",\r\n \"card_network\": \"VISA\",\r\n \"type\": \"CARD\",\r\n \"card_exp_month\": \"12\",\r\n \"card_exp_year\": \"25\"\r\n }\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\": null,\r\n \"name\": null,\r\n \"phone\": null,\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\": \"google_pay\",\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\": \"dfasfdsdsafsaf\",\r\n \"created_at\": 1762249925,\r\n \"expires\": 1762253525,\r\n \"secret\": \"epk_5eca1d0540dd48c68691dcb4bc582396\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"ec5e2779-b963-11f0-97b7-c107de75a6ca\",\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\": null,\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_TKew5SYzewHMN8zIJQeR\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_9KwqBYbBm0ifDzdORRnB\",\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-04T10:07:05.136Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"language\": \"en-US\",\r\n \"time_zone\": 330,\r\n \"ip_address\": \"192.168.1.1\",\r\n \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\",\r\n \"color_depth\": 24,\r\n \"java_enabled\": false,\r\n \"screen_width\": 1920,\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\",\r\n \"screen_height\": 1080,\r\n \"java_script_enabled\": true\r\n },\r\n \"payment_channel\": null,\r\n \"payment_method_id\": \"pm_fKK4asOsXLvIVcVHQZNh\",\r\n \"network_transaction_id\": null,\r\n \"payment_method_status\": \"active\",\r\n \"updated\": \"2025-11-04T09:52:06.772Z\",\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\": \"d7af227c-8f91-4d1b-942a-437c4ee8fbcf\",\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\": true,\r\n \"mit_category\": null\r\n}\r\n```\r\n</details>\r\n\r\n<details>\r\n<summary>APPLE PAY</summary>\r\n\r\n## Request\r\n\r\n```json\r\n{\r\n \"amount\": 689,\r\n \"customer_id\": \"dfasfdsdsafsaf\",\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"wallet\",\r\n \"payment_method_type\": \"apple_pay\",\r\n \"description\": \"hellow world\",\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\": \"127.0.0.1\",\r\n \"user_agent\": \"amet irure esse\"\r\n }\r\n },\r\n \"connector\": [\r\n \"tesouro\"\r\n ],\r\n \"setup_future_usage\": \"off_session\",\r\n \"billing\": {\r\n \"address\": {\r\n \"zip\": \"560095\",\r\n \"country\": \"US\",\r\n \"first_name\": \"Sakil\",\r\n \"last_name\": \"Mostak\",\r\n \"line1\": \"Fasdf\",\r\n \"line2\": \"Fasdf\",\r\n \"city\": \"Fasdf\"\r\n }\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_method_data\": {\r\n \"wallet\": {\r\n \"apple_pay\": {\r\n \"payment_data\": {\r\n \"application_primary_account_number\": \"4242424242424242\",\r\n \"application_expiration_month\": \"09\",\r\n \"application_expiration_year\": \"30\",\r\n \"application_brand\": \"VISA\",\r\n \"payment_data\": {\r\n \"online_payment_cryptogram\": \"ArSxOxxxxxx\",\r\n \"eci_indicator\": \"7\"\r\n }\r\n },\r\n \"payment_method\": {\r\n \"display_name\": \"Discover 9319\",\r\n \"network\": \"VISA\",\r\n \"type\": \"debit\"\r\n },\r\n \"transaction_identifier\": \"c635c5b3af900d7bd81fecd7028fxxxxxxx\"\r\n }\r\n }\r\n }\r\n}\r\n```\r\n\r\n## response\r\n\r\n```json\r\n{\r\n \"payment_id\": \"pay_YTeJdNdADMQjkC8Vi45N\",\r\n \"merchant_id\": \"merchant_1762245250\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 689,\r\n \"net_amount\": 689,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 689,\r\n \"connector\": \"tesouro\",\r\n \"client_secret\": \"pay_YTeJdNdADMQjkC8Vi45N_secret_1nqzbRHLc0iLVpcRlgrK\",\r\n \"created\": \"2025-11-04T10:16:40.166Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"dfasfdsdsafsaf\",\r\n \"customer\": {\r\n \"id\": \"dfasfdsdsafsaf\",\r\n \"name\": null,\r\n \"email\": null,\r\n \"phone\": null,\r\n \"phone_country_code\": null\r\n },\r\n \"description\": \"hellow world\",\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\": \"wallet\",\r\n \"payment_method_data\": {\r\n \"wallet\": {\r\n \"apple_pay\": {\r\n \"last4\": \"9319\",\r\n \"card_network\": \"VISA\",\r\n \"type\": \"debit\",\r\n \"card_exp_month\": \"09\",\r\n \"card_exp_year\": \"30\"\r\n }\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": null,\r\n \"shipping\": null,\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"Fasdf\",\r\n \"country\": \"US\",\r\n \"line1\": \"Fasdf\",\r\n \"line2\": \"Fasdf\",\r\n \"line3\": null,\r\n \"zip\": \"560095\",\r\n \"state\": null,\r\n \"first_name\": \"Sakil\",\r\n \"last_name\": \"Mostak\",\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\": null,\r\n \"name\": null,\r\n \"phone\": null,\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\": \"apple_pay\",\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\": \"dfasfdsdsafsaf\",\r\n \"created_at\": 1762251400,\r\n \"expires\": 1762255000,\r\n \"secret\": \"epk_7b187f7b49224ee196c5c68793e1117d\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"5b629034-b967-11f0-a0c0-1fe12db20e08\",\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\": null,\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_TKew5SYzewHMN8zIJQeR\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_9KwqBYbBm0ifDzdORRnB\",\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-04T10:31:40.166Z\",\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\": null,\r\n \"payment_method_id\": \"pm_vlmFxITLk7oyymbLp5VH\",\r\n \"network_transaction_id\": null,\r\n \"payment_method_status\": \"active\",\r\n \"updated\": \"2025-11-04T10:16:41.653Z\",\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\": \"a29e220c-51c6-48c2-b750-d50c1ea34800\",\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}\r\n```\r\n\r\n## mandate\r\n\r\n```json\r\n{\r\n \"amount\": 333,\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"{{customer_id}}\",\r\n \"confirm\": true,\r\n \"off_session\": true,\r\n \"recurring_details\": {\r\n \"type\": \"payment_method_id\",\r\n \"data\": \"{{payment_method_id}}\"//pass the payment method id here\r\n },\r\n \"browser_info\": {\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\",\r\n \"ip_address\": \"192.168.1.1\",\r\n \"java_enabled\": false,\r\n \"java_script_enabled\": true,\r\n \"language\": \"en-US\",\r\n \"color_depth\": 24,\r\n \"screen_height\": 1080,\r\n \"screen_width\": 1920,\r\n \"time_zone\": 330,\r\n \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\r\n }\r\n}\r\n```\r\n## response\r\n\r\n```json\r\n{\r\n \"payment_id\": \"pay_Id7wgSMOtIhKWGiVvzNz\",\r\n \"merchant_id\": \"merchant_1762245250\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 333,\r\n \"net_amount\": 333,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 333,\r\n \"connector\": \"tesouro\",\r\n \"client_secret\": \"pay_Id7wgSMOtIhKWGiVvzNz_secret_Ita0D3QvoFoKQKCetjR4\",\r\n \"created\": \"2025-11-04T10:16:55.185Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"dfasfdsdsafsaf\",\r\n \"customer\": {\r\n \"id\": \"dfasfdsdsafsaf\",\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\": null,\r\n \"off_session\": true,\r\n \"capture_on\": null,\r\n \"capture_method\": null,\r\n \"payment_method\": \"wallet\",\r\n \"payment_method_data\": {\r\n \"wallet\": {\r\n \"apple_pay\": {\r\n \"last4\": \"9319\",\r\n \"card_network\": \"VISA\",\r\n \"type\": \"debit\",\r\n \"card_exp_month\": \"09\",\r\n \"card_exp_year\": \"30\"\r\n }\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\": null,\r\n \"name\": null,\r\n \"phone\": null,\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\": \"apple_pay\",\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\": \"dfasfdsdsafsaf\",\r\n \"created_at\": 1762251415,\r\n \"expires\": 1762255015,\r\n \"secret\": \"epk_9fb647615b3343809b216307956e4d5b\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"63bbb6f5-b967-11f0-ae88-bf8ee0e62152\",\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\": null,\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_TKew5SYzewHMN8zIJQeR\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_9KwqBYbBm0ifDzdORRnB\",\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-04T10:31:55.185Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": {\r\n \"language\": \"en-US\",\r\n \"time_zone\": 330,\r\n \"ip_address\": \"192.168.1.1\",\r\n \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\",\r\n \"color_depth\": 24,\r\n \"java_enabled\": false,\r\n \"screen_width\": 1920,\r\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\",\r\n \"screen_height\": 1080,\r\n \"java_script_enabled\": true\r\n },\r\n \"payment_channel\": null,\r\n \"payment_method_id\": \"pm_vlmFxITLk7oyymbLp5VH\",\r\n \"network_transaction_id\": null,\r\n \"payment_method_status\": \"active\",\r\n \"updated\": \"2025-11-04T10:16:55.521Z\",\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\": \"a29e220c-51c6-48c2-b750-d50c1ea34800\",\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\": true,\r\n \"mit_category\": null\r\n}\r\n```\r\n\r\n</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\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- [ ] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "Nithin1506200",
|
| 6 |
+
"created_at": "2025-11-04T10:12:30+00:00",
|
| 7 |
+
"merged_at": "2025-11-14T12:46:54+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration",
|
| 11 |
+
"A-core",
|
| 12 |
+
"M-api-contract-changes",
|
| 13 |
+
"A-mandates"
|
| 14 |
+
],
|
| 15 |
+
"url": "https://github.com/juspay/hyperswitch/pull/10122",
|
| 16 |
+
"commits": [
|
| 17 |
+
{
|
| 18 |
+
"sha": "07277a8ff11ab74a277022a571e03d578684ffd6",
|
| 19 |
+
"message": "update",
|
| 20 |
+
"author": "nihtin",
|
| 21 |
+
"date": "2025-10-30T07:12:07+00:00",
|
| 22 |
+
"url": "https://github.com/juspay/hyperswitch/commit/07277a8ff11ab74a277022a571e03d578684ffd6"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"sha": "01df8bdada384a07b26422f9500ef2cb1aa5f81c",
|
| 26 |
+
"message": "update",
|
| 27 |
+
"author": "nihtin",
|
| 28 |
+
"date": "2025-10-30T10:04:18+00:00",
|
| 29 |
+
"url": "https://github.com/juspay/hyperswitch/commit/01df8bdada384a07b26422f9500ef2cb1aa5f81c"
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"sha": "f1b0d8df87c1ab6d6e613f287007abe13cd6f2ae",
|
| 33 |
+
"message": "update",
|
| 34 |
+
"author": "nihtin",
|
| 35 |
+
"date": "2025-10-30T11:20:17+00:00",
|
| 36 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f1b0d8df87c1ab6d6e613f287007abe13cd6f2ae"
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"sha": "98f86ee3d283ba6f392aeba07ae72654ae488736",
|
| 40 |
+
"message": "update",
|
| 41 |
+
"author": "nihtin",
|
| 42 |
+
"date": "2025-10-31T09:20:29+00:00",
|
| 43 |
+
"url": "https://github.com/juspay/hyperswitch/commit/98f86ee3d283ba6f392aeba07ae72654ae488736"
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"sha": "8b81ebd9b99952fde93cd8a03801fa1503b74a12",
|
| 47 |
+
"message": "chore: run formatter",
|
| 48 |
+
"author": "hyperswitch-bot[bot]",
|
| 49 |
+
"date": "2025-10-31T09:21:19+00:00",
|
| 50 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8b81ebd9b99952fde93cd8a03801fa1503b74a12"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"sha": "4b394c35d6333c6c0203a1e52c344cb487dabae0",
|
| 54 |
+
"message": "update",
|
| 55 |
+
"author": "nihtin",
|
| 56 |
+
"date": "2025-10-31T09:31:40+00:00",
|
| 57 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4b394c35d6333c6c0203a1e52c344cb487dabae0"
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"sha": "3626ba5da5ec0bb955c8298da916759cb884f88f",
|
| 61 |
+
"message": "Merge branch 'main' of https://github.com/juspay/hyperswitch into tesouro-recurring",
|
| 62 |
+
"author": "nihtin",
|
| 63 |
+
"date": "2025-10-31T10:19:45+00:00",
|
| 64 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3626ba5da5ec0bb955c8298da916759cb884f88f"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"sha": "67b681e777855c90fb05be388873467831b16e6e",
|
| 68 |
+
"message": "Merge branch 'main' of https://github.com/juspay/hyperswitch into tesouro-recurring-wallets",
|
| 69 |
+
"author": "nihtin",
|
| 70 |
+
"date": "2025-11-04T06:15:47+00:00",
|
| 71 |
+
"url": "https://github.com/juspay/hyperswitch/commit/67b681e777855c90fb05be388873467831b16e6e"
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"sha": "d42ca15e2593704a8086812659b6a8b3a90d5440",
|
| 75 |
+
"message": "update",
|
| 76 |
+
"author": "nihtin",
|
| 77 |
+
"date": "2025-11-04T09:59:54+00:00",
|
| 78 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d42ca15e2593704a8086812659b6a8b3a90d5440"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"sha": "4edae1050af34f7f6589802671304b2e1912fb71",
|
| 82 |
+
"message": "Merge branch 'main' of https://github.com/juspay/hyperswitch into tesouro-recurring-wallets",
|
| 83 |
+
"author": "nihtin",
|
| 84 |
+
"date": "2025-11-05T10:35:59+00:00",
|
| 85 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4edae1050af34f7f6589802671304b2e1912fb71"
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"sha": "c3a9bd30eeda2ad9a02851077403b2bab1e73936",
|
| 89 |
+
"message": "update",
|
| 90 |
+
"author": "nihtin",
|
| 91 |
+
"date": "2025-11-06T05:13:50+00:00",
|
| 92 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c3a9bd30eeda2ad9a02851077403b2bab1e73936"
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"sha": "35f2d598c66125b9901a845d2fe02e154d27b847",
|
| 96 |
+
"message": "update",
|
| 97 |
+
"author": "nihtin",
|
| 98 |
+
"date": "2025-11-06T05:21:29+00:00",
|
| 99 |
+
"url": "https://github.com/juspay/hyperswitch/commit/35f2d598c66125b9901a845d2fe02e154d27b847"
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"sha": "e0d89e2d1ff9a64bb6c4575d9bbe7adbda17f356",
|
| 103 |
+
"message": "cargo check",
|
| 104 |
+
"author": "nihtin",
|
| 105 |
+
"date": "2025-11-06T07:35:01+00:00",
|
| 106 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e0d89e2d1ff9a64bb6c4575d9bbe7adbda17f356"
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"sha": "5ee2ace81b27fab1bfccd74d7246de6b61cc4d85",
|
| 110 |
+
"message": "update",
|
| 111 |
+
"author": "nihtin",
|
| 112 |
+
"date": "2025-11-06T07:46:35+00:00",
|
| 113 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5ee2ace81b27fab1bfccd74d7246de6b61cc4d85"
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"sha": "809a46da03f1f1ddd40430b10258b8ace4d76dca",
|
| 117 |
+
"message": "update",
|
| 118 |
+
"author": "nihtin",
|
| 119 |
+
"date": "2025-11-06T07:48:47+00:00",
|
| 120 |
+
"url": "https://github.com/juspay/hyperswitch/commit/809a46da03f1f1ddd40430b10258b8ace4d76dca"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"sha": "714f70dd75063f46a029723039b57c9803195978",
|
| 124 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 125 |
+
"author": "hyperswitch-bot[bot]",
|
| 126 |
+
"date": "2025-11-06T07:58:35+00:00",
|
| 127 |
+
"url": "https://github.com/juspay/hyperswitch/commit/714f70dd75063f46a029723039b57c9803195978"
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"sha": "6d2ca66801fe585f2c6a12e61f7c434f9742f491",
|
| 131 |
+
"message": "update",
|
| 132 |
+
"author": "nihtin",
|
| 133 |
+
"date": "2025-11-07T10:08:00+00:00",
|
| 134 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6d2ca66801fe585f2c6a12e61f7c434f9742f491"
|
| 135 |
+
},
|
| 136 |
+
{
|
| 137 |
+
"sha": "562511eb80c9cf0fdd6d19e7d0bef2e138643f2c",
|
| 138 |
+
"message": "update",
|
| 139 |
+
"author": "nihtin",
|
| 140 |
+
"date": "2025-11-07T10:09:31+00:00",
|
| 141 |
+
"url": "https://github.com/juspay/hyperswitch/commit/562511eb80c9cf0fdd6d19e7d0bef2e138643f2c"
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"sha": "1cd80b7490132a174e51ea61b0c223898f7a4029",
|
| 145 |
+
"message": "update",
|
| 146 |
+
"author": "nihtin",
|
| 147 |
+
"date": "2025-11-07T10:15:07+00:00",
|
| 148 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1cd80b7490132a174e51ea61b0c223898f7a4029"
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"sha": "26b567a72a4595d1385b88a62c9b4d98164f90d9",
|
| 152 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 153 |
+
"author": "hyperswitch-bot[bot]",
|
| 154 |
+
"date": "2025-11-07T10:33:33+00:00",
|
| 155 |
+
"url": "https://github.com/juspay/hyperswitch/commit/26b567a72a4595d1385b88a62c9b4d98164f90d9"
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"sha": "e5abd7fa86321bb12e61f0fe3de91c89ea8c66df",
|
| 159 |
+
"message": "Merge branch 'main' of https://github.com/juspay/hyperswitch into tesouro-recurring-wallets",
|
| 160 |
+
"author": "nihtin",
|
| 161 |
+
"date": "2025-11-10T09:02:26+00:00",
|
| 162 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e5abd7fa86321bb12e61f0fe3de91c89ea8c66df"
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"sha": "39acfdaaa5f00545a2501107a7b3e1caabd9f642",
|
| 166 |
+
"message": "Update crates/api_models/src/payment_methods.rs\n\nCo-authored-by: Shankar Singh C <83439957+ShankarSinghC@users.noreply.github.com>",
|
| 167 |
+
"author": "Nithin N",
|
| 168 |
+
"date": "2025-11-10T09:49:12+00:00",
|
| 169 |
+
"url": "https://github.com/juspay/hyperswitch/commit/39acfdaaa5f00545a2501107a7b3e1caabd9f642"
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"sha": "83f62b0504640f50913b6b98204842f7af44a3e3",
|
| 173 |
+
"message": "Update crates/api_models/src/payment_methods.rs\n\nCo-authored-by: Shankar Singh C <83439957+ShankarSinghC@users.noreply.github.com>",
|
| 174 |
+
"author": "Nithin N",
|
| 175 |
+
"date": "2025-11-10T09:49:24+00:00",
|
| 176 |
+
"url": "https://github.com/juspay/hyperswitch/commit/83f62b0504640f50913b6b98204842f7af44a3e3"
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"sha": "819690b5258127a1ed1fe6b931cd8823d021595c",
|
| 180 |
+
"message": "update",
|
| 181 |
+
"author": "nihtin",
|
| 182 |
+
"date": "2025-11-10T09:54:39+00:00",
|
| 183 |
+
"url": "https://github.com/juspay/hyperswitch/commit/819690b5258127a1ed1fe6b931cd8823d021595c"
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"sha": "a185fcdf998e6ff8de8a54055b55766612849b81",
|
| 187 |
+
"message": "update",
|
| 188 |
+
"author": "nihtin",
|
| 189 |
+
"date": "2025-11-10T09:59:56+00:00",
|
| 190 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a185fcdf998e6ff8de8a54055b55766612849b81"
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"sha": "93f2dba2427b6aaf55d99759766636aa0761657c",
|
| 194 |
+
"message": "Merge branch 'main' into tesouro-recurring-wallets",
|
| 195 |
+
"author": "Nithin N",
|
| 196 |
+
"date": "2025-11-12T05:56:42+00:00",
|
| 197 |
+
"url": "https://github.com/juspay/hyperswitch/commit/93f2dba2427b6aaf55d99759766636aa0761657c"
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"sha": "4a4afc5dc6c9f10ffad553034f95697e6e8c4c53",
|
| 201 |
+
"message": "push",
|
| 202 |
+
"author": "nihtin",
|
| 203 |
+
"date": "2025-11-12T06:40:46+00:00",
|
| 204 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4a4afc5dc6c9f10ffad553034f95697e6e8c4c53"
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"sha": "63a4cfc0b0b6ee9fec8eac77d80dbfd11436371b",
|
| 208 |
+
"message": "Merge branch 'main' of https://github.com/juspay/hyperswitch into tesouro-recurring-wallets",
|
| 209 |
+
"author": "nihtin",
|
| 210 |
+
"date": "2025-11-13T14:04:35+00:00",
|
| 211 |
+
"url": "https://github.com/juspay/hyperswitch/commit/63a4cfc0b0b6ee9fec8eac77d80dbfd11436371b"
|
| 212 |
+
}
|
| 213 |
+
]
|
| 214 |
+
}
|
prs/pr_10129.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 10129,
|
| 3 |
+
"title": "fix: Update PayPal Postman collection tests",
|
| 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- [x] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nFixed invalid card number validation test (123456 instead of 4242424242424242)\r\n- Updated card expiry dates from 10/25 to 10/30 (cards were expired)\r\n- Fixed test assertions to expect 4xx error response instead of 2xx\r\n- Updated error validation to match actual API format (error.error_type)\r\n- Added detailed comments explaining all assertion changes\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\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\nPostman tests were failing for Paypal in jenkins. \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\nAfter the change ran the collection in postman. \r\n<img width=\"2528\" height=\"1674\" alt=\"image\" src=\"https://github.com/user-attachments/assets/3a0c87dc-0602-4a72-b651-993178a0c69f\" />\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": "ashx98",
|
| 6 |
+
"created_at": "2025-11-04T12:25:05+00:00",
|
| 7 |
+
"merged_at": "2025-11-06T07:39:35+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-CI-CD"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/10129",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "20a5137b73440686d014d7501f5329002232723d",
|
| 16 |
+
"message": "fix: Update PayPal Postman collection tests",
|
| 17 |
+
"author": "ashx98",
|
| 18 |
+
"date": "2025-11-04T12:10:22+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/20a5137b73440686d014d7501f5329002232723d"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "b870ebc660e80ae8ed7d835eefcaaa32585829c8",
|
| 23 |
+
"message": "fix: Update PayPal Postman collection tests",
|
| 24 |
+
"author": "ashx98",
|
| 25 |
+
"date": "2025-11-05T11:41:12+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b870ebc660e80ae8ed7d835eefcaaa32585829c8"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "e702a5131592c8a6c68c2979cf375a4297892727",
|
| 30 |
+
"message": "chore: Delete auto-generated PayPal collection JSON file",
|
| 31 |
+
"author": "ashx98",
|
| 32 |
+
"date": "2025-11-05T11:45:26+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e702a5131592c8a6c68c2979cf375a4297892727"
|
| 34 |
+
}
|
| 35 |
+
]
|
| 36 |
+
}
|
prs/pr_10144.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 10144,
|
| 3 |
+
"title": "refactor(core): add support for IP address getting from HTTP request in payout browser info",
|
| 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\nadd support for IP address getting from HTTP request in payout browser info\r\n\r\nFor Interac payouts confirm call, we currently need to send the IP address, but since it\u2019s not possible to get it from client-side JS. \r\nSo in this PR we have added support for extracting ip address from http request. \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\n1. create MCA for gigadat payout\r\n\r\n```\r\ncurl --location 'http://localhost:8080/account/merchant_1762412893/connectors' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_rB2jHz4Pc1PjympltMlX86hhg5QMwxxyFWQDVqxXMDwm1AstElZqETebohwPhWAq' \\\r\n--data '{\r\n \"connector_type\": \"payout_processor\",\r\n \"connector_name\": \"gigadat\",\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\": true,\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\": \"interac\",\r\n \"payment_experience\": \"redirect_to_url\",\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 \"site\" : \"https://google.com/\"\r\n }\r\n}\r\n'\r\n```\r\n2. Create a Payout request - ip_address is mandatory for gigadat payout, but here we are not passing browser_info in request, but it should still work, as it will fetch ip_addess from http request. \r\n```\r\ncurl --location 'http://localhost:8080/payouts/create' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_rB2jHz4Pc1PjympltMlX86hhg5QMwxxyFWQDVqxXMDwm1AstElZqETebohwPhWAq' \\\r\n--data-raw '{\r\n \"amount\": 1,\r\n \"currency\": \"CAD\",\r\n \"customer_id\": \"cus_YsmZlIiD75bf96yGFZVJ\",\r\n \"email\": \"payout_customer@example.com\",\r\n \"name\": \"Doest John\",\r\n \"phone\": \"6168205366\",\r\n \"phone_country_code\": \"+1\",\r\n \"description\": \"Its my first payout request\",\r\n \"payout_type\": \"bank_redirect\",\r\n \"payout_method_data\": {\r\n \"bank_redirect\": {\r\n \"interac\": {\r\n \"email\": \"example@example.com\"\r\n }\r\n }\r\n },\r\n \"connector\": [\r\n \"gigadat\"\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\": \"CA\",\r\n \"zip\": \"94122\",\r\n \"country\": \"US\",\r\n \"first_name\": \"Doest\",\r\n \"last_name\": \"John\"\r\n },\r\n \"phone\": {\r\n \"number\": \"6168205366\",\r\n \"country_code\": \"1\"\r\n }\r\n },\r\n \"entity_type\": \"Individual\",\r\n \"recurring\": false,\r\n \"confirm\": true,\r\n \"auto_fulfill\": true\r\n}\r\n'\r\n```\r\nResponse\r\n```\r\n{\r\n \"payout_id\": \"payout_6mFEV8cXkDqAgoTecuJE\",\r\n \"merchant_id\": \"merchant_1762412893\",\r\n \"merchant_order_reference_id\": null,\r\n \"amount\": 1,\r\n \"currency\": \"CAD\",\r\n \"connector\": \"gigadat\",\r\n \"payout_type\": \"bank_redirect\",\r\n \"payout_method_data\": {\r\n \"bank_redirect\": {\r\n \"email\": \"ex*****@example.com\"\r\n }\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\": \"CA\",\r\n \"first_name\": \"Doest\",\r\n \"last_name\": \"John\",\r\n \"origin_zip\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"6168205366\",\r\n \"country_code\": \"1\"\r\n },\r\n \"email\": null\r\n },\r\n \"auto_fulfill\": true,\r\n \"customer_id\": \"cus_YsmZlIiD75bf96yGFZVJ\",\r\n \"customer\": {\r\n \"id\": \"cus_YsmZlIiD75bf96yGFZVJ\",\r\n \"name\": \"Doest John\",\r\n \"email\": \"payout_customer@example.com\",\r\n \"phone\": \"6168205366\",\r\n \"phone_country_code\": \"+1\"\r\n },\r\n \"client_secret\": \"payout_payout_6mFEV8cXkDqAgoTecuJE_secret_7S7Hhk3TvSyfXgcflKBA\",\r\n \"return_url\": null,\r\n \"business_country\": null,\r\n \"business_label\": null,\r\n \"description\": \"Its my first payout request\",\r\n \"entity_type\": \"Individual\",\r\n \"recurring\": false,\r\n \"metadata\": {},\r\n \"merchant_connector_id\": \"mca_use9n42RgAic1nrqp3cr\",\r\n \"status\": \"pending\",\r\n \"error_message\": null,\r\n \"error_code\": null,\r\n \"profile_id\": \"pro_8sMxHU2OCyrWtnHOA68x\",\r\n \"created\": \"2025-11-06T07:08:55.692Z\",\r\n \"connector_transaction_id\": \"payout_6mFEV8cXkDqAgoTecuJE_1\",\r\n \"priority\": null,\r\n \"payout_link\": null,\r\n \"email\": \"payout_customer@example.com\",\r\n \"name\": \"Doest John\",\r\n \"phone\": \"6168205366\",\r\n \"phone_country_code\": \"+1\",\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"payout_method_id\": null\r\n}\r\n```\r\n\r\nBefore this change if we make a payout request without passing browser_info in request \r\nWe will get the error\r\n```\r\n{\r\n \"error\": {\r\n \"type\": \"invalid_request\",\r\n \"message\": \"Missing required param: browser_info\",\r\n \"code\": \"IR_04\"\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": "swangi-kumari",
|
| 6 |
+
"created_at": "2025-11-05T17:10:19+00:00",
|
| 7 |
+
"merged_at": "2025-11-07T08:20:27+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [],
|
| 10 |
+
"url": "https://github.com/juspay/hyperswitch/pull/10144",
|
| 11 |
+
"commits": [
|
| 12 |
+
{
|
| 13 |
+
"sha": "690573b243f688dc0af6d0203880a44e8c339dfd",
|
| 14 |
+
"message": "refactor: add support for ip address to fetch from http request",
|
| 15 |
+
"author": "Swangi Kumari",
|
| 16 |
+
"date": "2025-11-05T17:08:25+00:00",
|
| 17 |
+
"url": "https://github.com/juspay/hyperswitch/commit/690573b243f688dc0af6d0203880a44e8c339dfd"
|
| 18 |
+
}
|
| 19 |
+
]
|
| 20 |
+
}
|
prs/pr_6716.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6716,
|
| 3 |
+
"title": "fix(opensearch): fix empty filter array query addition in globalsearch query",
|
| 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\nThe opensearch query should be built manually in the code, based on the request body.\r\nThere is a component called `filter_array` which comprises of the free-text search query, addition of case sensitive filters and also the time_range (if provided).\r\nWhen all the three sub parts are empty (empty query string, no case-sensitive filters and missing time_range) in the request, the filter_array will not be created, and the logic for integrating the rest of the filters is affected.\r\n\r\nMaking minor fixes to the query builder to update the opensearch query even if all the above mentioned components are empty.\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\nGive out correct results by building the opensearch query through the request body.\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\nShould test the case when free-text query is empty, case-sensitive filters are not provided, and time-range filter is also not applied.\r\nHit the curl:\r\n```bash\r\ncurl --location 'http://localhost:8080/analytics/v1/search' \\\r\n--header 'sec-ch-ua-platform: \"macOS\"' \\\r\n--header 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNTQ5ZTNkMmItMTY5Yi00NzUzLWJmNTQtZDcxMTM2YjRiN2JkIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzI2MDQ2MzI4Iiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTczMzI5ODcwMywib3JnX2lkIjoib3JnX1ZwU0hPanNZZkR2YWJWWUpnQ0FKIiwicHJvZmlsZV9pZCI6InByb192NXNGb0hlODBPZWlVbElvbm9jTSIsInRlbmFudF9pZCI6InB1YmxpYyJ9.y9FI-AvvzNKd4DbJiGT7LmwfzxNjZDdOZfQ40TGTh3w' \\\r\n--header 'Referer: http://localhost:9000/' \\\r\n--header 'sec-ch-ua: \"Google Chrome\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\"' \\\r\n--header 'sec-ch-ua-mobile: ?0' \\\r\n--header 'api-key: dev_LZcIA7XeMpnK5satp4CDvjcnHCaeKTBcosyuBBJaknZu1odhFo96cwS0nSdfzuJF' \\\r\n--header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36' \\\r\n--header 'Content-Type: application/json' \\\r\n--data '{\r\n \"query\": \"\",\r\n \"filters\": {\r\n \"currency\": [\r\n \"USD\"\r\n ]\r\n }\r\n}'\r\n```\r\n\r\nThe response should now give out all the results based on the filter applied.\r\n\r\nSample opensearch query structure:\r\n```json\r\n{\r\n \"query\": {\r\n \"bool\": {\r\n \"must\": [\r\n {\r\n \"bool\": {\r\n \"must\": [\r\n {\r\n \"bool\": {\r\n \"should\": [\r\n {\r\n \"term\": {\r\n \"currency.keyword\": {\r\n \"value\": \"USD\",\r\n \"case_insensitive\": true\r\n }\r\n }\r\n }\r\n ],\r\n \"minimum_should_match\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"bool\": {\r\n \"must\": [\r\n {\r\n \"bool\": {\r\n \"should\": [\r\n {\r\n \"bool\": {\r\n \"must\": [\r\n {\r\n \"term\": {\r\n \"organization_id.keyword\": {\r\n \"value\": \"org_VpSHOjsYfDvabVYJgCAJ\"\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"minimum_should_match\": 1\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"sort\": [\r\n {\r\n \"@timestamp\": {\r\n \"order\": \"desc\"\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": "2024-12-02T09:29:40+00:00",
|
| 7 |
+
"merged_at": "2024-12-02T15:02:27+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-bug",
|
| 11 |
+
"A-Analytics"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6716",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "9b2cf98898881e73dc101d69b6694e78cddf9e54",
|
| 17 |
+
"message": "fix(opensearch): fix empty filter array query addition in globalsearch query",
|
| 18 |
+
"author": "T Sandeep Kumar",
|
| 19 |
+
"date": "2024-12-02T09:19:52+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9b2cf98898881e73dc101d69b6694e78cddf9e54"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "1bdb3e2b7fbb401e1c719f427fa89b49cf2155e5",
|
| 24 |
+
"message": "Merge branch 'main' into fix-globalsearch-query-builder",
|
| 25 |
+
"author": "Sandeep Kumar",
|
| 26 |
+
"date": "2024-12-02T11:14:55+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1bdb3e2b7fbb401e1c719f427fa89b49cf2155e5"
|
| 28 |
+
}
|
| 29 |
+
]
|
| 30 |
+
}
|
prs/pr_6752.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6752,
|
| 3 |
+
"title": "refactor(connector-configs): worldpay - update username / password mapping",
|
| 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\nDescribed in #6316 point # 8\r\n\r\nThis PR includes WASM changes for Worldpay MCA creation on 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\nUpdates the incorrect mapping of username / password to HS `ConnectorAuthType` \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-05T06:17:36+00:00",
|
| 7 |
+
"merged_at": "2024-12-05T14:02:43+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [],
|
| 10 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6752",
|
| 11 |
+
"commits": [
|
| 12 |
+
{
|
| 13 |
+
"sha": "b02793b319ab563ca369bd2c61d536e551bc0f57",
|
| 14 |
+
"message": "refactor(connector-configs): worldpay - update username / password mapping",
|
| 15 |
+
"author": "Kashif",
|
| 16 |
+
"date": "2024-12-04T13:08:49+00:00",
|
| 17 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b02793b319ab563ca369bd2c61d536e551bc0f57"
|
| 18 |
+
}
|
| 19 |
+
]
|
| 20 |
+
}
|
prs/pr_6776.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6776,
|
| 3 |
+
"title": "feat(analytics): add support for multiple emails as input to forward reports",
|
| 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\nCurrently, while generating reports on the dashboard, the current setup only supports forwarding reports to the email of the account signed in.\r\nThis PR adds support to have custom emails in the input text box on the dashboard while generating and forwarding the report, to make the reporting module slightly flexible and convenient.\r\n\r\n- Adding the field for taking multiple emails as input in the report request body.\r\n- Currently having it as an Option, for backwards compatibility.\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\nTo make the reporting module slightly flexible and convenient, to send the report to emails entered by the users.\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\nHit the curl:\r\n```bash\r\ncurl --location 'http://localhost:8080/analytics/v1/org/report/payments' \\\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/131.0.0.0 Safari/537.36' \\\r\n--header 'api-key: dev_LZcIA7XeMpnK5satp4CDvjcnHCaeKTBcosyuBBJaknZu1odhFo96cwS0nSdfzuJF' \\\r\n--header 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNTQ5ZTNkMmItMTY5Yi00NzUzLWJmNTQtZDcxMTM2YjRiN2JkIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzI2MDQ2MzI4Iiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTczMzg5OTY3Nywib3JnX2lkIjoib3JnX1ZwU0hPanNZZkR2YWJWWUpnQ0FKIiwicHJvZmlsZV9pZCI6InByb192NXNGb0hlODBPZWlVbElvbm9jTSIsInRlbmFudF9pZCI6InB1YmxpYyJ9.poRn4McNVvd9Yrv2py9FO3HmG1ENu_SqYYc4hfF1Jm8' \\\r\n--header 'sec-ch-ua: \"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\"' \\\r\n--header 'sec-ch-ua-mobile: ?0' \\\r\n--header 'sec-ch-ua-platform: \"macOS\"' \\\r\n--data-raw '{\r\n \"timeRange\": {\r\n \"startTime\": \"2024-10-31T18:30:00Z\",\r\n \"endTime\": \"2024-11-30T18:29:59Z\"\r\n },\r\n \"emails\": [\r\n \"test@gmail.com\", \"test2@juspay.in\"\r\n ]\r\n}'\r\n```\r\n\r\nSample request payload:\r\n```bash\r\npayload: ReportRequest { time_range: TimeRange { start_time: 2024-10-31 18:30:00.0, end_time: Some(2024-11-30 18:29:59.0) }, emails: Some([****@gmail.com, *****@juspay.in]) }\r\n```\r\n\r\nSample lambda request:\r\n```bash\r\nlambda_req: GenerateReportRequest { request: ReportRequest { time_range: TimeRange { start_time: 2024-10-31 18:30:00.0, end_time: Some(2024-11-30 18:29:59.0) }, emails: Some([****@gmail.com, *****@juspay.in]) }, merchant_id: None, auth: OrgLevel { org_id: OrganizationId(\"org_VpSHOjsYfDvabVYJgCAJ\") }, email: *************@juspay.in }\r\n```\r\n\r\n- emails is an Option (for backwards compatibility): So its not compulsary as of now to add this field.\r\n\r\n```bash\r\ncurl --location 'http://localhost:8080/analytics/v1/org/report/payments' \\\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/131.0.0.0 Safari/537.36' \\\r\n--header 'api-key: dev_LZcIA7XeMpnK5satp4CDvjcnHCaeKTBcosyuBBJaknZu1odhFo96cwS0nSdfzuJF' \\\r\n--header 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiNTQ5ZTNkMmItMTY5Yi00NzUzLWJmNTQtZDcxMTM2YjRiN2JkIiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzI2MDQ2MzI4Iiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTczMzg5OTY3Nywib3JnX2lkIjoib3JnX1ZwU0hPanNZZkR2YWJWWUpnQ0FKIiwicHJvZmlsZV9pZCI6InByb192NXNGb0hlODBPZWlVbElvbm9jTSIsInRlbmFudF9pZCI6InB1YmxpYyJ9.poRn4McNVvd9Yrv2py9FO3HmG1ENu_SqYYc4hfF1Jm8' \\\r\n--header 'sec-ch-ua: \"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\"' \\\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\": \"2024-10-31T18:30:00Z\",\r\n \"endTime\": \"2024-11-30T18:29:59Z\"\r\n }\r\n}'\r\n```\r\nSample request payload:\r\n```bash\r\npayload: ReportRequest { time_range: TimeRange { start_time: 2024-10-31 18:30:00.0, end_time: Some(2024-11-30 18:29:59.0) }, emails: None }\r\n```\r\n\r\nSample lambda request:\r\n```bash\r\nlambda_req: GenerateReportRequest { request: ReportRequest { time_range: TimeRange { start_time: 2024-10-31 18:30:00.0, end_time: Some(2024-11-30 18:29:59.0) }, emails: None }, merchant_id: None, auth: OrgLevel { org_id: OrganizationId(\"org_VpSHOjsYfDvabVYJgCAJ\") }, email: *************@juspay.in }\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": "2024-12-09T07:26:15+00:00",
|
| 7 |
+
"merged_at": "2024-12-10T12:20:39+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-feature",
|
| 11 |
+
"A-Analytics"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6776",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "bc7ac66a2b73e56b30dc9261d1f19c390d0be9e3",
|
| 17 |
+
"message": "feat(analytics): add support for multiple emails as input to generate reports",
|
| 18 |
+
"author": "T Sandeep Kumar",
|
| 19 |
+
"date": "2024-12-09T07:04:49+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bc7ac66a2b73e56b30dc9261d1f19c390d0be9e3"
|
| 21 |
+
}
|
| 22 |
+
]
|
| 23 |
+
}
|
prs/pr_6811.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6811,
|
| 3 |
+
"title": "feat(core): Add product authentication ids in business profile",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n- [x] New feature\r\n\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nAdd product authentication id's column in business profile\r\n\r\n### Additional Changes\r\n\r\n- [x] This PR modifies the API contract\r\n- [x] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\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-11T13:32:18+00:00",
|
| 7 |
+
"merged_at": "2024-12-12T15:01:35+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-database-changes",
|
| 11 |
+
"M-api-contract-changes"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6811",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "a8fca0eaeb12b1860314b10335766a7ba6068aa5",
|
| 17 |
+
"message": "added dummy commit",
|
| 18 |
+
"author": "Sahkal Poddar",
|
| 19 |
+
"date": "2024-12-11T09:34:40+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a8fca0eaeb12b1860314b10335766a7ba6068aa5"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "cc5bd14cde36996b3f294a7c272511bd53833a52",
|
| 24 |
+
"message": "added dummy commit",
|
| 25 |
+
"author": "Sahkal Poddar",
|
| 26 |
+
"date": "2024-12-11T10:14:11+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/cc5bd14cde36996b3f294a7c272511bd53833a52"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "036a180fb8617d28c6b5b629bf5d9ed61ef7ff13",
|
| 31 |
+
"message": "added authentication product id's to business profile",
|
| 32 |
+
"author": "Sahkal Poddar",
|
| 33 |
+
"date": "2024-12-11T12:55:46+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/036a180fb8617d28c6b5b629bf5d9ed61ef7ff13"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "f9b0bafeb149e8cf8b48b3c342b281476c529995",
|
| 38 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 39 |
+
"author": "hyperswitch-bot[bot]",
|
| 40 |
+
"date": "2024-12-11T13:35:04+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f9b0bafeb149e8cf8b48b3c342b281476c529995"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "e9184b4b3a87eb0c395e4716fbbd088f719acc9e",
|
| 45 |
+
"message": "fixed migration inconsistency",
|
| 46 |
+
"author": "Sahkal Poddar",
|
| 47 |
+
"date": "2024-12-11T17:17:26+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e9184b4b3a87eb0c395e4716fbbd088f719acc9e"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "e5150191ced132d89b4bdca2c80d6b72c78d6614",
|
| 52 |
+
"message": "fixed clippy v2 errors",
|
| 53 |
+
"author": "Sahkal Poddar",
|
| 54 |
+
"date": "2024-12-12T09:08:14+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e5150191ced132d89b4bdca2c80d6b72c78d6614"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"sha": "c423c69a08ae92982775c55e9a0a91b59f9b0a2b",
|
| 59 |
+
"message": "fixed clippy v2 error",
|
| 60 |
+
"author": "Sahkal Poddar",
|
| 61 |
+
"date": "2024-12-12T09:34:57+00:00",
|
| 62 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c423c69a08ae92982775c55e9a0a91b59f9b0a2b"
|
| 63 |
+
}
|
| 64 |
+
]
|
| 65 |
+
}
|
prs/pr_6842.json
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6842,
|
| 3 |
+
"title": "ci: add workflow to check wasm-pack build",
|
| 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\nAdded WASM build check as part of pipeline\r\n\r\n\r\n\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## 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": "JeevaRamu0104",
|
| 6 |
+
"created_at": "2024-12-16T07:04:39+00:00",
|
| 7 |
+
"merged_at": "2024-12-17T10:58:16+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-CI-CD"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6842",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "1d225ace517202133d257aaa0912b07d8cd98b44",
|
| 16 |
+
"message": "Merge branch 'main' of github.com:juspay/hyperswitch",
|
| 17 |
+
"author": "Jeeva Ramachandran",
|
| 18 |
+
"date": "2024-12-16T06:36:27+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1d225ace517202133d257aaa0912b07d8cd98b44"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "6a9e1829d141d706f81e8f55a40e3c06d365f9ce",
|
| 23 |
+
"message": "add wasm build pipeline",
|
| 24 |
+
"author": "Jeeva Ramachandran",
|
| 25 |
+
"date": "2024-12-16T06:43:26+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6a9e1829d141d706f81e8f55a40e3c06d365f9ce"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "40ecf1fac60fb3ceb2a1b491a1bde68c11b9118c",
|
| 30 |
+
"message": "add wasm build pipeline",
|
| 31 |
+
"author": "Jeeva Ramachandran",
|
| 32 |
+
"date": "2024-12-16T07:06:28+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/40ecf1fac60fb3ceb2a1b491a1bde68c11b9118c"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "c301f99f0bd7cd90686a7fe31e71e4ea99ef3fb8",
|
| 37 |
+
"message": "add wasm build pipeline",
|
| 38 |
+
"author": "Jeeva Ramachandran",
|
| 39 |
+
"date": "2024-12-16T07:09:33+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c301f99f0bd7cd90686a7fe31e71e4ea99ef3fb8"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "2c7d35c65887d1d71bd1deed428a490fd025a401",
|
| 44 |
+
"message": "add wasm build pipeline",
|
| 45 |
+
"author": "Jeeva Ramachandran",
|
| 46 |
+
"date": "2024-12-16T07:12:19+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2c7d35c65887d1d71bd1deed428a490fd025a401"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"sha": "e8a7efff8a1bf033c21a77d1e69dbddbb90e24c1",
|
| 51 |
+
"message": "add wasm build pipeline",
|
| 52 |
+
"author": "Jeeva Ramachandran",
|
| 53 |
+
"date": "2024-12-16T08:27:28+00:00",
|
| 54 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e8a7efff8a1bf033c21a77d1e69dbddbb90e24c1"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"sha": "1e5f4779304c90108ac8b05d998082abac0fb6ab",
|
| 58 |
+
"message": "add wasm build pipeline",
|
| 59 |
+
"author": "Jeeva Ramachandran",
|
| 60 |
+
"date": "2024-12-16T08:28:34+00:00",
|
| 61 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1e5f4779304c90108ac8b05d998082abac0fb6ab"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"sha": "386b325a50962dc00469a40656c7202ccafeef8d",
|
| 65 |
+
"message": "add wasm build pipeline",
|
| 66 |
+
"author": "Jeeva Ramachandran",
|
| 67 |
+
"date": "2024-12-16T08:29:44+00:00",
|
| 68 |
+
"url": "https://github.com/juspay/hyperswitch/commit/386b325a50962dc00469a40656c7202ccafeef8d"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"sha": "55beb267be9b42d925173e5a246817be4610ae3d",
|
| 72 |
+
"message": "add wasm build pipeline",
|
| 73 |
+
"author": "Jeeva Ramachandran",
|
| 74 |
+
"date": "2024-12-16T08:32:16+00:00",
|
| 75 |
+
"url": "https://github.com/juspay/hyperswitch/commit/55beb267be9b42d925173e5a246817be4610ae3d"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"sha": "f2141f0e77ecc1fe281f84fb7c5cb3b568187ed1",
|
| 79 |
+
"message": "Update wasm-bulild-check.yml",
|
| 80 |
+
"author": "Jeeva Ramachandran",
|
| 81 |
+
"date": "2024-12-16T09:40:12+00:00",
|
| 82 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f2141f0e77ecc1fe281f84fb7c5cb3b568187ed1"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"sha": "802b719a9180f6dc61791bf94c0cba5ff3f6b612",
|
| 86 |
+
"message": "Merge branch 'main' into wasm-pipeline-check",
|
| 87 |
+
"author": "Jeeva Ramachandran",
|
| 88 |
+
"date": "2024-12-16T09:40:23+00:00",
|
| 89 |
+
"url": "https://github.com/juspay/hyperswitch/commit/802b719a9180f6dc61791bf94c0cba5ff3f6b612"
|
| 90 |
+
}
|
| 91 |
+
]
|
| 92 |
+
}
|
prs/pr_6860.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6860,
|
| 3 |
+
"title": "feat(payments): [Payment links] Add config for changing button text for payment links",
|
| 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\nAdded config for changing text of confirm button for payment links\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<details>\r\n<summary>1. Update `allowed_domains` in business profile (Expand to see details)</summary>\r\n\r\n``` \r\ncurl --location --request POST 'http://localhost:8080/account/merchant_1734440294/business_profile/pro_DD9djS7uH6B6uB9A8Nl4' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data-raw '{\r\n \"payment_link_config\": {\r\n \"allowed_domains\": [\r\n \"*\"\r\n ],\r\n \"enabled_saved_payment_method\": true,\r\n \"hide_card_nickname_field\": true\r\n }\r\n}'\r\n```\r\n</details>\r\n<details>\r\n<summary>2. Create a payment link with `payment_button_text` (Expand to see details)</summary>\r\n\r\n```\r\ncurl --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_apDeSrDBnIV37SLkVVFFxmJogw3H1KslEXeeAPIqQCamCS6vKk71qkgZlvB1CLUZ' \\\r\n--header 'Accept-Language: zh-Hant' \\\r\n--data-raw '{\r\n \"amount\": 100,\r\n \"currency\": \"EUR\",\r\n \"payment_link\": true,\r\n \"connector\": [\r\n \"novalnet\"\r\n ],\r\n \"session_expiry\": 1000000,\r\n \"return_url\": \"http://127.0.0.1:5500/src/pl_iframe.html\",\r\n \"payment_link_config\": {\r\n \"theme\": \"#14356f\",\r\n \"logo\": \"https://logosandtypes.com/wp-content/uploads/2020/08/zurich.svg\",\r\n \"seller_name\": \"Zurich Inc.\",\r\n \"payment_button_text\": \"Pay Now DG\"\r\n }\r\n}'\r\n```\r\nResponse of /payments \r\n`{\r\n \"payment_id\": \"pay_uWGKvq0GhsPOLazRZCaj\",\r\n \"merchant_id\": \"merchant_1734440294\",\r\n \"status\": \"requires_payment_method\",\r\n \"amount\": 100,\r\n \"net_amount\": 100,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 100,\r\n \"amount_received\": null,\r\n \"connector\": null,\r\n \"client_secret\": \"pay_uWGKvq0GhsPOLazRZCaj_secret_33a1Sy4E5rs7Tv53I4Is\",\r\n \"created\": \"2024-12-18T08:00:55.515Z\",\r\n \"currency\": \"EUR\",\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\": 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\": null,\r\n \"name\": null,\r\n \"phone\": null,\r\n \"return_url\": \"http://127.0.0.1:5500/src/pl_iframe.html\",\r\n \"authentication_type\": null,\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\": 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\": {\r\n \"link\": \"http://localhost:8080/payment_link/merchant_1734440294/pay_uWGKvq0GhsPOLazRZCaj?locale=zh-Hant\",\r\n \"secure_link\": \"http://localhost:8080/payment_link/s/merchant_1734440294/pay_uWGKvq0GhsPOLazRZCaj?locale=zh-Hant\",\r\n \"payment_link_id\": \"plink_ETWyoDZsOyC4f68LRjdS\"\r\n },\r\n \"profile_id\": \"pro_DD9djS7uH6B6uB9A8Nl4\",\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-29T21:47:35.508Z\",\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-18T08:00:55.532Z\",\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</details>\r\n\r\n<details><summary>3. Set `payment_button_text` in business profile config</summary>\r\n\r\n```\r\ncurl --location --request POST 'http://localhost:8080/account/merchant_1734516409/business_profile/pro_Emk2IPwiF6HkSkjTZCIc' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'api-key: test_admin' \\\r\n--data-raw '{\r\n \"payment_link_config\": {\r\n \"allowed_domains\": [\r\n \"*\"\r\n ],\r\n \"enabled_saved_payment_method\": true,\r\n \"theme\": \"#1A1A1A\",\r\n \"logo\": \"https://hyperswitch.io/favicon.ico\",\r\n \"background_image\": {\r\n \"url\": \"https://img.freepik.com/free-photo/hand-painted-watercolor-background-with-sky-clouds-shape_24972-1095.jpg\",\r\n \"size\": \"cover\"\r\n },\r\n \"payment_button_text\": \"DG Pay now\",\r\n \"business_specific_configs\": {\r\n \"style1\": {\r\n \"enabled_saved_payment_method\": true,\r\n \"theme\": \"#FEFEFE\",\r\n \"logo\": \"https://hyperswitch.io/favicon.ico\"\r\n },\r\n \"style2\": {\r\n \"enabled_saved_payment_method\": true,\r\n \"theme\": \"#1A1A1A\",\r\n \"logo\": \"https://hyperswitch.io/favicon.ico\"\r\n }\r\n }\r\n }\r\n}'\r\n```\r\n\r\n- Create a payment link using /payments\r\n\r\ncURL\r\n```curl\r\ncurl --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_Wnu3HE7zA4MpImfglpdCnSqZ00fL0BVLCj1aNe9TPXldcqXvdHy9nP943V6ud3JB' \\\r\n--data-raw '{\r\n \"authentication_type\": \"three_ds\",\r\n \"customer_id\": \"cus_rFGS1qK0MTSxdj0m5aqo\",\r\n \"profile_id\": \"pro_Emk2IPwiF6HkSkjTZCIc\",\r\n \"amount\": 100,\r\n \"currency\": \"HKD\",\r\n \"payment_link\": true,\r\n \"setup_future_usage\": \"off_session\",\r\n \"description\": \"This is my description of why this payment was requested.\",\r\n \"connector\": [\r\n \"adyen\"\r\n ],\r\n \"capture_method\": \"automatic\",\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\": \"CA\",\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 \"email\": \"john.doe@example.com\",\r\n \"session_expiry\": 100000,\r\n \"return_url\": \"https://example.com\",\r\n \"payment_link_config\": {\r\n \"theme\": \"#14356f\",\r\n \"logo\": \"https://static.wikia.nocookie.net/logopedia/images/4/41/Zurich-1997-Horizontal.png\",\r\n \"seller_name\": \"Hyperswitch Inc.\"\r\n }\r\n}'\r\n```\r\n\r\n</details>\r\n\r\n<details><summary>4. Screenshots (Expand to see details)</summary>\r\nOpen the secure payment link (`secure_link` in API response) in an iframe for validating the functionality. For checking payment_link simply click on the payment_link (`payment_link` in API response)\r\n\r\n**Screenshot for payment link**\r\n<img width=\"1657\" alt=\"Screenshot 2024-12-18 at 13 31 13\" src=\"https://github.com/user-attachments/assets/6234bc53-2b1a-485c-b873-04d02ad5d866\" />\r\n\r\n\r\n**Screenshot for secured payment link**\r\n<img width=\"1657\" alt=\"Screenshot 2024-12-18 at 13 31 54\" src=\"https://github.com/user-attachments/assets/fb5e4a80-2382-462c-95fc-b5064103b1ee\" />\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",
|
| 5 |
+
"author": "dgeee13",
|
| 6 |
+
"created_at": "2024-12-17T11:38:20+00:00",
|
| 7 |
+
"merged_at": "2024-12-19T13:28:25+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-api-contract-changes"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6860",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "eb900da429b484e7cbb334a4cf25fb27d47aaab0",
|
| 16 |
+
"message": "add config for changing button text for payment links",
|
| 17 |
+
"author": "Debarati",
|
| 18 |
+
"date": "2024-12-18T08:07:57+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/eb900da429b484e7cbb334a4cf25fb27d47aaab0"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "142b59cc31305181f4d4b4853fb51d85349a4c60",
|
| 23 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 24 |
+
"author": "hyperswitch-bot[bot]",
|
| 25 |
+
"date": "2024-12-18T10:45:10+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/142b59cc31305181f4d4b4853fb51d85349a4c60"
|
| 27 |
+
}
|
| 28 |
+
]
|
| 29 |
+
}
|
prs/pr_6907.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6907,
|
| 3 |
+
"title": "fix: invalidate surcharge cache during update",
|
| 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\nWhen surcharge rules where updated or deleted, the in memory cache was being invalidated using the wrong key. Fixed that issue in this PR.\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 1. upsert surcharge rules. If amount >500 and <1000 add a surcharge of 40%.\r\n```\r\ncurl --location --request PUT 'http://localhost:8080/routing/decision/surcharge' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'api-key: dev_bLGFEtyJtHdvJqXtbnwOcnxpBuNk9lcGIHewiAgCcQQKXYdyoHw8SyAz5JcfikMl' \\\r\n--data '{\r\n \"name\": \"Surcharge Conditional config\",\r\n \"algorithm\": {\r\n \"defaultSelection\": {\r\n \"surcharge_details\": null\r\n },\r\n \"rules\": [\r\n {\r\n \"name\": \"rule_1\",\r\n \"routingOutput\": {\r\n \"surcharge_details\": {\r\n \"surcharge\": {\r\n \"type\": \"rate\",\r\n \"value\": {\r\n \"percentage\": 40\r\n }\r\n },\r\n \"tax_on_surcharge\": {\r\n \"percentage\": 40\r\n }\r\n }\r\n },\r\n \"statements\": [\r\n {\r\n \"condition\": [\r\n {\r\n \"lhs\": \"amount\",\r\n \"comparison\": \"greater_than\",\r\n \"value\": {\r\n \"type\": \"number\",\r\n \"value\": 500\r\n },\r\n \"metadata\": {}\r\n },\r\n {\r\n \"lhs\": \"amount\",\r\n \"comparison\": \"less_than\",\r\n \"value\": {\r\n \"type\": \"number\",\r\n \"value\": 1000\r\n },\r\n \"metadata\": {}\r\n }\r\n ],\r\n \"nested\": null\r\n }\r\n ]\r\n }\r\n ],\r\n \"metadata\": {}\r\n },\r\n \"merchant_surcharge_configs\": {\r\n \"show_surcharge_breakup_screen\": true\r\n }\r\n}'\r\n```\r\nshould get status code 200 response.\r\n\r\n2. Create payment of 540 \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_bLGFEtyJtHdvJqXtbnwOcnxpBuNk9lcGIHewiAgCcQQKXYdyoHw8SyAz5JcfikMl' \\\r\n--data-raw '{\r\n \"amount\": 540,\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\": 540,\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\": \"+65\",\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\": \"US\",\r\n \"first_name\": \"PiX\"\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\": \"PiX\"\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. Do payment method list.\r\n```\r\ncurl --location 'http://localhost:8080/account/payment_methods?client_secret=pay_rKiEoW6t1eHHzS8WukOx_secret_QvEuTgyhWcGmNhzqHrTc' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: pk_dev_8ea5f5ea888f43e199ae05a22b7aaae8'\r\n```\r\n\r\nAppropriate surcharge must be applied to each of the payment method.\r\n```\r\n\"surcharge_details\": {\r\n \"surcharge\": {\r\n \"type\": \"rate\",\r\n \"value\": {\r\n \"percentage\": 40.0\r\n }\r\n },\r\n \"tax_on_surcharge\": {\r\n \"percentage\": 40.0\r\n },\r\n \"display_surcharge_amount\": 2.16,\r\n \"display_tax_on_surcharge_amount\": 0.87,\r\n \"display_total_surcharge_amount\": 3.03\r\n },\r\n```\r\n\r\n4. Now update the surcharge rule. If amount >500 and <1000 add a surcharge of 10%.\r\n```\r\ncurl --location --request PUT 'http://localhost:8080/routing/decision/surcharge' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'api-key: dev_bLGFEtyJtHdvJqXtbnwOcnxpBuNk9lcGIHewiAgCcQQKXYdyoHw8SyAz5JcfikMl' \\\r\n--data '{\r\n \"name\": \"Surcharge Conditional config\",\r\n \"algorithm\": {\r\n \"defaultSelection\": {\r\n \"surcharge_details\": null\r\n },\r\n \"rules\": [\r\n {\r\n \"name\": \"rule_1\",\r\n \"routingOutput\": {\r\n \"surcharge_details\": {\r\n \"surcharge\": {\r\n \"type\": \"rate\",\r\n \"value\": {\r\n \"percentage\": 10\r\n }\r\n },\r\n \"tax_on_surcharge\": {\r\n \"percentage\": 10\r\n }\r\n }\r\n },\r\n \"statements\": [\r\n {\r\n \"condition\": [\r\n {\r\n \"lhs\": \"amount\",\r\n \"comparison\": \"greater_than\",\r\n \"value\": {\r\n \"type\": \"number\",\r\n \"value\": 500\r\n },\r\n \"metadata\": {}\r\n },\r\n {\r\n \"lhs\": \"amount\",\r\n \"comparison\": \"less_than\",\r\n \"value\": {\r\n \"type\": \"number\",\r\n \"value\": 1000\r\n },\r\n \"metadata\": {}\r\n }\r\n ],\r\n \"nested\": null\r\n }\r\n ]\r\n }\r\n ],\r\n \"metadata\": {}\r\n },\r\n \"merchant_surcharge_configs\": {\r\n \"show_surcharge_breakup_screen\": true\r\n }\r\n}'\r\n```\r\n5. Do payment method list again.\r\n```\r\ncurl --location 'http://localhost:8080/account/payment_methods?client_secret=pay_rKiEoW6t1eHHzS8WukOx_secret_QvEuTgyhWcGmNhzqHrTc' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: pk_dev_8ea5f5ea888f43e199ae05a22b7aaae8'\r\n```\r\nAppropriate surcharge must be applied to each of the payment method.\r\n```\r\n\"surcharge_details\": {\r\n \"surcharge\": {\r\n \"type\": \"rate\",\r\n \"value\": {\r\n \"percentage\": 10.0\r\n }\r\n },\r\n \"tax_on_surcharge\": {\r\n \"percentage\": 10.0\r\n },\r\n \"display_surcharge_amount\": 0.54,\r\n \"display_tax_on_surcharge_amount\": 0.06,\r\n \"display_total_surcharge_amount\": 0.6\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": "hrithikesh026",
|
| 6 |
+
"created_at": "2024-12-20T09:07:57+00:00",
|
| 7 |
+
"merged_at": "2025-02-04T01:18:46+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-bug"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6907",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "2bc2e2df73aa53e0c19fffe416bcf0f0a3c98cf1",
|
| 16 |
+
"message": "fix: invalidate surcharge cache during update",
|
| 17 |
+
"author": "hrithikesh026",
|
| 18 |
+
"date": "2024-12-20T07:52:14+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2bc2e2df73aa53e0c19fffe416bcf0f0a3c98cf1"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "dff0bae1d234475f468180a869bc6c57271e376e",
|
| 23 |
+
"message": "Merge branch 'main' into invalidate-surcharge-cache",
|
| 24 |
+
"author": "Hrithikesh",
|
| 25 |
+
"date": "2025-01-28T06:14:00+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/dff0bae1d234475f468180a869bc6c57271e376e"
|
| 27 |
+
}
|
| 28 |
+
]
|
| 29 |
+
}
|
prs/pr_6927.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6927,
|
| 3 |
+
"title": "fix(wasm): remove chasenet from jpmorgan wasm as ChaseNet doesn\u2019t exist in PMT",
|
| 4 |
+
"description": "\r\n## 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\nremove chasenet from jpmorgan wasm as ChaseNet doesn\u2019t exist in PMT\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 test required as only wasm changes are done in this PR\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": "swangi-kumari",
|
| 6 |
+
"created_at": "2024-12-24T07:34:14+00:00",
|
| 7 |
+
"merged_at": "2024-12-24T09:11:48+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration",
|
| 11 |
+
"C-bug"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6927",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "c16b4f9ab69309c4a5adfee1ce5fdd2bf8b1ff58",
|
| 17 |
+
"message": "refactor: remove chasenet from jpmorgan wasm as ChaseNet doesn\u2019t exist in PMT",
|
| 18 |
+
"author": "swangi-kumari",
|
| 19 |
+
"date": "2024-12-24T07:32:39+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c16b4f9ab69309c4a5adfee1ce5fdd2bf8b1ff58"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "0c9733d8d2168528e3ae7351a31b0d2636c2e6b0",
|
| 24 |
+
"message": "update wasm",
|
| 25 |
+
"author": "Jeeva Ramachandran",
|
| 26 |
+
"date": "2024-12-24T07:58:00+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0c9733d8d2168528e3ae7351a31b0d2636c2e6b0"
|
| 28 |
+
}
|
| 29 |
+
]
|
| 30 |
+
}
|
prs/pr_6938.json
ADDED
|
@@ -0,0 +1,527 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6938,
|
| 3 |
+
"title": "feat(payment_methods_v2): add payment methods list endpoint",
|
| 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## Description\r\n<!-- Describe your changes in detail -->\r\nThis PR adds payment methods list endpoint for payment methods endpoint for payment methods. This will be used to display the list of payment methods that are enabled by the merchant.\r\n\r\n<img width=\"1720\" alt=\"Screenshot 2025-01-03 at 11 59 48\u202fPM\" src=\"https://github.com/user-attachments/assets/8302313f-0acb-41a5-a227-c8ee397d89f7\" />\r\n\r\n\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 customer\r\n```bash\r\ncurl --location 'http://localhost:8080/v2/customers' \\\r\n--header 'x-profile-id: pro_Jl8KY80C28z1mRdXcDBT' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'api-key: dev_6BoCe4RXBXF6bxdXSvDilRNJzAyC44zmEzxrQrBAswLtV2wc91CNOGUTZ2ys5Ff0' \\\r\n--data-raw '{ \r\n \"merchant_reference_id\": \"customer_1735122196\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+65\",\r\n \"description\": \"First customer\",\r\n \"default_billing_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\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"default_shipping_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\": \"joseph\",\r\n \"last_name\": \"Doe\"\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}'\r\n```\r\n\r\n- Create a payment method intent\r\n```bash\r\ncurl --location 'http://localhost:8080/v2/payment-methods/create-intent' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'X-Profile-Id: pro_Jl8KY80C28z1mRdXcDBT' \\\r\n--header 'api-key: dev_6BoCe4RXBXF6bxdXSvDilRNJzAyC44zmEzxrQrBAswLtV2wc91CNOGUTZ2ys5Ff0' \\\r\n--data '{\r\n \"customer_id\": \"12345_cus_0193f9043aae775099131fb81108488f\"\r\n}'\r\n```\r\n\r\n- List the payment methods\r\n```bash\r\ncurl --location 'http://localhost:8080/v2/payment-methods/12345_pm_0193f99973757b30a97807211a19d8fc/list-enabled-payment-methods' \\\r\n--header 'api-key: dev_6BoCe4RXBXF6bxdXSvDilRNJzAyC44zmEzxrQrBAswLtV2wc91CNOGUTZ2ys5Ff0' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'x-profile-id: pro_Jl8KY80C28z1mRdXcDBT'\r\n```\r\n\r\n- Response ( given that stripe connector is created )\r\n```json\r\n{\r\n \"payment_methods_enabled\": [\r\n {\r\n \"payment_method_type\": \"card_redirect\",\r\n \"payment_method_subtype\": \"card_redirect\",\r\n \"required_fields\": []\r\n },\r\n {\r\n \"payment_method_type\": \"card\",\r\n \"payment_method_subtype\": \"credit\",\r\n \"required_fields\": [\r\n {\r\n \"required_field\": \"payment_method_data.card.card_number\",\r\n \"display_name\": \"card_number\",\r\n \"field_type\": \"user_card_number\",\r\n \"value\": null\r\n },\r\n {\r\n \"required_field\": \"payment_method_data.card.card_exp_year\",\r\n \"display_name\": \"card_exp_year\",\r\n \"field_type\": \"user_card_expiry_year\",\r\n \"value\": null\r\n },\r\n {\r\n \"required_field\": \"payment_method_data.card.card_cvc\",\r\n \"display_name\": \"card_cvc\",\r\n \"field_type\": \"user_card_cvc\",\r\n \"value\": null\r\n },\r\n {\r\n \"required_field\": \"payment_method_data.card.card_exp_month\",\r\n \"display_name\": \"card_exp_month\",\r\n \"field_type\": \"user_card_expiry_month\",\r\n \"value\": null\r\n }\r\n ]\r\n },\r\n {\r\n \"payment_method_type\": \"card\",\r\n \"payment_method_subtype\": \"debit\",\r\n \"required_fields\": []\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",
|
| 5 |
+
"author": "Narayanbhat166",
|
| 6 |
+
"created_at": "2024-12-25T10:24:27+00:00",
|
| 7 |
+
"merged_at": "2025-01-13T10:05:07+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-api-contract-changes",
|
| 11 |
+
"api-v2"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6938",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "70cb8a1b712516b5b6a0490277ab2f7feab213ea",
|
| 17 |
+
"message": "chore: add comments with improvements to be made in merchant payment methods list",
|
| 18 |
+
"author": "Sanchith Hegde",
|
| 19 |
+
"date": "2024-12-06T09:43:52+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/70cb8a1b712516b5b6a0490277ab2f7feab213ea"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "947795fe0ec0cc53e44f8230539b025851869d5f",
|
| 24 |
+
"message": "Merge branch 'main' into initial-merchant-payment-method-list-v2",
|
| 25 |
+
"author": "Narayan Bhat",
|
| 26 |
+
"date": "2024-12-09T06:26:14+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/947795fe0ec0cc53e44f8230539b025851869d5f"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "3e7833fafd3bb09d92fdfcc7676936d6aa339194",
|
| 31 |
+
"message": "refactor: change payment_methods_enabled column to type for v2",
|
| 32 |
+
"author": "Narayan Bhat",
|
| 33 |
+
"date": "2024-12-10T12:51:17+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3e7833fafd3bb09d92fdfcc7676936d6aa339194"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "560d3f638260c052037b2619a819dda270c608cf",
|
| 38 |
+
"message": "feat(payments_v2): implement payment methods list for v2",
|
| 39 |
+
"author": "Narayan Bhat",
|
| 40 |
+
"date": "2024-12-10T19:09:47+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/560d3f638260c052037b2619a819dda270c608cf"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "09acb50340f98806b396ba8e608fbf5cafb1c277",
|
| 45 |
+
"message": "feat(payments_v2): add customers_payment_methods in pm list",
|
| 46 |
+
"author": "Narayan Bhat",
|
| 47 |
+
"date": "2024-12-11T06:34:59+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/09acb50340f98806b396ba8e608fbf5cafb1c277"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "940e2c11afe6f76e537ffbf5e187c22921c14121",
|
| 52 |
+
"message": "feat(payments_v2): add list_payment_methods to openapi",
|
| 53 |
+
"author": "Narayan Bhat",
|
| 54 |
+
"date": "2024-12-11T10:39:19+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/940e2c11afe6f76e537ffbf5e187c22921c14121"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"sha": "19ae04f0a2f15001189da649ae3b2b8e45aef3d0",
|
| 59 |
+
"message": "feat(payments_v2): add list_payment_methods to openapi",
|
| 60 |
+
"author": "Narayan Bhat",
|
| 61 |
+
"date": "2024-12-11T10:41:31+00:00",
|
| 62 |
+
"url": "https://github.com/juspay/hyperswitch/commit/19ae04f0a2f15001189da649ae3b2b8e45aef3d0"
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"sha": "f8956082f0cea16423e068c552cd679ecef5635f",
|
| 66 |
+
"message": "chore: run formatter",
|
| 67 |
+
"author": "hyperswitch-bot[bot]",
|
| 68 |
+
"date": "2024-12-11T11:47:50+00:00",
|
| 69 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f8956082f0cea16423e068c552cd679ecef5635f"
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"sha": "1096cbe500851f7270995fc6379f767d5e9089f6",
|
| 73 |
+
"message": "chore: add doc comments",
|
| 74 |
+
"author": "Narayan Bhat",
|
| 75 |
+
"date": "2024-12-11T15:58:05+00:00",
|
| 76 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1096cbe500851f7270995fc6379f767d5e9089f6"
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"sha": "db9652ef42f83120e2998ecfee504185e1c55f4f",
|
| 80 |
+
"message": "Merge branch 'main' into initial-merchant-payment-method-list-v2",
|
| 81 |
+
"author": "Narayan Bhat",
|
| 82 |
+
"date": "2024-12-11T21:14:41+00:00",
|
| 83 |
+
"url": "https://github.com/juspay/hyperswitch/commit/db9652ef42f83120e2998ecfee504185e1c55f4f"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"sha": "b6ab7d2c942a2e7f77b86fb1f20c91def2ea0462",
|
| 87 |
+
"message": "refactor: address PR comments",
|
| 88 |
+
"author": "Narayan Bhat",
|
| 89 |
+
"date": "2024-12-12T11:48:52+00:00",
|
| 90 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b6ab7d2c942a2e7f77b86fb1f20c91def2ea0462"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"sha": "6a2c2c18ef65615d859f1afe88d978b7080f5443",
|
| 94 |
+
"message": "Revert \"chore: add comments with improvements to be made in merchant payment methods list\"\n\nThis reverts commit 70cb8a1b712516b5b6a0490277ab2f7feab213ea.",
|
| 95 |
+
"author": "Narayan Bhat",
|
| 96 |
+
"date": "2024-12-12T11:49:02+00:00",
|
| 97 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6a2c2c18ef65615d859f1afe88d978b7080f5443"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"sha": "fac85212489396c77c231dbb785826cc8c667bf2",
|
| 101 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 102 |
+
"author": "hyperswitch-bot[bot]",
|
| 103 |
+
"date": "2024-12-12T11:52:29+00:00",
|
| 104 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fac85212489396c77c231dbb785826cc8c667bf2"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"sha": "65f811371bbcb40153ffb03c18f1e4dbd717e2c0",
|
| 108 |
+
"message": "chore: cargo clippy",
|
| 109 |
+
"author": "Narayan Bhat",
|
| 110 |
+
"date": "2024-12-12T13:31:02+00:00",
|
| 111 |
+
"url": "https://github.com/juspay/hyperswitch/commit/65f811371bbcb40153ffb03c18f1e4dbd717e2c0"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"sha": "2b5216ec2ed6047b0e66215c9f6cc95b6449619f",
|
| 115 |
+
"message": "Merge branch 'main' into initial-merchant-payment-method-list-v2",
|
| 116 |
+
"author": "Narayan Bhat",
|
| 117 |
+
"date": "2024-12-12T13:35:45+00:00",
|
| 118 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2b5216ec2ed6047b0e66215c9f6cc95b6449619f"
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"sha": "593df4db2473fd14fb8c242b8315f6b8c9d47c63",
|
| 122 |
+
"message": "chore: rename fields",
|
| 123 |
+
"author": "Narayan Bhat",
|
| 124 |
+
"date": "2024-12-16T06:16:55+00:00",
|
| 125 |
+
"url": "https://github.com/juspay/hyperswitch/commit/593df4db2473fd14fb8c242b8315f6b8c9d47c63"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"sha": "fbcf8aa1a856b5c6a514c0de5fc905e7bc7b000b",
|
| 129 |
+
"message": "Merge branch 'main' into initial-merchant-payment-method-list-v2",
|
| 130 |
+
"author": "Narayan Bhat",
|
| 131 |
+
"date": "2024-12-16T06:42:59+00:00",
|
| 132 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fbcf8aa1a856b5c6a514c0de5fc905e7bc7b000b"
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"sha": "6938d61ef9338b6ddc773d597fbec588a09a36d8",
|
| 136 |
+
"message": "chore: rename fields",
|
| 137 |
+
"author": "Narayan Bhat",
|
| 138 |
+
"date": "2024-12-16T09:53:26+00:00",
|
| 139 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6938d61ef9338b6ddc773d597fbec588a09a36d8"
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"sha": "5d510922ed114d2a0b8e38c5439328bc35d50f16",
|
| 143 |
+
"message": "chore: cargo clippy",
|
| 144 |
+
"author": "Narayanbhat166",
|
| 145 |
+
"date": "2024-12-17T10:37:00+00:00",
|
| 146 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5d510922ed114d2a0b8e38c5439328bc35d50f16"
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"sha": "c92ced0e8e48f5f63dceae8294d1600f6403dc81",
|
| 150 |
+
"message": "chore: fix openapi",
|
| 151 |
+
"author": "Narayanbhat166",
|
| 152 |
+
"date": "2024-12-17T13:06:38+00:00",
|
| 153 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c92ced0e8e48f5f63dceae8294d1600f6403dc81"
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"sha": "28bf4ba0af9749a1bd8ce45bdb03617a2a69a0cc",
|
| 157 |
+
"message": "Merge branch 'main' into initial-merchant-payment-method-list-v2",
|
| 158 |
+
"author": "Narayanbhat166",
|
| 159 |
+
"date": "2024-12-17T13:29:12+00:00",
|
| 160 |
+
"url": "https://github.com/juspay/hyperswitch/commit/28bf4ba0af9749a1bd8ce45bdb03617a2a69a0cc"
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"sha": "a6f1da5084820e70b9f1240810ff07753a6cd2ce",
|
| 164 |
+
"message": "chore: add .vscode/settings to gitignore",
|
| 165 |
+
"author": "Narayanbhat166",
|
| 166 |
+
"date": "2024-12-18T10:22:49+00:00",
|
| 167 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a6f1da5084820e70b9f1240810ff07753a6cd2ce"
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"sha": "c3dd71d9a2e8fd779ed0b1d1c43d5f960e8f87e7",
|
| 171 |
+
"message": "refactor: move payment methods type to common_types",
|
| 172 |
+
"author": "Narayanbhat166",
|
| 173 |
+
"date": "2024-12-18T10:24:27+00:00",
|
| 174 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c3dd71d9a2e8fd779ed0b1d1c43d5f960e8f87e7"
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"sha": "32122adf1728ded393c47afabad87ce3ac18e26b",
|
| 178 |
+
"message": "chore: run formatter",
|
| 179 |
+
"author": "hyperswitch-bot[bot]",
|
| 180 |
+
"date": "2024-12-18T10:30:55+00:00",
|
| 181 |
+
"url": "https://github.com/juspay/hyperswitch/commit/32122adf1728ded393c47afabad87ce3ac18e26b"
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"sha": "31360f94c5f6af71ac3cefa106abb325c32a0ca7",
|
| 185 |
+
"message": "Merge branch 'main' into initial-merchant-payment-method-list-v2",
|
| 186 |
+
"author": "Narayanbhat166",
|
| 187 |
+
"date": "2024-12-18T10:50:46+00:00",
|
| 188 |
+
"url": "https://github.com/juspay/hyperswitch/commit/31360f94c5f6af71ac3cefa106abb325c32a0ca7"
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"sha": "fc2453c89613ed9902aa7d77d89566bce4c977f5",
|
| 192 |
+
"message": "chore: cargo clippy_v2",
|
| 193 |
+
"author": "Narayanbhat166",
|
| 194 |
+
"date": "2024-12-19T07:28:50+00:00",
|
| 195 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fc2453c89613ed9902aa7d77d89566bce4c977f5"
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"sha": "60a82e2a5a70b90ba6c7f1cc00c19dd3ca6bcd7d",
|
| 199 |
+
"message": "chore: fix openapi",
|
| 200 |
+
"author": "Narayanbhat166",
|
| 201 |
+
"date": "2024-12-19T07:44:31+00:00",
|
| 202 |
+
"url": "https://github.com/juspay/hyperswitch/commit/60a82e2a5a70b90ba6c7f1cc00c19dd3ca6bcd7d"
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"sha": "7618c9d5623b486f08633fcf94d5597d87f0b33e",
|
| 206 |
+
"message": "chore: cargo clippy_v2",
|
| 207 |
+
"author": "Narayanbhat166",
|
| 208 |
+
"date": "2024-12-19T08:16:21+00:00",
|
| 209 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7618c9d5623b486f08633fcf94d5597d87f0b33e"
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"sha": "a801fed85aac4df11d77c738afec6bedc8e56849",
|
| 213 |
+
"message": "chore: add extra information enum and make customer_payment_methods as optional",
|
| 214 |
+
"author": "Narayanbhat166",
|
| 215 |
+
"date": "2024-12-20T09:35:08+00:00",
|
| 216 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a801fed85aac4df11d77c738afec6bedc8e56849"
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"sha": "79c2a5bb027bbd5a2f1f0e3dc0a849ad4c888be3",
|
| 220 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 221 |
+
"author": "hyperswitch-bot[bot]",
|
| 222 |
+
"date": "2024-12-20T09:38:17+00:00",
|
| 223 |
+
"url": "https://github.com/juspay/hyperswitch/commit/79c2a5bb027bbd5a2f1f0e3dc0a849ad4c888be3"
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"sha": "4acd9e08387e520b170e18652dc8c62b74406422",
|
| 227 |
+
"message": "chore: add serde flatten",
|
| 228 |
+
"author": "Narayan Bhat",
|
| 229 |
+
"date": "2024-12-20T12:36:14+00:00",
|
| 230 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4acd9e08387e520b170e18652dc8c62b74406422"
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"sha": "a4c5b93c3eaae598713e5efa9f77fd33eac9c9a7",
|
| 234 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 235 |
+
"author": "hyperswitch-bot[bot]",
|
| 236 |
+
"date": "2024-12-20T12:39:03+00:00",
|
| 237 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a4c5b93c3eaae598713e5efa9f77fd33eac9c9a7"
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"sha": "d58841d398466852f7f83156825d3a27f5deb69d",
|
| 241 |
+
"message": "chore: change route to use kebab-case",
|
| 242 |
+
"author": "Narayan Bhat",
|
| 243 |
+
"date": "2024-12-20T13:33:28+00:00",
|
| 244 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d58841d398466852f7f83156825d3a27f5deb69d"
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"sha": "5025e6461e0d95ed22ca8644847a878ccd1dc006",
|
| 248 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 249 |
+
"author": "hyperswitch-bot[bot]",
|
| 250 |
+
"date": "2024-12-20T13:36:58+00:00",
|
| 251 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5025e6461e0d95ed22ca8644847a878ccd1dc006"
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"sha": "51ad828432598056e30cd7ee31d670ee7471446f",
|
| 255 |
+
"message": "refactor: fix openapi",
|
| 256 |
+
"author": "Narayan Bhat",
|
| 257 |
+
"date": "2024-12-20T14:00:30+00:00",
|
| 258 |
+
"url": "https://github.com/juspay/hyperswitch/commit/51ad828432598056e30cd7ee31d670ee7471446f"
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"sha": "40146e5d664e12fffdd31bcbf6170018056e4672",
|
| 262 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 263 |
+
"author": "hyperswitch-bot[bot]",
|
| 264 |
+
"date": "2024-12-20T14:03:37+00:00",
|
| 265 |
+
"url": "https://github.com/juspay/hyperswitch/commit/40146e5d664e12fffdd31bcbf6170018056e4672"
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"sha": "ac8074d1b66f05fe78ea879a852c36b49bbd44f2",
|
| 269 |
+
"message": "fix: openapi_v2",
|
| 270 |
+
"author": "Narayan Bhat",
|
| 271 |
+
"date": "2024-12-20T15:18:27+00:00",
|
| 272 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ac8074d1b66f05fe78ea879a852c36b49bbd44f2"
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"sha": "d1869041f7798ca51682d93091c681619b11da64",
|
| 276 |
+
"message": "Merge branch 'main' into initial-merchant-payment-method-list-v2",
|
| 277 |
+
"author": "Narayan Bhat",
|
| 278 |
+
"date": "2024-12-20T17:18:20+00:00",
|
| 279 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d1869041f7798ca51682d93091c681619b11da64"
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"sha": "7ae9fb442247216f445cb58b07856d1deafd6006",
|
| 283 |
+
"message": "chore: cargo clippy_v2",
|
| 284 |
+
"author": "Narayan Bhat",
|
| 285 |
+
"date": "2024-12-20T17:20:17+00:00",
|
| 286 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7ae9fb442247216f445cb58b07856d1deafd6006"
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"sha": "5bc9c590b1041bb0162b64c4c150a530825dbb7a",
|
| 290 |
+
"message": "chore: merge fixes",
|
| 291 |
+
"author": "Narayan Bhat",
|
| 292 |
+
"date": "2024-12-21T15:26:27+00:00",
|
| 293 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5bc9c590b1041bb0162b64c4c150a530825dbb7a"
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"sha": "eaff74ebbbd68cbdfa693630e38cf46924a07755",
|
| 297 |
+
"message": "chore: remove specific imports",
|
| 298 |
+
"author": "Narayanbhat166",
|
| 299 |
+
"date": "2024-12-23T11:00:04+00:00",
|
| 300 |
+
"url": "https://github.com/juspay/hyperswitch/commit/eaff74ebbbd68cbdfa693630e38cf46924a07755"
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"sha": "b10edf9a4710b84c391ce6372025de2308882eb8",
|
| 304 |
+
"message": "Merge branch 'main' into payment_methods_list_for_payment_methods",
|
| 305 |
+
"author": "Narayanbhat166",
|
| 306 |
+
"date": "2024-12-23T11:38:32+00:00",
|
| 307 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b10edf9a4710b84c391ce6372025de2308882eb8"
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"sha": "ea72debccb79baf873ed658b64a900c9f6c11c6f",
|
| 311 |
+
"message": "chore: remove redundant code because of merge conflicts",
|
| 312 |
+
"author": "Narayanbhat166",
|
| 313 |
+
"date": "2024-12-23T13:16:41+00:00",
|
| 314 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ea72debccb79baf873ed658b64a900c9f6c11c6f"
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"sha": "c4b9b726cb1295dd8e5403a980fd437f95530af4",
|
| 318 |
+
"message": "refactor: add locker config",
|
| 319 |
+
"author": "Narayan Bhat",
|
| 320 |
+
"date": "2024-12-24T13:25:23+00:00",
|
| 321 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c4b9b726cb1295dd8e5403a980fd437f95530af4"
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"sha": "c90cc048eab292e12822c2f9507ddd0fe432bcd3",
|
| 325 |
+
"message": "Merge branch 'main' into payment_methods_list_for_payment_methods",
|
| 326 |
+
"author": "Narayan Bhat",
|
| 327 |
+
"date": "2024-12-24T13:25:26+00:00",
|
| 328 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c90cc048eab292e12822c2f9507ddd0fe432bcd3"
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"sha": "4f31d6ad6c2699fe535e0df0ef118d0da82bd16e",
|
| 332 |
+
"message": "feat(payment_methods): add payment methods list",
|
| 333 |
+
"author": "Narayan Bhat",
|
| 334 |
+
"date": "2024-12-25T10:04:46+00:00",
|
| 335 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4f31d6ad6c2699fe535e0df0ef118d0da82bd16e"
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"sha": "22ae53ec2b3102430ff0738be485da98034ebdd8",
|
| 339 |
+
"message": "Merge branch 'main' into payment_methods_list_for_payment_methods",
|
| 340 |
+
"author": "Narayan Bhat",
|
| 341 |
+
"date": "2024-12-25T10:05:54+00:00",
|
| 342 |
+
"url": "https://github.com/juspay/hyperswitch/commit/22ae53ec2b3102430ff0738be485da98034ebdd8"
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"sha": "89f90c6a4f8019c42d981fdc32b4e9867c8b3af2",
|
| 346 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 347 |
+
"author": "hyperswitch-bot[bot]",
|
| 348 |
+
"date": "2024-12-25T10:27:11+00:00",
|
| 349 |
+
"url": "https://github.com/juspay/hyperswitch/commit/89f90c6a4f8019c42d981fdc32b4e9867c8b3af2"
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"sha": "289b0e5418c54fe6e9ea6c5a03facfe6569dd618",
|
| 353 |
+
"message": "feat: add openapi endpoints for payment methods list",
|
| 354 |
+
"author": "Narayan Bhat",
|
| 355 |
+
"date": "2024-12-25T11:41:38+00:00",
|
| 356 |
+
"url": "https://github.com/juspay/hyperswitch/commit/289b0e5418c54fe6e9ea6c5a03facfe6569dd618"
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"sha": "3105443bfeaaff1bd37bb6e3f4736367820c65dd",
|
| 360 |
+
"message": "chore: address PR comments",
|
| 361 |
+
"author": "Narayan Bhat",
|
| 362 |
+
"date": "2025-01-02T09:58:40+00:00",
|
| 363 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3105443bfeaaff1bd37bb6e3f4736367820c65dd"
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"sha": "96b4d958f7f8918736b5a5b679fd1b21c5a469da",
|
| 367 |
+
"message": "fix: openapi",
|
| 368 |
+
"author": "Narayan Bhat",
|
| 369 |
+
"date": "2025-01-02T11:34:08+00:00",
|
| 370 |
+
"url": "https://github.com/juspay/hyperswitch/commit/96b4d958f7f8918736b5a5b679fd1b21c5a469da"
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"sha": "4684a97c4e932e9cd4431bbad532bed98b6b8ac5",
|
| 374 |
+
"message": "feat: add required fields support for payment methods",
|
| 375 |
+
"author": "Narayan Bhat",
|
| 376 |
+
"date": "2025-01-03T09:36:35+00:00",
|
| 377 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4684a97c4e932e9cd4431bbad532bed98b6b8ac5"
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"sha": "7362fb3c0bf57d84a95f6417b0890e2121e3e521",
|
| 381 |
+
"message": "chore: run formatter",
|
| 382 |
+
"author": "hyperswitch-bot[bot]",
|
| 383 |
+
"date": "2025-01-03T09:37:43+00:00",
|
| 384 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7362fb3c0bf57d84a95f6417b0890e2121e3e521"
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"sha": "d5b694291f594391917c3f6df2a2bee384899873",
|
| 388 |
+
"message": "chore: cargo clippy",
|
| 389 |
+
"author": "Narayan Bhat",
|
| 390 |
+
"date": "2025-01-03T11:57:35+00:00",
|
| 391 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d5b694291f594391917c3f6df2a2bee384899873"
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"sha": "d538cc1815f791fd70d28118d30375ff6e75a43e",
|
| 395 |
+
"message": "refactor: add the required fields config only for v2",
|
| 396 |
+
"author": "Narayan Bhat",
|
| 397 |
+
"date": "2025-01-03T16:46:38+00:00",
|
| 398 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d538cc1815f791fd70d28118d30375ff6e75a43e"
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"sha": "1f20a9577ccdbe794faa498c8b250f7f6ad05703",
|
| 402 |
+
"message": "fix: openapi v2",
|
| 403 |
+
"author": "Narayan Bhat",
|
| 404 |
+
"date": "2025-01-03T18:02:51+00:00",
|
| 405 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1f20a9577ccdbe794faa498c8b250f7f6ad05703"
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"sha": "64808eb5c88430d8f4586be3a6d5ed9df66b398b",
|
| 409 |
+
"message": "fix: openapi v2",
|
| 410 |
+
"author": "Narayan Bhat",
|
| 411 |
+
"date": "2025-01-03T18:27:49+00:00",
|
| 412 |
+
"url": "https://github.com/juspay/hyperswitch/commit/64808eb5c88430d8f4586be3a6d5ed9df66b398b"
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"sha": "1ce18db0b562f51dd18321a2537c196afc011aea",
|
| 416 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 417 |
+
"author": "hyperswitch-bot[bot]",
|
| 418 |
+
"date": "2025-01-03T18:30:49+00:00",
|
| 419 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1ce18db0b562f51dd18321a2537c196afc011aea"
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"sha": "bdfdeeb4797447fd2990a7eec57528fccec777ad",
|
| 423 |
+
"message": "chore: cargo clippy",
|
| 424 |
+
"author": "Narayan Bhat",
|
| 425 |
+
"date": "2025-01-03T20:38:49+00:00",
|
| 426 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bdfdeeb4797447fd2990a7eec57528fccec777ad"
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"sha": "68c93c4bb301888207df299c758a4d364a39de9f",
|
| 430 |
+
"message": "chore: revert config changes",
|
| 431 |
+
"author": "Narayan Bhat",
|
| 432 |
+
"date": "2025-01-04T04:05:22+00:00",
|
| 433 |
+
"url": "https://github.com/juspay/hyperswitch/commit/68c93c4bb301888207df299c758a4d364a39de9f"
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"sha": "2c3828d7ca5a3fd803d34bdbdabbaab1645f010a",
|
| 437 |
+
"message": "chore: cargo clippy",
|
| 438 |
+
"author": "Narayan Bhat",
|
| 439 |
+
"date": "2025-01-06T07:36:17+00:00",
|
| 440 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2c3828d7ca5a3fd803d34bdbdabbaab1645f010a"
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"sha": "b02524c1c0cd9394583fec2ec56de5697e75f5e3",
|
| 444 |
+
"message": "refactor: remove customer payment methods from payment methods",
|
| 445 |
+
"author": "Narayan Bhat",
|
| 446 |
+
"date": "2025-01-06T11:16:55+00:00",
|
| 447 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b02524c1c0cd9394583fec2ec56de5697e75f5e3"
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"sha": "0bac917da0a5cee4b01a735c7a723eb1d54e6398",
|
| 451 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 452 |
+
"author": "hyperswitch-bot[bot]",
|
| 453 |
+
"date": "2025-01-06T11:19:44+00:00",
|
| 454 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0bac917da0a5cee4b01a735c7a723eb1d54e6398"
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"sha": "4b05c972904c1a82f898a8e35a14c1372e7b1321",
|
| 458 |
+
"message": "refactor: remove hardcoding required fields config",
|
| 459 |
+
"author": "Narayan Bhat",
|
| 460 |
+
"date": "2025-01-06T14:01:19+00:00",
|
| 461 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4b05c972904c1a82f898a8e35a14c1372e7b1321"
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"sha": "34c07123844372ae47334db3137484e4fbcde98c",
|
| 465 |
+
"message": "Merge branch 'main' into payment_methods_list_for_payment_methods",
|
| 466 |
+
"author": "Narayan Bhat",
|
| 467 |
+
"date": "2025-01-07T07:58:59+00:00",
|
| 468 |
+
"url": "https://github.com/juspay/hyperswitch/commit/34c07123844372ae47334db3137484e4fbcde98c"
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"sha": "3379758459e4b14c2a5b5deebc37f4b70935162d",
|
| 472 |
+
"message": "chore: merge fixes",
|
| 473 |
+
"author": "Narayan Bhat",
|
| 474 |
+
"date": "2025-01-07T08:19:38+00:00",
|
| 475 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3379758459e4b14c2a5b5deebc37f4b70935162d"
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"sha": "af28c4487806f46c96ea77dfc2d9f247bdb42c5a",
|
| 479 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 480 |
+
"author": "hyperswitch-bot[bot]",
|
| 481 |
+
"date": "2025-01-07T08:22:31+00:00",
|
| 482 |
+
"url": "https://github.com/juspay/hyperswitch/commit/af28c4487806f46c96ea77dfc2d9f247bdb42c5a"
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"sha": "de3ee96375035116525cc0d27749949924358411",
|
| 486 |
+
"message": "chore: address PR comments",
|
| 487 |
+
"author": "Narayan Bhat",
|
| 488 |
+
"date": "2025-01-08T07:24:27+00:00",
|
| 489 |
+
"url": "https://github.com/juspay/hyperswitch/commit/de3ee96375035116525cc0d27749949924358411"
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"sha": "2901eaf02a06d623fbd009293864733249ec609c",
|
| 493 |
+
"message": "chore: remove toml dependency",
|
| 494 |
+
"author": "Narayan Bhat",
|
| 495 |
+
"date": "2025-01-08T10:30:12+00:00",
|
| 496 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2901eaf02a06d623fbd009293864733249ec609c"
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"sha": "c5755cc7376f3cdb1f58179b7ed40f1d146e0e63",
|
| 500 |
+
"message": "chore: move the struct to appropriate place",
|
| 501 |
+
"author": "Narayan Bhat",
|
| 502 |
+
"date": "2025-01-09T13:51:36+00:00",
|
| 503 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c5755cc7376f3cdb1f58179b7ed40f1d146e0e63"
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"sha": "4bfd11ada4e1fad477864cfcb959268ec6c4c8df",
|
| 507 |
+
"message": "chore: run formatter",
|
| 508 |
+
"author": "hyperswitch-bot[bot]",
|
| 509 |
+
"date": "2025-01-09T13:52:29+00:00",
|
| 510 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4bfd11ada4e1fad477864cfcb959268ec6c4c8df"
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"sha": "ad6a2214203ca9a1535cb74e4f0912290bdf32c3",
|
| 514 |
+
"message": "refactor: change list_payment_methods to list_enabled_payment_methods",
|
| 515 |
+
"author": "Narayan Bhat",
|
| 516 |
+
"date": "2025-01-09T14:58:30+00:00",
|
| 517 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ad6a2214203ca9a1535cb74e4f0912290bdf32c3"
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"sha": "f3cf1f92c244916b31a2040b0b6bcd7d5740a374",
|
| 521 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 522 |
+
"author": "hyperswitch-bot[bot]",
|
| 523 |
+
"date": "2025-01-09T15:01:31+00:00",
|
| 524 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f3cf1f92c244916b31a2040b0b6bcd7d5740a374"
|
| 525 |
+
}
|
| 526 |
+
]
|
| 527 |
+
}
|
prs/pr_6966.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6966,
|
| 3 |
+
"title": "feat(connector): [Xendit] ADD Cards & Mandates Flow ",
|
| 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\nAdded Xendit Cards & Mandates 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- [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\n\r\n## How did you test it?\r\n<img width=\"744\" alt=\"Screenshot 2025-01-09 at 1 17 47 PM\" src=\"https://github.com/user-attachments/assets/43daa6e8-1033-470a-9ae0-737816240c70\" />\r\n<img width=\"746\" alt=\"Screenshot 2025-01-09 at 1 20 37 PM\" src=\"https://github.com/user-attachments/assets/c0b791be-2542-4615-bab5-a60adf9e0703\" />\r\n<img width=\"853\" alt=\"Screenshot 2025-01-09 at 1 20 58 PM\" src=\"https://github.com/user-attachments/assets/3ac69984-3bb2-4997-b8b6-02445416ab28\" />\r\n<img width=\"901\" alt=\"Screenshot 2025-01-09 at 1 21 10 PM\" src=\"https://github.com/user-attachments/assets/3d30e7fd-bf8c-432f-abdf-f184e0b2731d\" />\r\n\r\n**Three-DS ** \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_tq4ULEe1sBlAVdBP2vInkkBCLMBBPimfl5cfsGZKq19Apf2XxUxxJYfYQ0iDTvkb' \\\r\n--data-raw '{\r\n \"amount\": 651200,\r\n \"currency\": \"IDR\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"customer_id\": \"First_Customer\",\r\n \"name\": \"John Doe\",\r\n \"authentication_type\": \"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\": \"4000000000001091\",\r\n \"card_exp_month\": \"12\",\r\n \"card_exp_year\": \"27\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"card_cvc\": \"124\"\r\n }\r\n },\r\n \"billing\": {\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\nResponse\r\n{\r\n \"payment_id\": \"pay_J396NwTCTnQR6aNN06cj\",\r\n \"merchant_id\": \"merchant_1736237814\",\r\n \"status\": \"requires_customer_action\",\r\n \"amount\": 651200,\r\n \"net_amount\": 651200,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 651200,\r\n \"amount_received\": null,\r\n \"connector\": \"xendit\",\r\n \"client_secret\": \"pay_J396NwTCTnQR6aNN06cj_secret_D8MZIqPS0np9YOmdaY1k\",\r\n \"created\": \"2025-01-09T08:02:30.946Z\",\r\n \"currency\": \"IDR\",\r\n \"customer_id\": \"First_Customer\",\r\n \"customer\": {\r\n \"id\": \"First_Customer\",\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\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"last4\": \"1091\",\r\n \"card_type\": \"CREDIT\",\r\n \"card_network\": \"Visa\",\r\n \"card_issuer\": \"INTL HDQTRS-CENTER OWNED\",\r\n \"card_issuing_country\": \"UNITEDSTATES\",\r\n \"card_isin\": \"400000\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"12\",\r\n \"card_exp_year\": \"27\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"payment_checks\": null,\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\": {\r\n \"address\": null,\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\": \"guest@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_J396NwTCTnQR6aNN06cj/merchant_1736237814/pay_J396NwTCTnQR6aNN06cj_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\": \"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\": \"First_Customer\",\r\n \"created_at\": 1736409750,\r\n \"expires\": 1736413350,\r\n \"secret\": \"epk_2775a6f3843b44088dfd343772ec8f90\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"pr-68380c6c-fa9c-4f70-8f90-b3435d13294c\",\r\n \"frm_message\": null,\r\n \"metadata\": null,\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"32864b78-b0e6-404f-91d5-3499ca43d437\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_LHUMEFyJkdZ8ZpRYaPlO\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_Z3QCs07PIgZl44iBlKr7\",\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-09T08:17:30.946Z\",\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-09T08:02:32.018Z\",\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**Redirection Response**\r\n<img width=\"676\" alt=\"Screenshot 2025-01-09 at 1 33 00 PM\" src=\"https://github.com/user-attachments/assets/e47e637a-3122-4f7a-b6a2-ab2c47bf5496\" />\r\n<img width=\"1044\" alt=\"Screenshot 2025-01-09 at 1 34 03 PM\" src=\"https://github.com/user-attachments/assets/04c66815-f696-4f6f-86e8-de4513b2aa4e\" />\r\n\r\n**Mandates 3DS**\r\n```\r\nRequest: CIT\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_tq4ULEe1sBlAVdBP2vInkkBCLMBBPimfl5cfsGZKq19Apf2XxUxxJYfYQ0iDTvkb' \\\r\n--data-raw '{\r\n \"amount\": 651200,\r\n \"currency\": \"IDR\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"customer_id\": \"First_Customer\",\r\n \"authentication_type\": \"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\": \"4000000000001091\",\r\n \"card_exp_month\": \"12\",\r\n \"card_exp_year\": \"27\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"card_cvc\": \"124\"\r\n }\r\n },\r\n \"billing\": {\r\n \"phone\": {\r\n \"number\": \"8056594427\",\r\n \"country_code\": \"+91\"\r\n },\r\n \"email\": \"guest@example.com\"\r\n },\r\n \"setup_future_usage\": \"off_session\",\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}'\r\nResponse\r\n{\r\n \"payment_id\": \"pay_mFnbSGcR9kGihTbbZlk1\",\r\n \"merchant_id\": \"merchant_1736237814\",\r\n \"status\": \"requires_customer_action\",\r\n \"amount\": 651200,\r\n \"net_amount\": 651200,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 651200,\r\n \"amount_received\": null,\r\n \"connector\": \"xendit\",\r\n \"client_secret\": \"pay_mFnbSGcR9kGihTbbZlk1_secret_WcRx43ISAJxiWd36FYwi\",\r\n \"created\": \"2025-01-09T08:05:08.408Z\",\r\n \"currency\": \"IDR\",\r\n \"customer_id\": \"First_Customer\",\r\n \"customer\": {\r\n \"id\": \"First_Customer\",\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\": \"1091\",\r\n \"card_type\": \"CREDIT\",\r\n \"card_network\": \"Visa\",\r\n \"card_issuer\": \"INTL HDQTRS-CENTER OWNED\",\r\n \"card_issuing_country\": \"UNITEDSTATES\",\r\n \"card_isin\": \"400000\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"12\",\r\n \"card_exp_year\": \"27\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"payment_checks\": null,\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\": {\r\n \"address\": null,\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\": \"guest@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_mFnbSGcR9kGihTbbZlk1/merchant_1736237814/pay_mFnbSGcR9kGihTbbZlk1_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\": \"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\": \"First_Customer\",\r\n \"created_at\": 1736409908,\r\n \"expires\": 1736413508,\r\n \"secret\": \"epk_6c04b0ae18fb45c6947cb8debbd8ffb3\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"pr-daa78a5d-9c69-4d92-8333-ec358739018c\",\r\n \"frm_message\": null,\r\n \"metadata\": null,\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"6e6cb3b5-00cd-43ff-8162-26cd4cbd96f8\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_LHUMEFyJkdZ8ZpRYaPlO\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_Z3QCs07PIgZl44iBlKr7\",\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-09T08:20:08.408Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": null,\r\n \"payment_method_id\": \"pm_pC8guSouUhlruaVUnMeQ\",\r\n \"payment_method_status\": \"inactive\",\r\n \"updated\": \"2025-01-09T08:05:09.242Z\",\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-8c1b96d1-6dbf-40f1-bf7f-02fb85b50275\"\r\n}\r\n**Sync Response**\r\n\r\n<img width=\"1064\" alt=\"Screenshot 2025-01-09 at 1 37 00 PM\" src=\"https://github.com/user-attachments/assets/012f527a-bef7-4886-b752-a4779a95744f\" />\r\n\r\n```\r\n**MIT-Payments**\r\n```\r\nRequest:\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_tq4ULEe1sBlAVdBP2vInkkBCLMBBPimfl5cfsGZKq19Apf2XxUxxJYfYQ0iDTvkb' \\\r\n--data-raw '{\r\n \"amount\": 6500000,\r\n \"currency\": \"IDR\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"customer_id\": \"First_Customer\",\r\n \"email\": \"guest@example.com\",\r\n \"off_session\": true,\r\n \"recurring_details\": {\r\n \"type\": \"payment_method_id\",\r\n \"data\": \"pm_pC8guSouUhlruaVUnMeQ\"\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\nResponse\r\n{\r\n \"payment_id\": \"pay_jQ9tMQek9zg1LULe6iGe\",\r\n \"merchant_id\": \"merchant_1736237814\",\r\n \"status\": \"processing\",\r\n \"amount\": 6500000,\r\n \"net_amount\": 6500000,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": null,\r\n \"connector\": \"xendit\",\r\n \"client_secret\": \"pay_jQ9tMQek9zg1LULe6iGe_secret_kDteLBW9dmMfCUaPJvoz\",\r\n \"created\": \"2025-01-09T08:08:57.890Z\",\r\n \"currency\": \"IDR\",\r\n \"customer_id\": \"First_Customer\",\r\n \"customer\": {\r\n \"id\": \"First_Customer\",\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\": 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\": \"1091\",\r\n \"card_type\": \"CREDIT\",\r\n \"card_network\": \"Visa\",\r\n \"card_issuer\": \"INTL HDQTRS-CENTER OWNED\",\r\n \"card_issuing_country\": \"UNITEDSTATES\",\r\n \"card_isin\": \"400000\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"12\",\r\n \"card_exp_year\": \"27\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"payment_checks\": null,\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\": {\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\": \"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\": \"First_Customer\",\r\n \"created_at\": 1736410137,\r\n \"expires\": 1736413737,\r\n \"secret\": \"epk_75908c6e3a9843e7bd685f32058cd10e\"\r\n },\r\n \"manual_retry_allowed\": false,\r\n \"connector_transaction_id\": \"pr-ca0126e8-03de-424d-a3db-02a55c9d93c8\",\r\n \"frm_message\": null,\r\n \"metadata\": null,\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"2c7ed899-7b29-4a4b-92e7-06a3d647c394\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_LHUMEFyJkdZ8ZpRYaPlO\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_Z3QCs07PIgZl44iBlKr7\",\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-09T08:23:57.890Z\",\r\n \"fingerprint\": null,\r\n \"browser_info\": null,\r\n \"payment_method_id\": \"pm_pC8guSouUhlruaVUnMeQ\",\r\n \"payment_method_status\": \"active\",\r\n \"updated\": \"2025-01-09T08:08:58.839Z\",\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-8c1b96d1-6dbf-40f1-bf7f-02fb85b50275\"\r\n}\r\n\r\n```\r\nSync:\r\n\r\n<img width=\"1314\" alt=\"Screenshot 2025-01-13 at 4 32 16 PM\" src=\"https://github.com/user-attachments/assets/e59739c4-ba05-444f-bc61-f3b92e54aa36\" />\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": "2025-01-02T09:04:13+00:00",
|
| 7 |
+
"merged_at": "2025-01-15T10:51:54+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/6966",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "fc571f4f6e5f5dfa4cc25660c8284a7d501e4137",
|
| 17 |
+
"message": "cards-xendit",
|
| 18 |
+
"author": "Malay Awasthi",
|
| 19 |
+
"date": "2025-01-15T06:11:02+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fc571f4f6e5f5dfa4cc25660c8284a7d501e4137"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "520aa20094af5e2b7983be864a62f81e2eee27a4",
|
| 24 |
+
"message": "chore(cypress): run formatter and address lints",
|
| 25 |
+
"author": "hyperswitch-bot[bot]",
|
| 26 |
+
"date": "2025-01-15T06:12:11+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/520aa20094af5e2b7983be864a62f81e2eee27a4"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "6ba22f84e84813cfc5b3e1daf02d5d9acada7f0f",
|
| 31 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 32 |
+
"author": "hyperswitch-bot[bot]",
|
| 33 |
+
"date": "2025-01-15T06:15:08+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6ba22f84e84813cfc5b3e1daf02d5d9acada7f0f"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "0ef40157c9786fc07e1eb4d9fc01656db12b914d",
|
| 38 |
+
"message": "fix/cypress",
|
| 39 |
+
"author": "Malay Awasthi",
|
| 40 |
+
"date": "2025-01-15T07:03:07+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0ef40157c9786fc07e1eb4d9fc01656db12b914d"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "6a0291e0f7f392a5c342743a205681b29918b010",
|
| 45 |
+
"message": "fix/cypress",
|
| 46 |
+
"author": "Malay Awasthi",
|
| 47 |
+
"date": "2025-01-15T07:13:33+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6a0291e0f7f392a5c342743a205681b29918b010"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "7f839c9b937d44b90c77a98258e487667161e130",
|
| 52 |
+
"message": "chore(cypress): run formatter and address lints",
|
| 53 |
+
"author": "hyperswitch-bot[bot]",
|
| 54 |
+
"date": "2025-01-15T07:26:33+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7f839c9b937d44b90c77a98258e487667161e130"
|
| 56 |
+
}
|
| 57 |
+
]
|
| 58 |
+
}
|
prs/pr_6967.json
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6967,
|
| 3 |
+
"title": "chore: fix `toml` format to address wasm build failure",
|
| 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\nAn incorrect TOML format has been added to the ctp_mastercard due to which the wasm build is getting failed.\r\n\r\nAdd development as feature in wasm 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\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": "JeevaRamu0104",
|
| 6 |
+
"created_at": "2025-01-02T09:21:14+00:00",
|
| 7 |
+
"merged_at": "2025-01-28T09:17:26+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-euclid-foc"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6967",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "8a1b1fb41110423d766539750cea37eb2be2df62",
|
| 16 |
+
"message": "Merge branch 'main' of github.com:juspay/hyperswitch",
|
| 17 |
+
"author": "Jeeva Ramachandran",
|
| 18 |
+
"date": "2024-12-18T09:26:05+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8a1b1fb41110423d766539750cea37eb2be2df62"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "c11123fe506176a6df3bf27eb9d3d7fda79bc406",
|
| 23 |
+
"message": "Merge branch 'main' of github.com:juspay/hyperswitch",
|
| 24 |
+
"author": "Jeeva Ramachandran",
|
| 25 |
+
"date": "2024-12-23T11:21:07+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c11123fe506176a6df3bf27eb9d3d7fda79bc406"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "90ae0aaa1d8c4a695e5d5050491244102c4da636",
|
| 30 |
+
"message": "Merge branch 'main' of github.com:juspay/hyperswitch",
|
| 31 |
+
"author": "Jeeva Ramachandran",
|
| 32 |
+
"date": "2024-12-24T06:09:14+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/90ae0aaa1d8c4a695e5d5050491244102c4da636"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "e0426027272d1dbbec558a7abe93abae15b17c11",
|
| 37 |
+
"message": "Merge branch 'main' of github.com:juspay/hyperswitch",
|
| 38 |
+
"author": "Jeeva Ramachandran",
|
| 39 |
+
"date": "2024-12-24T10:00:23+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e0426027272d1dbbec558a7abe93abae15b17c11"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "fe12285a24a1de59c0d9314141703bbdd3a41616",
|
| 44 |
+
"message": "Merge branch 'main' of github.com:juspay/hyperswitch",
|
| 45 |
+
"author": "Jeeva Ramachandran",
|
| 46 |
+
"date": "2025-01-02T07:38:29+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fe12285a24a1de59c0d9314141703bbdd3a41616"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"sha": "56d83e0a63991d07ee26ec7549f96d36c8e26faa",
|
| 51 |
+
"message": "update wasm package",
|
| 52 |
+
"author": "Jeeva Ramachandran",
|
| 53 |
+
"date": "2025-01-02T07:43:51+00:00",
|
| 54 |
+
"url": "https://github.com/juspay/hyperswitch/commit/56d83e0a63991d07ee26ec7549f96d36c8e26faa"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"sha": "0c8147abe6c94eca1911be7b22cf4df3d2df06e2",
|
| 58 |
+
"message": "update wasm package",
|
| 59 |
+
"author": "Jeeva Ramachandran",
|
| 60 |
+
"date": "2025-01-02T10:50:05+00:00",
|
| 61 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0c8147abe6c94eca1911be7b22cf4df3d2df06e2"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"sha": "249536060d40e08e29f24c96b42c967ec5c16b78",
|
| 65 |
+
"message": "Merge branch 'main' into fix-wasm-jenkins-build",
|
| 66 |
+
"author": "Jeeva Ramachandran",
|
| 67 |
+
"date": "2025-01-06T06:11:36+00:00",
|
| 68 |
+
"url": "https://github.com/juspay/hyperswitch/commit/249536060d40e08e29f24c96b42c967ec5c16b78"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"sha": "8e88406fce01b1512511fee60c6fa0fefdaa8a15",
|
| 72 |
+
"message": "update wasm build script",
|
| 73 |
+
"author": "Jeeva Ramachandran",
|
| 74 |
+
"date": "2025-01-06T10:07:40+00:00",
|
| 75 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8e88406fce01b1512511fee60c6fa0fefdaa8a15"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"sha": "d858b9b06ffd75039dd205284874396f2a4b725a",
|
| 79 |
+
"message": "update build script",
|
| 80 |
+
"author": "Jeeva Ramachandran",
|
| 81 |
+
"date": "2025-01-06T10:51:02+00:00",
|
| 82 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d858b9b06ffd75039dd205284874396f2a4b725a"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"sha": "2b4b08fdadba00a027a6f9dd08a8e3014c852bea",
|
| 86 |
+
"message": "Merge branch 'main' into fix-wasm-jenkins-build",
|
| 87 |
+
"author": "Jeeva Ramachandran",
|
| 88 |
+
"date": "2025-01-06T11:42:37+00:00",
|
| 89 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2b4b08fdadba00a027a6f9dd08a8e3014c852bea"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"sha": "385f0bd1766b602f5555e04d3a779b6ab8c31ac4",
|
| 93 |
+
"message": "Merge branch 'main' into fix-wasm-jenkins-build",
|
| 94 |
+
"author": "Jeeva Ramachandran",
|
| 95 |
+
"date": "2025-01-07T07:10:30+00:00",
|
| 96 |
+
"url": "https://github.com/juspay/hyperswitch/commit/385f0bd1766b602f5555e04d3a779b6ab8c31ac4"
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"sha": "4f02e1e077fdba5b9fbeb1cac4211d649cec1e6a",
|
| 100 |
+
"message": "Merge branch 'main' into fix-wasm-jenkins-build",
|
| 101 |
+
"author": "Jeeva Ramachandran",
|
| 102 |
+
"date": "2025-01-07T09:36:33+00:00",
|
| 103 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4f02e1e077fdba5b9fbeb1cac4211d649cec1e6a"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"sha": "364ff361873406883d47b1a660c6dc123906a695",
|
| 107 |
+
"message": "Merge branch 'main' into fix-wasm-jenkins-build",
|
| 108 |
+
"author": "Jeeva Ramachandran",
|
| 109 |
+
"date": "2025-01-09T06:16:19+00:00",
|
| 110 |
+
"url": "https://github.com/juspay/hyperswitch/commit/364ff361873406883d47b1a660c6dc123906a695"
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"sha": "83bc5908f5dead5789ed4bb5f97f4574ea0200b6",
|
| 114 |
+
"message": "Merge branch 'main' into fix-wasm-jenkins-build",
|
| 115 |
+
"author": "Jeeva Ramachandran",
|
| 116 |
+
"date": "2025-01-24T10:20:12+00:00",
|
| 117 |
+
"url": "https://github.com/juspay/hyperswitch/commit/83bc5908f5dead5789ed4bb5f97f4574ea0200b6"
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"sha": "1d9b8504d3dc07e2877bd751d2fea43d83fbb27d",
|
| 121 |
+
"message": "Merge branch 'fix-wasm-jenkins-build' of github.com:juspay/hyperswitch into fix-wasm-jenkins-build",
|
| 122 |
+
"author": "Jeeva Ramachandran",
|
| 123 |
+
"date": "2025-01-24T10:20:27+00:00",
|
| 124 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1d9b8504d3dc07e2877bd751d2fea43d83fbb27d"
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"sha": "2722a49b2b69eb5cafc2b48076403cf4419e8f7c",
|
| 128 |
+
"message": "update wasm",
|
| 129 |
+
"author": "Jeeva Ramachandran",
|
| 130 |
+
"date": "2025-01-24T10:24:43+00:00",
|
| 131 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2722a49b2b69eb5cafc2b48076403cf4419e8f7c"
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"sha": "e4ba1d2cedb1375e7ca1a758a98ffe6dec1926cf",
|
| 135 |
+
"message": "Merge branch 'main' into fix-wasm-jenkins-build",
|
| 136 |
+
"author": "Jeeva Ramachandran",
|
| 137 |
+
"date": "2025-01-27T05:57:39+00:00",
|
| 138 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e4ba1d2cedb1375e7ca1a758a98ffe6dec1926cf"
|
| 139 |
+
}
|
| 140 |
+
]
|
| 141 |
+
}
|
prs/pr_6982.json
ADDED
|
@@ -0,0 +1,485 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6982,
|
| 3 |
+
"title": "feat(core): add support for confirmation flow for click to pay",
|
| 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\n Add support for confirmation flow for click to pay\r\n \r\n currenlty in cick to pay we do authentication with mastercard and authorisation with adyen.\r\n \r\n But to be prod certified mastercard needs a confirmation notification from hyperswitch after authorisation stating the state of the transaction.\r\n \r\n So, in this Pr I have added confirmation flow for click to pay\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\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\nReason for it being failed is ayden doesn't support click to pay in sandbox, but does support in production\r\n\r\nLook for confirmation call in logs\r\n\r\n<img width=\"1728\" alt=\"Screenshot 2025-01-06 at 12 37 23\u202fPM\" src=\"https://github.com/user-attachments/assets/e0419df6-c2c8-452c-a5b3-b21dd54552c1\" />\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-01-03T10:19:23+00:00",
|
| 7 |
+
"merged_at": "2025-02-20T08:04:39+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-core",
|
| 11 |
+
"C-feature"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6982",
|
| 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": "733b05e11ce3b8756706e48d9390c8117b038bd4",
|
| 122 |
+
"message": "feat(core): added confirmation flow for mastercard click to pay",
|
| 123 |
+
"author": "Sahkal Poddar",
|
| 124 |
+
"date": "2025-01-03T10:17:59+00:00",
|
| 125 |
+
"url": "https://github.com/juspay/hyperswitch/commit/733b05e11ce3b8756706e48d9390c8117b038bd4"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"sha": "01995ab87e514aa79a8fbd6923615a754b0a3287",
|
| 129 |
+
"message": "resolved merge conflicts",
|
| 130 |
+
"author": "Sahkal Poddar",
|
| 131 |
+
"date": "2025-01-03T10:26:53+00:00",
|
| 132 |
+
"url": "https://github.com/juspay/hyperswitch/commit/01995ab87e514aa79a8fbd6923615a754b0a3287"
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"sha": "b3f6ef4411720882797dd5b077c2dba1096f665d",
|
| 136 |
+
"message": "fixed spell check",
|
| 137 |
+
"author": "Sahkal Poddar",
|
| 138 |
+
"date": "2025-01-03T10:28:28+00:00",
|
| 139 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b3f6ef4411720882797dd5b077c2dba1096f665d"
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"sha": "fa20e5cda9603144126038efeddf42e0853dec13",
|
| 143 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 144 |
+
"author": "hyperswitch-bot[bot]",
|
| 145 |
+
"date": "2025-01-03T10:31:33+00:00",
|
| 146 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fa20e5cda9603144126038efeddf42e0853dec13"
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"sha": "5b1cd69b172ab41eaceb8bfb4a38df4af3c59bb6",
|
| 150 |
+
"message": "resolved merge conflicts",
|
| 151 |
+
"author": "Sahkal Poddar",
|
| 152 |
+
"date": "2025-01-06T09:18:36+00:00",
|
| 153 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5b1cd69b172ab41eaceb8bfb4a38df4af3c59bb6"
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"sha": "249e82b7c0dd72390259277a0c2cbd12b74a2663",
|
| 157 |
+
"message": "Merge branch 'main' into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 158 |
+
"author": "Sahkal Poddar",
|
| 159 |
+
"date": "2025-01-06T09:19:23+00:00",
|
| 160 |
+
"url": "https://github.com/juspay/hyperswitch/commit/249e82b7c0dd72390259277a0c2cbd12b74a2663"
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"sha": "a0ea8e7c10c000b3a6177e50baf4f130c9b4ba91",
|
| 164 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 165 |
+
"author": "hyperswitch-bot[bot]",
|
| 166 |
+
"date": "2025-01-06T09:22:29+00:00",
|
| 167 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a0ea8e7c10c000b3a6177e50baf4f130c9b4ba91"
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"sha": "27230f0ac80f0d2de27770535f055ece0e0a7473",
|
| 171 |
+
"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 7925-feature-add-support-for-confirmation-flow-for-click-to-pay",
|
| 172 |
+
"author": "Sahkal Poddar",
|
| 173 |
+
"date": "2025-01-06T09:26:47+00:00",
|
| 174 |
+
"url": "https://github.com/juspay/hyperswitch/commit/27230f0ac80f0d2de27770535f055ece0e0a7473"
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"sha": "f0ae185b97141a50d28905ce0a271834aad17076",
|
| 178 |
+
"message": "add authentication flow support in uas framework and make necessary changes in pre_auth, post_auth flows for external_authentication",
|
| 179 |
+
"author": "sai-harsha-vardhan",
|
| 180 |
+
"date": "2025-01-11T13:15:28+00:00",
|
| 181 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f0ae185b97141a50d28905ce0a271834aad17076"
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"sha": "a2d3c17727a40e3802d6b5e361a296079f3e6c14",
|
| 185 |
+
"message": "resolve conflicts",
|
| 186 |
+
"author": "sai-harsha-vardhan",
|
| 187 |
+
"date": "2025-01-11T13:20:27+00:00",
|
| 188 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a2d3c17727a40e3802d6b5e361a296079f3e6c14"
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"sha": "4a53878716d8136fbf3fe9dc42d99e321bc15fc7",
|
| 192 |
+
"message": "chore: run formatter",
|
| 193 |
+
"author": "hyperswitch-bot[bot]",
|
| 194 |
+
"date": "2025-01-11T13:21:21+00:00",
|
| 195 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4a53878716d8136fbf3fe9dc42d99e321bc15fc7"
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"sha": "15394c13915848aa9815b31a317c32bcce48cecc",
|
| 199 |
+
"message": "fix clippy",
|
| 200 |
+
"author": "sai-harsha-vardhan",
|
| 201 |
+
"date": "2025-01-11T13:33:50+00:00",
|
| 202 |
+
"url": "https://github.com/juspay/hyperswitch/commit/15394c13915848aa9815b31a317c32bcce48cecc"
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"sha": "bff3aefad88d29a11b5d32e66a7e4b0b15647ae9",
|
| 206 |
+
"message": "Merge branch 'add-auth-and-webhook-flow-uas' of github.com:juspay/hyperswitch into add-auth-and-webhook-flow-uas",
|
| 207 |
+
"author": "sai-harsha-vardhan",
|
| 208 |
+
"date": "2025-01-11T13:34:33+00:00",
|
| 209 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bff3aefad88d29a11b5d32e66a7e4b0b15647ae9"
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"sha": "c6bc41713bd5c26b0f19ec7bbd3415d743b0374e",
|
| 213 |
+
"message": "resolved merge conflicts",
|
| 214 |
+
"author": "Sahkal Poddar",
|
| 215 |
+
"date": "2025-01-13T10:54:11+00:00",
|
| 216 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c6bc41713bd5c26b0f19ec7bbd3415d743b0374e"
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"sha": "4f82382f08cd133fdf497069f05a8772c845a634",
|
| 220 |
+
"message": "Merge branch 'main' into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 221 |
+
"author": "Sahkal Poddar",
|
| 222 |
+
"date": "2025-01-15T07:21:05+00:00",
|
| 223 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4f82382f08cd133fdf497069f05a8772c845a634"
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"sha": "392c044f45744fb6b170f0b8be2f80fe0d262814",
|
| 227 |
+
"message": "fixed open-api specs",
|
| 228 |
+
"author": "Sahkal Poddar",
|
| 229 |
+
"date": "2025-01-15T07:27:36+00:00",
|
| 230 |
+
"url": "https://github.com/juspay/hyperswitch/commit/392c044f45744fb6b170f0b8be2f80fe0d262814"
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"sha": "5128445e5038534b8c6b10ea4ee7f868b5009e62",
|
| 234 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 235 |
+
"author": "hyperswitch-bot[bot]",
|
| 236 |
+
"date": "2025-01-15T07:56:42+00:00",
|
| 237 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5128445e5038534b8c6b10ea4ee7f868b5009e62"
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"sha": "ecbee617e88e1d8d731bbbef320afcec0201eaf3",
|
| 241 |
+
"message": "addressed pr commnets added example for apen_api specs\n'",
|
| 242 |
+
"author": "Sahkal Poddar",
|
| 243 |
+
"date": "2025-01-15T11:46:27+00:00",
|
| 244 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ecbee617e88e1d8d731bbbef320afcec0201eaf3"
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"sha": "3cfac70e273066165aaa72cfaaed301c815bfded",
|
| 248 |
+
"message": "removed if condition for logging db error",
|
| 249 |
+
"author": "Sahkal Poddar",
|
| 250 |
+
"date": "2025-01-15T14:30:19+00:00",
|
| 251 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3cfac70e273066165aaa72cfaaed301c815bfded"
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"sha": "4205f6425e84d468754081b2b5d25eea0d143262",
|
| 255 |
+
"message": "Merge branch 'main' of github.com:juspay/hyperswitch into external-auth-through-uas-core-flow-changes",
|
| 256 |
+
"author": "sai-harsha-vardhan",
|
| 257 |
+
"date": "2025-01-17T14:54:33+00:00",
|
| 258 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4205f6425e84d468754081b2b5d25eea0d143262"
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"sha": "0347a8949fea9565e4a5877788856cb43c3e7a4a",
|
| 262 |
+
"message": "merge refactor changes",
|
| 263 |
+
"author": "sai-harsha-vardhan",
|
| 264 |
+
"date": "2025-01-17T16:28:42+00:00",
|
| 265 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0347a8949fea9565e4a5877788856cb43c3e7a4a"
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"sha": "55df98f955976947ef408ef45e3138ede05613dd",
|
| 269 |
+
"message": "add core changes for external authentication through unified_authentication_service",
|
| 270 |
+
"author": "sai-harsha-vardhan",
|
| 271 |
+
"date": "2025-01-18T17:26:57+00:00",
|
| 272 |
+
"url": "https://github.com/juspay/hyperswitch/commit/55df98f955976947ef408ef45e3138ede05613dd"
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"sha": "f448f6853f2bdc0dfb68e7e19b9aacd284c1a72d",
|
| 276 |
+
"message": "Merge branch 'main' into 7862-refactor-refactor-ctp-flow-to-fetch-mca_id-and-get-the-connector-creds-instead-of-connector_name",
|
| 277 |
+
"author": "Sai Harsha Vardhan",
|
| 278 |
+
"date": "2025-01-18T17:30:48+00:00",
|
| 279 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f448f6853f2bdc0dfb68e7e19b9aacd284c1a72d"
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"sha": "4769e8847ddc98b07993258546d32e2d132ed7cd",
|
| 283 |
+
"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",
|
| 284 |
+
"author": "Sai Harsha Vardhan",
|
| 285 |
+
"date": "2025-01-18T17:31:09+00:00",
|
| 286 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4769e8847ddc98b07993258546d32e2d132ed7cd"
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"sha": "db8b96c265479aa5a04a5dad10985887416c3272",
|
| 290 |
+
"message": "fix payment external authentication",
|
| 291 |
+
"author": "sai-harsha-vardhan",
|
| 292 |
+
"date": "2025-01-19T14:03:32+00:00",
|
| 293 |
+
"url": "https://github.com/juspay/hyperswitch/commit/db8b96c265479aa5a04a5dad10985887416c3272"
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"sha": "bb773327dbaf0e8a124352fbee934ddf93ca3958",
|
| 297 |
+
"message": "fix external_authentication_initiate in confirm flow",
|
| 298 |
+
"author": "sai-harsha-vardhan",
|
| 299 |
+
"date": "2025-01-19T17:25:53+00:00",
|
| 300 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bb773327dbaf0e8a124352fbee934ddf93ca3958"
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"sha": "d532d578c8c6ee9537ec08b206929b5f619f9dcb",
|
| 304 |
+
"message": "resolved merge conflicts",
|
| 305 |
+
"author": "Sahkal Poddar",
|
| 306 |
+
"date": "2025-01-21T07:43:54+00:00",
|
| 307 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d532d578c8c6ee9537ec08b206929b5f619f9dcb"
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"sha": "c694073286827d0339c3219cfdd6fc80068b8f03",
|
| 311 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 312 |
+
"author": "hyperswitch-bot[bot]",
|
| 313 |
+
"date": "2025-01-21T08:12:11+00:00",
|
| 314 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c694073286827d0339c3219cfdd6fc80068b8f03"
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"sha": "7d850e71dbff55c088bce3077be1f64032e73d87",
|
| 318 |
+
"message": "resolve conflicts",
|
| 319 |
+
"author": "sai-harsha-vardhan",
|
| 320 |
+
"date": "2025-01-21T13:17:04+00:00",
|
| 321 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7d850e71dbff55c088bce3077be1f64032e73d87"
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"sha": "6b0cc79ab05adee0fefac2abf6051c407fdf13e6",
|
| 325 |
+
"message": "chore: run formatter",
|
| 326 |
+
"author": "hyperswitch-bot[bot]",
|
| 327 |
+
"date": "2025-01-21T13:18:00+00:00",
|
| 328 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6b0cc79ab05adee0fefac2abf6051c407fdf13e6"
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"sha": "59d969d2452a564054157819bab771d520d95deb",
|
| 332 |
+
"message": "resolve conflicts",
|
| 333 |
+
"author": "sai-harsha-vardhan",
|
| 334 |
+
"date": "2025-01-23T08:47:21+00:00",
|
| 335 |
+
"url": "https://github.com/juspay/hyperswitch/commit/59d969d2452a564054157819bab771d520d95deb"
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"sha": "e2958e72faff29e42bca772a991d4c9e53b048ee",
|
| 339 |
+
"message": "resolve comments",
|
| 340 |
+
"author": "sai-harsha-vardhan",
|
| 341 |
+
"date": "2025-01-23T10:18:56+00:00",
|
| 342 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e2958e72faff29e42bca772a991d4c9e53b048ee"
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"sha": "b54a55f28087c3da8bf511b767e5cab49f091f62",
|
| 346 |
+
"message": "Merge branch 'main' into external-auth-through-uas-core-flow-changes",
|
| 347 |
+
"author": "Sai Harsha Vardhan",
|
| 348 |
+
"date": "2025-01-24T08:59:01+00:00",
|
| 349 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b54a55f28087c3da8bf511b767e5cab49f091f62"
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"sha": "784af5743d97a39b4a3e3611ffbdb0543533d6dc",
|
| 353 |
+
"message": "resolved merge conflicts",
|
| 354 |
+
"author": "Sahkal Poddar",
|
| 355 |
+
"date": "2025-01-24T09:06:41+00:00",
|
| 356 |
+
"url": "https://github.com/juspay/hyperswitch/commit/784af5743d97a39b4a3e3611ffbdb0543533d6dc"
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"sha": "de519f0d41a21a2704ef6b637fb2dd33295a1a43",
|
| 360 |
+
"message": "Merge branch 'main' into 7925-feature-add-support-for-confirmation-flow-for-click-to-pay",
|
| 361 |
+
"author": "Sahkal Poddar",
|
| 362 |
+
"date": "2025-01-27T10:00:50+00:00",
|
| 363 |
+
"url": "https://github.com/juspay/hyperswitch/commit/de519f0d41a21a2704ef6b637fb2dd33295a1a43"
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"sha": "aea7dc1de60f99336b15c0f5ea8444856da8e9a3",
|
| 367 |
+
"message": "added netcetera changes resolved merge conflicts",
|
| 368 |
+
"author": "Sahkal Poddar",
|
| 369 |
+
"date": "2025-01-30T09:35:54+00:00",
|
| 370 |
+
"url": "https://github.com/juspay/hyperswitch/commit/aea7dc1de60f99336b15c0f5ea8444856da8e9a3"
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"sha": "9618649706d136e1f38d1166bd7c18e2477eb7b9",
|
| 374 |
+
"message": "Merge branch '7925-feature-add-support-for-confirmation-flow-for-click-to-pay' of https://github.com/juspay/hyperswitch into 7925-feature-add-support-for-confirmation-flow-for-click-to-pay",
|
| 375 |
+
"author": "Sahkal Poddar",
|
| 376 |
+
"date": "2025-01-30T09:36:06+00:00",
|
| 377 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9618649706d136e1f38d1166bd7c18e2477eb7b9"
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"sha": "b8a819fff833419306248c76360ffb3d5ab73ca9",
|
| 381 |
+
"message": "Merge branch 'main' into 7925-feature-add-support-for-confirmation-flow-for-click-to-pay",
|
| 382 |
+
"author": "Sahkal Poddar",
|
| 383 |
+
"date": "2025-01-30T12:55:18+00:00",
|
| 384 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b8a819fff833419306248c76360ffb3d5ab73ca9"
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"sha": "113703f6e14d8f13b7063ff7bde0ea7934254b40",
|
| 388 |
+
"message": "Merge branch 'main' into 7925-feature-add-support-for-confirmation-flow-for-click-to-pay",
|
| 389 |
+
"author": "Sahkal Poddar",
|
| 390 |
+
"date": "2025-01-31T07:57:24+00:00",
|
| 391 |
+
"url": "https://github.com/juspay/hyperswitch/commit/113703f6e14d8f13b7063ff7bde0ea7934254b40"
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"sha": "6fa5fea55fefb9f5aefc11ce55bae1fed72e15b6",
|
| 395 |
+
"message": "refactor(core): resolved merge conflicts",
|
| 396 |
+
"author": "Sahkal Poddar",
|
| 397 |
+
"date": "2025-02-04T07:33:00+00:00",
|
| 398 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6fa5fea55fefb9f5aefc11ce55bae1fed72e15b6"
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"sha": "9a4fba7acefd398a1409d06a580f9c62b0accbcf",
|
| 402 |
+
"message": "Merge branch '7925-feature-add-support-for-confirmation-flow-for-click-to-pay' of https://github.com/juspay/hyperswitch into 7925-feature-add-support-for-confirmation-flow-for-click-to-pay",
|
| 403 |
+
"author": "Sahkal Poddar",
|
| 404 |
+
"date": "2025-02-04T07:33:08+00:00",
|
| 405 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9a4fba7acefd398a1409d06a580f9c62b0accbcf"
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"sha": "40f51eb5044df826548dd07a61c9ed79a0f3912c",
|
| 409 |
+
"message": "refactor(core): fixed clippy error",
|
| 410 |
+
"author": "Sahkal Poddar",
|
| 411 |
+
"date": "2025-02-05T11:44:34+00:00",
|
| 412 |
+
"url": "https://github.com/juspay/hyperswitch/commit/40f51eb5044df826548dd07a61c9ed79a0f3912c"
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"sha": "dc6a5fbe75472aaab58bc529382f35fb6a582338",
|
| 416 |
+
"message": "Merge branch 'main' into 7925-feature-add-support-for-confirmation-flow-for-click-to-pay",
|
| 417 |
+
"author": "Sahkal Poddar",
|
| 418 |
+
"date": "2025-02-06T12:36:25+00:00",
|
| 419 |
+
"url": "https://github.com/juspay/hyperswitch/commit/dc6a5fbe75472aaab58bc529382f35fb6a582338"
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"sha": "dfd8c44861eaef72ab42b46dbe18cd183322fb47",
|
| 423 |
+
"message": "resolved merge conflicts",
|
| 424 |
+
"author": "Sahkal Poddar",
|
| 425 |
+
"date": "2025-02-10T07:06:01+00:00",
|
| 426 |
+
"url": "https://github.com/juspay/hyperswitch/commit/dfd8c44861eaef72ab42b46dbe18cd183322fb47"
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"sha": "5399e3f3aef16fc8883172627a62fbd2dfe44820",
|
| 430 |
+
"message": "resolve confirmation api comments\n\"",
|
| 431 |
+
"author": "Sahkal Poddar",
|
| 432 |
+
"date": "2025-02-10T07:27:44+00:00",
|
| 433 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5399e3f3aef16fc8883172627a62fbd2dfe44820"
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"sha": "98acf9ff24cf7ec86654fb51a500b3162802aff2",
|
| 437 |
+
"message": "Merge branch 'main' into 7925-feature-add-support-for-confirmation-flow-for-click-to-pay",
|
| 438 |
+
"author": "Sahkal Poddar",
|
| 439 |
+
"date": "2025-02-10T08:18:37+00:00",
|
| 440 |
+
"url": "https://github.com/juspay/hyperswitch/commit/98acf9ff24cf7ec86654fb51a500b3162802aff2"
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"sha": "a65322ed01f77adc97b5dc087fd5fdb686b65576",
|
| 444 |
+
"message": "Merge branch 'main' of https://github.com/juspay/hyperswitch into 7925-feature-add-support-for-confirmation-flow-for-click-to-pay",
|
| 445 |
+
"author": "Sahkal Poddar",
|
| 446 |
+
"date": "2025-02-11T07:43:25+00:00",
|
| 447 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a65322ed01f77adc97b5dc087fd5fdb686b65576"
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"sha": "6519efd71507fa45796be5a3361b6afd9bbd863c",
|
| 451 |
+
"message": "fixed clippy connector errors",
|
| 452 |
+
"author": "Sahkal Poddar",
|
| 453 |
+
"date": "2025-02-11T08:49:34+00:00",
|
| 454 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6519efd71507fa45796be5a3361b6afd9bbd863c"
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"sha": "59bf3b91a50ba980799008304cf0be72b7936afd",
|
| 458 |
+
"message": "resolved merge conflicts",
|
| 459 |
+
"author": "Sahkal Poddar",
|
| 460 |
+
"date": "2025-02-17T07:57:13+00:00",
|
| 461 |
+
"url": "https://github.com/juspay/hyperswitch/commit/59bf3b91a50ba980799008304cf0be72b7936afd"
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"sha": "3527d0d3ef90df1e5e99bb8b0d675dbf489ef421",
|
| 465 |
+
"message": "fixed v2 clippy error",
|
| 466 |
+
"author": "Sahkal Poddar",
|
| 467 |
+
"date": "2025-02-17T10:41:19+00:00",
|
| 468 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3527d0d3ef90df1e5e99bb8b0d675dbf489ef421"
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"sha": "def51e2ce776df94c8330566f5ce172282c370ae",
|
| 472 |
+
"message": "addressed pr comments",
|
| 473 |
+
"author": "Sahkal Poddar",
|
| 474 |
+
"date": "2025-02-19T09:09:44+00:00",
|
| 475 |
+
"url": "https://github.com/juspay/hyperswitch/commit/def51e2ce776df94c8330566f5ce172282c370ae"
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"sha": "492b7a3a0b25bbc80da2a782f54d345ab27b75f6",
|
| 479 |
+
"message": "removed variable mutability",
|
| 480 |
+
"author": "Sahkal Poddar",
|
| 481 |
+
"date": "2025-02-19T10:00:11+00:00",
|
| 482 |
+
"url": "https://github.com/juspay/hyperswitch/commit/492b7a3a0b25bbc80da2a782f54d345ab27b75f6"
|
| 483 |
+
}
|
| 484 |
+
]
|
| 485 |
+
}
|
prs/pr_6985.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 6985,
|
| 3 |
+
"title": "chore(roles): remove redundant variant from PermissionGroup",
|
| 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\nThis removes the redundant `ReconOps` variant from `PermissionGroup` enum which is stored in DB. This was kept back in application for backwards compatibility. Migrations are added for this and this will not be needed anymore.\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 in keeping a clean permission view on HS dashboard.\r\n\r\n## How did you test it?\r\nLocally by running migrations and viewing permission view in dashboard.\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-03T10:45:05+00:00",
|
| 7 |
+
"merged_at": "2025-02-06T14:29:12+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-database-changes"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/6985",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "42ad87202e28d9c189e4ee69e03332bca3b3b8e8",
|
| 16 |
+
"message": "chore(roles): remove redundant variant from PermissionGroup",
|
| 17 |
+
"author": "Kashif",
|
| 18 |
+
"date": "2025-01-03T10:42:36+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/42ad87202e28d9c189e4ee69e03332bca3b3b8e8"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "27ee7d2da7fddaa9f5f3156f9ddbb0ad096ee419",
|
| 23 |
+
"message": "chore(roles): update PermissionGroup descriptions for recon",
|
| 24 |
+
"author": "Kashif",
|
| 25 |
+
"date": "2025-01-03T12:23:54+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/27ee7d2da7fddaa9f5f3156f9ddbb0ad096ee419"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "a81c431f6051bc772d292c8ef6fe56ba61f14231",
|
| 30 |
+
"message": "chore(roles): reword recon description",
|
| 31 |
+
"author": "Kashif",
|
| 32 |
+
"date": "2025-01-03T12:30:16+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a81c431f6051bc772d292c8ef6fe56ba61f14231"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "5fb2739e8c1574573afb3fcceb260cf1c67fd93c",
|
| 37 |
+
"message": "Merge branch 'main' into 6983-chore-remove-redundant-variants-from-permissiongroup",
|
| 38 |
+
"author": "Kashif",
|
| 39 |
+
"date": "2025-01-31T08:15:37+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5fb2739e8c1574573afb3fcceb260cf1c67fd93c"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "565f676c7354ca136cb0f0629c276e5c37ffeda4",
|
| 44 |
+
"message": "Merge branch 'main' into 6983-chore-remove-redundant-variants-from-permissiongroup",
|
| 45 |
+
"author": "Kashif",
|
| 46 |
+
"date": "2025-02-05T16:15:41+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/565f676c7354ca136cb0f0629c276e5c37ffeda4"
|
| 48 |
+
}
|
| 49 |
+
]
|
| 50 |
+
}
|
prs/pr_7011.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7011,
|
| 3 |
+
"title": "refactor(connector): [AUTHORIZEDOTNET] Add metadata information to connector request",
|
| 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\nThis PR is for code changes which sends the metadata passed in payment intent create to authorizedotnet as request payload, as per merchant requirements. \r\n\r\nThe merchant receives a receipt of the transaction through email, which contains the metadata passed by the merchant in payment intent create request.\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\nAll flows have been tested as per the authorizedotnet developer docs:\r\nhttps://developer.authorize.net/api/reference/index.html#payment-transactions-charge-a-credit-card\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**1. Authorize (Manual)**\r\n\r\n - Request\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_0vV4HvaBn68pmZTvXLzU9V7hR79lgEjiarEG2IDxveccjZ6ypKjpPaRrdeQRHhKu' \\\r\n--data-raw '{\r\n \"amount\": 6540,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"manual\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"amount_to_capture\": 6540,\r\n \"customer_id\": \"StripeCustomer1\",\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://duck.com\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"4242424242424242\",\r\n \"card_exp_month\": \"10\",\r\n \"card_exp_year\": \"25\",\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\": \"likhin\",\r\n \"last_name\": \"bopanna\"\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\": \"likhin\",\r\n \"last_name\": \"bopanna\"\r\n }\r\n },\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"metadata\": {\r\n \"count_tickets\": 1,\r\n \"transaction_number\": \"5590045\"\r\n }\r\n}'\r\n```\r\n- Response\r\n\r\n```\r\n{\r\n \"payment_id\": \"pay_aMR57wTed0e8hKIvqEXk\",\r\n \"merchant_id\": \"postman_merchant_GHAction_4bc8cb40-6e2b-4474-a4ba-662cce1e8224\",\r\n \"status\": \"requires_capture\",\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\": \"authorizedotnet\",\r\n \"client_secret\": \"pay_aMR57wTed0e8hKIvqEXk_secret_7ClGeHihtfOkLr17zmY6\",\r\n \"created\": \"2025-01-08T12:18:38.236Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"StripeCustomer1\",\r\n \"customer\": {\r\n \"id\": \"StripeCustomer1\",\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\": \"manual\",\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\": \"10\",\r\n \"card_exp_year\": \"25\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"payment_checks\": null,\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\": \"likhin\",\r\n \"last_name\": \"bopanna\"\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\": \"likhin\",\r\n \"last_name\": \"bopanna\"\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://duck.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\": 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\": \"StripeCustomer1\",\r\n \"created_at\": 1736338718,\r\n \"expires\": 1736342318,\r\n \"secret\": \"epk_a3fa4b96efa94fbe817dd39b634b4b10\"\r\n },\r\n \"manual_retry_allowed\": false,\r\n \"connector_transaction_id\": \"80033079979\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"count_tickets\": 1,\r\n \"transaction_number\": \"5590045\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"80033079979\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_54auzGTSaZOQ9xIUOEn8\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_tFxUMA2vfBlte3s7jSw7\",\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-08T12:33:38.236Z\",\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-08T12:18:40.884Z\",\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**2. Capture (Manual)**\r\n\r\n - Request\r\n \r\n```\r\ncurl --location 'http://localhost:8080/payments/pay_aMR57wTed0e8hKIvqEXk/capture' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_0vV4HvaBn68pmZTvXLzU9V7hR79lgEjiarEG2IDxveccjZ6ypKjpPaRrdeQRHhKu' \\\r\n--data '{\r\n \"amount_to_capture\": 6540,\r\n \"statement_descriptor_name\": \"Joseph\",\r\n \"statement_descriptor_suffix\": \"JS\"\r\n}'\r\n```\r\n\r\n- Response \r\n\r\n```\r\n{\r\n \"payment_id\": \"pay_aMR57wTed0e8hKIvqEXk\",\r\n \"merchant_id\": \"postman_merchant_GHAction_4bc8cb40-6e2b-4474-a4ba-662cce1e8224\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 6540,\r\n \"net_amount\": 6540,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 6540,\r\n \"connector\": \"authorizedotnet\",\r\n \"client_secret\": \"pay_aMR57wTed0e8hKIvqEXk_secret_7ClGeHihtfOkLr17zmY6\",\r\n \"created\": \"2025-01-08T12:18:38.236Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"StripeCustomer1\",\r\n \"customer\": {\r\n \"id\": \"StripeCustomer1\",\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\": \"manual\",\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\": \"10\",\r\n \"card_exp_year\": \"25\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"payment_checks\": null,\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\": \"likhin\",\r\n \"last_name\": \"bopanna\"\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\": \"likhin\",\r\n \"last_name\": \"bopanna\"\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://duck.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\": 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\": false,\r\n \"connector_transaction_id\": \"80033079979\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"count_tickets\": 1,\r\n \"transaction_number\": \"5590045\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"80033079979\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_54auzGTSaZOQ9xIUOEn8\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_tFxUMA2vfBlte3s7jSw7\",\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-08T12:33:38.236Z\",\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-08T12:20:16.395Z\",\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**3. Authorize + Capture**\r\n\r\n - Request\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_0vV4HvaBn68pmZTvXLzU9V7hR79lgEjiarEG2IDxveccjZ6ypKjpPaRrdeQRHhKu' \\\r\n--data-raw '{\r\n \"amount\": 6550,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"business_country\": \"US\",\r\n \"business_label\": \"default\",\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"amount_to_capture\": 6550,\r\n \"customer_id\": \"StripeCustomer1\",\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://duck.com\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"debit\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"4242424242424242\",\r\n \"card_exp_month\": \"01\",\r\n \"card_exp_year\": \"25\",\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\": \"sundari\",\r\n \"last_name\": \"sundari\"\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\": \"sundari\",\r\n \"last_name\": \"sundari\"\r\n }\r\n },\r\n \"statement_descriptor_name\": \"joseph\",\r\n \"statement_descriptor_suffix\": \"JS\",\r\n \"metadata\": {\r\n \"count_tickets\": 1,\r\n \"transaction_number\": \"5590045\"\r\n }\r\n}'\r\n```\r\n\r\n- Response\r\n\r\n```\r\n{\r\n \"payment_id\": \"pay_EbFXhSWxwVQ0996FxZdt\",\r\n \"merchant_id\": \"postman_merchant_GHAction_4bc8cb40-6e2b-4474-a4ba-662cce1e8224\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 6550,\r\n \"net_amount\": 6550,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 6550,\r\n \"connector\": \"authorizedotnet\",\r\n \"client_secret\": \"pay_EbFXhSWxwVQ0996FxZdt_secret_3J0fmk53qE22LeKiGIGx\",\r\n \"created\": \"2025-01-08T12:21:59.998Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"StripeCustomer1\",\r\n \"customer\": {\r\n \"id\": \"StripeCustomer1\",\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\": \"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\": \"25\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"payment_checks\": null,\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\": \"sundari\",\r\n \"last_name\": \"sundari\"\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\": \"sundari\",\r\n \"last_name\": \"sundari\"\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://duck.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\": \"debit\",\r\n \"connector_label\": \"authorizedotnet_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\": \"StripeCustomer1\",\r\n \"created_at\": 1736338919,\r\n \"expires\": 1736342519,\r\n \"secret\": \"epk_a1b2ad7e39a14673a4e01692f76e5193\"\r\n },\r\n \"manual_retry_allowed\": false,\r\n \"connector_transaction_id\": \"80033080191\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"count_tickets\": 1,\r\n \"transaction_number\": \"5590045\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"80033080191\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_54auzGTSaZOQ9xIUOEn8\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_tFxUMA2vfBlte3s7jSw7\",\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-08T12:36:59.998Z\",\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-08T12:22:02.624Z\",\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**4. PSync**\r\n\r\n - Request\r\n\r\n```\r\ncurl --location 'http://localhost:8080/payments/pay_EbFXhSWxwVQ0996FxZdt?force_sync=true' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_0vV4HvaBn68pmZTvXLzU9V7hR79lgEjiarEG2IDxveccjZ6ypKjpPaRrdeQRHhKu'\r\n```\r\n\r\n- Response\r\n\r\n```\r\n{\r\n \"payment_id\": \"pay_EbFXhSWxwVQ0996FxZdt\",\r\n \"merchant_id\": \"postman_merchant_GHAction_4bc8cb40-6e2b-4474-a4ba-662cce1e8224\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 6550,\r\n \"net_amount\": 6550,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 6550,\r\n \"connector\": \"authorizedotnet\",\r\n \"client_secret\": \"pay_EbFXhSWxwVQ0996FxZdt_secret_3J0fmk53qE22LeKiGIGx\",\r\n \"created\": \"2025-01-08T12:21:59.998Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"StripeCustomer1\",\r\n \"customer\": {\r\n \"id\": \"StripeCustomer1\",\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\": \"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\": \"25\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"payment_checks\": null,\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\": \"sundari\",\r\n \"last_name\": \"sundari\"\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\": \"sundari\",\r\n \"last_name\": \"sundari\"\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://duck.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\": \"debit\",\r\n \"connector_label\": \"authorizedotnet_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\": \"80033080191\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"count_tickets\": 1,\r\n \"transaction_number\": \"5590045\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"80033080191\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_54auzGTSaZOQ9xIUOEn8\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_tFxUMA2vfBlte3s7jSw7\",\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-08T12:36:59.998Z\",\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-08T12:22:02.624Z\",\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**5. Refund**\r\n\r\n - Request\r\n\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_0vV4HvaBn68pmZTvXLzU9V7hR79lgEjiarEG2IDxveccjZ6ypKjpPaRrdeQRHhKu' \\\r\n--data '{\r\n \"payment_id\": \"pay_LdFELbsSHWr31UxLX51l\",\r\n \"amount\": 5000,\r\n \"reason\": \"Customer returned product\",\r\n \"refund_type\": \"scheduled\",\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\n- Response\r\n\r\n```\r\n{\r\n \"refund_id\": \"ref_ht8iD8smYnJl5sDF0BEn\",\r\n \"payment_id\": \"pay_LdFELbsSHWr31UxLX51l\",\r\n \"amount\": 5000,\r\n \"currency\": \"USD\",\r\n \"status\": \"pending\",\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-01-08T12:31:33.642Z\",\r\n \"updated_at\": \"2025-01-08T12:31:33.642Z\",\r\n \"connector\": \"authorizedotnet\",\r\n \"profile_id\": \"pro_54auzGTSaZOQ9xIUOEn8\",\r\n \"merchant_connector_id\": \"mca_tFxUMA2vfBlte3s7jSw7\",\r\n \"split_refunds\": null\r\n}\r\n```\r\n\r\n**6. RSync**\r\n\r\n - Request\r\n\r\n```\r\ncurl --location 'http://localhost:8080/refunds/ref_ht8iD8smYnJl5sDF0BEn' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_0vV4HvaBn68pmZTvXLzU9V7hR79lgEjiarEG2IDxveccjZ6ypKjpPaRrdeQRHhKu'\r\n```\r\n\r\n- Response\r\n\r\n```\r\n{\r\n \"refund_id\": \"ref_ht8iD8smYnJl5sDF0BEn\",\r\n \"payment_id\": \"pay_LdFELbsSHWr31UxLX51l\",\r\n \"amount\": 5000,\r\n \"currency\": \"USD\",\r\n \"status\": \"pending\",\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-01-08T12:31:33.642Z\",\r\n \"updated_at\": \"2025-01-08T12:31:33.642Z\",\r\n \"connector\": \"authorizedotnet\",\r\n \"profile_id\": \"pro_54auzGTSaZOQ9xIUOEn8\",\r\n \"merchant_connector_id\": \"mca_tFxUMA2vfBlte3s7jSw7\",\r\n \"split_refunds\": null\r\n}\r\n```\r\n\r\n**7. Cancel/Void**\r\n\r\n - Request\r\n\r\n```\r\ncurl --location 'http://localhost:8080/payments/pay_LdFELbsSHWr31UxLX51l/cancel' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_0vV4HvaBn68pmZTvXLzU9V7hR79lgEjiarEG2IDxveccjZ6ypKjpPaRrdeQRHhKu' \\\r\n--data '{\"cancellation_reason\":\"requested_by_customer\"}'\r\n```\r\n\r\n- Response\r\n\r\n```\r\n{\r\n \"payment_id\": \"pay_wM2Pf7TjLVabcAj41aDz\",\r\n \"merchant_id\": \"postman_merchant_GHAction_4bc8cb40-6e2b-4474-a4ba-662cce1e8224\",\r\n \"status\": \"cancelled\",\r\n \"amount\": 5000,\r\n \"net_amount\": 5000,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": null,\r\n \"connector\": \"authorizedotnet\",\r\n \"client_secret\": \"pay_wM2Pf7TjLVabcAj41aDz_secret_vjFJJKmyoVaNqOmQ0Bge\",\r\n \"created\": \"2025-01-08T12:29:07.232Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"StripeCustomer1\",\r\n \"customer\": {\r\n \"id\": \"StripeCustomer1\",\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\": \"manual\",\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\": \"10\",\r\n \"card_exp_year\": \"25\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"payment_checks\": null,\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\": \"likhin\",\r\n \"last_name\": \"bopanna\"\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\": \"likhin\",\r\n \"last_name\": \"bopanna\"\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://duck.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\": \"requested_by_customer\",\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\": false,\r\n \"connector_transaction_id\": \"80033080543\",\r\n \"frm_message\": null,\r\n \"metadata\": {\r\n \"count_tickets\": 1,\r\n \"transaction_number\": \"5590045\"\r\n },\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"80033080543\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_54auzGTSaZOQ9xIUOEn8\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_tFxUMA2vfBlte3s7jSw7\",\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-08T12:44:07.232Z\",\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-08T12:29:28.533Z\",\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- [ ] 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-01-08T08:42:03+00:00",
|
| 7 |
+
"merged_at": "2025-02-05T14:48:45+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration",
|
| 11 |
+
"C-refactor"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7011",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "8ce784ca3a881fc7099ad19d2d6dd916a4703f69",
|
| 17 |
+
"message": "chore(authorizedotnet): add metadata information to connector request",
|
| 18 |
+
"author": "Debarshi Gupta",
|
| 19 |
+
"date": "2025-01-08T08:18:11+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8ce784ca3a881fc7099ad19d2d6dd916a4703f69"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "8c631f1def6f44a4a62782e2d24ad68d96a0d71b",
|
| 24 |
+
"message": "chore: run formatter",
|
| 25 |
+
"author": "hyperswitch-bot[bot]",
|
| 26 |
+
"date": "2025-01-08T08:47:26+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8c631f1def6f44a4a62782e2d24ad68d96a0d71b"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "1862559ee226072748e187eb859d06f11f57ba3a",
|
| 31 |
+
"message": "chore(authorizedotnet): add metadata information to connector request",
|
| 32 |
+
"author": "Debarshi Gupta",
|
| 33 |
+
"date": "2025-01-10T06:10:00+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1862559ee226072748e187eb859d06f11f57ba3a"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "387e6ae396b74b5065f6b06a49b9cf71fc584a10",
|
| 38 |
+
"message": "chore: Resolved PR comments",
|
| 39 |
+
"author": "Debarshi Gupta",
|
| 40 |
+
"date": "2025-01-10T12:39:43+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/387e6ae396b74b5065f6b06a49b9cf71fc584a10"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "d55aea1ea37e3899ea9fa85e609e83cfe985c716",
|
| 45 |
+
"message": "chore: Resolved PR comments",
|
| 46 |
+
"author": "Debarshi Gupta",
|
| 47 |
+
"date": "2025-01-13T07:02:31+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d55aea1ea37e3899ea9fa85e609e83cfe985c716"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "51ce64813f110fdc8efc1d9dcf3a5da28160c778",
|
| 52 |
+
"message": "Merge branch 'main' into add-metadata-for-authorizeddotnet",
|
| 53 |
+
"author": "Debarshi Gupta",
|
| 54 |
+
"date": "2025-01-29T14:04:34+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/51ce64813f110fdc8efc1d9dcf3a5da28160c778"
|
| 56 |
+
}
|
| 57 |
+
]
|
| 58 |
+
}
|
prs/pr_7012.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7012,
|
| 3 |
+
"title": "fix: consider status of payment method before filtering wallets in list pm",
|
| 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\nMain pr - https://github.com/juspay/hyperswitch/pull/7004\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": "Chethan-rao",
|
| 6 |
+
"created_at": "2025-01-08T10:11:53+00:00",
|
| 7 |
+
"merged_at": "2025-01-09T07:49:41+00:00",
|
| 8 |
+
"base_branch": "hotfix-2024.12.04.0",
|
| 9 |
+
"labels": [],
|
| 10 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7012",
|
| 11 |
+
"commits": [
|
| 12 |
+
{
|
| 13 |
+
"sha": "305dafa448326a3cbff5c81f1c74ce3c728480d9",
|
| 14 |
+
"message": "fix: consider status of payment method before filtering wallets in list pm",
|
| 15 |
+
"author": "Chethan",
|
| 16 |
+
"date": "2025-01-07T13:43:37+00:00",
|
| 17 |
+
"url": "https://github.com/juspay/hyperswitch/commit/305dafa448326a3cbff5c81f1c74ce3c728480d9"
|
| 18 |
+
}
|
| 19 |
+
]
|
| 20 |
+
}
|
prs/pr_7032.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7032,
|
| 3 |
+
"title": "refactor(euclid): update proto file for elimination routing",
|
| 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 update the proto file for elimination routing to include the global rates. This is basically done in order to keep the proto file upto-date with dynamic routing service.\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\nTesting isn't required as this is only env change\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": "2025-01-13T08:39:40+00:00",
|
| 7 |
+
"merged_at": "2025-01-29T08:22:45+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-routing"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7032",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "ea07b453f4d3467a14727cf5899b0d156aa8242f",
|
| 16 |
+
"message": "refactor(euclid): update proto file for elimination routing",
|
| 17 |
+
"author": "prajjwalkumar17",
|
| 18 |
+
"date": "2025-01-13T08:34:16+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ea07b453f4d3467a14727cf5899b0d156aa8242f"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "11615c626f4006159463b70b7c9a1bcb796d19c8",
|
| 23 |
+
"message": "Merge branch 'main' into update_proto_for_er",
|
| 24 |
+
"author": "Prajjwal Kumar",
|
| 25 |
+
"date": "2025-01-24T10:01:06+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/11615c626f4006159463b70b7c9a1bcb796d19c8"
|
| 27 |
+
}
|
| 28 |
+
]
|
| 29 |
+
}
|
prs/pr_7109.json
ADDED
|
@@ -0,0 +1,366 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7109,
|
| 3 |
+
"title": "feat(connector): Add support for passive churn recovery webhooks",
|
| 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\n\r\n**Recovery Incoming Webhooks service :** \r\nConsume incoming webhooks of billing platforms to schedule revenue recovery retries in hs.\r\n**Endpoint :** \r\nv2/webhooks/revenue_recovery/{{profile_id}}/{{merchant_connector_account_id}}\r\n**Authentication :**\r\nSource verification.\r\n**Method :** \r\nPOST\r\n**Request :** \r\nAccepts connector specific requests , unified fields that we are going to consume and verified across billing platforms(Chargebee, Recurly, Stripe Billing).\r\n**Response :** \r\nThey expect us to send 200 back.\r\n\r\n**DB changes** : \r\n- Triggered by : Flag to find out whether an attempt was created external or internal. Possible enums of triggered_by EXTERNAL/ INTERNAL. \r\n- Payment attempt \r\n```\r\nfeature_metadata{\r\nrevenue_recovery : {\r\ntriggered_by : TriggeredBy\r\n}\r\n}\r\n```\r\n \r\n**triggered_by** : Flag to find out whether an attempt was created external or internal. Possible enums of triggered_by EXTERNAL/ INTERNAL\r\n\r\n \r\n**Flow**\r\n1) We receive invoice and transactional related incoming webhooks from billing connectors(ex: chargebee). \r\n2) Verify the source with source verification logic using incoming webhook trait. \r\n3) Fetch the intent using merchant reference id(Invoice id), if not found create new payment intent for the invoice. \r\n4) Fetch the attempt if event is transactional event, if not found record new attempt against the payment intent . \r\n5) Based on triggered_by and event type decide what actions needs to be taken for the webhook\r\n\r\nNote: Only handler functions of payments core are called in webhooks flow to make revenue recovery flow modular. No direct DB call is made in recovery incoming webhook flow to payments(intent/attempt) table.\r\n\r\n**why do we need attempt.triggered_by and event type to take the decision?** \r\n- Recovery event types : There can be 4 types of events that we consume from billing connector. \r\n - Payment Failure, payment success, payment pending, Invoice cancel \r\nBased on event we take the action but we need to triggered by to know whether it was created by Hyperswitch or External system.\r\n- Recovery Actions : \r\n```\r\n/// type of action that needs to taken after consuming recovery payload\r\nRecoveryAction {\r\n /// Stops the process tracker and update the payment intent.\r\n CancelInvoice,\r\n /// Records the external transaction against payment intent.\r\n ScheduleFailedPayment,\r\n /// Records the external payment and stops the internal process tracker.\r\n SuccessPaymentExternal,\r\n /// Pending payments from billing processor.\r\n PendingPayment,\r\n /// No action required.\r\n NoAction,\r\n /// Invalid event has been received.\r\n InvalidAction,\r\n}\r\n```\r\nMapping between (event, triggered_by) and Actions\r\n```\r\nIncomingWebhookEvent::RecoveryPaymentFailure => match attempt_triggered_by {\r\n Some(TriggeredBy::Internal) => RecoveryAction::NoAction,\r\n Some(TriggeredBy::External) | None => RecoveryAction::ScheduleFailedPayment,\r\n },\r\n IncomingWebhookEvent::RecoveryPaymentSuccess => match attempt_triggered_by {\r\n Some(TriggeredBy::Internal) => RecoveryAction::NoAction,\r\n Some(TriggeredBy::External) | None => RecoveryAction::SuccessPaymentExternal,\r\n },\r\n IncomingWebhookEvent::RecoveryPaymentPending => RecoveryAction::PendingPayment,\r\n IncomingWebhookEvent::RecoveryInvoiceCancel => RecoveryAction::CancelInvoice,\r\n```\r\n\r\nNote : Pending Task From this PR \r\n- charegebee Webhooks implementations- #7110\r\n- Record Attempt internal - #7236 \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\nCannot test this flow, will be tested once #7236 and #7110 are merged.\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": "srujanchikke",
|
| 6 |
+
"created_at": "2025-01-27T05:44:50+00:00",
|
| 7 |
+
"merged_at": "2025-02-22T21:44:08+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-database-changes",
|
| 11 |
+
"M-api-contract-changes"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7109",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "57b6b86f9e7fe06f7a513447bcfcdcedbbb40d92",
|
| 17 |
+
"message": "add template code for chargebee",
|
| 18 |
+
"author": "Chikke Srujan",
|
| 19 |
+
"date": "2025-01-15T03:57:15+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/57b6b86f9e7fe06f7a513447bcfcdcedbbb40d92"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "d27700e1100ed3d674957ce2a4f590395a38d7fe",
|
| 24 |
+
"message": "merge main",
|
| 25 |
+
"author": "Chikke Srujan",
|
| 26 |
+
"date": "2025-01-15T04:13:43+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d27700e1100ed3d674957ce2a4f590395a38d7fe"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "b3908c050c773a4c14f077a2555c337252c0c439",
|
| 31 |
+
"message": "chore: run formatter",
|
| 32 |
+
"author": "hyperswitch-bot[bot]",
|
| 33 |
+
"date": "2025-01-15T04:14:37+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b3908c050c773a4c14f077a2555c337252c0c439"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "ff414803af9d311c1e37360eb510e02799d75b66",
|
| 38 |
+
"message": "add recovery incoming webhooks support",
|
| 39 |
+
"author": "Chikke Srujan",
|
| 40 |
+
"date": "2025-01-19T18:12:45+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ff414803af9d311c1e37360eb510e02799d75b66"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "d5d14feb22df0b742111f09d1c69c8a1b5d4194d",
|
| 45 |
+
"message": "add feature metadata queries",
|
| 46 |
+
"author": "Chikke Srujan",
|
| 47 |
+
"date": "2025-01-21T06:05:22+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d5d14feb22df0b742111f09d1c69c8a1b5d4194d"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "dcc6b1f63e4b9dd27d180cf80d7f7d41480a692d",
|
| 52 |
+
"message": "clippy fix",
|
| 53 |
+
"author": "Chikke Srujan",
|
| 54 |
+
"date": "2025-01-21T07:58:08+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/dcc6b1f63e4b9dd27d180cf80d7f7d41480a692d"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"sha": "55f3018fc8d05e03925687f2524e9e99b10c024c",
|
| 59 |
+
"message": "Merge branch 'main' into chargebee_integration",
|
| 60 |
+
"author": "chikke srujan",
|
| 61 |
+
"date": "2025-01-21T07:58:37+00:00",
|
| 62 |
+
"url": "https://github.com/juspay/hyperswitch/commit/55f3018fc8d05e03925687f2524e9e99b10c024c"
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"sha": "7f05e1ae97b64f5e67d9c2137ad69a4db4dd9979",
|
| 66 |
+
"message": "merge main",
|
| 67 |
+
"author": "Chikke Srujan",
|
| 68 |
+
"date": "2025-01-26T18:55:13+00:00",
|
| 69 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7f05e1ae97b64f5e67d9c2137ad69a4db4dd9979"
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"sha": "251f4929b247ee6c4693fd4503188c4b89bc64ba",
|
| 73 |
+
"message": "chore: run formatter",
|
| 74 |
+
"author": "hyperswitch-bot[bot]",
|
| 75 |
+
"date": "2025-01-26T18:56:02+00:00",
|
| 76 |
+
"url": "https://github.com/juspay/hyperswitch/commit/251f4929b247ee6c4693fd4503188c4b89bc64ba"
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"sha": "9619365a9f3923090cbb4aa49cb7ca4e726668e2",
|
| 80 |
+
"message": "Merge branch 'chargebee_integration' into recovery_webhooks",
|
| 81 |
+
"author": "chikke srujan",
|
| 82 |
+
"date": "2025-01-27T05:45:09+00:00",
|
| 83 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9619365a9f3923090cbb4aa49cb7ca4e726668e2"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"sha": "6866eaf5ec7f43a51c9c15f0800c6695196ae1e1",
|
| 87 |
+
"message": "chore: run formatter",
|
| 88 |
+
"author": "hyperswitch-bot[bot]",
|
| 89 |
+
"date": "2025-01-27T05:46:05+00:00",
|
| 90 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6866eaf5ec7f43a51c9c15f0800c6695196ae1e1"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"sha": "7994d7120b3239c215dea0f1ef81091f85a19ad4",
|
| 94 |
+
"message": "Merge branch 'main' into recovery_webhooks",
|
| 95 |
+
"author": "chikke srujan",
|
| 96 |
+
"date": "2025-01-29T11:53:06+00:00",
|
| 97 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7994d7120b3239c215dea0f1ef81091f85a19ad4"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"sha": "b0699a3612ee57b77a4f84db17dc8b74f3bb532b",
|
| 101 |
+
"message": "Merge branch 'main' into recovery_webhooks",
|
| 102 |
+
"author": "Chikke Srujan",
|
| 103 |
+
"date": "2025-02-10T14:33:06+00:00",
|
| 104 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b0699a3612ee57b77a4f84db17dc8b74f3bb532b"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"sha": "f92ee73fd3ad511fd2880a7ddd17d4408fffbf7b",
|
| 108 |
+
"message": "Merge branch 'main' into recovery_webhooks",
|
| 109 |
+
"author": "Chikke Srujan",
|
| 110 |
+
"date": "2025-02-12T05:46:07+00:00",
|
| 111 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f92ee73fd3ad511fd2880a7ddd17d4408fffbf7b"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"sha": "ef12ef3aee7c985a6b90cd8196747f901b63e32c",
|
| 115 |
+
"message": "Merge branch 'main' into recovery_webhooks",
|
| 116 |
+
"author": "Chikke Srujan",
|
| 117 |
+
"date": "2025-02-13T19:19:17+00:00",
|
| 118 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ef12ef3aee7c985a6b90cd8196747f901b63e32c"
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"sha": "aff2350c3f9e4f6b753c0e37700757f2fad9ef61",
|
| 122 |
+
"message": "Merge branch 'main' into recovery_webhooks",
|
| 123 |
+
"author": "chikke srujan",
|
| 124 |
+
"date": "2025-02-14T13:02:11+00:00",
|
| 125 |
+
"url": "https://github.com/juspay/hyperswitch/commit/aff2350c3f9e4f6b753c0e37700757f2fad9ef61"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"sha": "4203413bf78cd82b6437a0abd023306a9a3bd150",
|
| 129 |
+
"message": "payment attempt feature metadata refactor",
|
| 130 |
+
"author": "Chikke Srujan",
|
| 131 |
+
"date": "2025-02-16T19:26:31+00:00",
|
| 132 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4203413bf78cd82b6437a0abd023306a9a3bd150"
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"sha": "1c60b720d8f5a2197e949b48f532d717a9385d6a",
|
| 136 |
+
"message": "Merge branch 'main' into recovery_webhooks",
|
| 137 |
+
"author": "chikke srujan",
|
| 138 |
+
"date": "2025-02-16T19:26:53+00:00",
|
| 139 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1c60b720d8f5a2197e949b48f532d717a9385d6a"
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"sha": "6e5cd99768e208a1dc6fbc481ee9e45b4893b7b2",
|
| 143 |
+
"message": "chore: run formatter",
|
| 144 |
+
"author": "hyperswitch-bot[bot]",
|
| 145 |
+
"date": "2025-02-16T19:27:50+00:00",
|
| 146 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6e5cd99768e208a1dc6fbc481ee9e45b4893b7b2"
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"sha": "a75741a97d31b552c7e074b5796b332d835966e2",
|
| 150 |
+
"message": "clippy fix",
|
| 151 |
+
"author": "Chikke Srujan",
|
| 152 |
+
"date": "2025-02-17T04:43:41+00:00",
|
| 153 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a75741a97d31b552c7e074b5796b332d835966e2"
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"sha": "d22da808556f7ecd59413bb12da1ce64bbf4dac3",
|
| 157 |
+
"message": "chore: run formatter",
|
| 158 |
+
"author": "hyperswitch-bot[bot]",
|
| 159 |
+
"date": "2025-02-17T04:44:45+00:00",
|
| 160 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d22da808556f7ecd59413bb12da1ce64bbf4dac3"
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"sha": "9b3cd4706a1f6734e9c28734b0705e592f0cbe4f",
|
| 164 |
+
"message": "minor refactor",
|
| 165 |
+
"author": "Chikke Srujan",
|
| 166 |
+
"date": "2025-02-17T12:58:20+00:00",
|
| 167 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9b3cd4706a1f6734e9c28734b0705e592f0cbe4f"
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"sha": "13d6e91bd8b5b4ce0d4f2c64ce38f3a69d870b7b",
|
| 171 |
+
"message": "Merge branch 'main' into recovery_webhooks",
|
| 172 |
+
"author": "chikke srujan",
|
| 173 |
+
"date": "2025-02-17T12:58:42+00:00",
|
| 174 |
+
"url": "https://github.com/juspay/hyperswitch/commit/13d6e91bd8b5b4ce0d4f2c64ce38f3a69d870b7b"
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"sha": "f63cb5ecd7d7d71ff993f6438a095463d7140370",
|
| 178 |
+
"message": "change feature flag name",
|
| 179 |
+
"author": "Chikke Srujan",
|
| 180 |
+
"date": "2025-02-17T13:56:04+00:00",
|
| 181 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f63cb5ecd7d7d71ff993f6438a095463d7140370"
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"sha": "e22e24b3b2dc214d64d5d175eba48fc8f139e50f",
|
| 185 |
+
"message": "chore: run formatter",
|
| 186 |
+
"author": "hyperswitch-bot[bot]",
|
| 187 |
+
"date": "2025-02-17T15:09:53+00:00",
|
| 188 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e22e24b3b2dc214d64d5d175eba48fc8f139e50f"
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"sha": "e8c46e2fc2c2cafa5e5860865960bcd1857a5911",
|
| 192 |
+
"message": "clippy fix v2",
|
| 193 |
+
"author": "Chikke Srujan",
|
| 194 |
+
"date": "2025-02-18T06:22:12+00:00",
|
| 195 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e8c46e2fc2c2cafa5e5860865960bcd1857a5911"
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"sha": "a753edc3066c9927952cb53fe3fed1355e72ea11",
|
| 199 |
+
"message": "typos fix",
|
| 200 |
+
"author": "Chikke Srujan",
|
| 201 |
+
"date": "2025-02-18T06:23:30+00:00",
|
| 202 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a753edc3066c9927952cb53fe3fed1355e72ea11"
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"sha": "a675dc882a1897ac2c32796a4517b59f12dbf1ab",
|
| 206 |
+
"message": "add openapi spec changes",
|
| 207 |
+
"author": "Chikke Srujan",
|
| 208 |
+
"date": "2025-02-18T07:08:52+00:00",
|
| 209 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a675dc882a1897ac2c32796a4517b59f12dbf1ab"
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"sha": "1a3b3edf658c9a30b75da7ae1fbc0b6ba69db330",
|
| 213 |
+
"message": "Merge branch 'main' into recovery_webhooks",
|
| 214 |
+
"author": "chikke srujan",
|
| 215 |
+
"date": "2025-02-18T07:57:47+00:00",
|
| 216 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1a3b3edf658c9a30b75da7ae1fbc0b6ba69db330"
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"sha": "bde7819dc225a193083a990d31398cd25f20f262",
|
| 220 |
+
"message": "add recovery webhooks",
|
| 221 |
+
"author": "Chikke Srujan",
|
| 222 |
+
"date": "2025-02-18T12:00:04+00:00",
|
| 223 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bde7819dc225a193083a990d31398cd25f20f262"
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"sha": "3413b69b884fde99f1193c1f60fec1b4bb210545",
|
| 227 |
+
"message": "feature flag revert",
|
| 228 |
+
"author": "Chikke Srujan",
|
| 229 |
+
"date": "2025-02-18T12:18:58+00:00",
|
| 230 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3413b69b884fde99f1193c1f60fec1b4bb210545"
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"sha": "b18f5d7274a125467a3f15b9d7572538e70ca14d",
|
| 234 |
+
"message": "spell check fix",
|
| 235 |
+
"author": "Chikke Srujan",
|
| 236 |
+
"date": "2025-02-18T13:38:53+00:00",
|
| 237 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b18f5d7274a125467a3f15b9d7572538e70ca14d"
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"sha": "2affe4ac373dfaf508060fd7ca2a74b347a4b701",
|
| 241 |
+
"message": "Merge branch 'main' into recovery_webhooks",
|
| 242 |
+
"author": "Chikke Srujan",
|
| 243 |
+
"date": "2025-02-18T17:19:53+00:00",
|
| 244 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2affe4ac373dfaf508060fd7ca2a74b347a4b701"
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"sha": "61aee666388f7a7cc4568eb94426f10ab2b103ab",
|
| 248 |
+
"message": "resolve comments",
|
| 249 |
+
"author": "Chikke Srujan",
|
| 250 |
+
"date": "2025-02-19T11:15:07+00:00",
|
| 251 |
+
"url": "https://github.com/juspay/hyperswitch/commit/61aee666388f7a7cc4568eb94426f10ab2b103ab"
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"sha": "1e8eb88febadcbd3b45ceb7b7b3d3224f4a7f220",
|
| 255 |
+
"message": "clippy fix",
|
| 256 |
+
"author": "Chikke Srujan",
|
| 257 |
+
"date": "2025-02-19T11:30:27+00:00",
|
| 258 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1e8eb88febadcbd3b45ceb7b7b3d3224f4a7f220"
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"sha": "6cc5d2d824ffc20800a864941ae6cb8c4498358c",
|
| 262 |
+
"message": "resolve comments",
|
| 263 |
+
"author": "Chikke Srujan",
|
| 264 |
+
"date": "2025-02-19T11:45:08+00:00",
|
| 265 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6cc5d2d824ffc20800a864941ae6cb8c4498358c"
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"sha": "51efe703d79f25150e1995fb8cd4d1d75300cfa1",
|
| 269 |
+
"message": "clippy fix",
|
| 270 |
+
"author": "Chikke Srujan",
|
| 271 |
+
"date": "2025-02-19T12:17:43+00:00",
|
| 272 |
+
"url": "https://github.com/juspay/hyperswitch/commit/51efe703d79f25150e1995fb8cd4d1d75300cfa1"
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"sha": "be03d4cbe2c96003a6618bdb92a364b1ce30eefb",
|
| 276 |
+
"message": "chore: run formatter",
|
| 277 |
+
"author": "hyperswitch-bot[bot]",
|
| 278 |
+
"date": "2025-02-19T13:28:38+00:00",
|
| 279 |
+
"url": "https://github.com/juspay/hyperswitch/commit/be03d4cbe2c96003a6618bdb92a364b1ce30eefb"
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"sha": "5353ae6e312a2c5f0086f82c6470f2d5a4649da5",
|
| 283 |
+
"message": "resolve comments",
|
| 284 |
+
"author": "Chikke Srujan",
|
| 285 |
+
"date": "2025-02-20T08:44:50+00:00",
|
| 286 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5353ae6e312a2c5f0086f82c6470f2d5a4649da5"
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"sha": "f333fa01b0e02455bd06ebedcfa214a757cde545",
|
| 290 |
+
"message": "revert toml",
|
| 291 |
+
"author": "Chikke Srujan",
|
| 292 |
+
"date": "2025-02-20T08:45:23+00:00",
|
| 293 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f333fa01b0e02455bd06ebedcfa214a757cde545"
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"sha": "488563ffd7527458857fe95558a4fb86847c0181",
|
| 297 |
+
"message": "chore: run formatter",
|
| 298 |
+
"author": "hyperswitch-bot[bot]",
|
| 299 |
+
"date": "2025-02-20T08:50:10+00:00",
|
| 300 |
+
"url": "https://github.com/juspay/hyperswitch/commit/488563ffd7527458857fe95558a4fb86847c0181"
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"sha": "675c5c5255dbf4e5623ee9a930681903a5563bcb",
|
| 304 |
+
"message": "Merge branch 'main' into recovery_webhooks",
|
| 305 |
+
"author": "chikke srujan",
|
| 306 |
+
"date": "2025-02-20T09:00:36+00:00",
|
| 307 |
+
"url": "https://github.com/juspay/hyperswitch/commit/675c5c5255dbf4e5623ee9a930681903a5563bcb"
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"sha": "ced73094ceeb4a7aa0ab13c35b0d6f8252030d70",
|
| 311 |
+
"message": "open api fix",
|
| 312 |
+
"author": "Chikke Srujan",
|
| 313 |
+
"date": "2025-02-20T09:31:27+00:00",
|
| 314 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ced73094ceeb4a7aa0ab13c35b0d6f8252030d70"
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"sha": "03f4ad418e3a7c0d9c307e31ced3de769f55433e",
|
| 318 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 319 |
+
"author": "hyperswitch-bot[bot]",
|
| 320 |
+
"date": "2025-02-20T09:45:26+00:00",
|
| 321 |
+
"url": "https://github.com/juspay/hyperswitch/commit/03f4ad418e3a7c0d9c307e31ced3de769f55433e"
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"sha": "ee8bb092c33f70b38f1d3db5f60e1768c5d0d0e1",
|
| 325 |
+
"message": "add v1 feature flag",
|
| 326 |
+
"author": "Chikke Srujan",
|
| 327 |
+
"date": "2025-02-20T09:59:26+00:00",
|
| 328 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ee8bb092c33f70b38f1d3db5f60e1768c5d0d0e1"
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"sha": "7a6dd9416f5929df3bca7ad32f1c150c6a9a2fb8",
|
| 332 |
+
"message": "Merge branch 'main' into recovery_webhooks",
|
| 333 |
+
"author": "chikke srujan",
|
| 334 |
+
"date": "2025-02-20T12:45:34+00:00",
|
| 335 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7a6dd9416f5929df3bca7ad32f1c150c6a9a2fb8"
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"sha": "05a11dd1f59d1abf197b78721f231eaf71c41806",
|
| 339 |
+
"message": "resolve comments",
|
| 340 |
+
"author": "Chikke Srujan",
|
| 341 |
+
"date": "2025-02-20T13:04:05+00:00",
|
| 342 |
+
"url": "https://github.com/juspay/hyperswitch/commit/05a11dd1f59d1abf197b78721f231eaf71c41806"
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"sha": "4a5152af24cdbe693a8722cb09e93181d8ae34f6",
|
| 346 |
+
"message": "clippy fix",
|
| 347 |
+
"author": "Chikke Srujan",
|
| 348 |
+
"date": "2025-02-21T06:29:25+00:00",
|
| 349 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4a5152af24cdbe693a8722cb09e93181d8ae34f6"
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"sha": "abaf2c3798f70ab7a80aa4a6bc9b6bd423da2942",
|
| 353 |
+
"message": "Merge branch 'main' into recovery_webhooks",
|
| 354 |
+
"author": "chikke srujan",
|
| 355 |
+
"date": "2025-02-21T08:37:43+00:00",
|
| 356 |
+
"url": "https://github.com/juspay/hyperswitch/commit/abaf2c3798f70ab7a80aa4a6bc9b6bd423da2942"
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"sha": "5c58cab35d7f0902b41d2dec2bacdf79722f1238",
|
| 360 |
+
"message": "Merge branch 'main' into recovery_webhooks",
|
| 361 |
+
"author": "chikke srujan",
|
| 362 |
+
"date": "2025-02-22T16:36:19+00:00",
|
| 363 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5c58cab35d7f0902b41d2dec2bacdf79722f1238"
|
| 364 |
+
}
|
| 365 |
+
]
|
| 366 |
+
}
|
prs/pr_7121.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7121,
|
| 3 |
+
"title": "refactor(router): add display_name field to connector feature api ",
|
| 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\nIn this PR we will \r\n1. Add display_name field to connector feature api \r\n2. Rename non_threeDs to no_threeDs\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\nList the connector feature and check if it contains display name and no_threeds instead of threeds\r\n```\r\ncurl --location 'http://localhost:8080/feature_matrix' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json'\r\n```\r\nResponse\r\n```\r\n{\r\n \"connector_count\": 3,\r\n \"connectors\": [\r\n {\r\n \"name\": \"BAMBORA\",\r\n \"display_name\": \"Bambora\",\r\n \"description\": \"Bambora is a leading online payment provider in Canada and United States.\",\r\n \"category\": \"payment_gateway\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\",\r\n \"AmericanExpress\",\r\n \"Discover\",\r\n \"JCB\",\r\n \"DinersClub\"\r\n ],\r\n \"supported_countries\": [\r\n \"CA\",\r\n \"US\"\r\n ],\r\n \"supported_currencies\": [\r\n \"USD\"\r\n ]\r\n }\r\n ],\r\n \"supported_webhook_flows\": []\r\n },\r\n {\r\n \"name\": \"DEUTSCHEBANK\",\r\n \"display_name\": \"Deutsche Bank\",\r\n \"description\": \"Deutsche Bank is a German multinational investment bank and financial services company \",\r\n \"category\": \"bank_acquirer\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"supported\",\r\n \"no_three_ds\": \"not_supported\",\r\n \"supported_card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\"\r\n ],\r\n \"supported_countries\": null,\r\n \"supported_currencies\": null\r\n },\r\n {\r\n \"payment_method\": \"bank_debit\",\r\n \"payment_method_type\": \"sepa\",\r\n \"mandates\": \"supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"supported_countries\": null,\r\n \"supported_currencies\": null\r\n }\r\n ],\r\n \"supported_webhook_flows\": []\r\n },\r\n {\r\n \"name\": \"ZSL\",\r\n \"display_name\": \"ZSL\",\r\n \"description\": \"Zsl is a payment gateway operating in China, specializing in facilitating local bank transfers\",\r\n \"category\": \"payment_gateway\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"bank_transfer\",\r\n \"payment_method_type\": \"local_bank_transfer\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"not_supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\"\r\n ],\r\n \"supported_countries\": [\r\n \"CN\"\r\n ],\r\n \"supported_currencies\": [\r\n \"CNY\"\r\n ]\r\n }\r\n ],\r\n \"supported_webhook_flows\": []\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": "AkshayaFoiger",
|
| 6 |
+
"created_at": "2025-01-27T12:41:17+00:00",
|
| 7 |
+
"merged_at": "2025-02-07T08:29:19+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-compatibility",
|
| 11 |
+
"M-api-contract-changes",
|
| 12 |
+
"enhancement"
|
| 13 |
+
],
|
| 14 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7121",
|
| 15 |
+
"commits": [
|
| 16 |
+
{
|
| 17 |
+
"sha": "33dbf953e9b1e109fc0ba9af0d373d7043a3fb8d",
|
| 18 |
+
"message": "refactor(router): add display name to connector_api",
|
| 19 |
+
"author": "AkshayaFoiger",
|
| 20 |
+
"date": "2025-01-27T12:28:51+00:00",
|
| 21 |
+
"url": "https://github.com/juspay/hyperswitch/commit/33dbf953e9b1e109fc0ba9af0d373d7043a3fb8d"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"sha": "a6f52152591d8900433d430bd01668870216da42",
|
| 25 |
+
"message": "refactor(router): rename non_threeds to no_threeds",
|
| 26 |
+
"author": "AkshayaFoiger",
|
| 27 |
+
"date": "2025-01-27T12:33:27+00:00",
|
| 28 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a6f52152591d8900433d430bd01668870216da42"
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"sha": "b68cabe140d030c8e6b0b6b2d94444beec9b16a7",
|
| 32 |
+
"message": "generate openapi spec",
|
| 33 |
+
"author": "AkshayaFoiger",
|
| 34 |
+
"date": "2025-01-27T12:47:16+00:00",
|
| 35 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b68cabe140d030c8e6b0b6b2d94444beec9b16a7"
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"sha": "b45e572335aa8a676af184e49d5b8f85edb47719",
|
| 39 |
+
"message": "Change the type of display_name and description",
|
| 40 |
+
"author": "AkshayaFoiger",
|
| 41 |
+
"date": "2025-01-27T14:28:38+00:00",
|
| 42 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b45e572335aa8a676af184e49d5b8f85edb47719"
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"sha": "8a8850c13279cc41612f57f2c22157b75e863642",
|
| 46 |
+
"message": "chore: run formatter",
|
| 47 |
+
"author": "hyperswitch-bot[bot]",
|
| 48 |
+
"date": "2025-01-27T20:22:16+00:00",
|
| 49 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8a8850c13279cc41612f57f2c22157b75e863642"
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"sha": "5f81f72f57c722682d7a0bf063452d8c910eab97",
|
| 53 |
+
"message": "Merge branch 'main' into add-display-name",
|
| 54 |
+
"author": "AkshayaFoiger",
|
| 55 |
+
"date": "2025-02-03T07:40:51+00:00",
|
| 56 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5f81f72f57c722682d7a0bf063452d8c910eab97"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"sha": "a7577d8ce9fbde48b9108823ccb00506c04769b8",
|
| 60 |
+
"message": "Merge branch 'main' into add-display-name",
|
| 61 |
+
"author": "AkshayaFoiger",
|
| 62 |
+
"date": "2025-02-06T18:22:05+00:00",
|
| 63 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a7577d8ce9fbde48b9108823ccb00506c04769b8"
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"sha": "2519244cb9b9c76c5b41081d882e82680c4b45f7",
|
| 67 |
+
"message": "fix clippy error",
|
| 68 |
+
"author": "AkshayaFoiger",
|
| 69 |
+
"date": "2025-02-06T18:52:14+00:00",
|
| 70 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2519244cb9b9c76c5b41081d882e82680c4b45f7"
|
| 71 |
+
}
|
| 72 |
+
]
|
| 73 |
+
}
|
prs/pr_7148.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7148,
|
| 3 |
+
"title": "feat(connector): [JPMORGAN, PAYU, DIGITALVIRGO, PAYBOX, BITPAY, HELCIM] added in feature matrix 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\nFixes juspay/hyperswitch-cloud#8276\r\n\r\n## Description\r\nAdded details feature api details for Jpmorgan, Payu, Digital Virgo.\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## Motivation and Context\r\n\r\n## How did you test it?\r\n\r\nRequest : \r\n\r\n`curl --location 'http://localhost:8080/feature_matrix' \\ --header 'Content-Type: application/json' \\ --header 'Accept: application/json' \\ --header 'api-key: dev_vE*****DCUv82mKkL'`\r\n\r\nResponse : \r\n\r\n```\r\n{\r\n \"connector_count\": 9,\r\n \"connectors\": [\r\n {\r\n \"name\": \"BAMBORA\",\r\n \"display_name\": \"Bambora\",\r\n \"description\": \"Bambora is a leading online payment provider in Canada and United States.\",\r\n \"category\": \"payment_gateway\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\",\r\n \"AmericanExpress\",\r\n \"Discover\",\r\n \"JCB\",\r\n \"DinersClub\"\r\n ],\r\n \"supported_countries\": [\r\n \"US\",\r\n \"CA\"\r\n ],\r\n \"supported_currencies\": [\r\n \"USD\"\r\n ]\r\n }\r\n ],\r\n \"supported_webhook_flows\": []\r\n },\r\n {\r\n \"name\": \"BITPAY\",\r\n \"display_name\": \"Bitpay\",\r\n \"description\": \"BitPay is a cryptocurrency payment processor that enables businesses to accept Bitcoin and other digital currencies \",\r\n \"category\": \"alternative_payment_method\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"crypto\",\r\n \"payment_method_type\": \"crypto_currency\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\"\r\n ],\r\n \"supported_countries\": [\r\n \"BE\",\r\n \"GR\",\r\n \"US\",\r\n \"DE\",\r\n \"SE\",\r\n \"PL\",\r\n \"LV\",\r\n \"FI\",\r\n \"NL\",\r\n \"RO\",\r\n \"GB\",\r\n \"BG\",\r\n \"AT\",\r\n \"CA\",\r\n \"HR\",\r\n \"LT\",\r\n \"EE\",\r\n \"CZ\",\r\n \"FR\",\r\n \"DK\",\r\n \"PT\",\r\n \"HU\",\r\n \"LU\",\r\n \"SI\",\r\n \"MT\",\r\n \"IE\",\r\n \"CY\",\r\n \"IT\",\r\n \"ES\",\r\n \"SK\"\r\n ],\r\n \"supported_currencies\": [\r\n \"CHF\",\r\n \"MXN\",\r\n \"USD\",\r\n \"GBP\",\r\n \"EUR\",\r\n \"NZD\",\r\n \"AUD\",\r\n \"CAD\"\r\n ]\r\n }\r\n ],\r\n \"supported_webhook_flows\": [\r\n \"payments\"\r\n ]\r\n },\r\n {\r\n \"name\": \"DEUTSCHEBANK\",\r\n \"display_name\": \"Deutsche Bank\",\r\n \"description\": \"Deutsche Bank is a German multinational investment bank and financial services company \",\r\n \"category\": \"bank_acquirer\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"supported\",\r\n \"no_three_ds\": \"not_supported\",\r\n \"supported_card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\"\r\n ],\r\n \"supported_countries\": null,\r\n \"supported_currencies\": null\r\n },\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"debit\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"supported\",\r\n \"no_three_ds\": \"not_supported\",\r\n \"supported_card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\"\r\n ],\r\n \"supported_countries\": null,\r\n \"supported_currencies\": null\r\n },\r\n {\r\n \"payment_method\": \"bank_debit\",\r\n \"payment_method_type\": \"sepa\",\r\n \"mandates\": \"supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"supported_countries\": null,\r\n \"supported_currencies\": null\r\n }\r\n ],\r\n \"supported_webhook_flows\": []\r\n },\r\n {\r\n \"name\": \"DIGITALVIRGO\",\r\n \"display_name\": \"Digital Virgo\",\r\n \"description\": \"Digital Virgo is an alternative payment provider specializing in carrier billing and mobile payments \",\r\n \"category\": \"alternative_payment_method\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"mobile_payment\",\r\n \"payment_method_type\": \"direct_carrier_billing\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"sequential_automatic\"\r\n ],\r\n \"supported_countries\": [\r\n \"AE\",\r\n \"PS\",\r\n \"RU\",\r\n \"SD\",\r\n \"TR\",\r\n \"CM\",\r\n \"GN\",\r\n \"AZ\",\r\n \"NL\",\r\n \"BH\",\r\n \"IQ\",\r\n \"MA\",\r\n \"BW\",\r\n \"BR\",\r\n \"LY\",\r\n \"SA\",\r\n \"GH\",\r\n \"SG\",\r\n \"PL\",\r\n \"ML\",\r\n \"FR\",\r\n \"CG\",\r\n \"MG\",\r\n \"EG\",\r\n \"BE\",\r\n \"NG\",\r\n \"IE\",\r\n \"SK\",\r\n \"CH\",\r\n \"ID\",\r\n \"GR\",\r\n \"JO\",\r\n \"SN\",\r\n \"IT\",\r\n \"DE\",\r\n \"KW\",\r\n \"PT\",\r\n \"GB\",\r\n \"MX\",\r\n \"ZA\",\r\n \"QA\",\r\n \"AR\",\r\n \"OM\",\r\n \"GA\",\r\n \"DZ\",\r\n \"CL\",\r\n \"ES\",\r\n \"TN\"\r\n ],\r\n \"supported_currencies\": [\r\n \"BHD\",\r\n \"ZAR\",\r\n \"EGP\",\r\n \"OMR\",\r\n \"GNF\",\r\n \"JOD\",\r\n \"IQD\",\r\n \"XAF\",\r\n \"CHF\",\r\n \"LYD\",\r\n \"MGA\",\r\n \"CLP\",\r\n \"BRL\",\r\n \"SDG\",\r\n \"EUR\",\r\n \"TRY\",\r\n \"ARS\",\r\n \"MAD\",\r\n \"SAR\",\r\n \"ILS\",\r\n \"TND\",\r\n \"IDR\",\r\n \"XOF\",\r\n \"MXN\",\r\n \"DZD\",\r\n \"AZN\",\r\n \"PLN\",\r\n \"QAR\",\r\n \"AED\",\r\n \"CDF\",\r\n \"RUB\",\r\n \"GHS\",\r\n \"BWP\",\r\n \"GBP\",\r\n \"NGN\",\r\n \"SGD\",\r\n \"KWD\"\r\n ]\r\n }\r\n ],\r\n \"supported_webhook_flows\": []\r\n },\r\n {\r\n \"name\": \"HELCIM\",\r\n \"display_name\": \"Helcim\",\r\n \"description\": \"Helcim is a payment processing company that offers transparent, affordable merchant services for businesses of all sizes\",\r\n \"category\": \"payment_gateway\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"mandates\": \"supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"not_supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\",\r\n \"Interac\",\r\n \"AmericanExpress\",\r\n \"JCB\",\r\n \"DinersClub\",\r\n \"Discover\",\r\n \"CartesBancaires\",\r\n \"UnionPay\"\r\n ],\r\n \"supported_countries\": [\r\n \"CA\",\r\n \"US\"\r\n ],\r\n \"supported_currencies\": [\r\n \"USD\",\r\n \"CAD\"\r\n ]\r\n },\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"debit\",\r\n \"mandates\": \"supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"not_supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\",\r\n \"Interac\",\r\n \"AmericanExpress\",\r\n \"JCB\",\r\n \"DinersClub\",\r\n \"Discover\",\r\n \"CartesBancaires\",\r\n \"UnionPay\"\r\n ],\r\n \"supported_countries\": [\r\n \"CA\",\r\n \"US\"\r\n ],\r\n \"supported_currencies\": [\r\n \"CAD\",\r\n \"USD\"\r\n ]\r\n }\r\n ],\r\n \"supported_webhook_flows\": []\r\n },\r\n {\r\n \"name\": \"JPMORGAN\",\r\n \"display_name\": \"Jpmorgan\",\r\n \"description\": \"J.P. Morgan is a global financial services firm and investment bank, offering banking, asset management, and payment processing solutions\",\r\n \"category\": \"bank_acquirer\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"not_supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\"\r\n ],\r\n \"three_ds\": \"not_supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"AmericanExpress\",\r\n \"DinersClub\",\r\n \"Discover\",\r\n \"JCB\",\r\n \"Mastercard\",\r\n \"UnionPay\",\r\n \"Visa\"\r\n ],\r\n \"supported_countries\": [\r\n \"LT\",\r\n \"PL\",\r\n \"BG\",\r\n \"CA\",\r\n \"CZ\",\r\n \"FI\",\r\n \"NL\",\r\n \"CY\",\r\n \"EE\",\r\n \"DK\",\r\n \"ES\",\r\n \"IE\",\r\n \"RO\",\r\n \"GB\",\r\n \"SI\",\r\n \"HR\",\r\n \"GR\",\r\n \"HU\",\r\n \"FR\",\r\n \"BE\",\r\n \"SE\",\r\n \"LV\",\r\n \"US\",\r\n \"PT\",\r\n \"LU\",\r\n \"IT\",\r\n \"MT\",\r\n \"DE\",\r\n \"SK\",\r\n \"AT\"\r\n ],\r\n \"supported_currencies\": [\r\n \"FJD\",\r\n \"PKR\",\r\n \"SHP\",\r\n \"CAD\",\r\n \"GHS\",\r\n \"PGK\",\r\n \"UGX\",\r\n \"RSD\",\r\n \"LSL\",\r\n \"HNL\",\r\n \"JPY\",\r\n \"MMK\",\r\n \"EGP\",\r\n \"GIP\",\r\n \"DKK\",\r\n \"LBP\",\r\n \"ALL\",\r\n \"CVE\",\r\n \"STN\",\r\n \"TTD\",\r\n \"CNY\",\r\n \"BND\",\r\n \"JMD\",\r\n \"MVR\",\r\n \"UYU\",\r\n \"KES\",\r\n \"KHR\",\r\n \"BBD\",\r\n \"HUF\",\r\n \"MNT\",\r\n \"AED\",\r\n \"CHF\",\r\n \"AWG\",\r\n \"TZS\",\r\n \"SEK\",\r\n \"ZAR\",\r\n \"AFN\",\r\n \"INR\",\r\n \"HKD\",\r\n \"LRD\",\r\n \"NAD\",\r\n \"MKD\",\r\n \"MYR\",\r\n \"HRK\",\r\n \"MOP\",\r\n \"NGN\",\r\n \"VUV\",\r\n \"GMD\",\r\n \"PHP\",\r\n \"SBD\",\r\n \"XCD\",\r\n \"DOP\",\r\n \"SCR\",\r\n \"SRD\",\r\n \"LAK\",\r\n \"SZL\",\r\n \"KZT\",\r\n \"KYD\",\r\n \"MZN\",\r\n \"CZK\",\r\n \"BWP\",\r\n \"BSD\",\r\n \"MGA\",\r\n \"WST\",\r\n \"MXN\",\r\n \"SLL\",\r\n \"MWK\",\r\n \"PYG\",\r\n \"NZD\",\r\n \"THB\",\r\n \"USD\",\r\n \"BTN\",\r\n \"ETB\",\r\n \"ISK\",\r\n \"QAR\",\r\n \"FKP\",\r\n \"CLP\",\r\n \"XPF\",\r\n \"XAF\",\r\n \"TJS\",\r\n \"PLN\",\r\n \"DZD\",\r\n \"PEN\",\r\n \"RWF\",\r\n \"COP\",\r\n \"BIF\",\r\n \"KMF\",\r\n \"NOK\",\r\n \"VND\",\r\n \"NPR\",\r\n \"GBP\",\r\n \"ZMW\",\r\n \"BDT\",\r\n \"TOP\",\r\n \"BAM\",\r\n \"CRC\",\r\n \"GEL\",\r\n \"TRY\",\r\n \"GYD\",\r\n \"XOF\",\r\n \"MAD\",\r\n \"ANG\",\r\n \"HTG\",\r\n \"UZS\",\r\n \"SAR\",\r\n \"CDF\",\r\n \"AZN\",\r\n \"GTQ\",\r\n \"SOS\",\r\n \"YER\",\r\n \"AUD\",\r\n \"MRU\",\r\n \"NIO\",\r\n \"IDR\",\r\n \"SGD\",\r\n \"RON\",\r\n \"BRL\",\r\n \"TWD\",\r\n \"AMD\",\r\n \"ARS\",\r\n \"BYN\",\r\n \"ILS\",\r\n \"MDL\",\r\n \"BMD\",\r\n \"PAB\",\r\n \"BOB\",\r\n \"UAH\",\r\n \"LKR\",\r\n \"KRW\",\r\n \"BZD\",\r\n \"MUR\",\r\n \"AOA\",\r\n \"BGN\",\r\n \"DJF\",\r\n \"EUR\"\r\n ]\r\n },\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"debit\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"not_supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\"\r\n ],\r\n \"three_ds\": \"not_supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"AmericanExpress\",\r\n \"DinersClub\",\r\n \"Discover\",\r\n \"JCB\",\r\n \"Mastercard\",\r\n \"UnionPay\",\r\n \"Visa\"\r\n ],\r\n \"supported_countries\": [\r\n \"GB\",\r\n \"HR\",\r\n \"EE\",\r\n \"FR\",\r\n \"PL\",\r\n \"SE\",\r\n \"AT\",\r\n \"GR\",\r\n \"SI\",\r\n \"NL\",\r\n \"SK\",\r\n \"FI\",\r\n \"CA\",\r\n \"CZ\",\r\n \"HU\",\r\n \"CY\",\r\n \"IT\",\r\n \"BG\",\r\n \"DK\",\r\n \"RO\",\r\n \"LT\",\r\n \"LV\",\r\n \"US\",\r\n \"MT\",\r\n \"DE\",\r\n \"LU\",\r\n \"IE\",\r\n \"ES\",\r\n \"BE\",\r\n \"PT\"\r\n ],\r\n \"supported_currencies\": [\r\n \"PYG\",\r\n \"TOP\",\r\n \"BIF\",\r\n \"VUV\",\r\n \"CVE\",\r\n \"JPY\",\r\n \"MXN\",\r\n \"KRW\",\r\n \"BRL\",\r\n \"KES\",\r\n \"PHP\",\r\n \"KMF\",\r\n \"BDT\",\r\n \"BND\",\r\n \"RSD\",\r\n \"PKR\",\r\n \"ZMW\",\r\n \"BOB\",\r\n \"LSL\",\r\n \"UAH\",\r\n \"NIO\",\r\n \"KZT\",\r\n \"KHR\",\r\n \"TJS\",\r\n \"CLP\",\r\n \"PAB\",\r\n \"UGX\",\r\n \"KYD\",\r\n \"RON\",\r\n \"COP\",\r\n \"CRC\",\r\n \"MMK\",\r\n \"TTD\",\r\n \"VND\",\r\n \"YER\",\r\n \"MNT\",\r\n \"AWG\",\r\n \"STN\",\r\n \"ETB\",\r\n \"SHP\",\r\n \"AUD\",\r\n \"DJF\",\r\n \"HTG\",\r\n \"HRK\",\r\n \"SZL\",\r\n \"AMD\",\r\n \"PGK\",\r\n \"MGA\",\r\n \"IDR\",\r\n \"TRY\",\r\n \"WST\",\r\n \"NAD\",\r\n \"CHF\",\r\n \"CNY\",\r\n \"UYU\",\r\n \"HUF\",\r\n \"THB\",\r\n \"AFN\",\r\n \"MRU\",\r\n \"DZD\",\r\n \"BGN\",\r\n \"GTQ\",\r\n \"EGP\",\r\n \"MAD\",\r\n \"JMD\",\r\n \"GIP\",\r\n \"NPR\",\r\n \"LBP\",\r\n \"MDL\",\r\n \"SCR\",\r\n \"BSD\",\r\n \"SBD\",\r\n \"ARS\",\r\n \"AOA\",\r\n \"XAF\",\r\n \"MKD\",\r\n \"TWD\",\r\n \"GBP\",\r\n \"BYN\",\r\n \"UZS\",\r\n \"MYR\",\r\n \"CAD\",\r\n \"LAK\",\r\n \"MZN\",\r\n \"AED\",\r\n \"SGD\",\r\n \"EUR\",\r\n \"SRD\",\r\n \"MUR\",\r\n \"GHS\",\r\n \"FJD\",\r\n \"GEL\",\r\n \"GMD\",\r\n \"XOF\",\r\n \"SLL\",\r\n \"SAR\",\r\n \"BAM\",\r\n \"NZD\",\r\n \"BWP\",\r\n \"GYD\",\r\n \"NGN\",\r\n \"FKP\",\r\n \"HNL\",\r\n \"SEK\",\r\n \"INR\",\r\n \"PEN\",\r\n \"BTN\",\r\n \"BBD\",\r\n \"ALL\",\r\n \"USD\",\r\n \"LRD\",\r\n \"XPF\",\r\n \"MVR\",\r\n \"XCD\",\r\n \"SOS\",\r\n \"BZD\",\r\n \"AZN\",\r\n \"MWK\",\r\n \"TZS\",\r\n \"DKK\",\r\n \"CZK\",\r\n \"ISK\",\r\n \"RWF\",\r\n \"DOP\",\r\n \"ZAR\",\r\n \"BMD\",\r\n \"LKR\",\r\n \"NOK\",\r\n \"HKD\",\r\n \"QAR\",\r\n \"CDF\",\r\n \"PLN\",\r\n \"MOP\",\r\n \"ANG\",\r\n \"ILS\"\r\n ]\r\n }\r\n ],\r\n \"supported_webhook_flows\": []\r\n },\r\n {\r\n \"name\": \"PAYBOX\",\r\n \"display_name\": \"Paybox\",\r\n \"description\": \"Paybox is a payment gateway that enables businesses to process online transactions securely \",\r\n \"category\": \"payment_gateway\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"debit\",\r\n \"mandates\": \"supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\",\r\n \"Interac\",\r\n \"AmericanExpress\",\r\n \"JCB\",\r\n \"DinersClub\",\r\n \"Discover\",\r\n \"CartesBancaires\",\r\n \"UnionPay\"\r\n ],\r\n \"supported_countries\": [\r\n \"FR\"\r\n ],\r\n \"supported_currencies\": [\r\n \"CAD\",\r\n \"EUR\",\r\n \"AUD\",\r\n \"USD\"\r\n ]\r\n },\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"mandates\": \"supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\",\r\n \"Interac\",\r\n \"AmericanExpress\",\r\n \"JCB\",\r\n \"DinersClub\",\r\n \"Discover\",\r\n \"CartesBancaires\",\r\n \"UnionPay\"\r\n ],\r\n \"supported_countries\": [\r\n \"FR\"\r\n ],\r\n \"supported_currencies\": [\r\n \"USD\",\r\n \"CAD\",\r\n \"AUD\",\r\n \"EUR\"\r\n ]\r\n }\r\n ],\r\n \"supported_webhook_flows\": []\r\n },\r\n {\r\n \"name\": \"PAYU\",\r\n \"display_name\": \"Payu\",\r\n \"description\": \"PayU is a global fintech company providing online payment solutions, including card processing, UPI, wallets, and BNPL services across multiple markets \",\r\n \"category\": \"payment_gateway\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"wallet\",\r\n \"payment_method_type\": \"google_pay\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"supported_countries\": [\r\n \"GY\",\r\n \"DZ\",\r\n \"SR\",\r\n \"CR\",\r\n \"NA\",\r\n \"TJ\",\r\n \"MK\",\r\n \"ET\",\r\n \"GH\",\r\n \"HK\",\r\n \"MG\",\r\n \"AL\",\r\n \"LR\",\r\n \"SO\",\r\n \"UG\",\r\n \"FJ\",\r\n \"AI\",\r\n \"DJ\",\r\n \"IL\",\r\n \"KH\",\r\n \"AS\",\r\n \"BM\",\r\n \"BR\",\r\n \"SV\",\r\n \"MN\",\r\n \"RO\",\r\n \"VE\",\r\n \"PA\",\r\n \"BW\",\r\n \"BH\",\r\n \"SZ\",\r\n \"PL\",\r\n \"SH\",\r\n \"FK\",\r\n \"CL\",\r\n \"CD\",\r\n \"TT\",\r\n \"JP\",\r\n \"TH\",\r\n \"AW\",\r\n \"PF\",\r\n \"BY\",\r\n \"MD\",\r\n \"TW\",\r\n \"AU\",\r\n \"GT\",\r\n \"KR\",\r\n \"AF\",\r\n \"BZ\",\r\n \"AZ\",\r\n \"GE\",\r\n \"MW\",\r\n \"MY\",\r\n \"TO\",\r\n \"MA\",\r\n \"VU\",\r\n \"SC\",\r\n \"LI\",\r\n \"MZ\",\r\n \"BV\",\r\n \"AE\",\r\n \"CN\",\r\n \"GG\",\r\n \"BB\",\r\n \"TN\",\r\n \"SA\",\r\n \"HN\",\r\n \"MR\",\r\n \"OM\",\r\n \"NG\",\r\n \"JO\",\r\n \"CO\",\r\n \"QA\",\r\n \"WS\",\r\n \"GN\",\r\n \"ZM\",\r\n \"AR\",\r\n \"KM\",\r\n \"BN\",\r\n \"RW\",\r\n \"CZ\",\r\n \"SE\",\r\n \"AO\",\r\n \"EG\",\r\n \"BS\",\r\n \"KZ\",\r\n \"UY\",\r\n \"CA\",\r\n \"HR\",\r\n \"ZA\",\r\n \"GI\",\r\n \"BI\",\r\n \"BJ\",\r\n \"PY\",\r\n \"UZ\",\r\n \"SB\",\r\n \"ZW\",\r\n \"VN\",\r\n \"CK\",\r\n \"BA\",\r\n \"AM\",\r\n \"BG\",\r\n \"YE\",\r\n \"IQ\",\r\n \"JM\",\r\n \"ID\",\r\n \"PE\",\r\n \"PG\",\r\n \"BO\",\r\n \"TR\",\r\n \"CM\",\r\n \"IS\",\r\n \"HT\",\r\n \"LS\",\r\n \"NI\",\r\n \"TM\",\r\n \"CW\",\r\n \"LA\",\r\n \"MO\",\r\n \"AD\",\r\n \"SG\",\r\n \"GM\",\r\n \"KG\",\r\n \"KW\",\r\n \"CV\",\r\n \"MV\",\r\n \"MX\",\r\n \"TZ\",\r\n \"KY\",\r\n \"RS\",\r\n \"DK\",\r\n \"HU\",\r\n \"LB\",\r\n \"DO\"\r\n ],\r\n \"supported_currencies\": [\r\n \"KWD\",\r\n \"PEN\",\r\n \"NIO\",\r\n \"RSD\",\r\n \"BWP\",\r\n \"HKD\",\r\n \"MDL\",\r\n \"USD\",\r\n \"VND\",\r\n \"AMD\",\r\n \"ISK\",\r\n \"ILS\",\r\n \"TOP\",\r\n \"JOD\",\r\n \"ZMW\",\r\n \"TJS\",\r\n \"BSD\",\r\n \"DKK\",\r\n \"BAM\",\r\n \"MNT\",\r\n \"PYG\",\r\n \"HUF\",\r\n \"ALL\",\r\n \"GNF\",\r\n \"KZT\",\r\n \"MWK\",\r\n \"RON\",\r\n \"VUV\",\r\n \"XCD\",\r\n \"XAF\",\r\n \"CLP\",\r\n \"BOB\",\r\n \"KGS\",\r\n \"VES\",\r\n \"AWG\",\r\n \"BRL\",\r\n \"CNY\",\r\n \"IQD\",\r\n \"CZK\",\r\n \"SCR\",\r\n \"MGA\",\r\n \"MVR\",\r\n \"SZL\",\r\n \"WST\",\r\n \"TZS\",\r\n \"MYR\",\r\n \"ARS\",\r\n \"NZD\",\r\n \"LRD\",\r\n \"CAD\",\r\n \"BYN\",\r\n \"BIF\",\r\n \"HNL\",\r\n \"CVE\",\r\n \"GHS\",\r\n \"SVC\",\r\n \"BHD\",\r\n \"SEK\",\r\n \"AZN\",\r\n \"OMR\",\r\n \"SBD\",\r\n \"BBD\",\r\n \"BZD\",\r\n \"PAB\",\r\n \"SHP\",\r\n \"BGN\",\r\n \"GEL\",\r\n \"UYU\",\r\n \"ZAR\",\r\n \"CRC\",\r\n \"KYD\",\r\n \"HRK\",\r\n \"AED\",\r\n \"BND\",\r\n \"ETB\",\r\n \"MKD\",\r\n \"SOS\",\r\n \"LAK\",\r\n \"BMD\",\r\n \"MAD\",\r\n \"NOK\",\r\n \"TWD\",\r\n \"UGX\",\r\n \"LBP\",\r\n \"EUR\",\r\n \"GBP\",\r\n \"XPF\",\r\n \"YER\",\r\n \"RWF\",\r\n \"JPY\",\r\n \"TTD\",\r\n \"AUD\",\r\n \"KHR\",\r\n \"FKP\",\r\n \"TND\",\r\n \"PLN\",\r\n \"SAR\",\r\n \"MOP\",\r\n \"CDF\",\r\n \"AFN\",\r\n \"TRY\",\r\n \"GTQ\",\r\n \"HTG\",\r\n \"SRD\",\r\n \"LSL\",\r\n \"COP\",\r\n \"AOA\",\r\n \"JMD\",\r\n \"KRW\",\r\n \"DOP\",\r\n \"XOF\",\r\n \"ZWL\",\r\n \"GYD\",\r\n \"DJF\",\r\n \"SGD\",\r\n \"THB\",\r\n \"FJD\",\r\n \"GIP\",\r\n \"DZD\",\r\n \"EGP\",\r\n \"CHF\",\r\n \"GMD\",\r\n \"IDR\",\r\n \"MRU\",\r\n \"TMT\",\r\n \"KMF\",\r\n \"NGN\",\r\n \"QAR\",\r\n \"UZS\",\r\n \"MXN\",\r\n \"MZN\",\r\n \"ANG\",\r\n \"NAD\",\r\n \"PGK\"\r\n ]\r\n },\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"not_supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\",\r\n \"Interac\",\r\n \"AmericanExpress\",\r\n \"JCB\",\r\n \"DinersClub\",\r\n \"Discover\",\r\n \"CartesBancaires\",\r\n \"UnionPay\"\r\n ],\r\n \"supported_countries\": [\r\n \"AM\",\r\n \"AE\",\r\n \"ZW\",\r\n \"WS\",\r\n \"DO\",\r\n \"UY\",\r\n \"HR\",\r\n \"AO\",\r\n \"MV\",\r\n \"QA\",\r\n \"TR\",\r\n \"NI\",\r\n \"GY\",\r\n \"VU\",\r\n \"MD\",\r\n \"GI\",\r\n \"SA\",\r\n \"UZ\",\r\n \"MA\",\r\n \"TH\",\r\n \"GN\",\r\n \"OM\",\r\n \"AS\",\r\n \"BA\",\r\n \"YE\",\r\n \"CK\",\r\n \"SV\",\r\n \"TT\",\r\n \"SZ\",\r\n \"AR\",\r\n \"BR\",\r\n \"BW\",\r\n \"JO\",\r\n \"BH\",\r\n \"LA\",\r\n \"SE\",\r\n \"BZ\",\r\n \"AZ\",\r\n \"HU\",\r\n \"MY\",\r\n \"CO\",\r\n \"KH\",\r\n \"AI\",\r\n \"TZ\",\r\n \"MK\",\r\n \"TM\",\r\n \"SR\",\r\n \"KR\",\r\n \"BN\",\r\n \"EG\",\r\n \"AU\",\r\n \"PY\",\r\n \"NG\",\r\n \"GH\",\r\n \"CN\",\r\n \"KZ\",\r\n \"NA\",\r\n \"ZM\",\r\n \"JP\",\r\n \"ID\",\r\n \"VN\",\r\n \"MZ\",\r\n \"SO\",\r\n \"BM\",\r\n \"CL\",\r\n \"ET\",\r\n \"MR\",\r\n \"LI\",\r\n \"KY\",\r\n \"AF\",\r\n \"BS\",\r\n \"MX\",\r\n \"RW\",\r\n \"CD\",\r\n \"TO\",\r\n \"RS\",\r\n \"DK\",\r\n \"GG\",\r\n \"PE\",\r\n \"PA\",\r\n \"CA\",\r\n \"LB\",\r\n \"CR\",\r\n \"MW\",\r\n \"FJ\",\r\n \"PG\",\r\n \"TN\",\r\n \"TW\",\r\n \"BO\",\r\n \"LR\",\r\n \"AD\",\r\n \"IS\",\r\n \"GM\",\r\n \"BG\",\r\n \"BV\",\r\n \"SG\",\r\n \"PF\",\r\n \"AL\",\r\n \"BI\",\r\n \"KM\",\r\n \"CM\",\r\n \"ZA\",\r\n \"AW\",\r\n \"RO\",\r\n \"TJ\",\r\n \"HK\",\r\n \"CW\",\r\n \"BB\",\r\n \"GT\",\r\n \"MO\",\r\n \"SH\",\r\n \"VE\",\r\n \"BJ\",\r\n \"IQ\",\r\n \"GE\",\r\n \"KG\",\r\n \"MG\",\r\n \"PL\",\r\n \"DZ\",\r\n \"BY\",\r\n \"HN\",\r\n \"MN\",\r\n \"FK\",\r\n \"LS\",\r\n \"UG\",\r\n \"CV\",\r\n \"HT\",\r\n \"CZ\",\r\n \"KW\",\r\n \"SB\",\r\n \"SC\",\r\n \"IL\",\r\n \"DJ\",\r\n \"JM\"\r\n ],\r\n \"supported_currencies\": [\r\n \"COP\",\r\n \"GMD\",\r\n \"AOA\",\r\n \"AED\",\r\n \"HRK\",\r\n \"LBP\",\r\n \"BWP\",\r\n \"ILS\",\r\n \"TRY\",\r\n \"UYU\",\r\n \"XAF\",\r\n \"ZAR\",\r\n \"SZL\",\r\n \"MXN\",\r\n \"ANG\",\r\n \"BRL\",\r\n \"CLP\",\r\n \"MOP\",\r\n \"IDR\",\r\n \"MVR\",\r\n \"PYG\",\r\n \"NAD\",\r\n \"SOS\",\r\n \"VES\",\r\n \"KYD\",\r\n \"HKD\",\r\n \"SCR\",\r\n \"AWG\",\r\n \"THB\",\r\n \"GBP\",\r\n \"FJD\",\r\n \"ALL\",\r\n \"KZT\",\r\n \"BAM\",\r\n \"SHP\",\r\n \"BIF\",\r\n \"SVC\",\r\n \"ARS\",\r\n \"SGD\",\r\n \"BGN\",\r\n \"DZD\",\r\n \"JMD\",\r\n \"ETB\",\r\n \"AUD\",\r\n \"SBD\",\r\n \"BMD\",\r\n \"NOK\",\r\n \"CNY\",\r\n \"IQD\",\r\n \"BBD\",\r\n \"CDF\",\r\n \"HNL\",\r\n \"DOP\",\r\n \"MAD\",\r\n \"TJS\",\r\n \"YER\",\r\n \"UGX\",\r\n \"ZMW\",\r\n \"BYN\",\r\n \"MNT\",\r\n \"KMF\",\r\n \"PAB\",\r\n \"CZK\",\r\n \"BOB\",\r\n \"USD\",\r\n \"NGN\",\r\n \"KGS\",\r\n \"QAR\",\r\n \"MDL\",\r\n \"MRU\",\r\n \"SEK\",\r\n \"DJF\",\r\n \"EGP\",\r\n \"LSL\",\r\n \"GTQ\",\r\n \"SRD\",\r\n \"TND\",\r\n \"MZN\",\r\n \"WST\",\r\n \"JPY\",\r\n \"TTD\",\r\n \"KWD\",\r\n \"MKD\",\r\n \"OMR\",\r\n \"XOF\",\r\n \"MWK\",\r\n \"CVE\",\r\n \"NZD\",\r\n \"EUR\",\r\n \"RSD\",\r\n \"XCD\",\r\n \"AMD\",\r\n \"ISK\",\r\n \"LRD\",\r\n \"TZS\",\r\n \"BND\",\r\n \"PEN\",\r\n \"NIO\",\r\n \"DKK\",\r\n \"HUF\",\r\n \"TMT\",\r\n \"BZD\",\r\n \"VND\",\r\n \"BHD\",\r\n \"JOD\",\r\n \"MGA\",\r\n \"VUV\",\r\n \"GIP\",\r\n \"HTG\",\r\n \"KHR\",\r\n \"FKP\",\r\n \"CAD\",\r\n \"BSD\",\r\n \"TWD\",\r\n \"UZS\",\r\n \"ZWL\",\r\n \"PLN\",\r\n \"PGK\",\r\n \"KRW\",\r\n \"RWF\",\r\n \"AFN\",\r\n \"GEL\",\r\n \"CHF\",\r\n \"CRC\",\r\n \"AZN\",\r\n \"GYD\",\r\n \"XPF\",\r\n \"TOP\",\r\n \"GNF\",\r\n \"GHS\",\r\n \"RON\",\r\n \"SAR\",\r\n \"LAK\",\r\n \"MYR\"\r\n ]\r\n },\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"debit\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"not_supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\",\r\n \"Interac\",\r\n \"AmericanExpress\",\r\n \"JCB\",\r\n \"DinersClub\",\r\n \"Discover\",\r\n \"CartesBancaires\",\r\n \"UnionPay\"\r\n ],\r\n \"supported_countries\": [\r\n \"EG\",\r\n \"DZ\",\r\n \"OM\",\r\n \"BG\",\r\n \"GE\",\r\n \"MN\",\r\n \"BJ\",\r\n \"CZ\",\r\n \"ZM\",\r\n \"MA\",\r\n \"UG\",\r\n \"KR\",\r\n \"PF\",\r\n \"TH\",\r\n \"FK\",\r\n \"VE\",\r\n \"AL\",\r\n \"HR\",\r\n \"JP\",\r\n \"BO\",\r\n \"PL\",\r\n \"HN\",\r\n \"MZ\",\r\n \"ET\",\r\n \"BZ\",\r\n \"SO\",\r\n \"AI\",\r\n \"BN\",\r\n \"RO\",\r\n \"AS\",\r\n \"ID\",\r\n \"KW\",\r\n \"TT\",\r\n \"KZ\",\r\n \"AE\",\r\n \"SZ\",\r\n \"LI\",\r\n \"GM\",\r\n \"AD\",\r\n \"KM\",\r\n \"UZ\",\r\n \"TM\",\r\n \"WS\",\r\n \"DK\",\r\n \"MR\",\r\n \"LA\",\r\n \"CM\",\r\n \"BM\",\r\n \"CW\",\r\n \"MK\",\r\n \"KY\",\r\n \"KG\",\r\n \"DO\",\r\n \"TO\",\r\n \"BH\",\r\n \"PY\",\r\n \"AM\",\r\n \"CV\",\r\n \"MO\",\r\n \"RS\",\r\n \"BR\",\r\n \"GT\",\r\n \"ZA\",\r\n \"IL\",\r\n \"GY\",\r\n \"SB\",\r\n \"AR\",\r\n \"MV\",\r\n \"PE\",\r\n \"CK\",\r\n \"NG\",\r\n \"BB\",\r\n \"CO\",\r\n \"LS\",\r\n \"IS\",\r\n \"BV\",\r\n \"DJ\",\r\n \"SR\",\r\n \"HT\",\r\n \"YE\",\r\n \"AF\",\r\n \"AW\",\r\n \"QA\",\r\n \"MY\",\r\n \"ZW\",\r\n \"PG\",\r\n \"JM\",\r\n \"TZ\",\r\n \"GI\",\r\n \"IQ\",\r\n \"BW\",\r\n \"CN\",\r\n \"SE\",\r\n \"TJ\",\r\n \"CL\",\r\n \"GG\",\r\n \"PA\",\r\n \"HK\",\r\n \"AU\",\r\n \"MD\",\r\n \"JO\",\r\n \"CR\",\r\n \"TW\",\r\n \"FJ\",\r\n \"VU\",\r\n \"NA\",\r\n \"CD\",\r\n \"TN\",\r\n \"UY\",\r\n \"BS\",\r\n \"CA\",\r\n \"GH\",\r\n \"MG\",\r\n \"BA\",\r\n \"SA\",\r\n \"BY\",\r\n \"SH\",\r\n \"HU\",\r\n \"MX\",\r\n \"KH\",\r\n \"LR\",\r\n \"MW\",\r\n \"NI\",\r\n \"AZ\",\r\n \"LB\",\r\n \"RW\",\r\n \"SV\",\r\n \"GN\",\r\n \"SC\",\r\n \"BI\",\r\n \"VN\",\r\n \"TR\",\r\n \"SG\",\r\n \"AO\"\r\n ],\r\n \"supported_currencies\": [\r\n \"KYD\",\r\n \"NOK\",\r\n \"CVE\",\r\n \"BBD\",\r\n \"MYR\",\r\n \"NGN\",\r\n \"IDR\",\r\n \"MKD\",\r\n \"RWF\",\r\n \"UZS\",\r\n \"GNF\",\r\n \"ZWL\",\r\n \"AMD\",\r\n \"BYN\",\r\n \"MDL\",\r\n \"CHF\",\r\n \"RON\",\r\n \"DKK\",\r\n \"KHR\",\r\n \"TWD\",\r\n \"VES\",\r\n \"NZD\",\r\n \"SHP\",\r\n \"SVC\",\r\n \"BGN\",\r\n \"BHD\",\r\n \"CLP\",\r\n \"SZL\",\r\n \"TRY\",\r\n \"SEK\",\r\n \"KRW\",\r\n \"SCR\",\r\n \"HNL\",\r\n \"LRD\",\r\n \"UYU\",\r\n \"NIO\",\r\n \"PYG\",\r\n \"SGD\",\r\n \"WST\",\r\n \"HRK\",\r\n \"USD\",\r\n \"AZN\",\r\n \"MZN\",\r\n \"RSD\",\r\n \"TTD\",\r\n \"VND\",\r\n \"FKP\",\r\n \"JMD\",\r\n \"PLN\",\r\n \"MRU\",\r\n \"AFN\",\r\n \"BWP\",\r\n \"SAR\",\r\n \"XOF\",\r\n \"CDF\",\r\n \"CAD\",\r\n \"JOD\",\r\n \"NAD\",\r\n \"SBD\",\r\n \"BZD\",\r\n \"GHS\",\r\n \"BAM\",\r\n \"TZS\",\r\n \"GIP\",\r\n \"LBP\",\r\n \"MNT\",\r\n \"FJD\",\r\n \"AWG\",\r\n \"ILS\",\r\n \"BIF\",\r\n \"TJS\",\r\n \"TOP\",\r\n \"SRD\",\r\n \"BND\",\r\n \"KZT\",\r\n \"CZK\",\r\n \"YER\",\r\n \"MWK\",\r\n \"BMD\",\r\n \"EUR\",\r\n \"HKD\",\r\n \"BRL\",\r\n \"MOP\",\r\n \"GTQ\",\r\n \"LSL\",\r\n \"JPY\",\r\n \"THB\",\r\n \"CNY\",\r\n \"GMD\",\r\n \"HTG\",\r\n \"BOB\",\r\n \"ZAR\",\r\n \"MVR\",\r\n \"ETB\",\r\n \"ALL\",\r\n \"GYD\",\r\n \"ARS\",\r\n \"AUD\",\r\n \"UGX\",\r\n \"DZD\",\r\n \"CRC\",\r\n \"XCD\",\r\n \"GBP\",\r\n \"KMF\",\r\n \"AOA\",\r\n \"DJF\",\r\n \"TND\",\r\n \"TMT\",\r\n \"AED\",\r\n \"COP\",\r\n \"KWD\",\r\n \"OMR\",\r\n \"PEN\",\r\n \"MAD\",\r\n \"XAF\",\r\n \"GEL\",\r\n \"ANG\",\r\n \"PAB\",\r\n \"ISK\",\r\n \"QAR\",\r\n \"MXN\",\r\n \"PGK\",\r\n \"XPF\",\r\n \"MGA\",\r\n \"LAK\",\r\n \"ZMW\",\r\n \"VUV\",\r\n \"SOS\",\r\n \"IQD\",\r\n \"BSD\",\r\n \"DOP\",\r\n \"EGP\",\r\n \"KGS\",\r\n \"HUF\"\r\n ]\r\n }\r\n ],\r\n \"supported_webhook_flows\": []\r\n },\r\n {\r\n \"name\": \"ZSL\",\r\n \"display_name\": \"ZSL\",\r\n \"description\": \"Zsl is a payment gateway operating in China, specializing in facilitating local bank transfers\",\r\n \"category\": \"payment_gateway\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"bank_transfer\",\r\n \"payment_method_type\": \"local_bank_transfer\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"not_supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\"\r\n ],\r\n \"supported_countries\": [\r\n \"CN\"\r\n ],\r\n \"supported_currencies\": [\r\n \"CNY\"\r\n ]\r\n }\r\n ],\r\n \"supported_webhook_flows\": []\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- [ ] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n",
|
| 5 |
+
"author": "bsayak03",
|
| 6 |
+
"created_at": "2025-01-30T19:41:38+00:00",
|
| 7 |
+
"merged_at": "2025-02-25T19:48:48+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [],
|
| 10 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7148",
|
| 11 |
+
"commits": [
|
| 12 |
+
{
|
| 13 |
+
"sha": "3d0fad215534ac995bc0a918e442907b92d31bfe",
|
| 14 |
+
"message": "feat(connector): [JPMORGAN, PAYU, DIGITALVIRGO] added in feature matrix api",
|
| 15 |
+
"author": "Sayak Bhattacharya",
|
| 16 |
+
"date": "2025-01-30T17:18:29+00:00",
|
| 17 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3d0fad215534ac995bc0a918e442907b92d31bfe"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"sha": "6b274c49c2c9eba75748cf834ab06f316d083b62",
|
| 21 |
+
"message": "chore: Resolve PR commits",
|
| 22 |
+
"author": "Sayak Bhattacharya",
|
| 23 |
+
"date": "2025-02-05T14:09:57+00:00",
|
| 24 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6b274c49c2c9eba75748cf834ab06f316d083b62"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"sha": "3d4df8d02cd40595bdfe8eec7609f4dfb2dcf52e",
|
| 28 |
+
"message": "Merge branch 'main' into ft_matrix",
|
| 29 |
+
"author": "Sayak Bhattacharya",
|
| 30 |
+
"date": "2025-02-21T11:48:26+00:00",
|
| 31 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3d4df8d02cd40595bdfe8eec7609f4dfb2dcf52e"
|
| 32 |
+
}
|
| 33 |
+
]
|
| 34 |
+
}
|
prs/pr_7231.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7231,
|
| 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-10T09:00:00+00:00",
|
| 7 |
+
"merged_at": "2025-02-10T12:37:44+00:00",
|
| 8 |
+
"base_branch": "hotfix-2025.01.20.0",
|
| 9 |
+
"labels": [],
|
| 10 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7231",
|
| 11 |
+
"commits": [
|
| 12 |
+
{
|
| 13 |
+
"sha": "950064c9edb3ebfb93ccf6c6f9875dc5d6c2cafe",
|
| 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/950064c9edb3ebfb93ccf6c6f9875dc5d6c2cafe"
|
| 18 |
+
}
|
| 19 |
+
]
|
| 20 |
+
}
|
prs/pr_7301.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7301,
|
| 3 |
+
"title": "fix(connector): [SCRIPT] Update template generating script and updated connector doc",
|
| 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- [x] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\nupdated add_connector.sh script, to make a entry in required places.\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": "sumanmaji4",
|
| 6 |
+
"created_at": "2025-02-18T14:10:52+00:00",
|
| 7 |
+
"merged_at": "2025-02-19T21:09:17+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-feature"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7301",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "97e27924b17ea016f764f76602dacfc227f4c730",
|
| 16 |
+
"message": "wip",
|
| 17 |
+
"author": "sumanmaji4",
|
| 18 |
+
"date": "2025-02-18T09:45:47+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/97e27924b17ea016f764f76602dacfc227f4c730"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "0100026e88183218a21c37ac2ff88b2f08d244a0",
|
| 23 |
+
"message": "connector script update",
|
| 24 |
+
"author": "sumanmaji4",
|
| 25 |
+
"date": "2025-02-18T14:07:37+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0100026e88183218a21c37ac2ff88b2f08d244a0"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "98e84ba27390df3e201d06d784155024914ced7f",
|
| 30 |
+
"message": "add updated connector documentation",
|
| 31 |
+
"author": "Anurag Singh",
|
| 32 |
+
"date": "2025-02-18T16:47:53+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/98e84ba27390df3e201d06d784155024914ced7f"
|
| 34 |
+
}
|
| 35 |
+
]
|
| 36 |
+
}
|
prs/pr_7414.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7414,
|
| 3 |
+
"title": "feat(connector): add functionality for transforming QR image color",
|
| 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\nThis PR adds functionality to \r\n- Create QR image data URI for a given hex color\r\n- Send back the border color and display text message along with the QR data in `NextActionData` - which is consumed by SDK to take next action\r\n\r\nDescribed in #7405 \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\nDuitNow is a realtime payment system which works by scanning QR codes. Displaying these QR codes has certain guidelines mentioned here - https://docs.developer.paynet.my/branding/duitnow/DuitNow%20Brand.pdf\r\n\r\nThis PR sends required data in the confirm API response which is consumed by SDK.\r\n\r\n\r\n## How did you test it?\r\nTested locally by creating payment links and proceeding with DuitNow payment method.\r\n\r\n<details>\r\n <summary>Create a payment link (ensure DuitNow is enabled)</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_mdkyMYu7o5AvOHSe81Y5MYanl7eTn9rFTRg7DdMvIsJm88Iq5QtXrSihb94pVXmW' \\\r\n --data-raw '{\"customer_id\":\"cus_AuvaBi0Ga8Wqx0AyKrYd\",\"profile_id\":\"pro_7ez6O5T557WOZlcVlidL\",\"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\":\"MYR\",\"payment_link\":true,\"capture_method\":\"automatic\",\"billing\":{\"address\":{\"line1\":\"1467\",\"line3\":\"Harrison Street\",\"city\":\"San Fransico\",\"state\":\"CA\",\"zip\":\"94122\",\"country\":\"MY\",\"first_name\":\"John\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"8056594427\",\"country_code\":\"+91\"}},\"email\":\"john.doe@example.co.in\",\"session_expiry\":100000,\"return_url\":\"https://example.com\",\"payment_link_config\":{\"theme\":\"#003264\",\"display_sdk_only\":true,\"hide_card_nickname_field\":true,\"payment_button_colour\":\"#FFA445\",\"custom_message_for_card_terms\":\"Pour v\u00e9rifier votre compte, un montant de 0,00 \u20ac sera d\u00e9bit\u00e9 lorsque vous aurez cliqu\u00e9 sur le bouton \u00ab Confirmer \u00bb\",\"payment_button_text\":\"Confirmer\",\"payment_button_text_colour\":\"#003264\",\"skip_status_screen\":true,\"background_colour\":\"#F9F9F9\"}}'\r\n\r\nResponse\r\n\r\n {\"payment_id\":\"pay_o8k60sUsjHfrG7a4gExy\",\"merchant_id\":\"merchant_1741062746\",\"status\":\"requires_payment_method\",\"amount\":100,\"net_amount\":100,\"shipping_cost\":null,\"amount_capturable\":100,\"amount_received\":null,\"connector\":null,\"client_secret\":\"pay_o8k60sUsjHfrG7a4gExy_secret_OVVV51kpUYJUdtXFJz1l\",\"created\":\"2025-03-04T06:11:28.748Z\",\"currency\":\"MYR\",\"customer_id\":\"cus_AuvaBi0Ga8Wqx0AyKrYd\",\"customer\":{\"id\":\"cus_AuvaBi0Ga8Wqx0AyKrYd\",\"name\":\"John Nether\",\"email\":\"john.doe@example.co.in\",\"phone\":\"6168205362\",\"phone_country_code\":\"+1\"},\"description\":null,\"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\":null,\"payment_method_data\":null,\"payment_token\":null,\"shipping\":null,\"billing\":{\"address\":{\"city\":\"San Fransico\",\"country\":\"MY\",\"line1\":\"1467\",\"line2\":null,\"line3\":\"Harrison Street\",\"zip\":\"94122\",\"state\":\"CA\",\"first_name\":\"John\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"8056594427\",\"country_code\":\"+91\"},\"email\":null},\"order_details\":null,\"email\":\"john.doe@example.co.in\",\"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_AuvaBi0Ga8Wqx0AyKrYd\",\"created_at\":1741068688,\"expires\":1741072288,\"secret\":\"epk_2abaa6e62d0d4b43af67b73aa52160c9\"},\"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_1741062746/pay_o8k60sUsjHfrG7a4gExy?locale=en\",\"secure_link\":null,\"payment_link_id\":\"plink_PLK7sgcmehAkqs93KUAq\"},\"profile_id\":\"pro_7ez6O5T557WOZlcVlidL\",\"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-05T09:58:08.746Z\",\"fingerprint\":null,\"browser_info\":null,\"payment_method_id\":null,\"payment_method_status\":null,\"updated\":\"2025-03-04T06:11:28.763Z\",\"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</details>\r\n\r\n<details>\r\n <summary>Select and proceed with DuitNow</summary>\r\n\r\n<img width=\"498\" alt=\"Screenshot 2025-03-04 at 11 41 48\u202fAM\" src=\"https://github.com/user-attachments/assets/80b2efcf-db64-49e1-ab9e-ac97ab10be6b\" />\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": "kashif-m",
|
| 6 |
+
"created_at": "2025-03-04T06:02:20+00:00",
|
| 7 |
+
"merged_at": "2025-03-04T11:14:11+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-compatibility",
|
| 11 |
+
"M-api-contract-changes"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7414",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "5d80108272db44c8cc062ce9600ad27eb43ce966",
|
| 17 |
+
"message": "feat(connector): add functionality for transforming QR image color",
|
| 18 |
+
"author": "Kashif",
|
| 19 |
+
"date": "2025-03-04T05:56:21+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5d80108272db44c8cc062ce9600ad27eb43ce966"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "086a3129e3fc2a1724e42d26e0cf6e5264510d8c",
|
| 24 |
+
"message": "chore: re-generate openAPI spec",
|
| 25 |
+
"author": "Kashif",
|
| 26 |
+
"date": "2025-03-04T06:01:37+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/086a3129e3fc2a1724e42d26e0cf6e5264510d8c"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "b3b7ef13bc860e88d4c87f2b2d49cc1c3e0ca24a",
|
| 31 |
+
"message": "chore: revert v2 openAPI spec",
|
| 32 |
+
"author": "Kashif",
|
| 33 |
+
"date": "2025-03-04T06:18:35+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b3b7ef13bc860e88d4c87f2b2d49cc1c3e0ca24a"
|
| 35 |
+
}
|
| 36 |
+
]
|
| 37 |
+
}
|
prs/pr_7451.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7451,
|
| 3 |
+
"title": "feat(analytics): add new filters, dimensions and metrics for authentication analytics",
|
| 4 |
+
"description": "\r\n\r\n## 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\nAdded support for filters and dimensions for authentication analytics.\r\nFilters added: \r\n- AuthenticationConnector\r\n- MessageVersion\r\n\r\nDimensions added:\r\n- AuthenticationStatus,\r\n- TransactionStatus,\r\n- ErrorMessage,\r\n- AuthenticationConnector,\r\n- MessageVersion,\r\n\r\nNew metrics added:\r\n- AuthenticationErrorMessage\r\n- AuthenticationFunnel\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\nGet better insights into authentication data.\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\nHit the curls:\r\n#### AuthenticationErrorMessage:\r\n```bash\r\ncurl --location 'http://localhost:8080/analytics/v1/metrics/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.eyJ1c2VyX2lkIjoiYWFiNWIxNDEtNjQwOC00YTUyLTk2MjMtNTVhNTgxMTU1M2U4IiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzQwNDE0OTA5Iiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTc0MTI3NDY4NSwib3JnX2lkIjoib3JnX1QwSEtYNHYyRGFRT2lHUDVwRk52IiwicHJvZmlsZV9pZCI6InByb19xOWc2ZW1xcGM3YjQxTG83VVhweCIsInRlbmFudF9pZCI6InB1YmxpYyJ9.LIExs1jjG6N5AFu5_S3oiuy77fWF0IbJmNGbK8HHLXI' \\\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 {\r\n \"timeRange\": {\r\n \"startTime\": \"2025-02-01T18:30:00Z\",\r\n \"endTime\": \"2025-02-28T09:22:00Z\"\r\n },\r\n \"source\": \"BATCH\",\r\n \"timeSeries\": {\r\n \"granularity\": \"G_ONEDAY\"\r\n },\r\n \"groupByNames\": [\r\n \"error_message\"\r\n ], \r\n \"metrics\": [\r\n \"authentication_error_message\"\r\n ],\r\n \"delta\": true\r\n }\r\n]'\r\n```\r\n\r\nSample Output:\r\n```json\r\n{\r\n \"queryData\": [\r\n {\r\n \"authentication_count\": null,\r\n \"authentication_attempt_count\": null,\r\n \"authentication_success_count\": null,\r\n \"challenge_flow_count\": null,\r\n \"challenge_attempt_count\": null,\r\n \"challenge_success_count\": null,\r\n \"frictionless_flow_count\": null,\r\n \"frictionless_success_count\": null,\r\n \"error_message_count\": 1,\r\n \"authentication_funnel\": null,\r\n \"authentication_status\": null,\r\n \"trans_status\": null,\r\n \"error_message\": \"Failed to authenticate\",\r\n \"authentication_connector\": null,\r\n \"message_version\": null,\r\n \"time_range\": {\r\n \"start_time\": \"2025-02-10T00:00:00.000Z\",\r\n \"end_time\": \"2025-02-10T23:00:00.000Z\"\r\n },\r\n \"time_bucket\": \"2025-02-10 00:00:00\"\r\n },\r\n {\r\n \"authentication_count\": null,\r\n \"authentication_attempt_count\": null,\r\n \"authentication_success_count\": null,\r\n \"challenge_flow_count\": null,\r\n \"challenge_attempt_count\": null,\r\n \"challenge_success_count\": null,\r\n \"frictionless_flow_count\": null,\r\n \"frictionless_success_count\": null,\r\n \"error_message_count\": 1,\r\n \"authentication_funnel\": null,\r\n \"authentication_status\": null,\r\n \"trans_status\": null,\r\n \"error_message\": \"Something went wrong\",\r\n \"authentication_connector\": null,\r\n \"message_version\": null,\r\n \"time_range\": {\r\n \"start_time\": \"2025-02-20T00:00:00.000Z\",\r\n \"end_time\": \"2025-02-20T23:00:00.000Z\"\r\n },\r\n \"time_bucket\": \"2025-02-20 00:00:00\"\r\n }\r\n ],\r\n \"metaData\": [\r\n {\r\n \"total_error_message_count\": 2\r\n }\r\n ]\r\n}\r\n```\r\n\r\n#### Authentication Funnel:\r\n\r\n```bash\r\ncurl --location 'http://localhost:8080/analytics/v1/metrics/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.eyJ1c2VyX2lkIjoiYWFiNWIxNDEtNjQwOC00YTUyLTk2MjMtNTVhNTgxMTU1M2U4IiwibWVyY2hhbnRfaWQiOiJtZXJjaGFudF8xNzQwNDE0OTA5Iiwicm9sZV9pZCI6Im9yZ19hZG1pbiIsImV4cCI6MTc0MTI3NDY4NSwib3JnX2lkIjoib3JnX1QwSEtYNHYyRGFRT2lHUDVwRk52IiwicHJvZmlsZV9pZCI6InByb19xOWc2ZW1xcGM3YjQxTG83VVhweCIsInRlbmFudF9pZCI6InB1YmxpYyJ9.LIExs1jjG6N5AFu5_S3oiuy77fWF0IbJmNGbK8HHLXI' \\\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 {\r\n \"timeRange\": {\r\n \"startTime\": \"2025-02-01T18:30:00Z\",\r\n \"endTime\": \"2025-02-28T09:22:00Z\"\r\n },\r\n \"source\": \"BATCH\",\r\n \"timeSeries\": {\r\n \"granularity\": \"G_ONEDAY\"\r\n }, \r\n \"filters\": {\r\n \"authentication_status\": [\r\n \"success\", \"failed\"\r\n ]\r\n },\r\n \"metrics\": [\r\n \"authentication_funnel\"\r\n ],\r\n \"delta\": true\r\n }\r\n]'\r\n```\r\n\r\nSample Output:\r\n```json\r\n{\r\n \"queryData\": [\r\n {\r\n \"authentication_count\": null,\r\n \"authentication_attempt_count\": null,\r\n \"authentication_success_count\": null,\r\n \"challenge_flow_count\": null,\r\n \"challenge_attempt_count\": null,\r\n \"challenge_success_count\": null,\r\n \"frictionless_flow_count\": null,\r\n \"frictionless_success_count\": null,\r\n \"error_message_count\": null,\r\n \"authentication_funnel\": 3,\r\n \"authentication_status\": null,\r\n \"trans_status\": null,\r\n \"error_message\": null,\r\n \"authentication_connector\": null,\r\n \"message_version\": null,\r\n \"time_range\": {\r\n \"start_time\": \"2025-02-11T00:00:00.000Z\",\r\n \"end_time\": \"2025-02-11T23:00:00.000Z\"\r\n },\r\n \"time_bucket\": \"2025-02-11 00:00:00\"\r\n },\r\n {\r\n \"authentication_count\": null,\r\n \"authentication_attempt_count\": null,\r\n \"authentication_success_count\": null,\r\n \"challenge_flow_count\": null,\r\n \"challenge_attempt_count\": null,\r\n \"challenge_success_count\": null,\r\n \"frictionless_flow_count\": null,\r\n \"frictionless_success_count\": null,\r\n \"error_message_count\": null,\r\n \"authentication_funnel\": 64,\r\n \"authentication_status\": null,\r\n \"trans_status\": null,\r\n \"error_message\": null,\r\n \"authentication_connector\": null,\r\n \"message_version\": null,\r\n \"time_range\": {\r\n \"start_time\": \"2025-02-10T00:00:00.000Z\",\r\n \"end_time\": \"2025-02-10T23:00:00.000Z\"\r\n },\r\n \"time_bucket\": \"2025-02-10 00:00:00\"\r\n },\r\n {\r\n \"authentication_count\": null,\r\n \"authentication_attempt_count\": null,\r\n \"authentication_success_count\": null,\r\n \"challenge_flow_count\": null,\r\n \"challenge_attempt_count\": null,\r\n \"challenge_success_count\": null,\r\n \"frictionless_flow_count\": null,\r\n \"frictionless_success_count\": null,\r\n \"error_message_count\": null,\r\n \"authentication_funnel\": 11,\r\n \"authentication_status\": null,\r\n \"trans_status\": null,\r\n \"error_message\": null,\r\n \"authentication_connector\": null,\r\n \"message_version\": null,\r\n \"time_range\": {\r\n \"start_time\": \"2025-02-20T00:00:00.000Z\",\r\n \"end_time\": \"2025-02-20T23:00:00.000Z\"\r\n },\r\n \"time_bucket\": \"2025-02-20 00:00:00\"\r\n }\r\n ],\r\n \"metaData\": [\r\n {\r\n \"total_error_message_count\": 0\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-06T14:57:01+00:00",
|
| 7 |
+
"merged_at": "2025-03-06T16:53:37+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-feature",
|
| 11 |
+
"A-Analytics"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7451",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "6b5bdf3ce1f88187fec8b5dbaf25ef97a54df73c",
|
| 17 |
+
"message": "feat(analytics): add new filters, dimensions and metrics for authentication analytics",
|
| 18 |
+
"author": "Sandeep Kumar",
|
| 19 |
+
"date": "2025-03-06T14:49:41+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6b5bdf3ce1f88187fec8b5dbaf25ef97a54df73c"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "7592d9d14e333c86b7a09cb97b38cb0e4a7de52d",
|
| 24 |
+
"message": "fix clippy errors",
|
| 25 |
+
"author": "Sandeep Kumar",
|
| 26 |
+
"date": "2025-03-06T15:08:37+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7592d9d14e333c86b7a09cb97b38cb0e4a7de52d"
|
| 28 |
+
}
|
| 29 |
+
]
|
| 30 |
+
}
|
prs/pr_7457.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7457,
|
| 3 |
+
"title": "fix(dashboard): Added auth key to juspay threeds server",
|
| 4 |
+
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] Bugfix\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n Added auth key to juspay threeds server\r\n \r\n wasm change for FE dashboard to test, once it gets merged we can check dashboard FE for api_key auth for juspaythreedsserver\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-07T07:05:26+00:00",
|
| 7 |
+
"merged_at": "2025-03-07T08:22:16+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"C-bug"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7457",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "b5dfd1ecc3c0097bd4f353f4cdc2e8a79b0c8ec8",
|
| 16 |
+
"message": "added auth key to juspay threeds server",
|
| 17 |
+
"author": "Sahkal Poddar",
|
| 18 |
+
"date": "2025-03-07T07:03:58+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b5dfd1ecc3c0097bd4f353f4cdc2e8a79b0c8ec8"
|
| 20 |
+
}
|
| 21 |
+
]
|
| 22 |
+
}
|
prs/pr_7466.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7466,
|
| 3 |
+
"title": "refactor(connector): [Rapyd] fix amount conversion framework",
|
| 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\nfix amount conversion framework for Rapyd \r\nAccording to doc - https://docs.rapyd.net/en/create-payment.html , amount should be of FloatType (BaseUnit).\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\nWe can not test it, as we dont have credentials for Rapyd connector\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-03-09T19:10:25+00:00",
|
| 7 |
+
"merged_at": "2025-03-10T17:54:07+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration",
|
| 11 |
+
"C-refactor"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7466",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "247cff92c71e5a4bebd27b3ff0a3accbbf420da5",
|
| 17 |
+
"message": "feat: amount conversion",
|
| 18 |
+
"author": "Swangi Kumari",
|
| 19 |
+
"date": "2025-03-09T19:06:39+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/247cff92c71e5a4bebd27b3ff0a3accbbf420da5"
|
| 21 |
+
}
|
| 22 |
+
]
|
| 23 |
+
}
|
prs/pr_7481.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7481,
|
| 3 |
+
"title": "fix(router): pass card network for external 3DS from additional_payment_method_data",
|
| 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- card network fetch from db was not being populated in payment call resulting in sending the default value which failed the payment\r\n- util function have been added to collect the card network from additional_payment_method_data\r\n- ucaf_indicator is being populated for mastercard \r\n- profile generic update is made optional to not update the force_3ds_challenge if it is passed as null\r\n- External authentication is disabled for Datatrans\r\n\r\nNote: hotfix raised against https://github.com/juspay/hyperswitch/pull/7473\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\nTested through Postman:\r\n- Create MCA(Cybersource):\r\n- Create MCA(Netcetera):\r\n- Create a payment call (enable external 3ds):\r\n```\r\n{\r\n \"amount\": 499,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"customer_id\": \"test_rec7\",\r\n \"email\": \"guest@example.com\",\r\n \"request_external_three_ds_authentication\": true,\r\n \"customer_acceptance\": {\r\n \"acceptance_type\": \"online\"\r\n },\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"5512459816707531\",\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_holder_name\": \"Sakil Mostak\",\r\n \"card_cvc\": \"737\"\r\n }\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"test\",\r\n \"country\": \"US\",\r\n \"line1\": \"here is some \\n there is some \\n none is some? \\n \",\r\n \"line2\": \"there\",\r\n \"line3\": \"anywhere\",\r\n \"zip\": \"560095\",\r\n \"state\": \"CA\",\r\n \"first_name\": \"Sakil\",\r\n \"last_name\": \"Mostak\"\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 \"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 \"authentication_type\": \"three_ds\"\r\n}\r\n```\r\nResponse should have the following data:\r\n```\r\n{\r\n \"payment_id\": \"pay_DJzWCB8vpM2nl6tti5q5\",\r\n \"merchant_id\": \"merchant_1741687051\",\r\n \"status\": \"requires_customer_action\",\r\n \"amount\": 499,\r\n \"net_amount\": 499,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 499,\r\n \"amount_received\": null,\r\n \"connector\": \"cybersource\",\r\n \"client_secret\": \"pay_DJzWCB8vpM2nl6tti5q5_secret_JwlJcjRW9Q5TRrlNKNrf\",\r\n \"created\": \"2025-03-11T10:43:06.966Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"test_rec7\",\r\n \"customer\": {\r\n \"id\": \"test_rec7\",\r\n \"name\": null,\r\n \"email\": \"guest@example.com\",\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\": 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\": \"7531\",\r\n \"card_type\": null,\r\n \"card_network\": \"Mastercard\",\r\n \"card_issuer\": null,\r\n \"card_issuing_country\": null,\r\n \"card_isin\": \"551245\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_holder_name\": \"Sakil Mostak\",\r\n \"payment_checks\": null,\r\n \"authentication_data\": null\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": \"token_eappafndmAWU8SvNsaoy\",\r\n \"shipping\": null,\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"test\",\r\n \"country\": \"US\",\r\n \"line1\": \"here is some \\n there is some \\n none is some? \\n \",\r\n \"line2\": \"there\",\r\n \"line3\": \"anywhere\",\r\n \"zip\": \"560095\",\r\n \"state\": \"CA\",\r\n \"first_name\": \"Sakil\",\r\n \"last_name\": \"Mostak\"\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\": null,\r\n \"phone\": null,\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\": {\r\n \"type\": \"three_ds_invoke\",\r\n \"three_ds_data\": {\r\n \"three_ds_authentication_url\": \"http://localhost:8080/payments/pay_DJzWCB8vpM2nl6tti5q5/3ds/authentication\",\r\n \"three_ds_authorize_url\": \"http://localhost:8080/payments/pay_DJzWCB8vpM2nl6tti5q5/merchant_1741687051/authorize/cybersource\",\r\n \"three_ds_method_details\": {\r\n \"three_ds_method_key\": \"threeDSMethodData\",\r\n \"three_ds_method_data_submission\": true,\r\n \"three_ds_method_data\": \"eyJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIjoiaHR0cHM6Ly9leGFtcGxlLmNvbS8zZHMtbWV0aG9kLW5vdGlmaWNhdGlvbi11cmwiLCJ0aHJlZURTU2VydmVyVHJhbnNJRCI6ImVkNmQ4Y2M1LWU2YTgtNDg4ZC05NDI4LWM2ZDRkZWY2ZDFlNiJ9\",\r\n \"three_ds_method_url\": \"https://ndm-prev.3dss-non-prod.cloud.netcetera.com/acs/3ds-method\"\r\n },\r\n \"poll_config\": {\r\n \"poll_id\": \"external_authentication_pay_DJzWCB8vpM2nl6tti5q5\",\r\n \"delay_in_secs\": 2,\r\n \"frequency\": 5\r\n },\r\n \"message_version\": \"2.3.1\",\r\n \"directory_server_id\": \"A000000004\"\r\n }\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\": \"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\": \"test_rec7\",\r\n \"created_at\": 1741689786,\r\n \"expires\": 1741693386,\r\n \"secret\": \"epk_71a1ecdc177e48a2af0172ad2bb14fc8\"\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_IauTXmHo2gR6Cufm1fXK\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_qJi1npMpCWiTuiL0rGOK\",\r\n \"incremental_authorization_allowed\": null,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": {\r\n \"authentication_flow\": null,\r\n \"electronic_commerce_indicator\": null,\r\n \"status\": \"pending\",\r\n \"ds_transaction_id\": \"ed6d8cc5-e6a8-488d-9428-c6d4def6d1e6\",\r\n \"version\": \"2.3.1\",\r\n \"error_code\": null,\r\n \"error_message\": null\r\n },\r\n \"external_3ds_authentication_attempted\": true,\r\n \"expires_on\": \"2025-03-11T10:58:06.966Z\",\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-11T10:43:07.760Z\",\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\": \"manual\"\r\n}\r\n```\r\n- Create Challenge\r\n```\r\ncurl --location '{{baseurl}}/payments/{{payment_id}}/3ds/authentication' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key:{{api_key}}' \\\r\n--data '{\r\n \"client_secret\": \"{{client_secret}}\",\r\n \"device_channel\": \"BRW\",\r\n \"threeds_method_comp_ind\": \"Y\"\r\n}'\r\n```\r\n- Response should contain following data:\r\n```\r\n{\r\n \"trans_status\": \"Y\",\r\n \"acs_url\": null,\r\n \"challenge_request\": null,\r\n \"acs_reference_number\": null,\r\n \"acs_trans_id\": null,\r\n \"three_dsserver_trans_id\": \"ed6d8cc5-e6a8-488d-9428-c6d4def6d1e6\",\r\n \"acs_signed_content\": null,\r\n \"three_ds_requestor_url\": \"https://google.com\"\r\n}\r\n```\r\n- Authorize from Netcetera:\r\n```\r\ncurl --location --request POST '{{baseurl}}/payments/{{payment_id}}/{{merchant_id}}/authorize/checkout' \\\r\n--header 'api-key:{{api_Key}}'\r\n```\r\n\r\n- Retrieve the transaction, the status should be succeeded in response, below is an example:\r\n```\r\n{\r\n \"payment_id\": \"pay_lTIv7ZbWr5Y237CqHXxq\",\r\n \"merchant_id\": \"merchant_1741687051\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 499,\r\n \"net_amount\": 499,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 499,\r\n \"connector\": \"cybersource\",\r\n \"client_secret\": \"pay_lTIv7ZbWr5Y237CqHXxq_secret_cYx3O8cQMGUR2O1RVta9\",\r\n \"created\": \"2025-03-11T10:28:34.005Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"test_rec7\",\r\n \"customer\": {\r\n \"id\": \"test_rec7\",\r\n \"name\": null,\r\n \"email\": \"guest@example.com\",\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\": 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\": \"7531\",\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\": \"551245\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"03\",\r\n \"card_exp_year\": \"2030\",\r\n \"card_holder_name\": \"Sakil Mostak\",\r\n \"payment_checks\": {\r\n \"avs_response\": {\r\n \"code\": \"X\",\r\n \"codeRaw\": \"I1\"\r\n },\r\n \"card_verification\": null\r\n },\r\n \"authentication_data\": null\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": \"token_P8rNgP3WpYuJWLRgRWaz\",\r\n \"shipping\": null,\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"test\",\r\n \"country\": \"US\",\r\n \"line1\": \"here is some \\n there is some \\n none is some? \\n \",\r\n \"line2\": \"there\",\r\n \"line3\": \"anywhere\",\r\n \"zip\": \"560095\",\r\n \"state\": \"CA\",\r\n \"first_name\": \"Sakil\",\r\n \"last_name\": \"Mostak\"\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\": null,\r\n \"phone\": null,\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\": \"7416889232566498604807\",\r\n \"frm_message\": null,\r\n \"metadata\": null,\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"pay_lTIv7ZbWr5Y237CqHXxq_1\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_IauTXmHo2gR6Cufm1fXK\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_qJi1npMpCWiTuiL0rGOK\",\r\n \"incremental_authorization_allowed\": false,\r\n \"authorization_count\": null,\r\n \"incremental_authorizations\": null,\r\n \"external_authentication_details\": {\r\n \"authentication_flow\": \"frictionless\",\r\n \"electronic_commerce_indicator\": null,\r\n \"status\": \"success\",\r\n \"ds_transaction_id\": \"19329442-7532-4e25-bc88-a5f1d99c1f5e\",\r\n \"version\": \"2.3.1\",\r\n \"error_code\": null,\r\n \"error_message\": null\r\n },\r\n \"external_3ds_authentication_attempted\": true,\r\n \"expires_on\": \"2025-03-11T10:43:34.005Z\",\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\": \"pm_Wfs6CcChddyjlx99kQKU\",\r\n \"payment_method_status\": \"active\",\r\n \"updated\": \"2025-03-11T10:28:43.771Z\",\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\": \"manual\"\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": "Sakilmostak",
|
| 6 |
+
"created_at": "2025-03-11T13:33:23+00:00",
|
| 7 |
+
"merged_at": "2025-03-11T15:42:49+00:00",
|
| 8 |
+
"base_branch": "hotfix-2025.03.05.0",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration",
|
| 11 |
+
"A-core",
|
| 12 |
+
"C-bug"
|
| 13 |
+
],
|
| 14 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7481",
|
| 15 |
+
"commits": [
|
| 16 |
+
{
|
| 17 |
+
"sha": "59ee2b7cabcb759a8254fe95537f8e8db9660ad1",
|
| 18 |
+
"message": "fix: add card_network from additional_payment_method_data",
|
| 19 |
+
"author": "Sk Sakil Mostak",
|
| 20 |
+
"date": "2025-03-10T06:42:50+00:00",
|
| 21 |
+
"url": "https://github.com/juspay/hyperswitch/commit/59ee2b7cabcb759a8254fe95537f8e8db9660ad1"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"sha": "c2c8153ec6baabd1cf3e145c7e3548f17144d6de",
|
| 25 |
+
"message": "fix: pass card_network from additional_payment_method_data",
|
| 26 |
+
"author": "Sk Sakil Mostak",
|
| 27 |
+
"date": "2025-03-10T08:23:30+00:00",
|
| 28 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c2c8153ec6baabd1cf3e145c7e3548f17144d6de"
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"sha": "bd8a237adbdbe9584acb640dc76f71b382f205d0",
|
| 32 |
+
"message": "fix: update call for force_3ds_challenge and remove seperate_auth for datatrans",
|
| 33 |
+
"author": "Sk Sakil Mostak",
|
| 34 |
+
"date": "2025-03-11T10:52:20+00:00",
|
| 35 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bd8a237adbdbe9584acb640dc76f71b382f205d0"
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"sha": "b1607098a8525bec93f2766bd09140e73743c1d6",
|
| 39 |
+
"message": "fix: pass raw card data for eci indicator",
|
| 40 |
+
"author": "Sk Sakil Mostak",
|
| 41 |
+
"date": "2025-03-11T13:11:28+00:00",
|
| 42 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b1607098a8525bec93f2766bd09140e73743c1d6"
|
| 43 |
+
}
|
| 44 |
+
]
|
| 45 |
+
}
|
prs/pr_7484.json
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7484,
|
| 3 |
+
"title": "feat(core): added force_3ds_challenge for decoupled txns",
|
| 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## Description\r\n<!-- Describe your changes in detail -->\r\nAdded force_3ds_challenge flag in payments request for decoupled txns.\r\n\r\nPreviously `force_3ds_challenge` flag was a business_profile property, but now we will priortise flag send in payments request over business_profile.\r\n\r\nadd two new fields in payment_create response `force_3ds_challenge`, `force_3ds_challenge_trigger`\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 doing a netcetera txns by updating business profile `force_3ds_challenge` as `true` \r\n\r\nFor validation you can check connector request logs\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_skofCKwuzyPyyjl4YCBQJS0fVb0YwOtqBisHGo3PCtFmrCTURvcAaOVzGA7Oom6a' \\\r\n--data-raw '\r\n{\r\n \"amount\": 100,\r\n \"currency\": \"PLN\",\r\n \"confirm\": true,\r\n \"email\": \"sahouhdq@gmail.com\",\r\n \"return_url\": \"https://google.com\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"5512459816707531\",\r\n \"card_exp_month\": \"04\",\r\n \"card_exp_year\": \"2029\",\r\n \"card_holder_name\": \"John Smith\",\r\n \"card_cvc\": \"238\",\r\n \"card_network\": \"Visa\"\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\": \"CA\",\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 \"request_external_three_ds_authentication\": true,\r\n \"authentication_type\": \"three_ds\",\r\n} \r\n'\r\n```\r\n\r\nforce_3ds_challenge: true\r\n<img width=\"1694\" alt=\"Screenshot 2025-03-13 at 12 55 44\u202fPM\" src=\"https://github.com/user-attachments/assets/7482729f-412d-4188-819f-31b2492aa989\" />\r\n\r\nnow try overriding the value set in business profile `force_3ds_challenge` as false in payment create\r\n\r\n```shell\r\ncurl --location 'localhost:8080/payments' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_Ghv3WFaXE8YXowo77WnQpMoIXsVtC0DcMfnowobAIkIkStzxVMXdTF6Li7SJoyWM' \\\r\n--data-raw '{\r\n \"amount\": 6540,\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\": 6540,\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\": \"+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 \"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 },\r\n \"phone\": {\r\n \"number\": \"123456789\",\r\n \"country_code\": \"12\"\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\": \"PiX\"\r\n },\r\n \"phone\": {\r\n \"number\": \"123456789\",\r\n \"country_code\": \"12\"\r\n }\r\n },\r\n \"request_external_three_ds_authentication\": true,\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 \"force_3ds_challenge\": false\r\n}'\r\n```\r\n\r\nforce_3ds_challenge: false\r\n<img width=\"1589\" alt=\"Screenshot 2025-03-13 at 12 56 49\u202fPM\" src=\"https://github.com/user-attachments/assets/361e0f41-54eb-4906-a90c-a457c5f4b355\" />\r\n\r\n\r\nPayment Create Response\r\n\r\n```shell\r\n{\r\n \"payment_id\": \"pay_N5VoouQEnkDL6bx8yxeu\",\r\n \"merchant_id\": \"sahkal\",\r\n \"status\": \"requires_payment_method\",\r\n \"amount\": 6540,\r\n \"net_amount\": 6540,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": null,\r\n \"connector\": null,\r\n \"client_secret\": \"pay_N5VoouQEnkDL6bx8yxeu_secret_8bFLGPv5ymU16mal9Qew\",\r\n \"created\": \"2025-03-23T20:17:16.893Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"StripeCustomer\",\r\n \"customer\": {\r\n \"id\": \"StripeCustomer\",\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\": 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\": \"PiX\",\r\n \"last_name\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"123456789\",\r\n \"country_code\": \"12\"\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\": null\r\n },\r\n \"phone\": {\r\n \"number\": \"123456789\",\r\n \"country_code\": \"12\"\r\n },\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://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\": 1742761036,\r\n \"expires\": 1742764636,\r\n \"secret\": \"epk_c714e3ec07cf4c27844cd37561dfe854\"\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_sc0RRAwEw4IuLCnHqvZ9\",\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-23T20:32:16.893Z\",\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-03-23T20:17:16.952Z\",\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 \"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}\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-11T18:30:30+00:00",
|
| 7 |
+
"merged_at": "2025-04-07T09:25:16+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-core",
|
| 11 |
+
"M-database-changes",
|
| 12 |
+
"M-api-contract-changes"
|
| 13 |
+
],
|
| 14 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7484",
|
| 15 |
+
"commits": [
|
| 16 |
+
{
|
| 17 |
+
"sha": "54497f8cf504415113fb7ad7ca17fbf972eb4a55",
|
| 18 |
+
"message": "feat(core): added force_3ds_challenge for decoupled txns",
|
| 19 |
+
"author": "Sahkal Poddar",
|
| 20 |
+
"date": "2025-03-11T18:28:48+00:00",
|
| 21 |
+
"url": "https://github.com/juspay/hyperswitch/commit/54497f8cf504415113fb7ad7ca17fbf972eb4a55"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"sha": "110f12714f6bced66db12a1f6b820967d072d00c",
|
| 25 |
+
"message": "added force_3ds_challenge to payment update as well",
|
| 26 |
+
"author": "Sahkal Poddar",
|
| 27 |
+
"date": "2025-03-11T19:28:50+00:00",
|
| 28 |
+
"url": "https://github.com/juspay/hyperswitch/commit/110f12714f6bced66db12a1f6b820967d072d00c"
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"sha": "18a88578a4f25466587bafa92534a1a2e4d6ca02",
|
| 32 |
+
"message": "fixed ci checks",
|
| 33 |
+
"author": "Sahkal Poddar",
|
| 34 |
+
"date": "2025-03-12T06:01:47+00:00",
|
| 35 |
+
"url": "https://github.com/juspay/hyperswitch/commit/18a88578a4f25466587bafa92534a1a2e4d6ca02"
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"sha": "b6f8fb1b891d157156bd0da5da81826ca4bb69f1",
|
| 39 |
+
"message": "fixed migration inconsistency",
|
| 40 |
+
"author": "Sahkal Poddar",
|
| 41 |
+
"date": "2025-03-12T06:20:43+00:00",
|
| 42 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b6f8fb1b891d157156bd0da5da81826ca4bb69f1"
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"sha": "9e6a693ef646e7e8cc9c483c036d1c1e48700f02",
|
| 46 |
+
"message": "added force_3ds_challenge in response",
|
| 47 |
+
"author": "Sahkal Poddar",
|
| 48 |
+
"date": "2025-03-13T09:36:55+00:00",
|
| 49 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9e6a693ef646e7e8cc9c483c036d1c1e48700f02"
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"sha": "9f3123b3f2ca008603f9b61415559fbf8acdd4ec",
|
| 53 |
+
"message": "fixed open api specs",
|
| 54 |
+
"author": "Sahkal Poddar",
|
| 55 |
+
"date": "2025-03-13T09:47:08+00:00",
|
| 56 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9f3123b3f2ca008603f9b61415559fbf8acdd4ec"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"sha": "9a9ec42121edfdd363e9d2fa13dbd9f6893b002e",
|
| 60 |
+
"message": "fixed open-api specs",
|
| 61 |
+
"author": "Sahkal Poddar",
|
| 62 |
+
"date": "2025-03-13T11:57:21+00:00",
|
| 63 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9a9ec42121edfdd363e9d2fa13dbd9f6893b002e"
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"sha": "6111f4f7dd8955fa41d773b7ea4454864e7edc69",
|
| 67 |
+
"message": "fixed open api v2 specs",
|
| 68 |
+
"author": "Sahkal Poddar",
|
| 69 |
+
"date": "2025-03-13T12:07:26+00:00",
|
| 70 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6111f4f7dd8955fa41d773b7ea4454864e7edc69"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"sha": "44d32ef71b318970184ff628201e6960f63f78a7",
|
| 74 |
+
"message": "added force_challenge_trigger field in payment authentication flow",
|
| 75 |
+
"author": "Sahkal Poddar",
|
| 76 |
+
"date": "2025-03-20T12:06:11+00:00",
|
| 77 |
+
"url": "https://github.com/juspay/hyperswitch/commit/44d32ef71b318970184ff628201e6960f63f78a7"
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"sha": "4267b5b9ff315ec0cfac13b72fbb95f0203fa22f",
|
| 81 |
+
"message": "resolved merge conflicts",
|
| 82 |
+
"author": "Sahkal Poddar",
|
| 83 |
+
"date": "2025-03-23T19:57:15+00:00",
|
| 84 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4267b5b9ff315ec0cfac13b72fbb95f0203fa22f"
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"sha": "f8a3f5d6696e2ca280152972efd23f5560ad11fa",
|
| 88 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 89 |
+
"author": "hyperswitch-bot[bot]",
|
| 90 |
+
"date": "2025-03-23T20:03:09+00:00",
|
| 91 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f8a3f5d6696e2ca280152972efd23f5560ad11fa"
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"sha": "0b963518a9f5868522afef7472ba9fea0d57e683",
|
| 95 |
+
"message": "changed force_3ds_overwrite to force_3ds_challenge",
|
| 96 |
+
"author": "Sahkal Poddar",
|
| 97 |
+
"date": "2025-03-26T15:32:47+00:00",
|
| 98 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0b963518a9f5868522afef7472ba9fea0d57e683"
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"sha": "624c08c59610cae68fb535845a6ec90b2382eb67",
|
| 102 |
+
"message": "resolved merge conflicts",
|
| 103 |
+
"author": "Sahkal Poddar",
|
| 104 |
+
"date": "2025-03-26T15:43:06+00:00",
|
| 105 |
+
"url": "https://github.com/juspay/hyperswitch/commit/624c08c59610cae68fb535845a6ec90b2382eb67"
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"sha": "b1cc4e07ecba8480654d6bac3bbe35b268c22bb1",
|
| 109 |
+
"message": "resolved merge conflicts",
|
| 110 |
+
"author": "Sahkal Poddar",
|
| 111 |
+
"date": "2025-03-31T18:25:22+00:00",
|
| 112 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b1cc4e07ecba8480654d6bac3bbe35b268c22bb1"
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"sha": "432a5d7bb818032868396e4682c9596e7275d31b",
|
| 116 |
+
"message": "Merge branch 'main' into 8765-feat-add-force_3ds_challenge-flag-in-payments-request",
|
| 117 |
+
"author": "Sahkal Poddar",
|
| 118 |
+
"date": "2025-04-02T08:11:48+00:00",
|
| 119 |
+
"url": "https://github.com/juspay/hyperswitch/commit/432a5d7bb818032868396e4682c9596e7275d31b"
|
| 120 |
+
}
|
| 121 |
+
]
|
| 122 |
+
}
|
prs/pr_7503.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7503,
|
| 3 |
+
"title": "feat(refunds): Add refunds diesel model support in V2 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\nThis PR is a part of v2 implementation of refunds. This PR contains the necessary database schema refactoring as well as handling this in the storage_impl crate.\r\n\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [x] 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\nMerging this PR would add db support for refunds in v2 apis.\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\nCannot be tested because the core flow is not implemented for the refunds in V2 APIs, will be taking that in upcoming PRs.\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": "AmeyWale",
|
| 6 |
+
"created_at": "2025-03-12T16:18:08+00:00",
|
| 7 |
+
"merged_at": "2025-03-24T11:16:20+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-database-changes"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7503",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "0fec919baacf7bcaf8369c7c11865abdac46cbf1",
|
| 16 |
+
"message": "feat(refunds): Add refunds support in V2 API",
|
| 17 |
+
"author": "Amey Wale",
|
| 18 |
+
"date": "2025-03-12T12:52:33+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0fec919baacf7bcaf8369c7c11865abdac46cbf1"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "acb40ef665e02eb435d885e4269c57f850a842be",
|
| 23 |
+
"message": "chore: run formatter",
|
| 24 |
+
"author": "hyperswitch-bot[bot]",
|
| 25 |
+
"date": "2025-03-12T16:19:00+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/acb40ef665e02eb435d885e4269c57f850a842be"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "9e2afc09d7d75419b212b49d04479b439f868cf3",
|
| 30 |
+
"message": "refactor(refunds_v2): Apply suggestions",
|
| 31 |
+
"author": "Amey Wale",
|
| 32 |
+
"date": "2025-03-13T10:03:21+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9e2afc09d7d75419b212b49d04479b439f868cf3"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "994f9cae0689f863e7233f6ac61724fcd89a7c38",
|
| 37 |
+
"message": "refactor(refunds_v2): Fix merge conflicts",
|
| 38 |
+
"author": "Amey Wale",
|
| 39 |
+
"date": "2025-03-13T10:10:17+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/994f9cae0689f863e7233f6ac61724fcd89a7c38"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "7d79df97de1b85fe0b7de41a7641c523a74435d9",
|
| 44 |
+
"message": "refactor(refunds_v2): Fix clippy failure",
|
| 45 |
+
"author": "Amey Wale",
|
| 46 |
+
"date": "2025-03-13T10:55:20+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7d79df97de1b85fe0b7de41a7641c523a74435d9"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"sha": "c2b0cbf64ab2c36ce9e7b41ba2e30d22cfe81787",
|
| 51 |
+
"message": "refactor(refunds_v2): Apply suggestions",
|
| 52 |
+
"author": "Amey Wale",
|
| 53 |
+
"date": "2025-03-17T08:23:13+00:00",
|
| 54 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c2b0cbf64ab2c36ce9e7b41ba2e30d22cfe81787"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"sha": "8cbd6b9545bfe30fcf7ecad7cc5379bdb07de2d9",
|
| 58 |
+
"message": "Merge branch 'main' into refunds-v2-diesel-models",
|
| 59 |
+
"author": "Amey Wale",
|
| 60 |
+
"date": "2025-03-19T13:02:46+00:00",
|
| 61 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8cbd6b9545bfe30fcf7ecad7cc5379bdb07de2d9"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"sha": "0218970d191d02cad6bd604b4eaad1385a95f650",
|
| 65 |
+
"message": "Merge branch 'main' into refunds-v2-diesel-models",
|
| 66 |
+
"author": "Hrithikesh",
|
| 67 |
+
"date": "2025-03-19T16:37:38+00:00",
|
| 68 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0218970d191d02cad6bd604b4eaad1385a95f650"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"sha": "9b78f788a4b0697d3d7b27c76de0090850a674e1",
|
| 72 |
+
"message": "refactor(refunds_v2): Add refunds update structs in diesel model",
|
| 73 |
+
"author": "Amey Wale",
|
| 74 |
+
"date": "2025-03-20T09:12:40+00:00",
|
| 75 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9b78f788a4b0697d3d7b27c76de0090850a674e1"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"sha": "b9a020c8725f545394c84b7fe71745faa5a0f29a",
|
| 79 |
+
"message": "Merge branch 'refunds-v2-diesel-models' of github.com:juspay/hyperswitch into refunds-v2-diesel-models",
|
| 80 |
+
"author": "Amey Wale",
|
| 81 |
+
"date": "2025-03-20T09:13:07+00:00",
|
| 82 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b9a020c8725f545394c84b7fe71745faa5a0f29a"
|
| 83 |
+
}
|
| 84 |
+
]
|
| 85 |
+
}
|
prs/pr_7508.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
prs/pr_7527.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7527,
|
| 3 |
+
"title": "feat(connector): [BRAINTREE] Add revoke mandate flow",
|
| 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\nORIGINAL PR: https://github.com/juspay/hyperswitch/pull/7525\r\nAdd mandate revoke flow to Braintree\r\nhttps://developer.paypal.com/braintree/graphql/guides/payment_methods/#delete\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\nhttps://github.com/juspay/hyperswitch/issues/7526\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\nRevoking an existing mandate using tunnel needs to be tested:\r\nRequest:\r\n```\r\ncurl --location 'http://localhost:8080/vs/v1/payment_methods/man_OVY39ecmn6QDAxh18qIe/detach' \\\r\n--header 'Content-Type: application/x-www-form-urlencoded' \\\r\n--header 'User-Agent: helloMozilla/5.0 (Linux; Android 12; SM-S906N Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/80.0.3987.119 Mobile Safari/537.36' \\\r\n--header 'api-key: HIDDEN' \\\r\n--data-urlencode 'merchant_connector_details%5Bencoded_data%5D=HIDDEN'\r\n```\r\n\r\nResponse:\r\n```\r\n{\r\n \"mandate_id\": \"man_OVY39ecmn6QDAxh18qIe\",\r\n \"status\": \"revoked\",\r\n \"error_code\": null,\r\n \"error_message\": 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": "deepanshu-iiitu",
|
| 6 |
+
"created_at": "2025-03-15T11:57:57+00:00",
|
| 7 |
+
"merged_at": "2025-03-15T12:12:25+00:00",
|
| 8 |
+
"base_branch": "hotfix-2025.03.10.0",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration",
|
| 11 |
+
"C-feature",
|
| 12 |
+
"Hotfix"
|
| 13 |
+
],
|
| 14 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7527",
|
| 15 |
+
"commits": [
|
| 16 |
+
{
|
| 17 |
+
"sha": "34bcff0471859211008b6ea660bde459960c89ba",
|
| 18 |
+
"message": "feat(connector): [BRAINTREE] Add revoke mandate flow (#7525)",
|
| 19 |
+
"author": "DEEPANSHU BANSAL",
|
| 20 |
+
"date": "2025-03-15T11:18:48+00:00",
|
| 21 |
+
"url": "https://github.com/juspay/hyperswitch/commit/34bcff0471859211008b6ea660bde459960c89ba"
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
prs/pr_7575.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7575,
|
| 3 |
+
"title": "feat(connector): [TRUSTPAY] implement Banktransfer PaymentMethod",
|
| 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\nImplement Banktransfer PaymentMethod\r\n- SepabankTransfer\r\n- InstantBankTransfer\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\n1. Create a Merchant Account\r\n2. Create API Key \r\n3. Create MCA for Trustpay\r\n```\r\ncurl --location 'http://localhost:8080/account/merchant_1742393217/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\": \"trustpay\",\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_transfer\",\r\n \"payment_method_types\": [\r\n {\r\n \"payment_method_type\": \"sepa_bank_transfer\",\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": true\r\n },\r\n {\r\n \"payment_method_type\": \"instant_bank_transfer\",\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": true\r\n }\r\n \r\n ]\r\n },\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 \"AmericanExpress\",\r\n \"Discover\",\r\n \"Interac\",\r\n \"JCB\",\r\n \"Mastercard\",\r\n \"Visa\",\r\n \"DinersClub\",\r\n \"UnionPay\",\r\n \"RuPay\"\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 \"AmericanExpress\",\r\n \"Discover\",\r\n \"Interac\",\r\n \"JCB\",\r\n \"Mastercard\",\r\n \"Visa\",\r\n \"DinersClub\",\r\n \"UnionPay\",\r\n \"RuPay\"\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 \"payment_method\": \"bank_redirect\",\r\n \"payment_method_types\": [\r\n {\r\n \"payment_method_type\": \"giropay\",\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": true\r\n },\r\n {\r\n \"payment_method_type\": \"eps\",\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": true\r\n },\r\n {\r\n \"payment_method_type\": \"sofort\",\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": true\r\n },\r\n {\r\n \"payment_method_type\": \"ideal\",\r\n \"recurring_enabled\": true,\r\n \"installment_payment_enabled\": true,\r\n \"minimum_amount\": 1,\r\n \"maximum_amount\": 68607706,\r\n \"payment_experience\": \"redirect_to_url\"\r\n },\r\n {\r\n \"payment_method_type\": \"blik\",\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\": \"trustly\",\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 \"currency_id\": 1,\r\n \"platform_id\": 6,\r\n \"ledger_account_id\": \"__\"\r\n }\r\n}'\r\n```\r\n4. Create a SepaBankTransfer Request\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_qvBkR76d1dON9WyPNxtZWeulmuwqqF5Rw6Cm8qOkKbvl8rdAqaDpc7U59iD91A1s' \\\r\n--data-raw '\r\n\r\n{\r\n \"amount\": 6540,\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\": 6540,\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\": \"three_ds\",\r\n \"return_url\": \"https://google.com\",\r\n \"payment_method\": \"bank_transfer\",\r\n \"payment_method_type\" :\"sepa_bank_transfer\",\r\n \"payment_method_data\": {\r\n \"bank_transfer\": {\r\n \"sepa_bank_transfer\": { }\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 \"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\": \"ES\",\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\": \"ES\",\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 \"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}'\r\n```\r\nResponse\r\n```\r\n{\r\n \"payment_id\": \"pay_VUpjOHvTvYtckYOV48up\",\r\n \"merchant_id\": \"merchant_1742809428\",\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\": \"trustpay\",\r\n \"client_secret\": \"pay_VUpjOHvTvYtckYOV48up_secret_vQzFcUlrhGzCSv1RiCU4\",\r\n \"created\": \"2025-03-24T09:45:13.330Z\",\r\n \"currency\": \"EUR\",\r\n \"customer_id\": \"StripeCustomer\",\r\n \"customer\": {\r\n \"id\": \"StripeCustomer\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+1\"\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\": \"bank_transfer\",\r\n \"payment_method_data\": {\r\n \"bank_transfer\": {\r\n \"sepa\": {}\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\": \"ES\",\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\": \"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\": null\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San Fransico\",\r\n \"country\": \"ES\",\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\": \"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\": 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://google.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_VUpjOHvTvYtckYOV48up/merchant_1742809428/pay_VUpjOHvTvYtckYOV48up_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\": \"sepa_bank_transfer\",\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\": 1742809513,\r\n \"expires\": 1742813113,\r\n \"secret\": \"epk_76fc87101d92434c934333b45e0cde63\"\r\n },\r\n \"manual_retry_allowed\": null,\r\n \"connector_transaction_id\": \"1823755940\",\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_gdGGL1iBKEtqubRWArMs\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_xumIJOB7bf110Ev1YEK4\",\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-24T10:00:13.330Z\",\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\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-03-24T09:45:15.389Z\",\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\n5. Create a InstantBankTransfer 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_qvBkR76d1dON9WyPNxtZWeulmuwqqF5Rw6Cm8qOkKbvl8rdAqaDpc7U59iD91A1s' \\\r\n--data-raw '\r\n{\r\n \"amount\": 6540,\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\": 6540,\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\": \"three_ds\",\r\n \"return_url\": \"https://google.com\",\r\n \"payment_method\": \"bank_transfer\",\r\n \"payment_method_type\" :\"instant_bank_transfer\",\r\n \"payment_method_data\": {\r\n \"bank_transfer\": {\r\n \"instant_bank_transfer\": { }\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 \"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\": \"SK\",\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\": \"SK\",\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 \"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}'\r\n```\r\nResponse\r\n```\r\n{\"payment_id\":\"pay_OSdcJIXIcFFySqWm7FZ3\",\"merchant_id\":\"merchant_1742385527\",\"status\":\"requires_customer_action\",\"amount\":6540,\"net_amount\":6540,\"shipping_cost\":null,\"amount_capturable\":6540,\"amount_received\":null,\"connector\":\"trustpay\",\"client_secret\":\"pay_OSdcJIXIcFFySqWm7FZ3_secret_hmkqdAMHQ2PpObgTgIfc\",\"created\":\"2025-03-19T12:02:02.266Z\",\"currency\":\"EUR\",\"customer_id\":\"StripeCustomer\",\"customer\":{\"id\":\"StripeCustomer\",\"name\":\"John Doe\",\"email\":\"guest@example.com\",\"phone\":\"999999999\",\"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\":\"bank_transfer\",\"payment_method_data\":{\"bank_transfer\":{\"instant_bank_transfer\":{}},\"billing\":null},\"payment_token\":null,\"shipping\":{\"address\":{\"city\":\"San Fransico\",\"country\":\"US\",\"line1\":\"1467\",\"line2\":\"Harrison Street\",\"line3\":\"Harrison Street\",\"zip\":\"94122\",\"state\":\"California\",\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"8056594427\",\"country_code\":\"+91\"},\"email\":null},\"billing\":{\"address\":{\"city\":\"San Fransico\",\"country\":\"US\",\"line1\":\"1467\",\"line2\":\"Harrison Street\",\"line3\":\"Harrison Street\",\"zip\":\"94122\",\"state\":\"California\",\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"8056594427\",\"country_code\":\"+91\"},\"email\":null},\"order_details\":null,\"email\":\"guest@example.com\",\"name\":\"John Doe\",\"phone\":\"999999999\",\"return_url\":\"https://google.com/\",\"authentication_type\":\"three_ds\",\"statement_descriptor_name\":\"joseph\",\"statement_descriptor_suffix\":\"JS\",\"next_action\":{\"type\":\"redirect_to_url\",\"redirect_to_url\":\"http://localhost:8080/payments/redirect/pay_OSdcJIXIcFFySqWm7FZ3/merchant_1742385527/pay_OSdcJIXIcFFySqWm7FZ3_1\"},\"cancellation_reason\":null,\"error_code\":null,\"error_message\":null,\"unified_code\":null,\"unified_message\":null,\"payment_experience\":null,\"payment_method_type\":\"instant_bank_transfer\",\"connector_label\":null,\"business_country\":null,\"business_label\":\"default\",\"business_sub_label\":null,\"allowed_payment_method_types\":null,\"ephemeral_key\":{\"customer_id\":\"StripeCustomer\",\"created_at\":1742385722,\"expires\":1742389322,\"secret\":\"epk_fb63b0b5ff5d4b09bec618b213434452\"},\"manual_retry_allowed\":null,\"connector_transaction_id\":\"5968676728\",\"frm_message\":null,\"metadata\":{\"udf1\":\"value1\",\"login_date\":\"2019-09-10T10:11:12Z\",\"new_customer\":\"true\"},\"connector_metadata\":null,\"feature_metadata\":null,\"reference_id\":null,\"payment_link\":null,\"profile_id\":\"pro_GKgBVFZG1sYIeDDTTFht\",\"surcharge_details\":null,\"attempt_count\":1,\"merchant_decision\":null,\"merchant_connector_id\":\"mca_LYv7UDOEKVo9ISDI4vYh\",\"incremental_authorization_allowed\":null,\"authorization_count\":null,\"incremental_authorizations\":null,\"external_authentication_details\":null,\"external_3ds_authentication_attempted\":false,\"expires_on\":\"2025-03-19T12:17:02.266Z\",\"fingerprint\":null,\"browser_info\":{\"language\":\"nl-NL\",\"time_zone\":0,\"ip_address\":\"125.0.0.1\",\"user_agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\"color_depth\":24,\"java_enabled\":true,\"screen_width\":1536,\"accept_header\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"screen_height\":723,\"java_script_enabled\":true},\"payment_method_id\":null,\"payment_method_status\":null,\"updated\":\"2025-03-19T12:02:03.526Z\",\"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\nComplete payment using redirection link.\r\npayment will be in `processing` step.\r\n\r\n\r\nPML response\r\n```\r\n{\r\n \"redirect_url\": \"https://google.com/success\",\r\n \"currency\": \"EUR\",\r\n \"payment_methods\": [\r\n {\r\n \"payment_method\": \"bank_transfer\",\r\n \"payment_method_types\": [\r\n {\r\n \"payment_method_type\": \"sepa_bank_transfer\",\r\n \"payment_experience\": null,\r\n \"card_networks\": null,\r\n \"bank_names\": null,\r\n \"bank_debits\": null,\r\n \"bank_transfers\": {\r\n \"eligible_connectors\": [\r\n \"trustpay\"\r\n ]\r\n },\r\n \"required_fields\": null,\r\n \"surcharge_details\": null,\r\n \"pm_auth_connector\": null\r\n },\r\n {\r\n \"payment_method_type\": \"instant_bank_transfer\",\r\n \"payment_experience\": null,\r\n \"card_networks\": null,\r\n \"bank_names\": null,\r\n \"bank_debits\": null,\r\n \"bank_transfers\": {\r\n \"eligible_connectors\": [\r\n \"trustpay\"\r\n ]\r\n },\r\n \"required_fields\": {\r\n \"billing.address.last_name\": {\r\n \"required_field\": \"payment_method_data.billing.address.last_name\",\r\n \"display_name\": \"billing_last_name\",\r\n \"field_type\": \"user_billing_name\",\r\n \"value\": null\r\n },\r\n \"billing.address.line1\": {\r\n \"required_field\": \"payment_method_data.billing.address.line1\",\r\n \"display_name\": \"line1\",\r\n \"field_type\": \"user_address_line1\",\r\n \"value\": null\r\n },\r\n \"billing.address.zip\": {\r\n \"required_field\": \"payment_method_data.billing.address.zip\",\r\n \"display_name\": \"zip\",\r\n \"field_type\": \"user_address_pincode\",\r\n \"value\": null\r\n },\r\n \"billing.address.country\": {\r\n \"required_field\": \"payment_method_data.billing.address.country\",\r\n \"display_name\": \"country\",\r\n \"field_type\": {\r\n \"user_address_country\": {\r\n \"options\": [\r\n \"ALL\"\r\n ]\r\n }\r\n },\r\n \"value\": null\r\n },\r\n \"billing.address.first_name\": {\r\n \"required_field\": \"payment_method_data.billing.address.first_name\",\r\n \"display_name\": \"billing_first_name\",\r\n \"field_type\": \"user_billing_name\",\r\n \"value\": null\r\n },\r\n \"email\": {\r\n \"required_field\": \"email\",\r\n \"display_name\": \"email\",\r\n \"field_type\": \"user_email_address\",\r\n \"value\": \"guest@example.com\"\r\n },\r\n \"billing.address.city\": {\r\n \"required_field\": \"payment_method_data.billing.address.city\",\r\n \"display_name\": \"city\",\r\n \"field_type\": \"user_address_city\",\r\n \"value\": null\r\n }\r\n },\r\n \"surcharge_details\": null,\r\n \"pm_auth_connector\": null\r\n }\r\n ]\r\n }\r\n ],\r\n \"mandate_payment\": null,\r\n \"merchant_name\": \"NewAge Retailer\",\r\n \"show_surcharge_breakup_screen\": false,\r\n \"payment_type\": \"normal\",\r\n \"request_external_three_ds_authentication\": false,\r\n \"collect_shipping_details_from_wallets\": false,\r\n \"collect_billing_details_from_wallets\": false,\r\n \"is_tax_calculation_enabled\": false\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": "swangi-kumari",
|
| 6 |
+
"created_at": "2025-03-19T12:47:08+00:00",
|
| 7 |
+
"merged_at": "2025-03-25T14:58:25+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration",
|
| 11 |
+
"C-feature",
|
| 12 |
+
"M-api-contract-changes"
|
| 13 |
+
],
|
| 14 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7575",
|
| 15 |
+
"commits": [
|
| 16 |
+
{
|
| 17 |
+
"sha": "e93ab9ce04271355f3a0ccd97cf6358ed692dab7",
|
| 18 |
+
"message": "feat: implement banktransfer for trustpay",
|
| 19 |
+
"author": "Swangi Kumari",
|
| 20 |
+
"date": "2025-03-19T12:45:18+00:00",
|
| 21 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e93ab9ce04271355f3a0ccd97cf6358ed692dab7"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"sha": "6a7112b5fa7feb7fe96b68793748f5599129ed63",
|
| 25 |
+
"message": "feat: wasm",
|
| 26 |
+
"author": "Swangi Kumari",
|
| 27 |
+
"date": "2025-03-19T14:48:08+00:00",
|
| 28 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6a7112b5fa7feb7fe96b68793748f5599129ed63"
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"sha": "08e6e691f52ba28d61b447a5b3df7c45227450f9",
|
| 32 |
+
"message": "refactor: add sepabanktrasfer pmt",
|
| 33 |
+
"author": "Swangi Kumari",
|
| 34 |
+
"date": "2025-03-23T13:41:35+00:00",
|
| 35 |
+
"url": "https://github.com/juspay/hyperswitch/commit/08e6e691f52ba28d61b447a5b3df7c45227450f9"
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"sha": "c7b95c98972ae5ce009b52c6e91f79f60e1dc9a9",
|
| 39 |
+
"message": "Merge branch 'main' into trustpay-bank-transfer",
|
| 40 |
+
"author": "Swangi Kumari",
|
| 41 |
+
"date": "2025-03-23T13:49:58+00:00",
|
| 42 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c7b95c98972ae5ce009b52c6e91f79f60e1dc9a9"
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"sha": "fe4dfa0411c7167d4dc79fb14eb92bb47d3715e9",
|
| 46 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 47 |
+
"author": "hyperswitch-bot[bot]",
|
| 48 |
+
"date": "2025-03-23T13:56:22+00:00",
|
| 49 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fe4dfa0411c7167d4dc79fb14eb92bb47d3715e9"
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"sha": "14eff7a9fa2c36457c1fa84ea6ed6bd451f6a03f",
|
| 53 |
+
"message": "Merge branch 'main' into trustpay-bank-transfer",
|
| 54 |
+
"author": "Swangi Kumari",
|
| 55 |
+
"date": "2025-03-24T12:58:52+00:00",
|
| 56 |
+
"url": "https://github.com/juspay/hyperswitch/commit/14eff7a9fa2c36457c1fa84ea6ed6bd451f6a03f"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"sha": "ccec5dceb4bf7678a3bb55fc688a259a41975ead",
|
| 60 |
+
"message": "ci: change `sepa` to `sepa_bank_transfer` for payouts",
|
| 61 |
+
"author": "Swangi Kumari",
|
| 62 |
+
"date": "2025-03-25T08:40:50+00:00",
|
| 63 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ccec5dceb4bf7678a3bb55fc688a259a41975ead"
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"sha": "5115e1d531329b51aa713ebe772c5e9fddfced00",
|
| 67 |
+
"message": "refactor: change `sepa` to `sepaBankTransfer` for payouts",
|
| 68 |
+
"author": "Swangi Kumari",
|
| 69 |
+
"date": "2025-03-25T08:41:23+00:00",
|
| 70 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5115e1d531329b51aa713ebe772c5e9fddfced00"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"sha": "184e126e47ddb148e9d4a53b6c9a285737c03621",
|
| 74 |
+
"message": "refactor: rename test name",
|
| 75 |
+
"author": "Swangi Kumari",
|
| 76 |
+
"date": "2025-03-25T10:17:15+00:00",
|
| 77 |
+
"url": "https://github.com/juspay/hyperswitch/commit/184e126e47ddb148e9d4a53b6c9a285737c03621"
|
| 78 |
+
}
|
| 79 |
+
]
|
| 80 |
+
}
|
prs/pr_7577.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7577,
|
| 3 |
+
"title": "fix(connector): [CYBERSOURCE] send xid as none for external 3ds payments",
|
| 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\nsend xid as none for external 3ds payments\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\r\nCURL\r\n```\r\ncurl --location 'localhost:8080/payments/{PAYMENT_ID}}/3ds/authentication' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: {{API_KEY}}' \\\r\n--data '{\r\n \"client_secret\": \"{{CLIENT_SECRET}}\",\r\n \"device_channel\": \"BRW\",\r\n \"threeds_method_comp_ind\": \"Y\"\r\n}'\r\n```\r\n\r\nResponse\r\n```\r\n{\r\n \"trans_status\": \"Y\",\r\n \"acs_url\": null,\r\n \"challenge_request\": null,\r\n \"acs_reference_number\": null,\r\n \"acs_trans_id\": null,\r\n \"three_dsserver_trans_id\": \"648051f1-c9d5-4559-92fa-0a8805ed8e55\",\r\n \"acs_signed_content\": null,\r\n \"three_ds_requestor_url\": \"https://google.com\"\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": "sai-harsha-vardhan",
|
| 6 |
+
"created_at": "2025-03-19T19:08:56+00:00",
|
| 7 |
+
"merged_at": "2025-03-20T07:56:40+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration",
|
| 11 |
+
"C-bug"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7577",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "36842b1180a52f7bc85028fcaa1995bba0662187",
|
| 17 |
+
"message": "do not send xid in consumerAuth for Cybs",
|
| 18 |
+
"author": "sai-harsha-vardhan",
|
| 19 |
+
"date": "2025-03-19T07:35:46+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/36842b1180a52f7bc85028fcaa1995bba0662187"
|
| 21 |
+
}
|
| 22 |
+
]
|
| 23 |
+
}
|
prs/pr_7586.json
ADDED
|
@@ -0,0 +1,611 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7586,
|
| 3 |
+
"title": "feat(connectors): [Redsys] add Psync and Rsync 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\n1. Redsys Psync and Rsync implementation. \r\nAPI type: SOAP XML API \r\n\r\n_Note: Connector doesn't support Psync call, when the next action is `threeds_invoke` (just after the preprocessing call). If triggeredRedsys will throw an error with error_code: `xml0024`._ \r\n\r\n2. Status mapping change \r\na) \"9999\" is mapped to Authentication pending as this status specifies - \"Operation that has been redirected to the issuer to authenticate\" and \"9998\" maps to failed status\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\nCannot be tested as processing status cannot be stimulated during sandbox testing\r\n\r\n<details>\r\n<summary> Local Testing (manually mark the payment as pending and do a Psync) </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_S8QiRuQPjHGG1szVbgNxJVhTwTRF9ydj9APuvTeXCsp79NmRGNctIyPsvMAZL3Hg' \\\r\n--data-raw '{\r\n \"amount\": 10,\r\n \"currency\": \"EUR\",\r\n \"return_url\": \"https://hyperswitch.io\",\r\n \"confirm\": true,\r\n \"customer_acceptance\": null,\r\n \"customer_id\" :\"asbh\",\r\n \"capture_method\": \"automatic\",\r\n \"authentication_type\": \"three_ds\",\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\": \"Ceuta\",\r\n \"zip\": \"94122\",\r\n \"country\": \"ES\",\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"email\": \"mauro.morandi@nexi.it\",\r\n \"phone\": {\r\n \"number\": \"9123456789\",\r\n \"country_code\": \"+91\"\r\n }\r\n },\r\n \"email\": \"hyperswitch_sdk_demo_id@gmail.com\",\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 \r\n \"payment_method\": \"card\",\r\n \r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"4548814479727229\",\r\n \"card_exp_month\": \"12\",\r\n \"card_exp_year\": \"49\",\r\n \"card_holder_name\": \"Joseph\",\r\n \"card_cvc\": \"123\"\r\n }\r\n },\r\n \"setup_future_usage\": \"on_session\",\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\": \"Ceuta\",\r\n \"zip\": \"94122\",\r\n \"country\": \"ES\",\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"email\": \"mauro.morandi@nexi.it\",\r\n \"phone\": {\r\n \"number\": \"9123456789\",\r\n \"country_code\": \"+91\"\r\n }\r\n }\r\n}'\r\n```\r\nResponse \r\n\r\n```json\r\n{\"payment_id\":\"pay_sJAE201oybS9Nom6njE0\",\"merchant_id\":\"postman_merchant_GHAction_20dc3fc4-9c75-4224-9113-f1a66dc1d515\",\"status\":\"processing\",\"amount\":10,\"net_amount\":10,\"shipping_cost\":null,\"amount_capturable\":0,\"amount_received\":null,\"connector\":\"redsys\",\"client_secret\":\"pay_sJAE201oybS9Nom6njE0_secret_1Krj7K16Sbb8Jys68BQn\",\"created\":\"2025-03-21T06:29:43.144Z\",\"currency\":\"EUR\",\"customer_id\":\"asbh\",\"customer\":{\"id\":\"asbh\",\"name\":null,\"email\":\"hyperswitch_sdk_demo_id@gmail.com\",\"phone\":null,\"phone_country_code\":null},\"description\":null,\"refunds\":null,\"disputes\":null,\"mandate_id\":null,\"mandate_data\":null,\"setup_future_usage\":\"on_session\",\"off_session\":null,\"capture_on\":null,\"capture_method\":\"automatic\",\"payment_method\":\"card\",\"payment_method_data\":{\"card\":{\"last4\":\"7229\",\"card_type\":null,\"card_network\":null,\"card_issuer\":null,\"card_issuing_country\":null,\"card_isin\":\"454881\",\"card_extended_bin\":null,\"card_exp_month\":\"12\",\"card_exp_year\":\"49\",\"card_holder_name\":\"Joseph\",\"payment_checks\":null,\"authentication_data\":null},\"billing\":null},\"payment_token\":\"token_PGJePKDPhz6Q0RyBeRap\",\"shipping\":{\"address\":{\"city\":\"San Fransico\",\"country\":\"ES\",\"line1\":\"1467\",\"line2\":\"Harrison Street\",\"line3\":\"Harrison Street\",\"zip\":\"94122\",\"state\":\"Ceuta\",\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"9123456789\",\"country_code\":\"+91\"},\"email\":\"mauro.morandi@nexi.it\"},\"billing\":{\"address\":{\"city\":\"San Fransico\",\"country\":\"ES\",\"line1\":\"1467\",\"line2\":\"Harrison Street\",\"line3\":\"Harrison Street\",\"zip\":\"94122\",\"state\":\"Ceuta\",\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"9123456789\",\"country_code\":\"+91\"},\"email\":\"mauro.morandi@nexi.it\"},\"order_details\":null,\"email\":\"hyperswitch_sdk_demo_id@gmail.com\",\"name\":null,\"phone\":null,\"return_url\":\"https://hyperswitch.io/\",\"authentication_type\":\"three_ds\",\"statement_descriptor_name\":null,\"statement_descriptor_suffix\":null,\"next_action\":null,\"cancellation_reason\":null,\"error_code\":null,\"error_message\":null,\"unified_code\":null,\"unified_message\":null,\"payment_experience\":null,\"payment_method_type\":null,\"connector_label\":null,\"business_country\":null,\"business_label\":\"default\",\"business_sub_label\":null,\"allowed_payment_method_types\":null,\"ephemeral_key\":{\"customer_id\":\"asbh\",\"created_at\":1742538583,\"expires\":1742542183,\"secret\":\"epk_ab1283dd0d4042c88994d81e0163ea30\"},\"manual_retry_allowed\":false,\"connector_transaction_id\":\"206678482225\",\"frm_message\":null,\"metadata\":null,\"connector_metadata\":null,\"feature_metadata\":null,\"reference_id\":\"206678482225\",\"payment_link\":null,\"profile_id\":\"pro_501tEJX8ANb93eYoVAeO\",\"surcharge_details\":null,\"attempt_count\":1,\"merchant_decision\":null,\"merchant_connector_id\":\"mca_TUNS4WRo8qUaNApH0dtb\",\"incremental_authorization_allowed\":null,\"authorization_count\":null,\"incremental_authorizations\":null,\"external_authentication_details\":null,\"external_3ds_authentication_attempted\":false,\"expires_on\":\"2025-03-21T06:44:43.144Z\",\"fingerprint\":null,\"browser_info\":{\"language\":\"en-US\",\"time_zone\":-330,\"ip_address\":\"127.0.0.1\",\"user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36\",\"color_depth\":32,\"java_enabled\":true,\"screen_width\":1728,\"accept_header\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"screen_height\":1117,\"java_script_enabled\":true},\"payment_method_id\":null,\"payment_method_status\":null,\"updated\":\"2025-03-21T06:29:48.812Z\",\"split_payments\":null,\"frm_metadata\":null,\"extended_authorization_applied\":null,\"capture_before\":null,\"merchant_order_reference_id\":null,\"order_tax_amount\":null,\"connector_mandate_id\":null,\"card_discovery\":\"manual\",\"issuer_error_code\":null,\"issuer_error_message\":null}\r\n```\r\n\r\n Psync\r\n\r\n```curl\r\n\r\ncurl --location 'http://localhost:8080/payments/pay_sJAE201oybS9Nom6njE0?force_sync=true' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_S8QiRuQPjHGG1szVbgNxJVhTwTRF9ydj9APuvTeXCsp79NmRGNctIyPsvMAZL3Hg'\r\n```\r\nResponse\r\n```json\r\n{\"payment_id\":\"pay_sJAE201oybS9Nom6njE0\",\"merchant_id\":\"postman_merchant_GHAction_20dc3fc4-9c75-4224-9113-f1a66dc1d515\",\"status\":\"succeeded\",\"amount\":10,\"net_amount\":10,\"shipping_cost\":null,\"amount_capturable\":0,\"amount_received\":10,\"connector\":\"redsys\",\"client_secret\":\"pay_sJAE201oybS9Nom6njE0_secret_1Krj7K16Sbb8Jys68BQn\",\"created\":\"2025-03-21T06:29:43.144Z\",\"currency\":\"EUR\",\"customer_id\":\"asbh\",\"customer\":{\"id\":\"asbh\",\"name\":null,\"email\":\"hyperswitch_sdk_demo_id@gmail.com\",\"phone\":null,\"phone_country_code\":null},\"description\":null,\"refunds\":null,\"disputes\":null,\"mandate_id\":null,\"mandate_data\":null,\"setup_future_usage\":\"on_session\",\"off_session\":null,\"capture_on\":null,\"capture_method\":\"automatic\",\"payment_method\":\"card\",\"payment_method_data\":{\"card\":{\"last4\":\"7229\",\"card_type\":null,\"card_network\":null,\"card_issuer\":null,\"card_issuing_country\":null,\"card_isin\":\"454881\",\"card_extended_bin\":null,\"card_exp_month\":\"12\",\"card_exp_year\":\"49\",\"card_holder_name\":\"Joseph\",\"payment_checks\":null,\"authentication_data\":null},\"billing\":null},\"payment_token\":\"token_PGJePKDPhz6Q0RyBeRap\",\"shipping\":{\"address\":{\"city\":\"San Fransico\",\"country\":\"ES\",\"line1\":\"1467\",\"line2\":\"Harrison Street\",\"line3\":\"Harrison Street\",\"zip\":\"94122\",\"state\":\"Ceuta\",\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"9123456789\",\"country_code\":\"+91\"},\"email\":\"mauro.morandi@nexi.it\"},\"billing\":{\"address\":{\"city\":\"San Fransico\",\"country\":\"ES\",\"line1\":\"1467\",\"line2\":\"Harrison Street\",\"line3\":\"Harrison Street\",\"zip\":\"94122\",\"state\":\"Ceuta\",\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"9123456789\",\"country_code\":\"+91\"},\"email\":\"mauro.morandi@nexi.it\"},\"order_details\":null,\"email\":\"hyperswitch_sdk_demo_id@gmail.com\",\"name\":null,\"phone\":null,\"return_url\":\"https://hyperswitch.io/\",\"authentication_type\":\"three_ds\",\"statement_descriptor_name\":null,\"statement_descriptor_suffix\":null,\"next_action\":null,\"cancellation_reason\":null,\"error_code\":null,\"error_message\":null,\"unified_code\":null,\"unified_message\":null,\"payment_experience\":null,\"payment_method_type\":null,\"connector_label\":null,\"business_country\":null,\"business_label\":\"default\",\"business_sub_label\":null,\"allowed_payment_method_types\":null,\"ephemeral_key\":null,\"manual_retry_allowed\":false,\"connector_transaction_id\":\"206678482225\",\"frm_message\":null,\"metadata\":null,\"connector_metadata\":null,\"feature_metadata\":null,\"reference_id\":\"206678482225\",\"payment_link\":null,\"profile_id\":\"pro_501tEJX8ANb93eYoVAeO\",\"surcharge_details\":null,\"attempt_count\":1,\"merchant_decision\":null,\"merchant_connector_id\":\"mca_TUNS4WRo8qUaNApH0dtb\",\"incremental_authorization_allowed\":null,\"authorization_count\":null,\"incremental_authorizations\":null,\"external_authentication_details\":null,\"external_3ds_authentication_attempted\":false,\"expires_on\":\"2025-03-21T06:44:43.144Z\",\"fingerprint\":null,\"browser_info\":{\"language\":\"en-US\",\"time_zone\":-330,\"ip_address\":\"127.0.0.1\",\"user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36\",\"color_depth\":32,\"java_enabled\":true,\"screen_width\":1728,\"accept_header\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"screen_height\":1117,\"java_script_enabled\":true},\"payment_method_id\":null,\"payment_method_status\":null,\"updated\":\"2025-03-21T06:30:31.189Z\",\"split_payments\":null,\"frm_metadata\":null,\"extended_authorization_applied\":null,\"capture_before\":null,\"merchant_order_reference_id\":null,\"order_tax_amount\":null,\"connector_mandate_id\":null,\"card_discovery\":\"manual\",\"issuer_error_code\":null,\"issuer_error_message\":null}\r\n```\r\n</details>\r\n\r\n<details>\r\n<summary> Psync after and before redirection </summary> \r\nCreate a 3ds payment\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_eYTBjERYvLMQg36q5VL8J3bwcWX9TONkgOB8E1wbOaQ38InTXnDJHrYQDQWoRu2b' \\\r\n--data-raw '{\r\n \"amount\": 10,\r\n \"currency\": \"EUR\",\r\n \"return_url\": \"https://hyperswitch.io\",\r\n \"confirm\": true,\r\n \"customer_acceptance\": null,\r\n \"customer_id\" :\"asbh\",\r\n \"capture_method\": \"automatic\",\r\n \"authentication_type\": \"three_ds\",\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\": \"Ceut\u00e2\",\r\n \"zip\": \"94122\",\r\n \"country\": \"ES\",\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"email\": \"mauro.morandi@nexi.it\",\r\n \"phone\": {\r\n \"number\": \"9123456789\",\r\n \"country_code\": \"+91\"\r\n }\r\n },\r\n \"email\": \"hyperswitch_sdk_demo_id@gmail.com\",\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 \r\n \"payment_method\": \"card\",\r\n \r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"4548817212493017\",\r\n \"card_exp_month\": \"12\",\r\n \"card_exp_year\": \"49\",\r\n \"card_holder_name\": \"Joseph\",\r\n \"card_cvc\": \"123\"\r\n }\r\n },\r\n \"setup_future_usage\": \"on_session\",\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\": \"Ceuta\",\r\n \"zip\": \"94122\",\r\n \"country\": \"ES\",\r\n \"first_name\": \"joseph\",\r\n \"last_name\": \"Doe\"\r\n },\r\n \"email\": \"mauro.morandi@nexi.it\",\r\n \"phone\": {\r\n \"number\": \"9123456789\",\r\n \"country_code\": \"+91\"\r\n }\r\n }\r\n}'\r\n```\r\nResponse\r\n\r\n```json\r\n{\"payment_id\":\"pay_W2nrSGTtg0T5gxvc9W20\",\"merchant_id\":\"postman_merchant_GHAction_cfbbe59e-3f32-4dc5-a43f-6cb0dd952d10\",\"status\":\"requires_customer_action\",\"amount\":10,\"net_amount\":10,\"shipping_cost\":null,\"amount_capturable\":10,\"amount_received\":null,\"connector\":\"redsys\",\"client_secret\":\"pay_W2nrSGTtg0T5gxvc9W20_secret_vbXSeTVqLKxCS4WLKP5O\",\"created\":\"2025-03-21T12:53:47.232Z\",\"currency\":\"EUR\",\"customer_id\":\"asbh\",\"customer\":{\"id\":\"asbh\",\"name\":null,\"email\":\"hyperswitch_sdk_demo_id@gmail.com\",\"phone\":null,\"phone_country_code\":null},\"description\":null,\"refunds\":null,\"disputes\":null,\"mandate_id\":null,\"mandate_data\":null,\"setup_future_usage\":\"on_session\",\"off_session\":null,\"capture_on\":null,\"capture_method\":\"automatic\",\"payment_method\":\"card\",\"payment_method_data\":{\"card\":{\"last4\":\"3017\",\"card_type\":null,\"card_network\":null,\"card_issuer\":null,\"card_issuing_country\":null,\"card_isin\":\"454881\",\"card_extended_bin\":null,\"card_exp_month\":\"12\",\"card_exp_year\":\"49\",\"card_holder_name\":\"Joseph\",\"payment_checks\":null,\"authentication_data\":null},\"billing\":null},\"payment_token\":\"token_ZnViWQzmhFBJ2I9Nt2fK\",\"shipping\":{\"address\":{\"city\":\"San Fransico\",\"country\":\"ES\",\"line1\":\"1467\",\"line2\":\"Harrison Street\",\"line3\":\"Harrison Street\",\"zip\":\"94122\",\"state\":\"Ceuta\",\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"9123456789\",\"country_code\":\"+91\"},\"email\":\"mauro.morandi@nexi.it\"},\"billing\":{\"address\":{\"city\":\"San Fransico\",\"country\":\"ES\",\"line1\":\"1467\",\"line2\":\"Harrison Street\",\"line3\":\"Harrison Street\",\"zip\":\"94122\",\"state\":\"Ceut\u00e2\",\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"9123456789\",\"country_code\":\"+91\"},\"email\":\"mauro.morandi@nexi.it\"},\"order_details\":null,\"email\":\"hyperswitch_sdk_demo_id@gmail.com\",\"name\":null,\"phone\":null,\"return_url\":\"https://hyperswitch.io/\",\"authentication_type\":\"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_W2nrSGTtg0T5gxvc9W20/postman_merchant_GHAction_cfbbe59e-3f32-4dc5-a43f-6cb0dd952d10/pay_W2nrSGTtg0T5gxvc9W20_1\"},\"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\":\"asbh\",\"created_at\":1742561627,\"expires\":1742565227,\"secret\":\"epk_6f43b57c9b1f4199a874280094988181\"},\"manual_retry_allowed\":null,\"connector_transaction_id\":\"511143349445\",\"frm_message\":null,\"metadata\":null,\"connector_metadata\":null,\"feature_metadata\":null,\"reference_id\":\"511143349445\",\"payment_link\":null,\"profile_id\":\"pro_YFj3piUG8tJyeIjrH3PJ\",\"surcharge_details\":null,\"attempt_count\":1,\"merchant_decision\":null,\"merchant_connector_id\":\"mca_X7xy9kmBfdRs0l8kjOlo\",\"incremental_authorization_allowed\":null,\"authorization_count\":null,\"incremental_authorizations\":null,\"external_authentication_details\":null,\"external_3ds_authentication_attempted\":false,\"expires_on\":\"2025-03-21T13:08:47.232Z\",\"fingerprint\":null,\"browser_info\":{\"language\":\"en-US\",\"time_zone\":-330,\"ip_address\":\"127.0.0.1\",\"user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36\",\"color_depth\":32,\"java_enabled\":true,\"screen_width\":1728,\"accept_header\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"screen_height\":1117,\"java_script_enabled\":true},\"payment_method_id\":null,\"payment_method_status\":null,\"updated\":\"2025-03-21T12:53:52.795Z\",\"split_payments\":null,\"frm_metadata\":null,\"extended_authorization_applied\":null,\"capture_before\":null,\"merchant_order_reference_id\":null,\"order_tax_amount\":null,\"connector_mandate_id\":null,\"card_discovery\":\"manual\",\"issuer_error_code\":null,\"issuer_error_message\":null}\r\n```\r\nBefore processing the the redirection, do a psync\r\n\r\n```curl\r\ncurl --location 'http://localhost:8080/payments/pay_W2nrSGTtg0T5gxvc9W20?force_sync=true' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_eYTBjERYvLMQg36q5VL8J3bwcWX9TONkgOB8E1wbOaQ38InTXnDJHrYQDQWoRu2b'\r\n```\r\nResponse\r\n\r\n```json\r\n{\"payment_id\":\"pay_W2nrSGTtg0T5gxvc9W20\",\"merchant_id\":\"postman_merchant_GHAction_cfbbe59e-3f32-4dc5-a43f-6cb0dd952d10\",\"status\":\"requires_customer_action\",\"amount\":10,\"net_amount\":10,\"shipping_cost\":null,\"amount_capturable\":10,\"amount_received\":null,\"connector\":\"redsys\",\"client_secret\":\"pay_W2nrSGTtg0T5gxvc9W20_secret_vbXSeTVqLKxCS4WLKP5O\",\"created\":\"2025-03-21T12:53:47.232Z\",\"currency\":\"EUR\",\"customer_id\":\"asbh\",\"customer\":{\"id\":\"asbh\",\"name\":null,\"email\":\"hyperswitch_sdk_demo_id@gmail.com\",\"phone\":null,\"phone_country_code\":null},\"description\":null,\"refunds\":null,\"disputes\":null,\"mandate_id\":null,\"mandate_data\":null,\"setup_future_usage\":\"on_session\",\"off_session\":null,\"capture_on\":null,\"capture_method\":\"automatic\",\"payment_method\":\"card\",\"payment_method_data\":{\"card\":{\"last4\":\"3017\",\"card_type\":null,\"card_network\":null,\"card_issuer\":null,\"card_issuing_country\":null,\"card_isin\":\"454881\",\"card_extended_bin\":null,\"card_exp_month\":\"12\",\"card_exp_year\":\"49\",\"card_holder_name\":\"Joseph\",\"payment_checks\":null,\"authentication_data\":null},\"billing\":null},\"payment_token\":\"token_ZnViWQzmhFBJ2I9Nt2fK\",\"shipping\":{\"address\":{\"city\":\"San Fransico\",\"country\":\"ES\",\"line1\":\"1467\",\"line2\":\"Harrison Street\",\"line3\":\"Harrison Street\",\"zip\":\"94122\",\"state\":\"Ceuta\",\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"9123456789\",\"country_code\":\"+91\"},\"email\":\"mauro.morandi@nexi.it\"},\"billing\":{\"address\":{\"city\":\"San Fransico\",\"country\":\"ES\",\"line1\":\"1467\",\"line2\":\"Harrison Street\",\"line3\":\"Harrison Street\",\"zip\":\"94122\",\"state\":\"Ceut\u00e2\",\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"9123456789\",\"country_code\":\"+91\"},\"email\":\"mauro.morandi@nexi.it\"},\"order_details\":null,\"email\":\"hyperswitch_sdk_demo_id@gmail.com\",\"name\":null,\"phone\":null,\"return_url\":\"https://hyperswitch.io/\",\"authentication_type\":\"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_W2nrSGTtg0T5gxvc9W20/postman_merchant_GHAction_cfbbe59e-3f32-4dc5-a43f-6cb0dd952d10/pay_W2nrSGTtg0T5gxvc9W20_1\"},\"cancellation_reason\":null,\"error_code\":null,\"error_message\":null,\"unified_code\":null,\"unified_message\":null,\"payment_experience\":null,\"payment_method_type\":null,\"connector_label\":null,\"business_country\":null,\"business_label\":\"default\",\"business_sub_label\":null,\"allowed_payment_method_types\":null,\"ephemeral_key\":null,\"manual_retry_allowed\":null,\"connector_transaction_id\":\"511143349445\",\"frm_message\":null,\"metadata\":null,\"connector_metadata\":null,\"feature_metadata\":null,\"reference_id\":\"511143349445\",\"payment_link\":null,\"profile_id\":\"pro_YFj3piUG8tJyeIjrH3PJ\",\"surcharge_details\":null,\"attempt_count\":1,\"merchant_decision\":null,\"merchant_connector_id\":\"mca_X7xy9kmBfdRs0l8kjOlo\",\"incremental_authorization_allowed\":null,\"authorization_count\":null,\"incremental_authorizations\":null,\"external_authentication_details\":null,\"external_3ds_authentication_attempted\":false,\"expires_on\":\"2025-03-21T13:08:47.232Z\",\"fingerprint\":null,\"browser_info\":{\"language\":\"en-US\",\"time_zone\":-330,\"ip_address\":\"127.0.0.1\",\"user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36\",\"color_depth\":32,\"java_enabled\":true,\"screen_width\":1728,\"accept_header\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"screen_height\":1117,\"java_script_enabled\":true},\"payment_method_id\":null,\"payment_method_status\":null,\"updated\":\"2025-03-21T12:57:13.053Z\",\"split_payments\":null,\"frm_metadata\":null,\"extended_authorization_applied\":null,\"capture_before\":null,\"merchant_order_reference_id\":null,\"order_tax_amount\":null,\"connector_mandate_id\":null,\"card_discovery\":\"manual\",\"issuer_error_code\":null,\"issuer_error_message\":null}\r\n```\r\n\r\nAfter redirection completion, do a Psync\r\n\r\n```curl\r\ncurl --location 'http://localhost:8080/payments/pay_W2nrSGTtg0T5gxvc9W20?force_sync=true' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_eYTBjERYvLMQg36q5VL8J3bwcWX9TONkgOB8E1wbOaQ38InTXnDJHrYQDQWoRu2b'\r\n``` \r\nResponse\r\n```json\r\n{\"payment_id\":\"pay_W2nrSGTtg0T5gxvc9W20\",\"merchant_id\":\"postman_merchant_GHAction_cfbbe59e-3f32-4dc5-a43f-6cb0dd952d10\",\"status\":\"succeeded\",\"amount\":10,\"net_amount\":10,\"shipping_cost\":null,\"amount_capturable\":0,\"amount_received\":10,\"connector\":\"redsys\",\"client_secret\":\"pay_W2nrSGTtg0T5gxvc9W20_secret_vbXSeTVqLKxCS4WLKP5O\",\"created\":\"2025-03-21T12:53:47.232Z\",\"currency\":\"EUR\",\"customer_id\":\"asbh\",\"customer\":{\"id\":\"asbh\",\"name\":null,\"email\":\"hyperswitch_sdk_demo_id@gmail.com\",\"phone\":null,\"phone_country_code\":null},\"description\":null,\"refunds\":null,\"disputes\":null,\"mandate_id\":null,\"mandate_data\":null,\"setup_future_usage\":\"on_session\",\"off_session\":null,\"capture_on\":null,\"capture_method\":\"automatic\",\"payment_method\":\"card\",\"payment_method_data\":{\"card\":{\"last4\":\"3017\",\"card_type\":null,\"card_network\":null,\"card_issuer\":null,\"card_issuing_country\":null,\"card_isin\":\"454881\",\"card_extended_bin\":null,\"card_exp_month\":\"12\",\"card_exp_year\":\"49\",\"card_holder_name\":\"Joseph\",\"payment_checks\":null,\"authentication_data\":null},\"billing\":null},\"payment_token\":\"token_ZnViWQzmhFBJ2I9Nt2fK\",\"shipping\":{\"address\":{\"city\":\"San Fransico\",\"country\":\"ES\",\"line1\":\"1467\",\"line2\":\"Harrison Street\",\"line3\":\"Harrison Street\",\"zip\":\"94122\",\"state\":\"Ceuta\",\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"9123456789\",\"country_code\":\"+91\"},\"email\":\"mauro.morandi@nexi.it\"},\"billing\":{\"address\":{\"city\":\"San Fransico\",\"country\":\"ES\",\"line1\":\"1467\",\"line2\":\"Harrison Street\",\"line3\":\"Harrison Street\",\"zip\":\"94122\",\"state\":\"Ceut\u00e2\",\"first_name\":\"joseph\",\"last_name\":\"Doe\"},\"phone\":{\"number\":\"9123456789\",\"country_code\":\"+91\"},\"email\":\"mauro.morandi@nexi.it\"},\"order_details\":null,\"email\":\"hyperswitch_sdk_demo_id@gmail.com\",\"name\":null,\"phone\":null,\"return_url\":\"https://hyperswitch.io/\",\"authentication_type\":\"three_ds\",\"statement_descriptor_name\":null,\"statement_descriptor_suffix\":null,\"next_action\":null,\"cancellation_reason\":null,\"error_code\":null,\"error_message\":null,\"unified_code\":null,\"unified_message\":null,\"payment_experience\":null,\"payment_method_type\":null,\"connector_label\":null,\"business_country\":null,\"business_label\":\"default\",\"business_sub_label\":null,\"allowed_payment_method_types\":null,\"ephemeral_key\":null,\"manual_retry_allowed\":false,\"connector_transaction_id\":\"511143349445\",\"frm_message\":null,\"metadata\":null,\"connector_metadata\":null,\"feature_metadata\":null,\"reference_id\":\"511143349445\",\"payment_link\":null,\"profile_id\":\"pro_YFj3piUG8tJyeIjrH3PJ\",\"surcharge_details\":null,\"attempt_count\":1,\"merchant_decision\":null,\"merchant_connector_id\":\"mca_X7xy9kmBfdRs0l8kjOlo\",\"incremental_authorization_allowed\":null,\"authorization_count\":null,\"incremental_authorizations\":null,\"external_authentication_details\":null,\"external_3ds_authentication_attempted\":false,\"expires_on\":\"2025-03-21T13:08:47.232Z\",\"fingerprint\":null,\"browser_info\":{\"language\":\"en-US\",\"time_zone\":-330,\"ip_address\":\"127.0.0.1\",\"user_agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36\",\"color_depth\":32,\"java_enabled\":true,\"screen_width\":1728,\"accept_header\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"screen_height\":1117,\"java_script_enabled\":true},\"payment_method_id\":null,\"payment_method_status\":null,\"updated\":\"2025-03-21T12:57:53.568Z\",\"split_payments\":null,\"frm_metadata\":null,\"extended_authorization_applied\":null,\"capture_before\":null,\"merchant_order_reference_id\":null,\"order_tax_amount\":null,\"connector_mandate_id\":null,\"card_discovery\":\"manual\",\"issuer_error_code\":null,\"issuer_error_message\":null}\r\n```\r\n\r\n</details>\r\n\r\n<details>\r\n<summary>Test Rsync by updating the refund status to pending locally </summary>\r\n\r\nCreate a refund\r\n```curl\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_eYTBjERYvLMQg36q5VL8J3bwcWX9TONkgOB8E1wbOaQ38InTXnDJHrYQDQWoRu2b' \\\r\n--data '{\r\n \"payment_id\": \"pay_W2nrSGTtg0T5gxvc9W20\",\r\n \"amount\": 5,\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```json\r\n{\"refund_id\":\"ref_5Oc5arvl7rYO2GK8pZFX\",\"payment_id\":\"pay_W2nrSGTtg0T5gxvc9W20\",\"amount\":5,\"currency\":\"EUR\",\"status\":\"pending\",\"reason\":\"Customer returned product\",\"metadata\":{\"udf1\":\"value1\",\"new_customer\":\"true\",\"login_date\":\"2019-09-10T10:11:12Z\"},\"error_message\":null,\"error_code\":null,\"unified_code\":null,\"unified_message\":null,\"created_at\":\"2025-03-21T13:00:21.670Z\",\"updated_at\":\"2025-03-21T13:00:22.652Z\",\"connector\":\"redsys\",\"profile_id\":\"pro_YFj3piUG8tJyeIjrH3PJ\",\"merchant_connector_id\":\"mca_X7xy9kmBfdRs0l8kjOlo\",\"split_refunds\":null,\"issuer_error_code\":null,\"issuer_error_message\":null}\r\n```\r\n\r\nTrigger a Rsync call\r\n```curl\r\ncurl --location 'http://localhost:8080/refunds/ref_5Oc5arvl7rYO2GK8pZFX' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_eYTBjERYvLMQg36q5VL8J3bwcWX9TONkgOB8E1wbOaQ38InTXnDJHrYQDQWoRu2b'\r\n```\r\nResponse\r\n```json\r\n{\"refund_id\":\"ref_5Oc5arvl7rYO2GK8pZFX\",\"payment_id\":\"pay_W2nrSGTtg0T5gxvc9W20\",\"amount\":5,\"currency\":\"EUR\",\"status\":\"succeeded\",\"reason\":\"Customer returned product\",\"metadata\":{\"udf1\":\"value1\",\"new_customer\":\"true\",\"login_date\":\"2019-09-10T10:11:12Z\"},\"error_message\":null,\"error_code\":null,\"unified_code\":null,\"unified_message\":null,\"created_at\":\"2025-03-21T13:00:21.670Z\",\"updated_at\":\"2025-03-21T13:01:23.315Z\",\"connector\":\"redsys\",\"profile_id\":\"pro_YFj3piUG8tJyeIjrH3PJ\",\"merchant_connector_id\":\"mca_X7xy9kmBfdRs0l8kjOlo\",\"split_refunds\":null,\"issuer_error_code\":null,\"issuer_error_message\":null}\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- [ ] 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-21T06:08:49+00:00",
|
| 7 |
+
"merged_at": "2025-03-22T06:06:34+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/7586",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "5e67785f1eeb93f59057946eaeb68f668dca703f",
|
| 17 |
+
"message": "undo commit",
|
| 18 |
+
"author": "AkshayaFoiger",
|
| 19 |
+
"date": "2025-02-23T15:32:28+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5e67785f1eeb93f59057946eaeb68f668dca703f"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"sha": "42a03275809b0271a88a48ffc97a338405da9473",
|
| 24 |
+
"message": "add preprocessing in core and update sandbox url",
|
| 25 |
+
"author": "AkshayaFoiger",
|
| 26 |
+
"date": "2025-03-01T19:39:05+00:00",
|
| 27 |
+
"url": "https://github.com/juspay/hyperswitch/commit/42a03275809b0271a88a48ffc97a338405da9473"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"sha": "e524ef6c2db19ceda4bcea1ca2bc1ee7726c0cec",
|
| 31 |
+
"message": "add three_ds_invoke to prayment connect next action",
|
| 32 |
+
"author": "AkshayaFoiger",
|
| 33 |
+
"date": "2025-03-03T11:53:14+00:00",
|
| 34 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e524ef6c2db19ceda4bcea1ca2bc1ee7726c0cec"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"sha": "0b9967365ad016fe14e99dc86b7bbb9b83946816",
|
| 38 |
+
"message": "make poll config optional",
|
| 39 |
+
"author": "AkshayaFoiger",
|
| 40 |
+
"date": "2025-03-04T05:32:49+00:00",
|
| 41 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0b9967365ad016fe14e99dc86b7bbb9b83946816"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"sha": "7779d406fda3886cda056f409eef458a8c05bd76",
|
| 45 |
+
"message": "add capture, cancel and refund flow",
|
| 46 |
+
"author": "AkshayaFoiger",
|
| 47 |
+
"date": "2025-03-11T11:03:46+00:00",
|
| 48 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7779d406fda3886cda056f409eef458a8c05bd76"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"sha": "7f9ec3673bec72951649b35f9b0d8e50ab0a4c10",
|
| 52 |
+
"message": "fix clippy error",
|
| 53 |
+
"author": "AkshayaFoiger",
|
| 54 |
+
"date": "2025-03-12T10:08:45+00:00",
|
| 55 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7f9ec3673bec72951649b35f9b0d8e50ab0a4c10"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"sha": "c7a879fc1adb6047915e511fa0a6ff3bd48b0c4c",
|
| 59 |
+
"message": "fix clippy error",
|
| 60 |
+
"author": "AkshayaFoiger",
|
| 61 |
+
"date": "2025-03-12T10:21:20+00:00",
|
| 62 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c7a879fc1adb6047915e511fa0a6ff3bd48b0c4c"
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"sha": "21b997f161c7337e77f02c573c6fdc81a107ae7b",
|
| 66 |
+
"message": "add redsys configs",
|
| 67 |
+
"author": "AkshayaFoiger",
|
| 68 |
+
"date": "2025-03-12T14:30:05+00:00",
|
| 69 |
+
"url": "https://github.com/juspay/hyperswitch/commit/21b997f161c7337e77f02c573c6fdc81a107ae7b"
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"sha": "16a9ab562116d9732f4ea2973bbfee9c890c93e3",
|
| 73 |
+
"message": "add state level check",
|
| 74 |
+
"author": "AkshayaFoiger",
|
| 75 |
+
"date": "2025-03-13T07:58:50+00:00",
|
| 76 |
+
"url": "https://github.com/juspay/hyperswitch/commit/16a9ab562116d9732f4ea2973bbfee9c890c93e3"
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"sha": "78289a4ba66e3e7f29775fd6c8c1b864db8f8c3f",
|
| 80 |
+
"message": "Merge branch 'main' into redsys-3ds",
|
| 81 |
+
"author": "AkshayaFoiger",
|
| 82 |
+
"date": "2025-03-13T08:07:04+00:00",
|
| 83 |
+
"url": "https://github.com/juspay/hyperswitch/commit/78289a4ba66e3e7f29775fd6c8c1b864db8f8c3f"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"sha": "f3f6b54854319a0273948d2d2b8b52b3327ca0e1",
|
| 87 |
+
"message": "chore: run formatter",
|
| 88 |
+
"author": "hyperswitch-bot[bot]",
|
| 89 |
+
"date": "2025-03-13T08:17:05+00:00",
|
| 90 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f3f6b54854319a0273948d2d2b8b52b3327ca0e1"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"sha": "63240ddacf231ba10b0ecf262ef6ad1335d11ada",
|
| 94 |
+
"message": "fix clippy error",
|
| 95 |
+
"author": "AkshayaFoiger",
|
| 96 |
+
"date": "2025-03-13T09:13:36+00:00",
|
| 97 |
+
"url": "https://github.com/juspay/hyperswitch/commit/63240ddacf231ba10b0ecf262ef6ad1335d11ada"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"sha": "2be64af6b79def0365d441bbc7d7332226a01e7d",
|
| 101 |
+
"message": "chore: run formatter",
|
| 102 |
+
"author": "hyperswitch-bot[bot]",
|
| 103 |
+
"date": "2025-03-13T09:25:14+00:00",
|
| 104 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2be64af6b79def0365d441bbc7d7332226a01e7d"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"sha": "f0655f9e5ed9c275f5986c48a3d4060431dc8b39",
|
| 108 |
+
"message": "fix errors",
|
| 109 |
+
"author": "AkshayaFoiger",
|
| 110 |
+
"date": "2025-03-13T09:41:23+00:00",
|
| 111 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f0655f9e5ed9c275f5986c48a3d4060431dc8b39"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"sha": "92bb6cddbd9d087e06cf08fa044bc61a1aed3059",
|
| 115 |
+
"message": "chore: run formatter",
|
| 116 |
+
"author": "hyperswitch-bot[bot]",
|
| 117 |
+
"date": "2025-03-13T10:49:59+00:00",
|
| 118 |
+
"url": "https://github.com/juspay/hyperswitch/commit/92bb6cddbd9d087e06cf08fa044bc61a1aed3059"
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"sha": "fbd567d55d13e03769a7ca27ee1d8a088cb0a354",
|
| 122 |
+
"message": "resolve comments",
|
| 123 |
+
"author": "AkshayaFoiger",
|
| 124 |
+
"date": "2025-03-13T12:41:49+00:00",
|
| 125 |
+
"url": "https://github.com/juspay/hyperswitch/commit/fbd567d55d13e03769a7ca27ee1d8a088cb0a354"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"sha": "19c5d867083a8aa5bcc9bd63145ceb769e0dc45c",
|
| 129 |
+
"message": "Merge branch 'main' into redsys-3ds",
|
| 130 |
+
"author": "AkshayaFoiger",
|
| 131 |
+
"date": "2025-03-13T12:43:26+00:00",
|
| 132 |
+
"url": "https://github.com/juspay/hyperswitch/commit/19c5d867083a8aa5bcc9bd63145ceb769e0dc45c"
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"sha": "648d9e689c6ec5678f765458edb0879c84d69922",
|
| 136 |
+
"message": "chore: run formatter",
|
| 137 |
+
"author": "hyperswitch-bot[bot]",
|
| 138 |
+
"date": "2025-03-13T12:44:22+00:00",
|
| 139 |
+
"url": "https://github.com/juspay/hyperswitch/commit/648d9e689c6ec5678f765458edb0879c84d69922"
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"sha": "c2f9935e990ef958bf607ef421a66497bd339d79",
|
| 143 |
+
"message": "fix spell check",
|
| 144 |
+
"author": "AkshayaFoiger",
|
| 145 |
+
"date": "2025-03-13T12:50:09+00:00",
|
| 146 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c2f9935e990ef958bf607ef421a66497bd339d79"
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"sha": "045c8f8eaaf2fd9e4eb7d1fd0e52580d550052c2",
|
| 150 |
+
"message": "undo comiit",
|
| 151 |
+
"author": "AkshayaFoiger",
|
| 152 |
+
"date": "2025-03-13T12:57:12+00:00",
|
| 153 |
+
"url": "https://github.com/juspay/hyperswitch/commit/045c8f8eaaf2fd9e4eb7d1fd0e52580d550052c2"
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"sha": "4afc9d427890d66e90f22c8a78e35f83be140be3",
|
| 157 |
+
"message": "fix opeanapi_spec",
|
| 158 |
+
"author": "AkshayaFoiger",
|
| 159 |
+
"date": "2025-03-13T13:22:59+00:00",
|
| 160 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4afc9d427890d66e90f22c8a78e35f83be140be3"
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"sha": "80d87b8b5ee771dbd0f94edd051590b396468476",
|
| 164 |
+
"message": "Merge branch 'main' into redsys-3ds",
|
| 165 |
+
"author": "AkshayaFoiger",
|
| 166 |
+
"date": "2025-03-15T10:29:27+00:00",
|
| 167 |
+
"url": "https://github.com/juspay/hyperswitch/commit/80d87b8b5ee771dbd0f94edd051590b396468476"
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"sha": "3a725159d7e80f974f80dc2d8c6b6f994bdd5537",
|
| 171 |
+
"message": "generate open api spec",
|
| 172 |
+
"author": "AkshayaFoiger",
|
| 173 |
+
"date": "2025-03-15T10:46:45+00:00",
|
| 174 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3a725159d7e80f974f80dc2d8c6b6f994bdd5537"
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"sha": "b16f741a9365b89c986061bb3a1e2241083e5afd",
|
| 178 |
+
"message": "remove logs",
|
| 179 |
+
"author": "AkshayaFoiger",
|
| 180 |
+
"date": "2025-03-17T07:20:58+00:00",
|
| 181 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b16f741a9365b89c986061bb3a1e2241083e5afd"
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"sha": "6d04d5f0ba42f1cbb1def79470519ccf16c9fdbf",
|
| 185 |
+
"message": "Merge branch 'main' into redsys-3ds",
|
| 186 |
+
"author": "AkshayaFoiger",
|
| 187 |
+
"date": "2025-03-17T07:29:10+00:00",
|
| 188 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6d04d5f0ba42f1cbb1def79470519ccf16c9fdbf"
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"sha": "7677864179860f7c5c29ff2f9a686615c4213d3a",
|
| 192 |
+
"message": "resolve comments",
|
| 193 |
+
"author": "AkshayaFoiger",
|
| 194 |
+
"date": "2025-03-18T12:44:56+00:00",
|
| 195 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7677864179860f7c5c29ff2f9a686615c4213d3a"
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"sha": "1a17b3930a2a1d242d5fab09f5ac68513a68521f",
|
| 199 |
+
"message": "fix state mapping function",
|
| 200 |
+
"author": "AkshayaFoiger",
|
| 201 |
+
"date": "2025-03-19T03:17:07+00:00",
|
| 202 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1a17b3930a2a1d242d5fab09f5ac68513a68521f"
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"sha": "096925b2f296a0d7e48a9dc0c2891ec6e3b5cfb3",
|
| 206 |
+
"message": "remove crypto lib from cargo toml",
|
| 207 |
+
"author": "AkshayaFoiger",
|
| 208 |
+
"date": "2025-03-19T03:23:27+00:00",
|
| 209 |
+
"url": "https://github.com/juspay/hyperswitch/commit/096925b2f296a0d7e48a9dc0c2891ec6e3b5cfb3"
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"sha": "0aa5b0843cfdb295b63c66661c14d4ea6d3ad762",
|
| 213 |
+
"message": "Merge branch 'main' into redsys-3ds",
|
| 214 |
+
"author": "AkshayaFoiger",
|
| 215 |
+
"date": "2025-03-19T03:26:31+00:00",
|
| 216 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0aa5b0843cfdb295b63c66661c14d4ea6d3ad762"
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"sha": "027b25d2477acc43a28c9f42021a5ea6ae21bc05",
|
| 220 |
+
"message": "fix merge conflict",
|
| 221 |
+
"author": "AkshayaFoiger",
|
| 222 |
+
"date": "2025-03-19T03:36:18+00:00",
|
| 223 |
+
"url": "https://github.com/juspay/hyperswitch/commit/027b25d2477acc43a28c9f42021a5ea6ae21bc05"
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"sha": "b1697c95b9ad04f48ddb3c7348a494813c1fd31d",
|
| 227 |
+
"message": "add required fields",
|
| 228 |
+
"author": "AkshayaFoiger",
|
| 229 |
+
"date": "2025-03-19T03:44:32+00:00",
|
| 230 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b1697c95b9ad04f48ddb3c7348a494813c1fd31d"
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"sha": "a34224aeb9bdc5f290b4b2b2d850a2f7c902d712",
|
| 234 |
+
"message": "fix clippy and generate openapi_spec",
|
| 235 |
+
"author": "AkshayaFoiger",
|
| 236 |
+
"date": "2025-03-19T03:58:30+00:00",
|
| 237 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a34224aeb9bdc5f290b4b2b2d850a2f7c902d712"
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"sha": "8f0219b6ea77c86d364efb6ac45bb5cde55f66ba",
|
| 241 |
+
"message": "fix formatting",
|
| 242 |
+
"author": "AkshayaFoiger",
|
| 243 |
+
"date": "2025-03-19T04:01:12+00:00",
|
| 244 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8f0219b6ea77c86d364efb6ac45bb5cde55f66ba"
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"sha": "d54190cbbd5a3c6849fc4efd2929e8168ac6ac0f",
|
| 248 |
+
"message": "remove clave",
|
| 249 |
+
"author": "AkshayaFoiger",
|
| 250 |
+
"date": "2025-03-19T04:31:29+00:00",
|
| 251 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d54190cbbd5a3c6849fc4efd2929e8168ac6ac0f"
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"sha": "2ddc5a24a19869718d86964cf9c689c24bc73b18",
|
| 255 |
+
"message": "fix spell check",
|
| 256 |
+
"author": "AkshayaFoiger",
|
| 257 |
+
"date": "2025-03-19T06:40:32+00:00",
|
| 258 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2ddc5a24a19869718d86964cf9c689c24bc73b18"
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"sha": "9768c4c03e582dbc81da09e2f37670cf956e6c5e",
|
| 262 |
+
"message": "try fixing wasm build failure",
|
| 263 |
+
"author": "AkshayaFoiger",
|
| 264 |
+
"date": "2025-03-19T07:11:59+00:00",
|
| 265 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9768c4c03e582dbc81da09e2f37670cf956e6c5e"
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"sha": "2fa5b93e731e0415b32fcba9bbc2c9ac9abe4340",
|
| 269 |
+
"message": "try fixing wsam build",
|
| 270 |
+
"author": "AkshayaFoiger",
|
| 271 |
+
"date": "2025-03-19T07:43:15+00:00",
|
| 272 |
+
"url": "https://github.com/juspay/hyperswitch/commit/2fa5b93e731e0415b32fcba9bbc2c9ac9abe4340"
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"sha": "7cc2934d8c9842db7b9452fdf5ce4be5392bd1c4",
|
| 276 |
+
"message": "fix wasm build",
|
| 277 |
+
"author": "AkshayaFoiger",
|
| 278 |
+
"date": "2025-03-19T08:04:05+00:00",
|
| 279 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7cc2934d8c9842db7b9452fdf5ce4be5392bd1c4"
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"sha": "7cad37c99780eb5394a7f746b36f9bc939160d76",
|
| 283 |
+
"message": "fix clippy error",
|
| 284 |
+
"author": "AkshayaFoiger",
|
| 285 |
+
"date": "2025-03-19T08:11:31+00:00",
|
| 286 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7cad37c99780eb5394a7f746b36f9bc939160d76"
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"sha": "4f19b6ac31326a754084c85712a2377827b53eb0",
|
| 290 |
+
"message": "chore: run formatter",
|
| 291 |
+
"author": "hyperswitch-bot[bot]",
|
| 292 |
+
"date": "2025-03-19T08:13:38+00:00",
|
| 293 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4f19b6ac31326a754084c85712a2377827b53eb0"
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"sha": "a52b4d11a1dc4120c82da409a1e5779ff51bac46",
|
| 297 |
+
"message": "fix clippy error",
|
| 298 |
+
"author": "AkshayaFoiger",
|
| 299 |
+
"date": "2025-03-19T08:46:46+00:00",
|
| 300 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a52b4d11a1dc4120c82da409a1e5779ff51bac46"
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"sha": "680a6375ce47d0a17421a9a3fcb4adf553feba05",
|
| 304 |
+
"message": "remove next_action_url",
|
| 305 |
+
"author": "AkshayaFoiger",
|
| 306 |
+
"date": "2025-03-19T09:18:31+00:00",
|
| 307 |
+
"url": "https://github.com/juspay/hyperswitch/commit/680a6375ce47d0a17421a9a3fcb4adf553feba05"
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"sha": "8a1915ae5e40b881dda9033b387ea2d482b535e9",
|
| 311 |
+
"message": "update toml files",
|
| 312 |
+
"author": "AkshayaFoiger",
|
| 313 |
+
"date": "2025-03-19T09:32:00+00:00",
|
| 314 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8a1915ae5e40b881dda9033b387ea2d482b535e9"
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"sha": "152c5b7fb0558a822432a48fd6a8252864e375b7",
|
| 318 |
+
"message": "rename openssl flag",
|
| 319 |
+
"author": "AkshayaFoiger",
|
| 320 |
+
"date": "2025-03-19T14:35:21+00:00",
|
| 321 |
+
"url": "https://github.com/juspay/hyperswitch/commit/152c5b7fb0558a822432a48fd6a8252864e375b7"
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"sha": "a5a023ad1fcce0afbb6c4b3a1f693263cbad5de0",
|
| 325 |
+
"message": "undo commit",
|
| 326 |
+
"author": "AkshayaFoiger",
|
| 327 |
+
"date": "2025-03-19T14:35:33+00:00",
|
| 328 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a5a023ad1fcce0afbb6c4b3a1f693263cbad5de0"
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"sha": "deea2d61f7736c582d7fe860ccfc809161dc9f17",
|
| 332 |
+
"message": "add redsys cypress testcases",
|
| 333 |
+
"author": "AkshayaFoiger",
|
| 334 |
+
"date": "2025-03-19T15:52:36+00:00",
|
| 335 |
+
"url": "https://github.com/juspay/hyperswitch/commit/deea2d61f7736c582d7fe860ccfc809161dc9f17"
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"sha": "35b696f49fdf1410edc1e350bdbee2f9cc3f2066",
|
| 339 |
+
"message": "trim base_url",
|
| 340 |
+
"author": "AkshayaFoiger",
|
| 341 |
+
"date": "2025-03-19T16:22:27+00:00",
|
| 342 |
+
"url": "https://github.com/juspay/hyperswitch/commit/35b696f49fdf1410edc1e350bdbee2f9cc3f2066"
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"sha": "975e2d4792aec66af1a145972f6ddb9cc5cb105d",
|
| 346 |
+
"message": "remove comments",
|
| 347 |
+
"author": "AkshayaFoiger",
|
| 348 |
+
"date": "2025-03-19T16:34:15+00:00",
|
| 349 |
+
"url": "https://github.com/juspay/hyperswitch/commit/975e2d4792aec66af1a145972f6ddb9cc5cb105d"
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"sha": "e7bdb1266c932f0a004b6eb0f9419d7ac6d4cdc7",
|
| 353 |
+
"message": "chore: run formatter",
|
| 354 |
+
"author": "hyperswitch-bot[bot]",
|
| 355 |
+
"date": "2025-03-19T16:35:33+00:00",
|
| 356 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e7bdb1266c932f0a004b6eb0f9419d7ac6d4cdc7"
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"sha": "f71fdeb8bc3359aea61987ff4d6cc4a01400af4c",
|
| 360 |
+
"message": "undo debugger changes",
|
| 361 |
+
"author": "AkshayaFoiger",
|
| 362 |
+
"date": "2025-03-19T16:55:58+00:00",
|
| 363 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f71fdeb8bc3359aea61987ff4d6cc4a01400af4c"
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"sha": "4a94ee11d5c5b72c9f8b74d6cc97fcefbe59b67f",
|
| 367 |
+
"message": "chore(cypress): run formatter and address lints",
|
| 368 |
+
"author": "hyperswitch-bot[bot]",
|
| 369 |
+
"date": "2025-03-19T16:57:03+00:00",
|
| 370 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4a94ee11d5c5b72c9f8b74d6cc97fcefbe59b67f"
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"sha": "83a5074a96cc96a4cfab883db0bf72eeec3d39e6",
|
| 374 |
+
"message": "undo commit",
|
| 375 |
+
"author": "AkshayaFoiger",
|
| 376 |
+
"date": "2025-03-20T08:23:19+00:00",
|
| 377 |
+
"url": "https://github.com/juspay/hyperswitch/commit/83a5074a96cc96a4cfab883db0bf72eeec3d39e6"
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"sha": "622e59ff3962fd7bb338fc6b1c0919141bbf4391",
|
| 381 |
+
"message": "add soap request",
|
| 382 |
+
"author": "AkshayaFoiger",
|
| 383 |
+
"date": "2025-03-20T11:34:41+00:00",
|
| 384 |
+
"url": "https://github.com/juspay/hyperswitch/commit/622e59ff3962fd7bb338fc6b1c0919141bbf4391"
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"sha": "81cf9b29595b0509e8e03187314938b31fe92756",
|
| 388 |
+
"message": "Merge main",
|
| 389 |
+
"author": "AkshayaFoiger",
|
| 390 |
+
"date": "2025-03-20T11:51:13+00:00",
|
| 391 |
+
"url": "https://github.com/juspay/hyperswitch/commit/81cf9b29595b0509e8e03187314938b31fe92756"
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"sha": "df60cd4bf28a4487e1373aea4524673043ffa211",
|
| 395 |
+
"message": "add a comment and remove redundant error message",
|
| 396 |
+
"author": "AkshayaFoiger",
|
| 397 |
+
"date": "2025-03-20T12:23:10+00:00",
|
| 398 |
+
"url": "https://github.com/juspay/hyperswitch/commit/df60cd4bf28a4487e1373aea4524673043ffa211"
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"sha": "76d87b58900a86848a36d032bfd0a1526cf0f96b",
|
| 402 |
+
"message": "fix;",
|
| 403 |
+
"author": "AkshayaFoiger",
|
| 404 |
+
"date": "2025-03-20T12:54:02+00:00",
|
| 405 |
+
"url": "https://github.com/juspay/hyperswitch/commit/76d87b58900a86848a36d032bfd0a1526cf0f96b"
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"sha": "7379af26500dd5c85105f68bc8c01b00777821be",
|
| 409 |
+
"message": "chore: run formatter",
|
| 410 |
+
"author": "hyperswitch-bot[bot]",
|
| 411 |
+
"date": "2025-03-20T12:54:56+00:00",
|
| 412 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7379af26500dd5c85105f68bc8c01b00777821be"
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"sha": "a2db191313d498a18d35226af4e6515384e02f43",
|
| 416 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 417 |
+
"author": "hyperswitch-bot[bot]",
|
| 418 |
+
"date": "2025-03-20T13:01:21+00:00",
|
| 419 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a2db191313d498a18d35226af4e6515384e02f43"
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"sha": "5cc65f8185345b0d969e349e44a3b0bed34ea9e9",
|
| 423 |
+
"message": "add psync request",
|
| 424 |
+
"author": "AkshayaFoiger",
|
| 425 |
+
"date": "2025-03-20T18:21:21+00:00",
|
| 426 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5cc65f8185345b0d969e349e44a3b0bed34ea9e9"
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"sha": "56d7da547d714a6f480f0f813f644b40fa0c7cf2",
|
| 430 |
+
"message": "resolve comment",
|
| 431 |
+
"author": "AkshayaFoiger",
|
| 432 |
+
"date": "2025-03-20T18:26:08+00:00",
|
| 433 |
+
"url": "https://github.com/juspay/hyperswitch/commit/56d7da547d714a6f480f0f813f644b40fa0c7cf2"
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"sha": "bfb5e5d33696f0838cc20b5e0bdbb8e3ca898966",
|
| 437 |
+
"message": "chore: run formatter",
|
| 438 |
+
"author": "hyperswitch-bot[bot]",
|
| 439 |
+
"date": "2025-03-20T18:27:11+00:00",
|
| 440 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bfb5e5d33696f0838cc20b5e0bdbb8e3ca898966"
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"sha": "86de8c1ad5825a35fceb5c3224de5b53179f5188",
|
| 444 |
+
"message": "remove signals flag",
|
| 445 |
+
"author": "AkshayaFoiger",
|
| 446 |
+
"date": "2025-03-20T18:40:51+00:00",
|
| 447 |
+
"url": "https://github.com/juspay/hyperswitch/commit/86de8c1ad5825a35fceb5c3224de5b53179f5188"
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"sha": "e4353e688364782be6024a1ff1ef72e83de947aa",
|
| 451 |
+
"message": "add doc comment for normalize_string()",
|
| 452 |
+
"author": "AkshayaFoiger",
|
| 453 |
+
"date": "2025-03-20T19:22:13+00:00",
|
| 454 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e4353e688364782be6024a1ff1ef72e83de947aa"
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"sha": "dcedf12f417a0e977fead3a2e5ce37716c280b6e",
|
| 458 |
+
"message": "Merge branch 'redsys-3ds' into redsys-soap-api",
|
| 459 |
+
"author": "AkshayaFoiger",
|
| 460 |
+
"date": "2025-03-20T19:26:12+00:00",
|
| 461 |
+
"url": "https://github.com/juspay/hyperswitch/commit/dcedf12f417a0e977fead3a2e5ce37716c280b6e"
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"sha": "d56b06dd7403b49e15e1de8d71ad1702114a0c99",
|
| 465 |
+
"message": "refactor normalize string",
|
| 466 |
+
"author": "AkshayaFoiger",
|
| 467 |
+
"date": "2025-03-20T23:34:25+00:00",
|
| 468 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d56b06dd7403b49e15e1de8d71ad1702114a0c99"
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"sha": "d2568448db0b68697b8bd560b1d2396985e09d2f",
|
| 472 |
+
"message": "undo commit",
|
| 473 |
+
"author": "AkshayaFoiger",
|
| 474 |
+
"date": "2025-03-20T23:56:18+00:00",
|
| 475 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d2568448db0b68697b8bd560b1d2396985e09d2f"
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"sha": "96ae608d5f5b94acfd813a6cadd7e25967d85afc",
|
| 479 |
+
"message": "fix clippy error",
|
| 480 |
+
"author": "AkshayaFoiger",
|
| 481 |
+
"date": "2025-03-20T23:57:43+00:00",
|
| 482 |
+
"url": "https://github.com/juspay/hyperswitch/commit/96ae608d5f5b94acfd813a6cadd7e25967d85afc"
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"sha": "9239fb25354ad2b29888b104f14fd3504ff76d18",
|
| 486 |
+
"message": "add rsync support",
|
| 487 |
+
"author": "AkshayaFoiger",
|
| 488 |
+
"date": "2025-03-21T00:51:24+00:00",
|
| 489 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9239fb25354ad2b29888b104f14fd3504ff76d18"
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"sha": "08757392ea6e54f2b87fcb64897acc86493a4ca1",
|
| 493 |
+
"message": "fix deserialization error",
|
| 494 |
+
"author": "AkshayaFoiger",
|
| 495 |
+
"date": "2025-03-21T02:28:11+00:00",
|
| 496 |
+
"url": "https://github.com/juspay/hyperswitch/commit/08757392ea6e54f2b87fcb64897acc86493a4ca1"
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"sha": "858d29e07d436e6bf7e04a60ef640399faaf460a",
|
| 500 |
+
"message": "chore: run formatter",
|
| 501 |
+
"author": "hyperswitch-bot[bot]",
|
| 502 |
+
"date": "2025-03-21T06:09:42+00:00",
|
| 503 |
+
"url": "https://github.com/juspay/hyperswitch/commit/858d29e07d436e6bf7e04a60ef640399faaf460a"
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"sha": "c11a6e60e1ed30ca73c7be49256a3832498c952c",
|
| 507 |
+
"message": "Merge branch 'main' into redsys-soap-api",
|
| 508 |
+
"author": "AkshayaFoiger",
|
| 509 |
+
"date": "2025-03-21T06:32:04+00:00",
|
| 510 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c11a6e60e1ed30ca73c7be49256a3832498c952c"
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"sha": "f083eb737acc605bd6e593338e6b881d16adf1c1",
|
| 514 |
+
"message": "Merge branch 'redsys-3ds' into redsys-soap-api",
|
| 515 |
+
"author": "AkshayaFoiger",
|
| 516 |
+
"date": "2025-03-21T06:34:10+00:00",
|
| 517 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f083eb737acc605bd6e593338e6b881d16adf1c1"
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"sha": "d2a6dddd5d77db54539245bd9a528f0618f2ef8c",
|
| 521 |
+
"message": "Merge branch 'main' into redsys-3ds",
|
| 522 |
+
"author": "AkshayaFoiger",
|
| 523 |
+
"date": "2025-03-21T06:38:18+00:00",
|
| 524 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d2a6dddd5d77db54539245bd9a528f0618f2ef8c"
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"sha": "0b9b29ca7fbc372bc465dc54145cadef636fee9d",
|
| 528 |
+
"message": "Merge branch 'redsys-3ds' into redsys-soap-api",
|
| 529 |
+
"author": "AkshayaFoiger",
|
| 530 |
+
"date": "2025-03-21T06:39:06+00:00",
|
| 531 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0b9b29ca7fbc372bc465dc54145cadef636fee9d"
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"sha": "c883c58ff71f323be426cfa04496e411adfba992",
|
| 535 |
+
"message": "clippy fix",
|
| 536 |
+
"author": "AkshayaFoiger",
|
| 537 |
+
"date": "2025-03-21T07:11:40+00:00",
|
| 538 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c883c58ff71f323be426cfa04496e411adfba992"
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"sha": "213737e5f603d284a14cb4b06348e2d32e159bc1",
|
| 542 |
+
"message": "add comment regarding xml parsing",
|
| 543 |
+
"author": "AkshayaFoiger",
|
| 544 |
+
"date": "2025-03-21T08:07:47+00:00",
|
| 545 |
+
"url": "https://github.com/juspay/hyperswitch/commit/213737e5f603d284a14cb4b06348e2d32e159bc1"
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"sha": "077514e2d88c91aebcbefbd505ce38ca0e55b514",
|
| 549 |
+
"message": "fix status mapping",
|
| 550 |
+
"author": "AkshayaFoiger",
|
| 551 |
+
"date": "2025-03-21T08:55:29+00:00",
|
| 552 |
+
"url": "https://github.com/juspay/hyperswitch/commit/077514e2d88c91aebcbefbd505ce38ca0e55b514"
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"sha": "a0c5fb4b03aab9db8767b68cb66a932e6a4b9271",
|
| 556 |
+
"message": "fix status mapping",
|
| 557 |
+
"author": "AkshayaFoiger",
|
| 558 |
+
"date": "2025-03-21T09:04:39+00:00",
|
| 559 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a0c5fb4b03aab9db8767b68cb66a932e6a4b9271"
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"sha": "830fda8e7ce4a20b1f8ffab78f09ac267c7a4e8d",
|
| 563 |
+
"message": "chore: run formatter",
|
| 564 |
+
"author": "hyperswitch-bot[bot]",
|
| 565 |
+
"date": "2025-03-21T09:22:18+00:00",
|
| 566 |
+
"url": "https://github.com/juspay/hyperswitch/commit/830fda8e7ce4a20b1f8ffab78f09ac267c7a4e8d"
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"sha": "7ec91e3e8bdf828ede6695ba9056e8cd734f7b06",
|
| 570 |
+
"message": "add LazyLock to normalize_string",
|
| 571 |
+
"author": "AkshayaFoiger",
|
| 572 |
+
"date": "2025-03-21T10:08:52+00:00",
|
| 573 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7ec91e3e8bdf828ede6695ba9056e8cd734f7b06"
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"sha": "49a3b553e7d44e2e4e2fe6d145702b099042e5f2",
|
| 577 |
+
"message": "Merge branch 'main' into redsys-soap-api",
|
| 578 |
+
"author": "AkshayaFoiger",
|
| 579 |
+
"date": "2025-03-21T10:27:02+00:00",
|
| 580 |
+
"url": "https://github.com/juspay/hyperswitch/commit/49a3b553e7d44e2e4e2fe6d145702b099042e5f2"
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"sha": "340fd6603281407fe083a80672d1db7ab0b648d9",
|
| 584 |
+
"message": "refactor sync response handling",
|
| 585 |
+
"author": "AkshayaFoiger",
|
| 586 |
+
"date": "2025-03-21T10:32:54+00:00",
|
| 587 |
+
"url": "https://github.com/juspay/hyperswitch/commit/340fd6603281407fe083a80672d1db7ab0b648d9"
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"sha": "4763d859d3dbb48dc65ce7381e8e4295167a20e4",
|
| 591 |
+
"message": "undo redundant code",
|
| 592 |
+
"author": "AkshayaFoiger",
|
| 593 |
+
"date": "2025-03-21T12:27:45+00:00",
|
| 594 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4763d859d3dbb48dc65ce7381e8e4295167a20e4"
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"sha": "aebfa1d3864690c16ccd3fc1a38b3651736a2e30",
|
| 598 |
+
"message": "Merge branch 'main' into redsys-soap-api",
|
| 599 |
+
"author": "AkshayaFoiger",
|
| 600 |
+
"date": "2025-03-21T12:39:44+00:00",
|
| 601 |
+
"url": "https://github.com/juspay/hyperswitch/commit/aebfa1d3864690c16ccd3fc1a38b3651736a2e30"
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"sha": "cc65686363e8f5626ae9876a360297d635065f6e",
|
| 605 |
+
"message": "Merge branch 'main' into redsys-soap-api",
|
| 606 |
+
"author": "AkshayaFoiger",
|
| 607 |
+
"date": "2025-03-21T16:46:30+00:00",
|
| 608 |
+
"url": "https://github.com/juspay/hyperswitch/commit/cc65686363e8f5626ae9876a360297d635065f6e"
|
| 609 |
+
}
|
| 610 |
+
]
|
| 611 |
+
}
|
prs/pr_7594.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7594,
|
| 3 |
+
"title": "feat(core): add three_ds_requestor_app_url in business_profile",
|
| 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\nHotfix for [PR 7589](https://github.com/juspay/hyperswitch/pull/7589)\r\n\r\n`cargo clippy` output \u2705 (Ignore the warnings, they are not coming from the current commit)\r\n\r\nhttps://github.com/user-attachments/assets/6667b2c9-45c7-4b42-a575-6b69260c448c\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\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": "dgeee13",
|
| 6 |
+
"created_at": "2025-03-21T11:43:15+00:00",
|
| 7 |
+
"merged_at": "2025-03-21T13:12:06+00:00",
|
| 8 |
+
"base_branch": "hotfix-2025.03.10.0",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-api-contract-changes",
|
| 11 |
+
"Hotfix"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7594",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "96e27359823b03675b63e69e63a43aa151e1d2a8",
|
| 17 |
+
"message": "feat(core): add three_ds_requestor_app_url in business_profile",
|
| 18 |
+
"author": "Debarati",
|
| 19 |
+
"date": "2025-03-21T09:04:05+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/96e27359823b03675b63e69e63a43aa151e1d2a8"
|
| 21 |
+
}
|
| 22 |
+
]
|
| 23 |
+
}
|
prs/pr_7639.json
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7639,
|
| 3 |
+
"title": "feat(router): add payment method display name to feature matrix response",
|
| 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\nThis PR\r\n1. Adds payment method display name to feature matrix response\r\n2. Replace the 2 digit country codes into 3 digit country codes\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\nList the feature matrix and ensure it contains the payment_method_type_dsplay_name field and the country code is 3 digits long. \r\n\r\n```\r\ncurl --location 'http://localhost:8080/feature_matrix' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json'\r\n```\r\nResponse\r\n\r\n```\r\n{\r\n \"connector_count\": 28,\r\n \"connectors\": [\r\n {\r\n \"name\": \"BAMBORA\",\r\n \"display_name\": \"Bambora\",\r\n \"description\": \"Bambora is a leading online payment provider in Canada and United States.\",\r\n \"category\": \"payment_gateway\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_type_display_name\": \"Credit Card\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\",\r\n \"AmericanExpress\",\r\n \"Discover\",\r\n \"JCB\",\r\n \"DinersClub\"\r\n ],\r\n \"supported_countries\": [\r\n \"USA\",\r\n \"CAN\"\r\n ],\r\n \"supported_currencies\": [\r\n \"USD\"\r\n ]\r\n }\r\n ],\r\n \"supported_webhook_flows\": []\r\n },\r\n {\r\n \"name\": \"BAMBORAAPAC\",\r\n \"display_name\": \"Bambora Asia-Pacific\",\r\n \"description\": \"Bambora Asia-Pacific, provides comprehensive payment solutions, offering merchants smart and smooth payment processing capabilities.\",\r\n \"category\": \"payment_gateway\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"debit\",\r\n \"payment_method_type_display_name\": \"Debit Card\",\r\n \"mandates\": \"supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\",\r\n \"DinersClub\"\r\n ],\r\n \"supported_countries\": [\r\n \"KIR\",\r\n \"SWE\",\r\n \"MUS\",\r\n \"COL\",\r\n \"USA\",\r\n \"EST\",\r\n \"LIE\",\r\n \"WSM\",\r\n \"IND\",\r\n \"NLD\",\r\n \"COD\",\r\n \"SOM\",\r\n \"FRA\",\r\n \"UKR\",\r\n \"KEN\",\r\n \"TJK\",\r\n \"CPV\",\r\n \"MRT\",\r\n \"SSD\",\r\n \"CAN\",\r\n \"NOR\",\r\n \"HND\",\r\n \"GBR\",\r\n \"AUT\",\r\n \"SUR\",\r\n \"MDA\",\r\n \"DEU\",\r\n \"MDV\",\r\n \"PAK\",\r\n \"LSO\",\r\n \"ARG\",\r\n \"JOR\",\r\n \"SMR\",\r\n \"LKA\",\r\n \"SRB\",\r\n \"TGO\",\r\n \"DMA\",\r\n \"ZWE\",\r\n \"RWA\",\r\n \"LAO\",\r\n \"EGY\",\r\n \"PRT\",\r\n \"BEN\",\r\n \"PNG\",\r\n \"ETH\",\r\n \"BHR\",\r\n \"NAM\",\r\n \"TKM\",\r\n \"PER\",\r\n \"AUS\",\r\n \"MEX\",\r\n \"BWA\",\r\n \"ECU\",\r\n \"UGA\",\r\n \"TUN\",\r\n \"JAM\",\r\n \"GNQ\",\r\n \"CZE\",\r\n \"BIH\",\r\n \"ISR\",\r\n \"CHL\",\r\n \"BGR\",\r\n \"KAZ\",\r\n \"BOL\",\r\n \"POL\",\r\n \"BDI\",\r\n \"AZE\",\r\n \"MNE\",\r\n \"GIN\",\r\n \"ZAF\",\r\n \"TZA\",\r\n \"URY\",\r\n \"SYC\",\r\n \"DZA\",\r\n \"ROU\",\r\n \"IRL\",\r\n \"OMN\",\r\n \"NZL\",\r\n \"MWI\",\r\n \"BRA\",\r\n \"CAF\",\r\n \"PSE\",\r\n \"BTN\",\r\n \"GGY\",\r\n \"MCO\",\r\n \"SWZ\",\r\n \"NIC\",\r\n \"JPN\",\r\n \"CRI\",\r\n \"AND\",\r\n \"NER\",\r\n \"SLE\",\r\n \"SEN\",\r\n \"ERI\",\r\n \"LUX\",\r\n \"NPL\",\r\n \"TTO\",\r\n \"SAU\",\r\n \"BRB\",\r\n \"BLZ\",\r\n \"PHL\",\r\n \"DOM\",\r\n \"MLT\",\r\n \"TUV\",\r\n \"TON\",\r\n \"FJI\",\r\n \"KNA\",\r\n \"CIV\",\r\n \"MYS\",\r\n \"TLS\",\r\n \"MDG\",\r\n \"CYP\",\r\n \"MMR\",\r\n \"PRY\",\r\n \"GUY\",\r\n \"VNM\",\r\n \"BHS\",\r\n \"NGA\",\r\n \"ZMB\",\r\n \"VEN\",\r\n \"SGP\",\r\n \"TCD\",\r\n \"GAB\",\r\n \"GNB\",\r\n \"DJI\",\r\n \"TUR\",\r\n \"CHN\",\r\n \"KWT\",\r\n \"LTU\",\r\n \"AGO\",\r\n \"GTM\",\r\n \"SVN\",\r\n \"UZB\",\r\n \"CMR\",\r\n \"SLB\",\r\n \"ARM\",\r\n \"FSM\",\r\n \"STP\",\r\n \"DNK\",\r\n \"GRD\",\r\n \"ISL\",\r\n \"NRU\",\r\n \"IDN\",\r\n \"LCA\",\r\n \"HTI\",\r\n \"CHE\",\r\n \"ALB\",\r\n \"MKD\",\r\n \"KGZ\",\r\n \"MNG\",\r\n \"BEL\",\r\n \"MAR\",\r\n \"GMB\",\r\n \"VAT\",\r\n \"VCT\",\r\n \"LVA\",\r\n \"PAN\",\r\n \"MHL\",\r\n \"QAT\",\r\n \"BGD\",\r\n \"ITA\",\r\n \"GEO\",\r\n \"MOZ\",\r\n \"COG\",\r\n \"ESP\",\r\n \"LBR\",\r\n \"HRV\",\r\n \"LBN\",\r\n \"ATG\",\r\n \"GRC\",\r\n \"BRN\",\r\n \"MLI\",\r\n \"BLR\",\r\n \"ARE\",\r\n \"SLV\",\r\n \"FIN\",\r\n \"PLW\",\r\n \"HUN\",\r\n \"GHA\",\r\n \"VUT\",\r\n \"KOR\",\r\n \"SVK\",\r\n \"KHM\",\r\n \"COM\",\r\n \"THA\"\r\n ],\r\n \"supported_currencies\": [\r\n \"RUB\",\r\n \"ILS\",\r\n \"ZMW\",\r\n \"KZT\",\r\n \"MOP\",\r\n \"MAD\",\r\n \"EGP\",\r\n \"SCR\",\r\n \"SLL\",\r\n \"CHF\",\r\n \"LAK\",\r\n \"MMK\",\r\n \"SEK\",\r\n \"RWF\",\r\n \"MDL\",\r\n \"DKK\",\r\n \"QAR\",\r\n \"UAH\",\r\n \"MXN\",\r\n \"INR\",\r\n \"IQD\",\r\n \"CZK\",\r\n \"BGN\",\r\n \"NAD\",\r\n \"USD\",\r\n \"MWK\",\r\n \"BRL\",\r\n \"RSD\",\r\n \"BOB\",\r\n \"CAD\",\r\n \"KRW\",\r\n \"IDR\",\r\n \"NZD\",\r\n \"BDT\",\r\n \"SGD\",\r\n \"XOF\",\r\n \"THB\",\r\n \"NOK\",\r\n \"GHS\",\r\n \"NPR\",\r\n \"KWD\",\r\n \"UGX\",\r\n \"ZAR\",\r\n \"BND\",\r\n \"HUF\",\r\n \"GEL\",\r\n \"PEN\",\r\n \"JPY\",\r\n \"MZN\",\r\n \"UYU\",\r\n \"EUR\",\r\n \"TRY\",\r\n \"COP\",\r\n \"LKR\",\r\n \"HRK\",\r\n \"CNY\",\r\n \"NGN\",\r\n \"KES\",\r\n \"XAF\",\r\n \"TZS\",\r\n \"VND\",\r\n \"PLN\",\r\n \"GBP\",\r\n \"ISK\",\r\n \"AED\",\r\n \"BWP\",\r\n \"HKD\",\r\n \"TWD\",\r\n \"PHP\",\r\n \"RON\",\r\n \"MYR\",\r\n \"SAR\",\r\n \"AUD\",\r\n \"IRR\",\r\n \"PKR\",\r\n \"FJD\"\r\n ]\r\n },\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_type_display_name\": \"Credit Card\",\r\n \"mandates\": \"supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"Visa\",\r\n \"Mastercard\",\r\n \"DinersClub\"\r\n ],\r\n \"supported_countries\": [\r\n \"VEN\",\r\n \"JOR\",\r\n \"EST\",\r\n \"PLW\",\r\n \"VNM\",\r\n \"KEN\",\r\n \"ROU\",\r\n \"NER\",\r\n \"VCT\",\r\n \"KHM\",\r\n \"IRL\",\r\n \"NPL\",\r\n \"GTM\",\r\n \"BRB\",\r\n \"CHE\",\r\n \"DNK\",\r\n \"TJK\",\r\n \"PAN\",\r\n \"CIV\",\r\n \"PRT\",\r\n \"PER\",\r\n \"JPN\",\r\n \"KIR\",\r\n \"SAU\",\r\n \"MAR\",\r\n \"QAT\",\r\n \"HUN\",\r\n \"DMA\",\r\n \"CMR\",\r\n \"URY\",\r\n \"ETH\",\r\n \"MDG\",\r\n \"VAT\",\r\n \"TZA\",\r\n \"SLB\",\r\n \"ARE\",\r\n \"HRV\",\r\n \"FSM\",\r\n \"MLT\",\r\n \"ZWE\",\r\n \"AUT\",\r\n \"COM\",\r\n \"IDN\",\r\n \"LCA\",\r\n \"GGY\",\r\n \"ESP\",\r\n \"TKM\",\r\n \"GNQ\",\r\n \"NGA\",\r\n \"AND\",\r\n \"LAO\",\r\n \"LKA\",\r\n \"SLV\",\r\n \"FJI\",\r\n \"USA\",\r\n \"BRA\",\r\n \"LUX\",\r\n \"SGP\",\r\n \"JAM\",\r\n \"GBR\",\r\n \"NAM\",\r\n \"PHL\",\r\n \"GIN\",\r\n \"LIE\",\r\n \"ISL\",\r\n \"GMB\",\r\n \"DEU\",\r\n \"AUS\",\r\n \"KWT\",\r\n \"SOM\",\r\n \"BTN\",\r\n \"SYC\",\r\n \"FIN\",\r\n \"BLR\",\r\n \"UZB\",\r\n \"MMR\",\r\n \"POL\",\r\n \"MNE\",\r\n \"BWA\",\r\n \"PRY\",\r\n \"BGR\",\r\n \"CRI\",\r\n \"SMR\",\r\n \"MLI\",\r\n \"SSD\",\r\n \"TLS\",\r\n \"GRD\",\r\n \"SVK\",\r\n \"KOR\",\r\n \"MDV\",\r\n \"ZMB\",\r\n \"BHR\",\r\n \"MHL\",\r\n \"NZL\",\r\n \"IND\",\r\n \"MNG\",\r\n \"MDA\",\r\n \"GRC\",\r\n \"VUT\",\r\n \"LVA\",\r\n \"GHA\",\r\n \"CHL\",\r\n \"CPV\",\r\n \"CAN\",\r\n \"CAF\",\r\n \"ISR\",\r\n \"DZA\",\r\n \"MCO\",\r\n \"TUN\",\r\n \"MUS\",\r\n \"BEN\",\r\n \"CHN\",\r\n \"BEL\",\r\n \"EGY\",\r\n \"PNG\",\r\n \"UGA\",\r\n \"DJI\",\r\n \"ECU\",\r\n \"ATG\",\r\n \"SEN\",\r\n \"LBN\",\r\n \"ERI\",\r\n \"BHS\",\r\n \"KNA\",\r\n \"THA\",\r\n \"MEX\",\r\n \"WSM\",\r\n \"SUR\",\r\n \"TUR\",\r\n \"SLE\",\r\n \"ARM\",\r\n \"NOR\",\r\n \"MWI\",\r\n \"AZE\",\r\n \"FRA\",\r\n \"AGO\",\r\n \"NLD\",\r\n \"ALB\",\r\n \"HND\",\r\n \"LTU\",\r\n \"RWA\",\r\n \"KGZ\",\r\n \"DOM\",\r\n \"TTO\",\r\n \"BRN\",\r\n \"KAZ\",\r\n \"COL\",\r\n \"BIH\",\r\n \"NRU\",\r\n \"CYP\",\r\n \"ZAF\",\r\n \"LSO\",\r\n \"OMN\",\r\n \"TON\",\r\n \"GNB\",\r\n \"MRT\",\r\n \"ARG\",\r\n \"GEO\",\r\n \"COG\",\r\n \"GAB\",\r\n \"BGD\",\r\n \"TCD\",\r\n \"TUV\",\r\n \"MKD\",\r\n \"SVN\",\r\n \"BLZ\",\r\n \"SRB\",\r\n \"LBR\",\r\n \"BDI\",\r\n \"SWZ\",\r\n \"ITA\",\r\n \"PSE\",\r\n \"COD\",\r\n \"STP\",\r\n \"PAK\",\r\n \"NIC\",\r\n \"TGO\",\r\n \"CZE\",\r\n \"UKR\",\r\n \"HTI\",\r\n \"SWE\",\r\n \"BOL\",\r\n \"GUY\",\r\n \"MOZ\",\r\n \"MYS\"\r\n ],\r\n \"supported_currencies\": [\r\n \"QAR\",\r\n \"MZN\",\r\n \"ILS\",\r\n \"NPR\",\r\n \"RON\",\r\n \"CHF\",\r\n \"LKR\",\r\n \"ISK\",\r\n \"NAD\",\r\n \"RWF\",\r\n \"DKK\",\r\n \"UYU\",\r\n \"VND\",\r\n \"IRR\",\r\n \"XAF\",\r\n \"KWD\",\r\n \"MWK\",\r\n \"MAD\",\r\n \"RSD\",\r\n \"MMK\",\r\n \"HUF\",\r\n \"CZK\",\r\n \"BGN\",\r\n \"THB\",\r\n \"PKR\",\r\n \"IDR\",\r\n \"LAK\",\r\n \"BRL\",\r\n \"GBP\",\r\n \"MOP\",\r\n \"NGN\",\r\n \"SCR\",\r\n \"SLL\",\r\n \"ZMW\",\r\n \"INR\",\r\n \"MYR\",\r\n \"IQD\",\r\n \"GEL\",\r\n \"RUB\",\r\n \"NZD\",\r\n \"JPY\",\r\n \"EGP\",\r\n \"AED\",\r\n \"SEK\",\r\n \"XOF\",\r\n \"FJD\",\r\n \"GHS\",\r\n \"PHP\",\r\n \"TZS\",\r\n \"NOK\",\r\n \"CAD\",\r\n \"TRY\",\r\n \"MXN\",\r\n \"PEN\",\r\n \"CNY\",\r\n \"KRW\",\r\n \"MDL\",\r\n \"SGD\",\r\n \"BDT\",\r\n \"AUD\",\r\n \"UGX\",\r\n \"USD\",\r\n \"ZAR\",\r\n \"UAH\",\r\n \"HKD\",\r\n \"BND\",\r\n \"BOB\",\r\n \"COP\",\r\n \"HRK\",\r\n \"TWD\",\r\n \"PLN\",\r\n \"BWP\",\r\n \"SAR\",\r\n \"KZT\",\r\n \"KES\",\r\n \"EUR\"\r\n ]\r\n }\r\n ],\r\n \"supported_webhook_flows\": []\r\n },\r\n {\r\n \"name\": \"BILLWERK\",\r\n \"display_name\": \"Billwerk\",\r\n \"description\": \"Billwerk+ Pay is an acquirer independent payment gateway that's easy to setup with more than 50 recurring and non-recurring payment methods.\",\r\n \"category\": \"payment_gateway\",\r\n \"supported_payment_methods\": [\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_type_display_name\": \"Credit Card\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"not_supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"Mastercard\",\r\n \"Visa\",\r\n \"AmericanExpress\",\r\n \"Discover\",\r\n \"JCB\",\r\n \"UnionPay\",\r\n \"DinersClub\",\r\n \"Interac\",\r\n \"CartesBancaires\"\r\n ],\r\n \"supported_countries\": [\r\n \"SWE\",\r\n \"FRA\",\r\n \"DNK\",\r\n \"DEU\"\r\n ],\r\n \"supported_currencies\": [\r\n \"DKK\",\r\n \"NOK\"\r\n ]\r\n },\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"debit\",\r\n \"payment_method_type_display_name\": \"Debit Card\",\r\n \"mandates\": \"not_supported\",\r\n \"refunds\": \"supported\",\r\n \"supported_capture_methods\": [\r\n \"automatic\",\r\n \"manual\",\r\n \"sequential_automatic\"\r\n ],\r\n \"three_ds\": \"not_supported\",\r\n \"no_three_ds\": \"supported\",\r\n \"supported_card_networks\": [\r\n \"Mastercard\",\r\n \"Visa\",\r\n \"AmericanExpress\",\r\n \"Discover\",\r\n \"JCB\",\r\n \"UnionPay\",\r\n \"DinersClub\",\r\n \"Interac\",\r\n \"CartesBancaires\"\r\n ],\r\n \"supported_countries\": [\r\n \"DNK\",\r\n \"FRA\",\r\n \"SWE\",\r\n \"DEU\"\r\n ],\r\n \"supported_currencies\": [\r\n \"DKK\",\r\n \"NOK\"\r\n ]\r\n }\r\n ],\r\n \"supported_webhook_flows\": []\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": "AkshayaFoiger",
|
| 6 |
+
"created_at": "2025-03-26T10:28:27+00:00",
|
| 7 |
+
"merged_at": "2025-04-01T12:15:42+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-framework",
|
| 11 |
+
"A-core",
|
| 12 |
+
"C-feature",
|
| 13 |
+
"M-api-contract-changes"
|
| 14 |
+
],
|
| 15 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7639",
|
| 16 |
+
"commits": [
|
| 17 |
+
{
|
| 18 |
+
"sha": "394608f953ccf014a15e3a1271d662dcdd029ecb",
|
| 19 |
+
"message": "add payment_method_type_display_name and 3 digit count code",
|
| 20 |
+
"author": "AkshayaFoiger",
|
| 21 |
+
"date": "2025-03-26T10:12:59+00:00",
|
| 22 |
+
"url": "https://github.com/juspay/hyperswitch/commit/394608f953ccf014a15e3a1271d662dcdd029ecb"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"sha": "392657c5d702ae0531a3837bd4755211d0a53830",
|
| 26 |
+
"message": "generate openapi_spec",
|
| 27 |
+
"author": "AkshayaFoiger",
|
| 28 |
+
"date": "2025-03-26T10:20:07+00:00",
|
| 29 |
+
"url": "https://github.com/juspay/hyperswitch/commit/392657c5d702ae0531a3837bd4755211d0a53830"
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"sha": "d1d2cc323d1618ff299737a2eee6e04fa35c707d",
|
| 33 |
+
"message": "chore: run formatter",
|
| 34 |
+
"author": "hyperswitch-bot[bot]",
|
| 35 |
+
"date": "2025-03-26T10:38:33+00:00",
|
| 36 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d1d2cc323d1618ff299737a2eee6e04fa35c707d"
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"sha": "4d702f28cd0fb88d810a5c641a0b565600442ddc",
|
| 40 |
+
"message": "fix openapi_spec",
|
| 41 |
+
"author": "AkshayaFoiger",
|
| 42 |
+
"date": "2025-03-26T11:07:26+00:00",
|
| 43 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4d702f28cd0fb88d810a5c641a0b565600442ddc"
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"sha": "53ab082da02252db12ed5ade7d6ad6d5c330ff85",
|
| 47 |
+
"message": "fix openapi_spec",
|
| 48 |
+
"author": "AkshayaFoiger",
|
| 49 |
+
"date": "2025-03-26T11:12:36+00:00",
|
| 50 |
+
"url": "https://github.com/juspay/hyperswitch/commit/53ab082da02252db12ed5ade7d6ad6d5c330ff85"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"sha": "3c70d82d57703f5fe0a04e1809c780d3552b7ad1",
|
| 54 |
+
"message": "fix openapi_sepc",
|
| 55 |
+
"author": "AkshayaFoiger",
|
| 56 |
+
"date": "2025-03-26T11:14:57+00:00",
|
| 57 |
+
"url": "https://github.com/juspay/hyperswitch/commit/3c70d82d57703f5fe0a04e1809c780d3552b7ad1"
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"sha": "5ad673d02c219bdf95af84fcc123b81d96b36884",
|
| 61 |
+
"message": "fix openapi_spec",
|
| 62 |
+
"author": "AkshayaFoiger",
|
| 63 |
+
"date": "2025-03-26T11:16:47+00:00",
|
| 64 |
+
"url": "https://github.com/juspay/hyperswitch/commit/5ad673d02c219bdf95af84fcc123b81d96b36884"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"sha": "1b1c4174d8fdefecaf43a4ec987535386e7a5f25",
|
| 68 |
+
"message": "add CountryAlpha3 to openapi_spec",
|
| 69 |
+
"author": "AkshayaFoiger",
|
| 70 |
+
"date": "2025-03-26T11:50:46+00:00",
|
| 71 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1b1c4174d8fdefecaf43a4ec987535386e7a5f25"
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"sha": "69384076b70be34055631376630613079d941dae",
|
| 75 |
+
"message": "fix clippy error",
|
| 76 |
+
"author": "AkshayaFoiger",
|
| 77 |
+
"date": "2025-03-27T07:04:05+00:00",
|
| 78 |
+
"url": "https://github.com/juspay/hyperswitch/commit/69384076b70be34055631376630613079d941dae"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"sha": "b24fc77885e3516733c4749269a415f5af687361",
|
| 82 |
+
"message": "rename mifinity",
|
| 83 |
+
"author": "AkshayaFoiger",
|
| 84 |
+
"date": "2025-03-27T07:06:28+00:00",
|
| 85 |
+
"url": "https://github.com/juspay/hyperswitch/commit/b24fc77885e3516733c4749269a415f5af687361"
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"sha": "12a95fbc16c3507954e5b0966d602c8e0e5b626c",
|
| 89 |
+
"message": "chore: run formatter",
|
| 90 |
+
"author": "hyperswitch-bot[bot]",
|
| 91 |
+
"date": "2025-03-27T07:07:32+00:00",
|
| 92 |
+
"url": "https://github.com/juspay/hyperswitch/commit/12a95fbc16c3507954e5b0966d602c8e0e5b626c"
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"sha": "0bdb728385835e61135cca39382b8074451a86c3",
|
| 96 |
+
"message": "Merge branch 'main' into feature-matrix-v3",
|
| 97 |
+
"author": "AkshayaFoiger",
|
| 98 |
+
"date": "2025-03-27T07:08:19+00:00",
|
| 99 |
+
"url": "https://github.com/juspay/hyperswitch/commit/0bdb728385835e61135cca39382b8074451a86c3"
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"sha": "eee2ee0887716ed7cc829f8a957d97b95fd3713c",
|
| 103 |
+
"message": "refactor to_display_name function",
|
| 104 |
+
"author": "AkshayaFoiger",
|
| 105 |
+
"date": "2025-03-27T09:16:13+00:00",
|
| 106 |
+
"url": "https://github.com/juspay/hyperswitch/commit/eee2ee0887716ed7cc829f8a957d97b95fd3713c"
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"sha": "01bbe10e665ea5bbff3ce2c538df3d1ad024c328",
|
| 110 |
+
"message": "add doc comments",
|
| 111 |
+
"author": "AkshayaFoiger",
|
| 112 |
+
"date": "2025-03-27T10:41:27+00:00",
|
| 113 |
+
"url": "https://github.com/juspay/hyperswitch/commit/01bbe10e665ea5bbff3ce2c538df3d1ad024c328"
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"sha": "d632569794d2acebdbd14d2741bc6a7a940dd777",
|
| 117 |
+
"message": "chore: run formatter",
|
| 118 |
+
"author": "hyperswitch-bot[bot]",
|
| 119 |
+
"date": "2025-03-27T10:43:46+00:00",
|
| 120 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d632569794d2acebdbd14d2741bc6a7a940dd777"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"sha": "4f99971a4e227d25f2498be45ad5a83478620836",
|
| 124 |
+
"message": "remove .",
|
| 125 |
+
"author": "AkshayaFoiger",
|
| 126 |
+
"date": "2025-03-27T10:44:44+00:00",
|
| 127 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4f99971a4e227d25f2498be45ad5a83478620836"
|
| 128 |
+
}
|
| 129 |
+
]
|
| 130 |
+
}
|
prs/pr_7678.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7678,
|
| 3 |
+
"title": "refactor(openapi): update authentication for profiles and mca openapi",
|
| 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\n<!-- Describe your changes in detail -->\r\nModified the authentication for profile and mca routes to use API Key instead of Admin API Key.\r\nThis PR has the corresponding OpenAPI spec changes.\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\nCannot test\r\nCorresponding code changes are there in this PR: [https://github.com/juspay/hyperswitch/pull/7656](https://github.com/juspay/hyperswitch/pull/7656)\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-04-01T11:40:04+00:00",
|
| 7 |
+
"merged_at": "2025-04-02T07:01:58+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-api-contract-changes"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7678",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "00b2be91fc0ab01c9982a96455e5ebda0b5eb067",
|
| 16 |
+
"message": "feat(openapi): update authentication for profiles and mca openapi",
|
| 17 |
+
"author": "Sandeep Kumar",
|
| 18 |
+
"date": "2025-04-01T10:31:10+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/00b2be91fc0ab01c9982a96455e5ebda0b5eb067"
|
| 20 |
+
}
|
| 21 |
+
]
|
| 22 |
+
}
|
prs/pr_7700.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7700,
|
| 3 |
+
"title": "fix: web-docker pull from docker hub",
|
| 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\nDocker pull from latest stable tag\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\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\nWeb Docker Image was not working properly \r\n\r\n<img width=\"1043\" alt=\"Screenshot 2025-04-02 at 3 40 52\u202fPM\" src=\"https://github.com/user-attachments/assets/514b49c8-6a63-4c5b-934b-9d2f0709fc5f\" />\r\n\r\nNow with this fix its working\r\n\r\n\r\n## How did you test it?\r\nVia locally running Docker Image\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": "PritishBudhiraja",
|
| 6 |
+
"created_at": "2025-04-02T09:57:03+00:00",
|
| 7 |
+
"merged_at": "2025-04-03T07:29:59+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-CI-CD"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7700",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "8bd155306edb5b4813fe387f9c6c2f63a8e81c3d",
|
| 16 |
+
"message": "fix: web-docker pull from docker hub",
|
| 17 |
+
"author": "Pritish Budhiraja",
|
| 18 |
+
"date": "2025-04-02T09:54:54+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/8bd155306edb5b4813fe387f9c6c2f63a8e81c3d"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "46f07e58c7c07a4e5d1254a96dbf29118ea9a0de",
|
| 23 |
+
"message": "chore(docker-compose): fix incorrect indentation",
|
| 24 |
+
"author": "Sanchith Hegde",
|
| 25 |
+
"date": "2025-04-02T10:36:56+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/46f07e58c7c07a4e5d1254a96dbf29118ea9a0de"
|
| 27 |
+
}
|
| 28 |
+
]
|
| 29 |
+
}
|
prs/pr_7776.json
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7776,
|
| 3 |
+
"title": "feat(core): Add support for updating metadata after payment has been authorized",
|
| 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- Add support where merchant can update the payment metadata after the payment has been authorized. \r\n- Introduce a new api \\payments\\:id\\update_metadata\r\n- Only the metadata field can be updated, which is a key value pair.\r\n- This api can do a connector call just using the metadata field.\r\n- After this call is successful, metadata will be updated, it will have the intent_metadata along with the metadata passed in this new api request. \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\n1. Create Merchant Account\r\n2. Create API Key \r\n3. Create Stripe MCA\r\n4. Create a Stripe 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: _' \\\r\n--data-raw '{\r\n \"amount\": 6540,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\r\n \"amount_to_capture\": 6540,\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://duck.com\",\r\n \"setup_future_usage\": \"off_session\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"4242424242424242\",\r\n \"card_exp_month\": \"10\",\r\n \"card_exp_year\": \"25\",\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\": \"sundari\"\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\": \"sundari\"\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 \"routing\": {\r\n \"type\": \"single\",\r\n \"data\": \"stripe\"\r\n }\r\n}'\r\n```\r\nResponse\r\n```\r\n{\r\n \"payment_id\": \"pay_MxPTKHNcJwOOoL8FDtPN\",\r\n \"merchant_id\": \"postman_merchant_GHAction_da04b367-690b-4bde-ad7c-3cfbf62e4e84\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 6540,\r\n \"net_amount\": 6540,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 6540,\r\n \"connector\": \"stripe\",\r\n \"client_secret\": \"pay_MxPTKHNcJwOOoL8FDtPN_secret_025WQHlpbdojP0rBFWMj\",\r\n \"created\": \"2025-04-10T11:35:49.375Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"StripeCustomer\",\r\n \"customer\": {\r\n \"id\": \"StripeCustomer\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+1\"\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\": \"CREDIT\",\r\n \"card_network\": \"Visa\",\r\n \"card_issuer\": \"STRIPE PAYMENTS UK LIMITED\",\r\n \"card_issuing_country\": \"UNITEDKINGDOM\",\r\n \"card_isin\": \"424242\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"10\",\r\n \"card_exp_year\": \"25\",\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\": \"sundari\",\r\n \"last_name\": 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\": \"sundari\",\r\n \"last_name\": 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://duck.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\": \"StripeCustomer\",\r\n \"created_at\": 1744284949,\r\n \"expires\": 1744288549,\r\n \"secret\": \"epk_6468c3c1c40a4364b195d2cc5c02f9a0\"\r\n },\r\n \"manual_retry_allowed\": false,\r\n \"connector_transaction_id\": \"pi_3RCJObD5R7gDAGff0xK5cBVw\",\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\": \"pi_3RCJObD5R7gDAGff0xK5cBVw\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_2DPhFg35OVObpgXxYyB3\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_i5a4IRbcJtPyI9WCzMxz\",\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-04-10T11:50:49.375Z\",\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-04-10T11:35:51.031Z\",\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\": \"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}\r\n```\r\n\r\nMetaData in DB after confirm call\r\n\r\n<img width=\"893\" alt=\"Screenshot 2025-04-10 at 5 06 08\u202fPM\" src=\"https://github.com/user-attachments/assets/144973b2-18f6-4689-aa27-4612f99c13d0\" />\r\n\r\n5. Update metadata\r\n```\r\ncurl --location 'http://localhost:8080/payments/pay_MxPTKHNcJwOOoL8FDtPN/update_metadata' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: dev_bSPrVP5RULlFD83TafFu8lTKXxRpdotKpvkCXWzH4Qz1YIPwq32452dcqdE7T1p6' \\\r\n--data '{\r\n \"metadata\": {\r\n \"order_id\": \"999999897989\"\r\n }\r\n}'\r\n```\r\n\r\nResponse\r\n```\r\n{\r\n \"payment_id\": \"pay_MxPTKHNcJwOOoL8FDtPN\",\r\n \"metadata\": {\r\n \"udf1\": \"value1\",\r\n \"order_id\": \"999999897989\",\r\n \"login_date\": \"2019-09-10T10:11:12Z\",\r\n \"new_customer\": \"true\"\r\n }\r\n}\r\n```\r\n\r\nMetadata in DB after UpdateMetadata call\r\n<img width=\"1083\" alt=\"Screenshot 2025-04-10 at 5 07 13\u202fPM\" src=\"https://github.com/user-attachments/assets/16b99a64-fcd9-45c2-9c92-e4b69db50d58\" />\r\n- Here Metadata is updated with `order_id`\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": "swangi-kumari",
|
| 6 |
+
"created_at": "2025-04-09T13:56:23+00:00",
|
| 7 |
+
"merged_at": "2025-04-15T07:39:02+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-connector-integration",
|
| 11 |
+
"A-core",
|
| 12 |
+
"C-feature",
|
| 13 |
+
"M-api-contract-changes"
|
| 14 |
+
],
|
| 15 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7776",
|
| 16 |
+
"commits": [
|
| 17 |
+
{
|
| 18 |
+
"sha": "7226555af305dd5c79bda5bd80ed3c9528ac6626",
|
| 19 |
+
"message": "refactor: new end point",
|
| 20 |
+
"author": "Swangi Kumari",
|
| 21 |
+
"date": "2025-04-09T13:55:14+00:00",
|
| 22 |
+
"url": "https://github.com/juspay/hyperswitch/commit/7226555af305dd5c79bda5bd80ed3c9528ac6626"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"sha": "c64d5e4a94782d73f2ba83d91e1d418089962ead",
|
| 26 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 27 |
+
"author": "hyperswitch-bot[bot]",
|
| 28 |
+
"date": "2025-04-09T14:02:52+00:00",
|
| 29 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c64d5e4a94782d73f2ba83d91e1d418089962ead"
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"sha": "736362e843f2e2029cfafab74b82c86c350ff6ab",
|
| 33 |
+
"message": "refactor: update metadata",
|
| 34 |
+
"author": "Swangi Kumari",
|
| 35 |
+
"date": "2025-04-10T07:12:47+00:00",
|
| 36 |
+
"url": "https://github.com/juspay/hyperswitch/commit/736362e843f2e2029cfafab74b82c86c350ff6ab"
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"sha": "9b74510c6b0b8afdc73f3e77e295c97fe7c5b1aa",
|
| 40 |
+
"message": "Merge branch 'update' of https://github.com/juspay/hyperswitch into update",
|
| 41 |
+
"author": "Swangi Kumari",
|
| 42 |
+
"date": "2025-04-10T07:33:34+00:00",
|
| 43 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9b74510c6b0b8afdc73f3e77e295c97fe7c5b1aa"
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"sha": "56168544c742f4174f0d617aef6040b24ad1d254",
|
| 47 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 48 |
+
"author": "hyperswitch-bot[bot]",
|
| 49 |
+
"date": "2025-04-10T07:39:45+00:00",
|
| 50 |
+
"url": "https://github.com/juspay/hyperswitch/commit/56168544c742f4174f0d617aef6040b24ad1d254"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"sha": "e3c36ba7b1284bca1d5c1313c2e0d2d937f6b23c",
|
| 54 |
+
"message": "refactor: update",
|
| 55 |
+
"author": "Swangi Kumari",
|
| 56 |
+
"date": "2025-04-10T13:20:43+00:00",
|
| 57 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e3c36ba7b1284bca1d5c1313c2e0d2d937f6b23c"
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"sha": "a0ad2cee28fef33c49d018f352a48f0fe69cb1f9",
|
| 61 |
+
"message": "refactor: resolve comments",
|
| 62 |
+
"author": "Swangi Kumari",
|
| 63 |
+
"date": "2025-04-11T13:08:43+00:00",
|
| 64 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a0ad2cee28fef33c49d018f352a48f0fe69cb1f9"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"sha": "ef16a60a9f896fd70d5f8e521cfc771a1bcedcf4",
|
| 68 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 69 |
+
"author": "hyperswitch-bot[bot]",
|
| 70 |
+
"date": "2025-04-11T13:14:41+00:00",
|
| 71 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ef16a60a9f896fd70d5f8e521cfc771a1bcedcf4"
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"sha": "52127fc079b683af9153caf4bcbcd6bd5c6950b7",
|
| 75 |
+
"message": "refactor: mintilfy",
|
| 76 |
+
"author": "Swangi Kumari",
|
| 77 |
+
"date": "2025-04-11T13:43:16+00:00",
|
| 78 |
+
"url": "https://github.com/juspay/hyperswitch/commit/52127fc079b683af9153caf4bcbcd6bd5c6950b7"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"sha": "dd0a7407fa6d52fd86c4fc81d1b87aef516b268c",
|
| 82 |
+
"message": "Merge branch 'update' of https://github.com/juspay/hyperswitch into update",
|
| 83 |
+
"author": "Swangi Kumari",
|
| 84 |
+
"date": "2025-04-11T13:43:47+00:00",
|
| 85 |
+
"url": "https://github.com/juspay/hyperswitch/commit/dd0a7407fa6d52fd86c4fc81d1b87aef516b268c"
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"sha": "4b518e480026669770e121d6b3d7af9eb1cd3b2e",
|
| 89 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 90 |
+
"author": "hyperswitch-bot[bot]",
|
| 91 |
+
"date": "2025-04-11T13:50:19+00:00",
|
| 92 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4b518e480026669770e121d6b3d7af9eb1cd3b2e"
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"sha": "1df4d4f19b60ec7b718196e38c2610817a153caf",
|
| 96 |
+
"message": "refactor: resolve comments",
|
| 97 |
+
"author": "Swangi Kumari",
|
| 98 |
+
"date": "2025-04-12T07:24:44+00:00",
|
| 99 |
+
"url": "https://github.com/juspay/hyperswitch/commit/1df4d4f19b60ec7b718196e38c2610817a153caf"
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"sha": "12565242a102ec88afa56b14a45f51d6ffd0996f",
|
| 103 |
+
"message": "Merge branch 'update' of https://github.com/juspay/hyperswitch into update",
|
| 104 |
+
"author": "Swangi Kumari",
|
| 105 |
+
"date": "2025-04-12T07:24:55+00:00",
|
| 106 |
+
"url": "https://github.com/juspay/hyperswitch/commit/12565242a102ec88afa56b14a45f51d6ffd0996f"
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"sha": "c1fd201bb5ebee651fb5df9bbe5826ac5012df96",
|
| 110 |
+
"message": "refactor: resolve comments",
|
| 111 |
+
"author": "Swangi Kumari",
|
| 112 |
+
"date": "2025-04-14T17:08:26+00:00",
|
| 113 |
+
"url": "https://github.com/juspay/hyperswitch/commit/c1fd201bb5ebee651fb5df9bbe5826ac5012df96"
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"sha": "4ec063d0df36984bf383aa91a11616e2ea90e91d",
|
| 117 |
+
"message": "refactor: change type",
|
| 118 |
+
"author": "Swangi Kumari",
|
| 119 |
+
"date": "2025-04-14T17:33:25+00:00",
|
| 120 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4ec063d0df36984bf383aa91a11616e2ea90e91d"
|
| 121 |
+
}
|
| 122 |
+
]
|
| 123 |
+
}
|
prs/pr_7954.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7954,
|
| 3 |
+
"title": "fix(payment_methods): Re-revert changes done in `pr#7866` by `pr#7882`",
|
| 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\nContext\r\nhttps://github.com/juspay/hyperswitch/pull/7882 accidentally reverted changes made in https://github.com/juspay/hyperswitch/pull/7866, which was a merchant critical PR.\r\n\r\nReason:\r\n- This might have occured due to incorrect resolution of merge conflicts in [this PR](https://github.com/juspay/hyperswitch/pull/7882)\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### Fixes #7952 \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 MA and an MCA with wallets\r\n- Create a payment and Save one wallet (eg: Paypal)\r\n- Create a new payment intent\r\n- List the Merchant PML again, Paypal would still be there\r\n##### cURL\r\n```bash\r\ncurl --location 'http://localhost:8080/account/payment_methods?client_secret={{client_secret}}' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: {{publishable_key}}'\r\n```\r\n##### Response\r\n\r\n```json\r\n{\r\n \"redirect_url\": null,\r\n \"currency\": \"USD\",\r\n \"payment_methods\": [\r\n {\r\n \"payment_method\": \"wallet\",\r\n \"payment_method_types\": [\r\n {\r\n \"payment_method_type\": \"paypal\",\r\n \"payment_experience\": [\r\n {\r\n \"payment_experience_type\": \"invoke_sdk_client\",\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"payment_experience_type\": \"redirect_to_url\",\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n }\r\n ],\r\n \"card_networks\": null,\r\n \"bank_names\": null,\r\n \"bank_debits\": null,\r\n \"bank_transfers\": null,\r\n \"required_fields\": {\r\n \"shipping.address.city\": {\r\n \"required_field\": \"shipping.address.city\",\r\n \"display_name\": \"city\",\r\n \"field_type\": \"user_shipping_address_city\",\r\n \"value\": \"San Fransico\"\r\n },\r\n \"shipping.address.first_name\": {\r\n \"required_field\": \"shipping.address.first_name\",\r\n \"display_name\": \"shipping_first_name\",\r\n \"field_type\": \"user_shipping_name\",\r\n \"value\": \"joseph\"\r\n },\r\n \"shipping.address.state\": {\r\n \"required_field\": \"shipping.address.state\",\r\n \"display_name\": \"state\",\r\n \"field_type\": \"user_shipping_address_state\",\r\n \"value\": \"California\"\r\n },\r\n \"shipping.address.country\": {\r\n \"required_field\": \"shipping.address.country\",\r\n \"display_name\": \"country\",\r\n \"field_type\": {\r\n \"user_shipping_address_country\": {\r\n \"options\": [\r\n \"ALL\"\r\n ]\r\n }\r\n },\r\n \"value\": \"US\"\r\n },\r\n \"shipping.address.line1\": {\r\n \"required_field\": \"shipping.address.line1\",\r\n \"display_name\": \"line1\",\r\n \"field_type\": \"user_shipping_address_line1\",\r\n \"value\": \"1467\"\r\n },\r\n \"shipping.address.zip\": {\r\n \"required_field\": \"shipping.address.zip\",\r\n \"display_name\": \"zip\",\r\n \"field_type\": \"user_shipping_address_pincode\",\r\n \"value\": \"94122\"\r\n },\r\n \"shipping.address.last_name\": {\r\n \"required_field\": \"shipping.address.last_name\",\r\n \"display_name\": \"shipping_last_name\",\r\n \"field_type\": \"user_shipping_name\",\r\n \"value\": \"Doe\"\r\n }\r\n },\r\n \"surcharge_details\": null,\r\n \"pm_auth_connector\": null\r\n }\r\n ]\r\n },\r\n {\r\n \"payment_method\": \"card\",\r\n \"payment_method_types\": [\r\n {\r\n \"payment_method_type\": \"credit\",\r\n \"payment_experience\": null,\r\n \"card_networks\": [\r\n {\r\n \"card_network\": \"Discover\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"Mastercard\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"Interac\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"Visa\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"DinersClub\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"UnionPay\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"JCB\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"CartesBancaires\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"AmericanExpress\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n }\r\n ],\r\n \"bank_names\": null,\r\n \"bank_debits\": null,\r\n \"bank_transfers\": null,\r\n \"required_fields\": {\r\n \"payment_method_data.card.card_exp_year\": {\r\n \"required_field\": \"payment_method_data.card.card_exp_year\",\r\n \"display_name\": \"card_exp_year\",\r\n \"field_type\": \"user_card_expiry_year\",\r\n \"value\": null\r\n },\r\n \"payment_method_data.card.card_exp_month\": {\r\n \"required_field\": \"payment_method_data.card.card_exp_month\",\r\n \"display_name\": \"card_exp_month\",\r\n \"field_type\": \"user_card_expiry_month\",\r\n \"value\": null\r\n },\r\n \"payment_method_data.card.card_number\": {\r\n \"required_field\": \"payment_method_data.card.card_number\",\r\n \"display_name\": \"card_number\",\r\n \"field_type\": \"user_card_number\",\r\n \"value\": null\r\n },\r\n \"payment_method_data.card.card_cvc\": {\r\n \"required_field\": \"payment_method_data.card.card_cvc\",\r\n \"display_name\": \"card_cvc\",\r\n \"field_type\": \"user_card_cvc\",\r\n \"value\": null\r\n }\r\n },\r\n \"surcharge_details\": null,\r\n \"pm_auth_connector\": null\r\n },\r\n {\r\n \"payment_method_type\": \"debit\",\r\n \"payment_experience\": null,\r\n \"card_networks\": [\r\n {\r\n \"card_network\": \"JCB\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"Mastercard\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"UnionPay\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"Discover\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"CartesBancaires\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"DinersClub\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"Visa\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"Interac\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n },\r\n {\r\n \"card_network\": \"AmericanExpress\",\r\n \"surcharge_details\": null,\r\n \"eligible_connectors\": [\r\n \"paypal\"\r\n ]\r\n }\r\n ],\r\n \"bank_names\": null,\r\n \"bank_debits\": null,\r\n \"bank_transfers\": null,\r\n \"required_fields\": {\r\n \"payment_method_data.card.card_exp_year\": {\r\n \"required_field\": \"payment_method_data.card.card_exp_year\",\r\n \"display_name\": \"card_exp_year\",\r\n \"field_type\": \"user_card_expiry_year\",\r\n \"value\": null\r\n },\r\n \"payment_method_data.card.card_exp_month\": {\r\n \"required_field\": \"payment_method_data.card.card_exp_month\",\r\n \"display_name\": \"card_exp_month\",\r\n \"field_type\": \"user_card_expiry_month\",\r\n \"value\": null\r\n },\r\n \"payment_method_data.card.card_number\": {\r\n \"required_field\": \"payment_method_data.card.card_number\",\r\n \"display_name\": \"card_number\",\r\n \"field_type\": \"user_card_number\",\r\n \"value\": null\r\n },\r\n \"payment_method_data.card.card_cvc\": {\r\n \"required_field\": \"payment_method_data.card.card_cvc\",\r\n \"display_name\": \"card_cvc\",\r\n \"field_type\": \"user_card_cvc\",\r\n \"value\": null\r\n }\r\n },\r\n \"surcharge_details\": null,\r\n \"pm_auth_connector\": null\r\n }\r\n ]\r\n }\r\n ],\r\n \"mandate_payment\": null,\r\n \"merchant_name\": \"standard\",\r\n \"show_surcharge_breakup_screen\": false,\r\n \"payment_type\": \"normal\",\r\n \"request_external_three_ds_authentication\": false,\r\n \"collect_shipping_details_from_wallets\": false,\r\n \"collect_billing_details_from_wallets\": false,\r\n \"is_tax_calculation_enabled\": false\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- [ ] 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-05-05T09:22:23+00:00",
|
| 7 |
+
"merged_at": "2025-05-05T12:58:42+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [],
|
| 10 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7954",
|
| 11 |
+
"commits": [
|
| 12 |
+
{
|
| 13 |
+
"sha": "74944b420ea4674f5b0e9bc9b32bd23d6b45d6b8",
|
| 14 |
+
"message": "fix(payment_methods): re-revert changes made by pr#7882",
|
| 15 |
+
"author": "uzair khan",
|
| 16 |
+
"date": "2025-05-05T09:14:19+00:00",
|
| 17 |
+
"url": "https://github.com/juspay/hyperswitch/commit/74944b420ea4674f5b0e9bc9b32bd23d6b45d6b8"
|
| 18 |
+
}
|
| 19 |
+
]
|
| 20 |
+
}
|
prs/pr_7959.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7959,
|
| 3 |
+
"title": "fix(connector): [Novalnet] allow debit card 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- [ ] 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/7956\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\nFixes the bug which allows debit card mandate creation, but does not allow MITs for the same payment method entry.\r\n\r\n## How did you test it?\r\nSame as described in https://github.com/juspay/hyperswitch/pull/7956\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-05-05T11:40:02+00:00",
|
| 7 |
+
"merged_at": "2025-05-05T12:34:09+00:00",
|
| 8 |
+
"base_branch": "hotfix-2025.05.05.0",
|
| 9 |
+
"labels": [],
|
| 10 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7959",
|
| 11 |
+
"commits": [
|
| 12 |
+
{
|
| 13 |
+
"sha": "dcecce64886a4307ee12bed3ed07e1ee4365a043",
|
| 14 |
+
"message": "fix(connector): [Novalnet] allow debit card MITs (#7956)\n\n(cherry picked from commit 18142a4fdb1f81e4b493067b669a68576bac5d08)",
|
| 15 |
+
"author": "Kashif",
|
| 16 |
+
"date": "2025-05-05T10:53:20+00:00",
|
| 17 |
+
"url": "https://github.com/juspay/hyperswitch/commit/dcecce64886a4307ee12bed3ed07e1ee4365a043"
|
| 18 |
+
}
|
| 19 |
+
]
|
| 20 |
+
}
|
prs/pr_7998.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 7998,
|
| 3 |
+
"title": "feat(core): add all_keys_required in confirm and psync payload",
|
| 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\ncloses this [issue](https://github.com/juspay/hyperswitch/issues/7997)\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n\r\nAdded all_keys_required in confirm and psync payload. If all_keys_required is passed as true, we will send the whole connector response.\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\nPostman Test\r\n\r\nConfirm call (with `all_keys_required` passed as `true`)\r\n\r\nRequest (taking AuthorizeDotNet as connector)\r\n\r\n```\r\ncurl --location 'http://localhost:8080/payments/pay_MsmPKoZNKAk0zpoBuA5Z/confirm' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'all_keys_required: true' \\\r\n--header 'api-key: \u2022\u2022\u2022\u2022\u2022\u2022' \\\r\n--data '\r\n{\r\n \"connector\": [\"authorizedotnet\"],\r\n \"all_keys_required\": true,\r\n \"capture_method\": \"automatic\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"credit\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"370000000000002\",\r\n \"card_exp_month\": \"10\",\r\n \"card_exp_year\": \"25\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"card_cvc\": \"123\"\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_UHNVQh54xvuv97CixQVF\",\r\n \"merchant_id\": \"merchant_1746796056\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 35308,\r\n \"net_amount\": 35308,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 35308,\r\n \"connector\": \"authorizedotnet\",\r\n \"client_secret\": \"pay_UHNVQh54xvuv97CixQVF_secret_aUvQnXDaU6Op4uFuWHC1\",\r\n \"created\": \"2025-05-09T13:08:19.469Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"StripeCustomer\",\r\n \"customer\": {\r\n \"id\": \"StripeCustomer\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+1\"\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\": \"card\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"last4\": \"0000\",\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\": \"491761\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"10\",\r\n \"card_exp_year\": \"25\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"payment_checks\": null,\r\n \"authentication_data\": null\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": \"token_xZJ3bAv0dVvWBWpuYRga\",\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\": \"PiX\",\r\n \"last_name\": 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\": \"joseph\",\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\": \"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\": \"80040892370\",\r\n \"frm_message\": null,\r\n \"metadata\": null,\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"80040892370\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_NLQkgFo4oL87ujOInwp1\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_Bjt7NDYXrZmazh9Tdavu\",\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-05-09T13:23:19.469Z\",\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 \"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-05-09T13:18:33.486Z\",\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\": \"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 \"whole_connector_response\": \"{\\\"transactionResponse\\\":{\\\"responseCode\\\":\\\"1\\\",\\\"authCode\\\":\\\"140GJ4\\\",\\\"avsResultCode\\\":\\\"Y\\\",\\\"cvvResultCode\\\":\\\"P\\\",\\\"cavvResultCode\\\":\\\"2\\\",\\\"transId\\\":\\\"80040892370\\\",\\\"refTransID\\\":\\\"\\\",\\\"transHash\\\":\\\"\\\",\\\"testRequest\\\":\\\"0\\\",\\\"accountNumber\\\":\\\"XXXX0000\\\",\\\"accountType\\\":\\\"Visa\\\",\\\"messages\\\":[{\\\"code\\\":\\\"1\\\",\\\"description\\\":\\\"This transaction has been approved.\\\"}],\\\"transHashSha2\\\":\\\"EDD14C10BDDBD427B768E42099F1AF0D089221FA13F9CA55D8B6323C8449585476AFEE55B4A054EE7FD26F73D4B85EF147B0552F0DB4EE17F4F60F8FB16CA2B9\\\",\\\"SupplementalDataQualificationIndicator\\\":0,\\\"networkTransId\\\":\\\"Z9TSL0XISGMU542D7Z5TF0A\\\"},\\\"refId\\\":\\\"\\\",\\\"messages\\\":{\\\"resultCode\\\":\\\"Ok\\\",\\\"message\\\":[{\\\"code\\\":\\\"I00001\\\",\\\"text\\\":\\\"Successful.\\\"}]}}\"\r\n}\r\n```\r\n\r\nPsync:\r\n\r\nURL:\r\n\r\n```\r\n{{baseUrl}}/payments/:id?expand_captures=true&expand_attempts=true&all_keys_required=true\r\n```\r\n\r\nResponse:\r\n\r\n```\r\n{\r\n \"payment_id\": \"pay_UHNVQh54xvuv97CixQVF\",\r\n \"merchant_id\": \"merchant_1746796056\",\r\n \"status\": \"succeeded\",\r\n \"amount\": 35308,\r\n \"net_amount\": 35308,\r\n \"shipping_cost\": null,\r\n \"amount_capturable\": 0,\r\n \"amount_received\": 35308,\r\n \"connector\": \"authorizedotnet\",\r\n \"client_secret\": \"pay_UHNVQh54xvuv97CixQVF_secret_aUvQnXDaU6Op4uFuWHC1\",\r\n \"created\": \"2025-05-09T13:08:19.469Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"StripeCustomer\",\r\n \"customer\": {\r\n \"id\": \"StripeCustomer\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+1\"\r\n },\r\n \"description\": null,\r\n \"refunds\": null,\r\n \"disputes\": null,\r\n \"attempts\": [\r\n {\r\n \"attempt_id\": \"pay_UHNVQh54xvuv97CixQVF_1\",\r\n \"status\": \"charged\",\r\n \"amount\": 35308,\r\n \"order_tax_amount\": null,\r\n \"currency\": \"USD\",\r\n \"connector\": \"authorizedotnet\",\r\n \"error_message\": null,\r\n \"payment_method\": \"card\",\r\n \"connector_transaction_id\": \"80040892370\",\r\n \"capture_method\": \"automatic\",\r\n \"authentication_type\": \"three_ds\",\r\n \"created_at\": \"2025-05-09T13:08:19.470Z\",\r\n \"modified_at\": \"2025-05-09T13:18:33.485Z\",\r\n \"cancellation_reason\": null,\r\n \"mandate_id\": null,\r\n \"error_code\": null,\r\n \"payment_token\": \"token_xZJ3bAv0dVvWBWpuYRga\",\r\n \"connector_metadata\": {\r\n \"creditCard\": {\r\n \"cardNumber\": \"XXXX0000\",\r\n \"expirationDate\": \"XXXX\"\r\n }\r\n },\r\n \"payment_experience\": null,\r\n \"payment_method_type\": \"credit\",\r\n \"reference_id\": \"80040892370\",\r\n \"unified_code\": null,\r\n \"unified_message\": null,\r\n \"client_source\": null,\r\n \"client_version\": null\r\n }\r\n ],\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\": \"0000\",\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\": \"491761\",\r\n \"card_extended_bin\": null,\r\n \"card_exp_month\": \"10\",\r\n \"card_exp_year\": \"25\",\r\n \"card_holder_name\": \"joseph Doe\",\r\n \"payment_checks\": null,\r\n \"authentication_data\": null\r\n },\r\n \"billing\": null\r\n },\r\n \"payment_token\": \"token_xZJ3bAv0dVvWBWpuYRga\",\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\": \"PiX\",\r\n \"last_name\": 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\": \"joseph\",\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\": \"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\": \"80040892370\",\r\n \"frm_message\": null,\r\n \"metadata\": null,\r\n \"connector_metadata\": null,\r\n \"feature_metadata\": null,\r\n \"reference_id\": \"80040892370\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_NLQkgFo4oL87ujOInwp1\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_Bjt7NDYXrZmazh9Tdavu\",\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-05-09T13:23:19.469Z\",\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 \"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-05-09T13:19:32.525Z\",\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\": \"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 \"whole_connector_response\": \"{\\\"transaction\\\":{\\\"transId\\\":\\\"80040892370\\\",\\\"submitTimeUTC\\\":\\\"2025-05-09T13:18:33.043Z\\\",\\\"submitTimeLocal\\\":\\\"2025-05-09T06:18:33.043\\\",\\\"transactionType\\\":\\\"authCaptureTransaction\\\",\\\"transactionStatus\\\":\\\"capturedPendingSettlement\\\",\\\"responseCode\\\":1,\\\"responseReasonCode\\\":1,\\\"responseReasonDescription\\\":\\\"Approval\\\",\\\"authCode\\\":\\\"140GJ4\\\",\\\"AVSResponse\\\":\\\"Y\\\",\\\"cardCodeResponse\\\":\\\"P\\\",\\\"order\\\":{\\\"description\\\":\\\"pay_UHNVQh54xvuv97CixQVF_1\\\",\\\"discountAmount\\\":0.0,\\\"taxIsAfterDiscount\\\":false},\\\"authAmount\\\":353.08,\\\"settleAmount\\\":353.08,\\\"taxExempt\\\":false,\\\"payment\\\":{\\\"creditCard\\\":{\\\"cardNumber\\\":\\\"XXXX0000\\\",\\\"expirationDate\\\":\\\"XXXX\\\",\\\"cardType\\\":\\\"Visa\\\"}},\\\"billTo\\\":{\\\"firstName\\\":\\\"joseph\\\",\\\"lastName\\\":\\\"Doe\\\",\\\"address\\\":\\\"1467\\\",\\\"city\\\":\\\"San Fransico\\\",\\\"state\\\":\\\"California\\\",\\\"zip\\\":\\\"94122\\\",\\\"country\\\":\\\"US\\\"},\\\"recurringBilling\\\":false,\\\"customerIP\\\":\\\"110.227.219.118\\\",\\\"product\\\":\\\"Card Not Present\\\",\\\"marketType\\\":\\\"eCommerce\\\",\\\"networkTransId\\\":\\\"Z9TSL0XISGMU542D7Z5TF0A\\\",\\\"authorizationIndicator\\\":\\\"final\\\"},\\\"messages\\\":{\\\"resultCode\\\":\\\"Ok\\\",\\\"message\\\":[{\\\"code\\\":\\\"I00001\\\",\\\"text\\\":\\\"Successful.\\\"}]}}\"\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": "Anurag-05-prog",
|
| 6 |
+
"created_at": "2025-05-09T13:20:44+00:00",
|
| 7 |
+
"merged_at": "2025-05-19T14:00:36+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"M-api-contract-changes"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/7998",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "d680cf5ad698f27d28cd352f6bae24056b094c90",
|
| 16 |
+
"message": "feat(core): add all_keys_required in confirm and psync payload",
|
| 17 |
+
"author": "Anurag Singh",
|
| 18 |
+
"date": "2025-05-09T13:00:51+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/d680cf5ad698f27d28cd352f6bae24056b094c90"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "66ee3acff5b8d9ace07d5b1ef8011c92c5071154",
|
| 23 |
+
"message": "Merge remote-tracking branch 'origin/main' into whole-connector-response",
|
| 24 |
+
"author": "Anurag Singh",
|
| 25 |
+
"date": "2025-05-10T15:55:47+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/66ee3acff5b8d9ace07d5b1ef8011c92c5071154"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"sha": "a3fdcd811a9045770d4a5e05205e51260cb86c1a",
|
| 30 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 31 |
+
"author": "hyperswitch-bot[bot]",
|
| 32 |
+
"date": "2025-05-10T16:01:59+00:00",
|
| 33 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a3fdcd811a9045770d4a5e05205e51260cb86c1a"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"sha": "31a31a635b2ccc737de336f85794b80337eac5bb",
|
| 37 |
+
"message": "fix: just clippy_v2 errors",
|
| 38 |
+
"author": "Anurag Singh",
|
| 39 |
+
"date": "2025-05-10T19:00:17+00:00",
|
| 40 |
+
"url": "https://github.com/juspay/hyperswitch/commit/31a31a635b2ccc737de336f85794b80337eac5bb"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"sha": "ae2e6a20b5220d18d62da11aee4f90c85b589bc0",
|
| 44 |
+
"message": "fix: resolve just clippy_v2 errors",
|
| 45 |
+
"author": "Anurag Singh",
|
| 46 |
+
"date": "2025-05-12T11:40:43+00:00",
|
| 47 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ae2e6a20b5220d18d62da11aee4f90c85b589bc0"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"sha": "36a70aec6244ad2a9806f96b77ba2c55306bf7a2",
|
| 51 |
+
"message": "Merge remote-tracking branch 'origin/main' into whole-connector-response",
|
| 52 |
+
"author": "Anurag Singh",
|
| 53 |
+
"date": "2025-05-19T09:04:09+00:00",
|
| 54 |
+
"url": "https://github.com/juspay/hyperswitch/commit/36a70aec6244ad2a9806f96b77ba2c55306bf7a2"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"sha": "ddb56976e24ac015bea9237d3625ab7202b7f51e",
|
| 58 |
+
"message": "Merge remote-tracking branch 'origin/main' into whole-connector-response",
|
| 59 |
+
"author": "Anurag Singh",
|
| 60 |
+
"date": "2025-05-19T11:23:18+00:00",
|
| 61 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ddb56976e24ac015bea9237d3625ab7202b7f51e"
|
| 62 |
+
}
|
| 63 |
+
]
|
| 64 |
+
}
|
prs/pr_8028.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 8028,
|
| 3 |
+
"title": "chore: Move async-bb8-diesel crate to crates.io version",
|
| 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\nChanged `async-bb8-diesel crate from custom [fork](https://github.com/jarnura/async-bb8-diesel) to crates.io [version](https://github.com/oxidecomputer/async-bb8-diesel)\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\nCloses #8026 \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\nRan clippy and tested multiple endpoints in the `router` binary\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": "AnuthaDev",
|
| 6 |
+
"created_at": "2025-05-14T10:53:34+00:00",
|
| 7 |
+
"merged_at": "2025-05-15T12:05:55+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-dependencies",
|
| 11 |
+
"A-framework"
|
| 12 |
+
],
|
| 13 |
+
"url": "https://github.com/juspay/hyperswitch/pull/8028",
|
| 14 |
+
"commits": [
|
| 15 |
+
{
|
| 16 |
+
"sha": "22e15212ef712b7bd0c4def64ef0a8cd5cb98646",
|
| 17 |
+
"message": "chore: Move async-bb8-diesel crate to crates.io version",
|
| 18 |
+
"author": "Anurag Thakur",
|
| 19 |
+
"date": "2025-05-14T08:52:17+00:00",
|
| 20 |
+
"url": "https://github.com/juspay/hyperswitch/commit/22e15212ef712b7bd0c4def64ef0a8cd5cb98646"
|
| 21 |
+
}
|
| 22 |
+
]
|
| 23 |
+
}
|
prs/pr_8132.json
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 8132,
|
| 3 |
+
"title": "feat(router): add three_ds_decision_rule support in routing apis",
|
| 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 three_ds_decision_rule support in routing apis\r\n\r\nThis pull request introduces support for a new `ThreeDsDecisionRule` routing algorithm and a corresponding `ThreeDsAuthentication` transaction type, while also implementing validation and error handling for these additions. The changes span multiple files and include updates to enums, structs, and core routing logic.\r\n\r\n### Additions to Routing Algorithm and Transaction Type\r\n\r\n* Added `ThreeDsDecisionRule` to `RoutingAlgorithmKind` and `RoutingAlgorithm`, along with a validation method to determine if connectors should be validated for this algorithm. (`crates/api_models/src/routing.rs`, [[1]](diffhunk://#diff-6eb6e93a94555e904f304999acc96ab6125769971da9ec3dcbb30d5912b4fc45R306) [[2]](diffhunk://#diff-6eb6e93a94555e904f304999acc96ab6125769971da9ec3dcbb30d5912b4fc45R329-R338)\r\n* Introduced `ThreeDsAuthentication` to `TransactionType` with a helper method `is_three_ds_authentication` for type checks. (`crates/common_enums/src/enums.rs`, [crates/common_enums/src/enums.rsR7232-R7238](diffhunk://#diff-955707712c9bdbbd986dc29a9dd001579001580cf0a65e286ac8a2a25a2a49f2R7232-R7238))\r\n\r\n### Updates to Routing Logic\r\n\r\n* Modified routing-related functions to handle the new `ThreeDsDecisionRule` algorithm and `ThreeDsAuthentication` transaction type, including validation and error handling. (`crates/router/src/core/routing.rs`, [[1]](diffhunk://#diff-d5e8699013fe33212f63d552ecebf1c6a9ab1c0f3aa36662702a7426bcb8cee2L148-R156) [[2]](diffhunk://#diff-d5e8699013fe33212f63d552ecebf1c6a9ab1c0f3aa36662702a7426bcb8cee2R331) [[3]](diffhunk://#diff-d5e8699013fe33212f63d552ecebf1c6a9ab1c0f3aa36662702a7426bcb8cee2L852-R855)\r\n* Updated routing cache logic to exclude `ThreeDsAuthentication` from cache invalidation. (`crates/router/src/core/routing/helpers.rs`, [crates/router/src/core/routing/helpers.rsR269-R284](diffhunk://#diff-ea48d33e52b2cb7edbbba1d236b55f946fdb2c178f8c76f4226818b3630c4658R269-R284))\r\n\r\n### Error Handling Enhancements\r\n\r\n* Added new error types, such as `InvalidTransactionType` and `InvalidRoutingAlgorithmStructure`, to manage unsupported scenarios. (`crates/router/src/core/errors.rs`, [crates/router/src/core/errors.rsR387-R388](diffhunk://#diff-8df7200d52ca866d681cea17f2bd2387674aa34b63eff8d46eb8a7ba8b1d6738R387-R388))\r\n\r\n### Struct and Enum Extensions\r\n\r\n* Extended routing-related structs to include `transaction_type` as an optional field for better configurability. (`crates/api_models/src/routing.rs`, [[1]](diffhunk://#diff-6eb6e93a94555e904f304999acc96ab6125769971da9ec3dcbb30d5912b4fc45R66) [[2]](diffhunk://#diff-6eb6e93a94555e904f304999acc96ab6125769971da9ec3dcbb30d5912b4fc45R80-R91)\r\n* Updated `RoutingAlgorithmSerde` to support serialization and deserialization of the `ThreeDsDecisionRule` algorithm. (`crates/api_models/src/routing.rs`, [crates/api_models/src/routing.rsR348](diffhunk://#diff-6eb6e93a94555e904f304999acc96ab6125769971da9ec3dcbb30d5912b4fc45R348))\r\n\r\n### Validation and Helper Updates\r\n\r\n* Enhanced validation logic to handle the new algorithm and transaction type, ensuring unsupported configurations are rejected. (`crates/router/src/core/routing/helpers.rs`, [crates/router/src/core/routing/helpers.rsR568-R572](diffhunk://#diff-ea48d33e52b2cb7edbbba1d236b55f946fdb2c178f8c76f4226818b3630c4658R568-R572))\r\n* Added a default configuration key for `ThreeDsAuthentication` in helper functions. (`crates/router/src/core/routing/helpers.rs`, [crates/router/src/core/routing/helpers.rsR594-R596](diffhunk://#diff-ea48d33e52b2cb7edbbba1d236b55f946fdb2c178f8c76f4226818b3630c4658R594-R596))\r\n\r\n### Additional Changes\r\n\r\n- [x] This PR modifies the API contract\r\n- [x] 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\nTested Manually\r\n1. Static routing (rule based) sanity \r\n\r\n2. Create Three DS Deicison rule using routing create config api\r\n\r\n**CURL**\r\n```\r\ncurl --location '{{BASE_URL}}/routing' \\\r\n--header 'api-key: {{API_KEY}}' \\\r\n--header 'Content-Type: application/json' \\\r\n--data '{\r\n \"name\": \"Three DS Decision Rule for exemption\",\r\n \"description\": \"This is a three_ds_decision_rule\",\r\n \"profile_id\": \"pro_grHb38qPPHB61ZxZQL4f\",\r\n \"transaction_type\": \"three_ds_authentication\",\r\n \"algorithm\": {\r\n \"type\": \"three_ds_decision_rule\",\r\n \"data\": {\r\n \"defaultSelection\": {\r\n \"decision\": \"no_three_ds\"\r\n },\r\n \"rules\": [\r\n {\r\n \"name\": \"rule_1\",\r\n \"connectorSelection\": {\r\n \"decision\": \"challenge_requested\"\r\n },\r\n \"statements\": [\r\n {\r\n \"condition\": [\r\n {\r\n \"lhs\": \"issuer_country\",\r\n \"comparison\": \"equal\",\r\n \"value\": {\r\n \"type\": \"enum_variant\",\r\n \"value\": \"Switzerland\"\r\n },\r\n \"metadata\": {}\r\n },\r\n {\r\n \"lhs\": \"acquirer_country\",\r\n \"comparison\": \"equal\",\r\n \"value\": {\r\n \"type\": \"enum_variant\",\r\n \"value\": \"Switzerland\"\r\n },\r\n \"metadata\": {}\r\n }\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 \"id\": \"routing_apyFo6xRDVwBgIM2xzqh\",\r\n \"profile_id\": \"pro_grHb38qPPHB61ZxZQL4f\",\r\n \"name\": \"Three DS Decision Rule for exemption\",\r\n \"kind\": \"three_ds_decision_rule\",\r\n \"description\": \"This is a three_ds_decision_rule\",\r\n \"created_at\": 1748119944,\r\n \"modified_at\": 1748119944,\r\n \"algorithm_for\": \"three_ds_authentication\",\r\n \"decision_engine_routing_id\": null\r\n}\r\n```\r\n\r\n3. Activate the Three DS decision rule using activate api\r\n\r\n**CURL**\r\n```\r\ncurl --location '{{BASE_URL}}/routing/routing_apyFo6xRDVwBgIM2xzqh/activate' \\\r\n--header 'api-key: {{API_KEY}}' \\\r\n--header 'Content-Type: application/json' \\\r\n--data '{\r\n \"transaction_type\": \"three_ds_authentication\"\r\n}'\r\n```\r\n\r\nResponse\r\n```\r\n{\r\n \"id\": \"routing_apyFo6xRDVwBgIM2xzqh\",\r\n \"profile_id\": \"pro_grHb38qPPHB61ZxZQL4f\",\r\n \"name\": \"Three DS Decision Rule for exemption\",\r\n \"kind\": \"three_ds_decision_rule\",\r\n \"description\": \"This is a three_ds_decision_rule\",\r\n \"created_at\": 1748119944,\r\n \"modified_at\": 1748119944,\r\n \"algorithm_for\": \"three_ds_authentication\",\r\n \"decision_engine_routing_id\": null\r\n}\r\n```\r\n\r\nBusiness Profile DB to verify the value of three_ds_decision_algorithm\r\n\r\n<img width=\"865\" alt=\"image\" src=\"https://github.com/user-attachments/assets/79228567-2c36-4d79-b157-ded84790f758\" />\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-05-25T10:55:31+00:00",
|
| 7 |
+
"merged_at": "2025-05-30T14:04:43+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-core",
|
| 11 |
+
"C-feature",
|
| 12 |
+
"M-database-changes",
|
| 13 |
+
"M-api-contract-changes",
|
| 14 |
+
"A-routing"
|
| 15 |
+
],
|
| 16 |
+
"url": "https://github.com/juspay/hyperswitch/pull/8132",
|
| 17 |
+
"commits": [
|
| 18 |
+
{
|
| 19 |
+
"sha": "05942dcc4a4ca7715515895f83c815eab6d49afb",
|
| 20 |
+
"message": "feat: add three_ds_decision_rule_algorithm to the domain and diesel models of business_profile",
|
| 21 |
+
"author": "sai-harsha-vardhan",
|
| 22 |
+
"date": "2025-05-21T19:21:12+00:00",
|
| 23 |
+
"url": "https://github.com/juspay/hyperswitch/commit/05942dcc4a4ca7715515895f83c815eab6d49afb"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"sha": "a6c55538570eafd0070c9398ba96113f32856aeb",
|
| 27 |
+
"message": "fix: migrations for v2",
|
| 28 |
+
"author": "sai-harsha-vardhan",
|
| 29 |
+
"date": "2025-05-21T19:46:37+00:00",
|
| 30 |
+
"url": "https://github.com/juspay/hyperswitch/commit/a6c55538570eafd0070c9398ba96113f32856aeb"
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"sha": "e2b28bdadea9aecc52d8b7489f167ae29e026fc7",
|
| 34 |
+
"message": "feat: add three_ds_decision_rule support in routing apis",
|
| 35 |
+
"author": "sai-harsha-vardhan",
|
| 36 |
+
"date": "2025-05-25T10:51:42+00:00",
|
| 37 |
+
"url": "https://github.com/juspay/hyperswitch/commit/e2b28bdadea9aecc52d8b7489f167ae29e026fc7"
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"sha": "4b4bcb00877bb68d2bd6b81382febbc1472c1c5b",
|
| 41 |
+
"message": "chore: resolve conflicts",
|
| 42 |
+
"author": "sai-harsha-vardhan",
|
| 43 |
+
"date": "2025-05-25T11:11:55+00:00",
|
| 44 |
+
"url": "https://github.com/juspay/hyperswitch/commit/4b4bcb00877bb68d2bd6b81382febbc1472c1c5b"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"sha": "6b95782b1b06db5292ec1876394dc69db12d14ea",
|
| 48 |
+
"message": "fix: clippy v2 and openapi spec",
|
| 49 |
+
"author": "sai-harsha-vardhan",
|
| 50 |
+
"date": "2025-05-26T07:39:33+00:00",
|
| 51 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6b95782b1b06db5292ec1876394dc69db12d14ea"
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"sha": "ff41603e7a8197c85b6dc9b53f6ee81bd5f0c2ac",
|
| 55 |
+
"message": "docs(openapi): re-generate OpenAPI specification",
|
| 56 |
+
"author": "hyperswitch-bot[bot]",
|
| 57 |
+
"date": "2025-05-26T07:45:43+00:00",
|
| 58 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ff41603e7a8197c85b6dc9b53f6ee81bd5f0c2ac"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"sha": "ef0e148dad65b44ea61458287f6e6973737656f5",
|
| 62 |
+
"message": "fix: openapi spec",
|
| 63 |
+
"author": "sai-harsha-vardhan",
|
| 64 |
+
"date": "2025-05-26T08:39:36+00:00",
|
| 65 |
+
"url": "https://github.com/juspay/hyperswitch/commit/ef0e148dad65b44ea61458287f6e6973737656f5"
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"sha": "06007cd9bdb742cea158497ee5dfa90981d86927",
|
| 69 |
+
"message": "chore: resolve conflicts",
|
| 70 |
+
"author": "sai-harsha-vardhan",
|
| 71 |
+
"date": "2025-05-26T08:40:38+00:00",
|
| 72 |
+
"url": "https://github.com/juspay/hyperswitch/commit/06007cd9bdb742cea158497ee5dfa90981d86927"
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"sha": "9f7270b4c91299e3cd3d210893c0022fb5f173cc",
|
| 76 |
+
"message": "Merge branch 'main' into add-three-ds-decision-rule-in-routing-apis",
|
| 77 |
+
"author": "Sai Harsha Vardhan",
|
| 78 |
+
"date": "2025-05-26T09:56:03+00:00",
|
| 79 |
+
"url": "https://github.com/juspay/hyperswitch/commit/9f7270b4c91299e3cd3d210893c0022fb5f173cc"
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"sha": "bc747a77336ffa70a014e68226a09f82989f9cb0",
|
| 83 |
+
"message": "fix: conflicts",
|
| 84 |
+
"author": "sai-harsha-vardhan",
|
| 85 |
+
"date": "2025-05-28T12:26:41+00:00",
|
| 86 |
+
"url": "https://github.com/juspay/hyperswitch/commit/bc747a77336ffa70a014e68226a09f82989f9cb0"
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"sha": "f46900239eeb4685bc25255652482c6411a7d9ac",
|
| 90 |
+
"message": "Merge branch 'main' into add-three-ds-decision-rule-in-routing-apis",
|
| 91 |
+
"author": "Sai Harsha Vardhan",
|
| 92 |
+
"date": "2025-05-28T15:19:40+00:00",
|
| 93 |
+
"url": "https://github.com/juspay/hyperswitch/commit/f46900239eeb4685bc25255652482c6411a7d9ac"
|
| 94 |
+
}
|
| 95 |
+
]
|
| 96 |
+
}
|
prs/pr_8141.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number": 8141,
|
| 3 |
+
"title": "refactor(debit_routing): Handle missing merchant_business_country by defaulting to US",
|
| 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\n<!-- Describe your changes in detail -->\r\nIf the business profile does not have a country set, we cannot perform debit routing, because the merchant_business_country will be treated as the acquirer_country, which is used to determine whether a transaction is local or global in the open router. For now, since debit routing is only implemented for USD, we can safely assume the acquirer_country is US if not provided by the merchant.\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-> Update the business profile to set is_debit_routing_enabled to true whereas the merchant_business_country will still be null.\r\n```\r\ncurl --location 'http://localhost:8080/account/merchant_1748264799/business_profile/pro_15JiSFiM9m6TM3yuxgMI' \\\r\n--header 'Content-Type: application/json' \\\r\n--header 'Accept: application/json' \\\r\n--header 'api-key: ' \\\r\n--data '{\r\n \"is_debit_routing_enabled\": true\r\n}'\r\n```\r\n```\r\n{\r\n \"merchant_id\": \"merchant_1748264799\",\r\n \"profile_id\": \"pro_15JiSFiM9m6TM3yuxgMI\",\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\": \"5l7IJEsRsndG8yfoTGMsbnnxXAfRwjIMYBo2wbA1MMcGekcbTNn9tH3KueaXAjQJ\",\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 \"is_debit_routing_enabled\": true,\r\n \"merchant_business_country\": null,\r\n \"is_pre_network_tokenization_enabled\": false\r\n}\r\n```\r\n-> Make a payment and it should go through debit routing flow\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 'x-tenant-id: hyperswitch' \\\r\n--header 'api-key: ' \\\r\n--data-raw '{\r\n \"amount\": 100,\r\n \"amount_to_capture\": 100,\r\n \"currency\": \"USD\",\r\n \"confirm\": true,\r\n \"capture_method\": \"automatic\",\r\n \"setup_future_usage\": \"on_session\",\r\n \"capture_on\": \"2022-09-10T10:11:12Z\",\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 \"customer_id\": \"cu_1747729092\",\r\n \"return_url\": \"http://127.0.0.1:4040\",\r\n \"payment_method\": \"card\",\r\n \"payment_method_type\": \"debit\",\r\n \"payment_method_data\": {\r\n \"card\": {\r\n \"card_number\": \"4400002000000004\",\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 \"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\",\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 \"email\": \"raj@gmail.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\": \"US\",\r\n \"first_name\": \"PiX\"\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 \"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\n{\r\n \"payment_id\": \"pay_bUuuAvxcM8GZyiXUK01M\",\r\n \"merchant_id\": \"merchant_1748264799\",\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\": \"adyen\",\r\n \"client_secret\": \"pay_bUuuAvxcM8GZyiXUK01M_secret_kpTGYz66ll5bYgWZdfzK\",\r\n \"created\": \"2025-05-26T13:09:15.219Z\",\r\n \"currency\": \"USD\",\r\n \"customer_id\": \"cu_1747729092\",\r\n \"customer\": {\r\n \"id\": \"cu_1747729092\",\r\n \"name\": \"John Doe\",\r\n \"email\": \"guest@example.com\",\r\n \"phone\": \"999999999\",\r\n \"phone_country_code\": \"+1\"\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\": \"0004\",\r\n \"card_type\": \"DEBIT\",\r\n \"card_network\": \"Accel\",\r\n \"card_issuer\": \"Wells Fargo Bank\",\r\n \"card_issuing_country\": \"UNITEDSTATES\",\r\n \"card_isin\": \"440000\",\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\": 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\": \"PiX\",\r\n \"last_name\": null\r\n },\r\n \"phone\": null,\r\n \"email\": null\r\n },\r\n \"billing\": {\r\n \"address\": {\r\n \"city\": \"San\",\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\": \"raj@gmail.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\": \"http://127.0.0.1:4040/\",\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\": \"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\": {\r\n \"customer_id\": \"cu_1747729092\",\r\n \"created_at\": 1748264955,\r\n \"expires\": 1748268555,\r\n \"secret\": \"epk_4f3cb7ba24a7432e9524c958ba3e167c\"\r\n },\r\n \"manual_retry_allowed\": false,\r\n \"connector_transaction_id\": \"K7ZPG2FFPZBK6R65\",\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_bUuuAvxcM8GZyiXUK01M_1\",\r\n \"payment_link\": null,\r\n \"profile_id\": \"pro_15JiSFiM9m6TM3yuxgMI\",\r\n \"surcharge_details\": null,\r\n \"attempt_count\": 1,\r\n \"merchant_decision\": null,\r\n \"merchant_connector_id\": \"mca_2VuIwuvgf5y58mK3873Q\",\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-05-26T13:24:15.219Z\",\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\": null,\r\n \"payment_method_status\": null,\r\n \"updated\": \"2025-05-26T13:09:16.661Z\",\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\": \"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}\r\n```\r\n-> decision engine logs showing `acquirer_country` being considered US by default\r\n<img width=\"1175\" alt=\"image\" src=\"https://github.com/user-attachments/assets/44e4174a-18d5-4c32-9230-67cc8319861f\" />\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": "2025-05-26T11:30:40+00:00",
|
| 7 |
+
"merged_at": "2025-05-28T06:51:44+00:00",
|
| 8 |
+
"base_branch": "main",
|
| 9 |
+
"labels": [
|
| 10 |
+
"A-routing"
|
| 11 |
+
],
|
| 12 |
+
"url": "https://github.com/juspay/hyperswitch/pull/8141",
|
| 13 |
+
"commits": [
|
| 14 |
+
{
|
| 15 |
+
"sha": "752d9a728bb347c70197c39c242f5d049ecca56e",
|
| 16 |
+
"message": "feat(debit_routing): Handle missing merchant_business_country by defaulting to US",
|
| 17 |
+
"author": "Shankar Singh C",
|
| 18 |
+
"date": "2025-05-26T11:25:58+00:00",
|
| 19 |
+
"url": "https://github.com/juspay/hyperswitch/commit/752d9a728bb347c70197c39c242f5d049ecca56e"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"sha": "6b6faccbdc21f15cc1842ac5c0f10bc57165f46c",
|
| 23 |
+
"message": "chore: run formatter",
|
| 24 |
+
"author": "hyperswitch-bot[bot]",
|
| 25 |
+
"date": "2025-05-26T12:27:04+00:00",
|
| 26 |
+
"url": "https://github.com/juspay/hyperswitch/commit/6b6faccbdc21f15cc1842ac5c0f10bc57165f46c"
|
| 27 |
+
}
|
| 28 |
+
]
|
| 29 |
+
}
|