Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
feat(gsm): Add GSM data import to database in Cypress test workflow (#10853)
Ayush Anandac1249cfe0f9
diff --git a/.github/data/gateway_status_map.csv b/.github/data/gateway_status_map.csvnew file mode 100644index 0000000000..576bba2da1--- /dev/null+++ b/.github/data/gateway_status_map.csv@@ -0,0 +1,9 @@+connector,flow,sub_flow,code,message,status,router_error,decision,created_at,last_modified,step_up_possible,unified_code,unified_message,error_category,clear_pan_possible,feature_data,feature,standardised_code,description,user_guidance_message+adyen,Payment,Authorize,2,Refused,failure,,retry,2025-12-08 14:59:10,2026-01-05 18:50:40,FALSE,UE_3000,Technical issue with PSP,issue_with_payment_method,FALSE,"{""retry"": {""decision"": ""retry"", ""step_up_possible"": false, ""clear_pan_possible"": false, ""alternate_network_possible"": false}}",retry,psp_acquirer_error,Temporary acquirer internal error,Something went wrong. Try again or contact your bank+adyen,Payment,CompleteAuthorize,2,Refused,failure,,retry,2025-12-08 15:04:35,2026-01-05 18:50:41,FALSE,UE_3000,Technical issue with PSP,issue_with_payment_method,FALSE,"{""retry"": {""decision"": ""retry"", ""step_up_possible"": false, ""clear_pan_possible"": false, ""alternate_network_possible"": false}}",retry,psp_acquirer_error,Temporary acquirer internal error,Something went wrong. Try again or contact your bank+adyen,Payment,PSync,2,Refused,failure,,retry,2025-12-08 15:01:32,2026-01-05 18:50:40,FALSE,UE_3000,Technical issue with PSP,issue_with_payment_method,FALSE,"{""retry"": {""decision"": ""retry"", ""step_up_possible"": false, ""clear_pan_possible"": false, ""alternate_network_possible"": false}}",retry,psp_acquirer_error,Temporary acquirer internal error,Something went wrong. Try again or contact your bank+adyen,Payment,SetupMandate,2,Refused,failure,,retry,2025-12-08 15:03:03,2026-01-05 18:50:40,FALSE,UE_3000,Technical issue with PSP,issue_with_payment_method,FALSE,"{""retry"": {""decision"": ""retry"", ""step_up_possible"": false, ""clear_pan_possible"": false, ""alternate_network_possible"": false}}",retry,psp_acquirer_error,Temporary acquirer internal error,Something went wrong. Try again or contact your bank+stripe,Payment,Authorize,card_declined,Your card was declined.,failure,,do_default,2025-12-02 13:36:57,2026-01-05 19:13:24,FALSE,UE_1000,Issue with Payment Method details,,FALSE,"{""retry"": {""decision"": ""do_default"", ""step_up_possible"": false, ""clear_pan_possible"": false, ""alternate_network_possible"": false}}",retry,payment_method_issue,Issue with Payment Method details,Issue with Payment Method details+stripe,Payment,CompleteAuthorize,card_declined,Your card was declined.,failure,,do_default,2025-12-08 18:00:44,2026-01-05 19:13:25,FALSE,UE_1000,Issue with Payment Method details,,FALSE,"{""retry"": {""decision"": ""do_default"", ""step_up_possible"": false, ""clear_pan_possible"": false, ""alternate_network_possible"": false}}",retry,payment_method_issue,Issue with Payment Method details,Issue with Payment Method details+stripe,Payment,PSync,card_declined,Your card was declined.,failure,,do_default,2025-12-02 13:39:08,2026-01-05 19:13:24,FALSE,UE_1000,Issue with Payment Method details,,FALSE,"{""retry"": {""decision"": ""do_default"", ""step_up_possible"": false, ""clear_pan_possible"": false, ""alternate_network_possible"": false}}",retry,payment_method_issue,Issue with Payment Method details,Issue with Payment Method details+stripe,Payment,SetupMandate,card_declined,Your card was declined.,failure,,do_default,2025-12-02 13:40:40,2026-01-05 19:13:24,FALSE,UE_1000,Issue with Payment Method details,,FALSE,"{""retry"": {""decision"": ""do_default"", ""step_up_possible"": false, ""clear_pan_possible"": false, ""alternate_network_possible"": false}}",retry,payment_method_issue,Issue with Payment Method details,Issue with Payment Method details\ No newline at end of filediff --git a/.github/workflows/cypress-tests-runner.yml b/.github/workflows/cypress-tests-runner.ymlindex b620cd82c7..8d68288d5c 100644--- a/.github/workflows/cypress-tests-runner.yml+++ b/.github/workflows/cypress-tests-runner.yml@@ -252,6 +252,11 @@ jobs:run: |PGPASSWORD=db_pass psql --host=localhost --port=5432 --username=db_user --dbname=hyperswitch_db --command "\copy cards_info FROM '.github/data/cards_info.csv' DELIMITER ',' CSV HEADER;"+ - name: Insert GSM info into the database+ if: ${{ env.RUN_TESTS == 'true' }}+ run: |+ PGPASSWORD=db_pass psql --host=localhost --port=5432 --username=db_user --dbname=hyperswitch_db --command "\copy gateway_status_map FROM '.github/data/gateway_status_map.csv' DELIMITER ',' CSV HEADER;"+- name: Setup Local Serverif: ${{ env.RUN_TESTS == 'true' }}env:@@ -401,6 +406,11 @@ jobs:run: |PGPASSWORD=db_pass psql --host=localhost --port=5432 --username=db_user --dbname=hyperswitch_db --command "\copy cards_info FROM '.github/data/cards_info.csv' DELIMITER ',' CSV HEADER;"+ - name: Insert GSM info into the database+ if: ${{ env.RUN_TESTS == 'true' }}+ run: |+ PGPASSWORD=db_pass psql --host=localhost --port=5432 --username=db_user --dbname=hyperswitch_db --command "\copy gateway_status_map FROM '.github/data/gateway_status_map.csv' DELIMITER ',' CSV HEADER;"+- name: Start mock servers for alpha connectorsif: ${{ env.RUN_TESTS == 'true' }}run: |@@ -628,6 +638,11 @@ jobs:run: |PGPASSWORD=db_pass psql --host=localhost --port=5432 --username=db_user --dbname=hyperswitch_db --command "\copy cards_info FROM '.github/data/cards_info.csv' DELIMITER ',' CSV HEADER;"+ - name: Insert GSM info into the database+ if: ${{ env.RUN_TESTS == 'true' }}+ run: |+ PGPASSWORD=db_pass psql --host=localhost --port=5432 --username=db_user --dbname=hyperswitch_db --command "\copy gateway_status_map FROM '.github/data/gateway_status_map.csv' DELIMITER ',' CSV HEADER;"+- name: Build projectif: ${{ env.RUN_TESTS == 'true' }}env:diff --git a/cypress-tests/cypress/e2e/configs/Payment/Adyen.js b/cypress-tests/cypress/e2e/configs/Payment/Adyen.jsindex f27d301e45..34e5ab5a19 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Adyen.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Adyen.js@@ -192,8 +192,8 @@ export const connectorDetails = {status: "failed",error_code: "2",error_message: "Refused",- unified_code: "UE_9000",- unified_message: "Something went wrong",+ unified_code: "UE_3000",+ unified_message: "Technical issue with PSP",},},},diff --git a/cypress-tests/cypress/e2e/configs/Payment/Stripe.js b/cypress-tests/cypress/e2e/configs/Payment/Stripe.jsindex 8db123f26c..fa506dc937 100644--- a/cypress-tests/cypress/e2e/configs/Payment/Stripe.js+++ b/cypress-tests/cypress/e2e/configs/Payment/Stripe.js@@ -296,8 +296,8 @@ export const connectorDetails = {error_code: "card_declined",error_message:"message - Your card was declined., decline_code - generic_decline",- unified_code: "UE_9000",- unified_message: "Something went wrong",+ unified_code: "UE_1000",+ unified_message: "Issue with Payment Method details",},},},