hyperswitch
hyperswitch copied to clipboard
feat(connector): [Novalnet] Add support for disputes
Type of Change
- [ ] Bugfix
- [ ] New feature
- [X] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Description
Added dispute support for novalnet. Novalnet supports 2 webhook events for disputes
- Chargeback
- 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
https://github.com/juspay/hyperswitch-cloud
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
Representment webhook output
Checklist
- [X] I formatted the code
cargo +nightly fmt --all - [X] I addressed lints thrown by
cargo clippy - [X] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
Changed Files
| File | Status |
|---|---|