Closed Bug 847537 Opened 11 years ago Closed 10 years ago

Handle simulated notices failures in marketplace API

Categories

(Marketplace Graveyard :: Payments/Refunds, enhancement, P5)

Avenir
x86
macOS
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: kumar, Unassigned)

References

Details

(Whiteboard: p=2)

STR:
- Set up an in-app key for simulation only (e.g. with https://github.com/kumar303/inapp-pay-test)
- Create a JWT where the postback notification will fail. You could configure it with a bogus hostname, for example
- Submit the JWT with {"simulate": {"result": "postback"}}

Expected: the Marketplace failure API should cope with the fake transaction ID which currently looks like simulate:ff6400ac-833a-4dea-9030-3ad13a348545

Actual: the Marketplace failure API raises a 404 because it can't find the transaction

See: http://sentry.dmz.phx1.mozilla.com/amo-ops/marketplace-dev-webpay/group/11991/
Priority: -- → P3
Whiteboard: p=2
btw, we are ignoring notices for simulation failures right now. If we can fix it, all this code should be undone: https://github.com/mozilla/webpay/commit/dbc9e021d8768347068002843ca2c340ba08b718
Severity: normal → enhancement
Priority: P3 → P5
Version: 1.2 → Avenir
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.