Closed
Bug 867662
Opened 12 years ago
Closed 9 years ago
Add receipt duration to receipt API
Categories
(Marketplace Graveyard :: Payments/Refunds, enhancement, P4)
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
Updated•12 years ago
|
Priority: -- → P4
Whiteboard: p=1
Reporter | ||
Comment 1•12 years ago
|
||
Back reference:
https://github.com/mozilla/r2d2b2g/issues/497
Comment 2•11 years ago
|
||
Adding blocker 757226, because no point in worrying until replace receipt happens.
Depends on: 757226
Updated•11 years ago
|
Assignee: nobody → amckay
Updated•11 years ago
|
Severity: normal → enhancement
Version: 1.0 → 1.5
Updated•11 years ago
|
Assignee: amckay → nobody
Version: 1.5 → Avenir
Updated•10 years ago
|
Comment 3•9 years ago
|
||
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.
Description
•