hyperswitch
fix(connector): RSync voided status mapping in AuthorizeDotNet
#7566
Merged

fix(connector): RSync voided status mapping in AuthorizeDotNet #7566

Anurag-05-prog
Anurag-05-prog10 days ago (edited 10 days ago)

Type of Change

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

Closes this issue

Description

Mapped status voided coming from AuthorizeDotNet to Failure in Hyperswitch.

Additional Changes

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

Motivation and Context

AuthorizeDotNet has started sending status voided in RSync Response which is not mapped in Hyperswitch. As a result, deserialization failed.

How did you test it?

Can't be tested as AuthorizeDotNet takes 5-6 business days to send any other status than RefundPendingSettlement.

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
fix(connector): RSync voided status mapping
be990371
Anurag-05-prog Anurag-05-prog assigned Anurag-05-prog Anurag-05-prog 10 days ago
Anurag-05-prog Anurag-05-prog requested a review 10 days ago
semanticdiff-com
semanticdiff-com10 days ago (edited 10 days ago)

Review changes with  SemanticDiff

Changed Files
File Status
  crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs  56% smaller
Anurag-05-prog Anurag-05-prog changed the title fix(connector): RSync voided status mapping fix(connector): RSync voided status mapping in AuthorizeDotNet 10 days ago
hyperswitch-bot[bot] chore: run formatter
60c2cc84
deepanshu-iiitu
deepanshu-iiitu approved these changes on 2025-03-19
AkshayaFoiger
AkshayaFoiger approved these changes on 2025-03-19
Gnanasundari24 Gnanasundari24 merged 8512bf3e into main 6 days ago
Gnanasundari24 Gnanasundari24 deleted the authorize-dot-net-rsync-status-mapping branch 6 days ago

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone