Closed
Bug 839693
Opened 11 years ago
Closed 11 years ago
Simulated chargebacks should get a default reason
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-03-14
People
(Reporter: kumar, Assigned: kumar)
References
Details
(Whiteboard: p=)
If a developer sends a request like {"simulate": {"result": "chargeback"}} then it will return an error because reason is missing. In this case, webpay should fill in a default reason of "refund"
Assignee | ||
Updated•11 years ago
|
Blocks: marketplace-payments
Priority: -- → P3
Assignee | ||
Comment 1•11 years ago
|
||
I.E. expand it to {"simulate": {"result": "chargeback", "reason": "refund"}}
Updated•11 years ago
|
Whiteboard: p=
Updated•11 years ago
|
Version: 1.1 → 1.2
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → kumar.mcmillan
Target Milestone: --- → 2013-03-14
Assignee | ||
Comment 2•11 years ago
|
||
Instead of doing something unexpected, I decided to raise an error if the developer sends a chargeback simulation without declaring the reason. https://github.com/mozilla/webpay/commit/7b495135b424382294cc085ff61bde3cac6d2701
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•