Skip to content

fix(connector): Map Redsys Response Codes#9934

Merged
likhinbopanna merged 2 commits intomainfrom
fix/redsys-error-mapping
Oct 21, 2025
Merged

fix(connector): Map Redsys Response Codes#9934
likhinbopanna merged 2 commits intomainfrom
fix/redsys-error-mapping

Conversation

@Anurag-05-prog
Copy link
Contributor

Type of Change

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

Closes this issue

Description

Mapped all Redsys response codes to their corresponding AttemptStatus.

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?

This PR only updates the mapping of Redsys response codes. Since generating specific Redsys response codes in a test environment is not always possible, end-to-end testing for each code could not be performed.

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 Oct 20, 2025
@Anurag-05-prog Anurag-05-prog requested a review from a team as a code owner October 20, 2025 19:11
@semanticdiff-com
Copy link

semanticdiff-com bot commented Oct 20, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs  65% smaller

@Anurag-05-prog Anurag-05-prog linked an issue Oct 20, 2025 that may be closed by this pull request
2 tasks
@likhinbopanna likhinbopanna added this pull request to the merge queue Oct 21, 2025
Merged via the queue into main with commit 6f96064 Oct 21, 2025
23 of 25 checks passed
@likhinbopanna likhinbopanna deleted the fix/redsys-error-mapping branch October 21, 2025 10:30
drdholu pushed a commit to drdholu/hyperswitch that referenced this pull request Oct 30, 2025
Co-authored-by: Anurag Singh <anurag.singh.001@MacBookPro.lan>
aadityaguptaa pushed a commit that referenced this pull request Nov 10, 2025
Co-authored-by: Anurag Singh <anurag.singh.001@MacBookPro.lan>
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.

[BUG] Incomplete mapping of Redsys response codes in the system

4 participants