Closed Bug 1013440 Opened 10 years ago Closed 10 years ago

/mozpay/v1/api/pay/ returns HTML on error

Categories

(Marketplace Graveyard :: Payments/Refunds, defect)

Avenir
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2014-05-27

People

(Reporter: scolville, Assigned: mstriemer)

References

Details

(Whiteboard: [qa-])

Making a POST to /mozpay/v1/api/pay/ returns HTML on error

Would be nice to get JSON back and information about the error too if possible.
That is when POSTING JSON and setting Accept headers for JSON.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Reopening, I thought I'd do this along with the other bug but this is done and the other stuff isn't.

https://github.com/mozilla/webpay/pull/466
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
https://github.com/mozilla/webpay/commit/541c0996a88958e58f8435f765f4cd032c55c4e3
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Target Milestone: --- → 2014-05-27
You need to log in before you can comment on or make changes to this bug.