Make refunds stoppable
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 73
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
When using the RefundPaymentGenerated event to execute any refund-process based code it is not possible to roll back a refund.
Imagine talking to some form of API after a refund was initiated which decided that refund is not good. There is no way to undo that refund payment, which means it remains in the system even though other factors have decided it should not exist in the first place.
CC @Zales0123
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the RefundPaymentGenerated event and tracing the refund execution flow. Determine how a refund could be rejected after initiation, then define the expected cancellation or rollback behavior and add coverage for it; done means refund-process code can stop an initiated refund without leaving an unintended payment in the system.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- payments
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100