Closed Bug 867662 Opened 12 years ago Closed 9 years ago

Add receipt duration to receipt API

Categories

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

Avenir
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: nick, Unassigned)

References

Details

(Whiteboard: p=1)

Currently, the receipt API returns a receipt that is valid for 24 hours. The simulator will use this API to install various types of receipts. Once a valid receipt is installed, and 24 hours go by, three things can happen: 1. The developer is responsible for knowing and manually updating the installed receipts. This means the simulator would need to implement the ability to update receipts sooner. 2. The simulator checks the installTime or lastUpdate of an app, and auto updates based on Date.now() > installTime + 24 * 60 * 60 * 1000 3. The API adds the ability to specify the duration of the receipt (I like this one, therefor I've filed this bug), which is used when the app is installed. Not sure what sane defaults are, or if it should just be a time in milliseconds. Thoughts on this? API: http://firefox-marketplace-api.readthedocs.org/en/latest/topics/payment.html#test-receipts
Priority: -- → P4
Whiteboard: p=1
Blocks: 880050
Adding blocker 757226, because no point in worrying until replace receipt happens.
Depends on: 757226
Assignee: nobody → amckay
Severity: normal → enhancement
Version: 1.0 → 1.5
Assignee: amckay → nobody
Version: 1.5 → Avenir
Blocks: 1052190
No longer blocks: 880050
Based on the recently announced future plans for the Marketplace to remove payments, closing these bugs.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.