Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(connector): [Novalnet] Add support for disputes #6560

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

cookieg13
Copy link
Contributor

@cookieg13 cookieg13 commented Nov 13, 2024

Type of Change

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

Description

Added dispute support for novalnet. Novalnet supports 2 webhook events for disputes

  1. Chargeback
  2. Representment (dispute won)

Novalnet does not support emails/webhooks for Arbitration and Pre-Arbitration stages.

Additional Changes

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

Motivation and Context

NA

How did you test it?

Tested locally with dispute webhook simulators given in novalnet documentation
Chargeback webhook simulator: https://developer.novalnet.com/asynchronousnotification/parameterspassed?payment=chargeback_creditcard_chargeback#parameter-list
Representment webhook simulator: https://developer.novalnet.com/asynchronousnotification/parameterspassed?payment=credit_creditcard_representment#parameter-list

Chargeback webhook output
Screenshot 2024-11-13 at 18 57 33

Representment webhook output
Screenshot 2024-11-13 at 18 59 13

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

@cookieg13 cookieg13 added the A-connector-integration Area: Connector integration label Nov 13, 2024
@cookieg13 cookieg13 self-assigned this Nov 13, 2024
@cookieg13 cookieg13 requested a review from a team as a code owner November 13, 2024 14:13
Copy link

semanticdiff-com bot commented Nov 13, 2024

Review changes with  SemanticDiff

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

@cookieg13 cookieg13 changed the title add novalnet dispute webhook support feat(connector): [Novalnet]add disputes Nov 13, 2024
@cookieg13 cookieg13 changed the title feat(connector): [Novalnet]add disputes feat(connector): [Novalnet] Add support for disputes Nov 13, 2024
@cookieg13 cookieg13 mentioned this pull request Nov 14, 2024
13 tasks
@Gnanasundari24 Gnanasundari24 added this pull request to the merge queue Nov 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 18, 2024
@Gnanasundari24 Gnanasundari24 added this pull request to the merge queue Nov 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 18, 2024
@pranav-arjunan pranav-arjunan added this pull request to the merge queue Nov 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 18, 2024
@pranav-arjunan pranav-arjunan added this pull request to the merge queue Nov 18, 2024
Merged via the queue into main with commit 6881ce2 Nov 18, 2024
24 of 25 checks passed
@pranav-arjunan pranav-arjunan deleted the novalnetDispute branch November 18, 2024 14:22
AmeyWale-HS pushed a commit to AmeyWale-HS/hyperswitch that referenced this pull request Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-connector-integration Area: Connector integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants