[FEATURE] Support for auto-refund
- Dominant language
- Rust
- Stars
- 43.7k
- Forks
- 5.1k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 205
Description
### Feature Description
There are some cases in which the payment might not succeed initially and the customer drops out. Then the payment may succeed later and the customer is charged. A refund should be processed automatically in such cases.
### Possible Implementation
Some checks can be added and a refund can be triggered based on them in the `PaymentSync` flow.
### Have you spent some time checking if this feature request has been raised before?
- [X] I checked and didn't find a similar issue
### Have you read the Contributing Guidelines?
- [X] I have read the [Contributing Guidelines](https://github.com/juspay/hyperswitch/blob/main/docs/CONTRIBUTING.md)
### Are you willing to submit a PR?
Yes, I am willing to submit a PR!
Contributor guide
Assessment
This issue has not been assessed yet.