Skip to content

feat(connector): [Shift4] Enhance error mapping to support issuer error codes#10748

Merged
likhinbopanna merged 1 commit into
mainfrom
enhancement/issuer-error-mapping
Dec 23, 2025
Merged

feat(connector): [Shift4] Enhance error mapping to support issuer error codes#10748
likhinbopanna merged 1 commit into
mainfrom
enhancement/issuer-error-mapping

Conversation

@Anurag-05-prog

@Anurag-05-prog Anurag-05-prog commented Dec 19, 2025

Copy link
Copy Markdown
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Closes this issue

Description

Enhanced error mapping to support issuer error codes

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Not able to test as none of the card numbers in this documentation is resulting into issuer decline error.

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

@Anurag-05-prog Anurag-05-prog self-assigned this Dec 19, 2025
@Anurag-05-prog Anurag-05-prog requested a review from a team as a code owner December 19, 2025 18:06
@semanticdiff-com

semanticdiff-com Bot commented Dec 19, 2025

Copy link
Copy Markdown

Review changes with  SemanticDiff

Changed Files
File Status
  crates/hyperswitch_connectors/src/connectors/shift4.rs  0% smaller
  crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs  0% smaller

@Anurag-05-prog Anurag-05-prog linked an issue Dec 19, 2025 that may be closed by this pull request
2 tasks
@Anurag-05-prog Anurag-05-prog changed the title enhancement(connector): [Shift4] Enhance error mapping to support issuer error codes enhance(connector): [Shift4] Enhance error mapping to support issuer error codes Dec 19, 2025
@Anurag-05-prog Anurag-05-prog changed the title enhance(connector): [Shift4] Enhance error mapping to support issuer error codes feat(connector): [Shift4] Enhance error mapping to support issuer error codes Dec 19, 2025
@codecov

codecov Bot commented Dec 19, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@b6e3ac8). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...es/hyperswitch_connectors/src/connectors/shift4.rs 0.00% 4 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10748   +/-   ##
=======================================
  Coverage        ?    6.39%           
=======================================
  Files           ?     1263           
  Lines           ?   317486           
  Branches        ?        0           
=======================================
  Hits            ?    20305           
  Misses          ?   297181           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@likhinbopanna likhinbopanna added this pull request to the merge queue Dec 23, 2025
Merged via the queue into main with commit 644762d Dec 23, 2025
36 of 39 checks passed
@likhinbopanna likhinbopanna deleted the enhancement/issuer-error-mapping branch December 23, 2025 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add Issuer Error Mapping in Shift4

4 participants