Display user errors with useful developer error codes

RESOLVED FIXED in 2013-09-03

Status

Marketplace
Payments/Refunds
P2
normal
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: kumar, Assigned: kumar)

Tracking

2013-09-03
x86
Mac OS X
Points:
---

Details

When a webpay error happens we need to accomplish two things:
- inform the user what happened while they were attempting a purchase
- inform the developer what happened in case they made a programming mistake while using the APIs, keys, etc

Let's make the user informative error and use some kind of alternate short-error (a code?) that developers can use. If we go with a code, let's try to make it readable, not numeric.
Priority: -- → P2

Comment 1

5 years ago
A code that is greppable and understandable with a sane heirarchy: price.tier.unavailable for example would work for me.
Assignee: nobody → kumar.mcmillan
Target Milestone: --- → 2013-07-25
Target Milestone: 2013-07-25 → 2013-08-01
Target Milestone: 2013-08-01 → 2013-08-08
Target Milestone: 2013-08-06 → 2013-08-13

Updated

5 years ago
Version: 1.0 → 1.3
Target Milestone: 2013-08-13 → 2013-08-27

Updated

5 years ago
Target Milestone: 2013-08-27 → 2013-09-03
First pass at fixing: https://github.com/mozilla/webpay/commit/0f61f2fe375adbdea9165f7e65964d4ed3dba90c

We still need to convert the remaining errors to codes and expose the legend somehow
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.