-
Notifications
You must be signed in to change notification settings - Fork 9
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
refund_proposal_and_payment_aligment #152
Conversation
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @PedroDiez
I begun the review and few comments to share with you. Most of this points are not request for change but question I got when I did this review.
- Are we sure to manage
refund_in_progress
,totally_refunded
,partially_refunded
as TransactionOperationStatus ? my point is that a payment could have been Succeeded and then refunded. Both state are valid. Need to be sure we did not need to tackle that in a specificrefundStatus
. - I'm still not sure if refund should be managed in a separate yaml or same yaml that payment. Have you @PedroDiez good rationale to make them separate?
- Are we sure that refundAmount should be mandatory ? if
type
istotal
this could be source of unnecessary error (what about a request withtype:total
and amount inconsistent btw the payment and the refund?). - If requester fill refundDetails do we need to make check vs payment item? I guess yes.
- In payment we require a
referenceCode
in the request - do we need one here for the refund?
One quick question.... what is the correlation between refundDetails.refundItem and paymentDetail.paymentItem ? I guess we expect a strong correlation meaning that if I have 3 payment item I could have a refund only for the second item right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @PedroDiez
We're almost there. We have changed the authorization sentences in ICM for the documentation.
also we have probably to have a rule for the remaining amount regarding processing refund.
nothing big here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM/
Merging it as commenting in Meeting minutes. Initial wip proposal |
What type of PR is this?
What this PR does / why we need it:
This PR covers proposal for refund functionality.
Which issue(s) this PR fixes:
Initial Proposal - Baseline for:
2024-05-15
2024-05-24/25
2024-06-10/11/12
2024-06-19
2024-06-21
Fixes #154
2024-06-27
Special notes for reviewers: