Closed
Bug 865498
Opened 11 years ago
Closed 11 years ago
create a REST API to provide App test receipts (for use by Firefox OS Simulator)
Categories
(Marketplace Graveyard :: API, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-05-02
People
(Reporter: bwalker, Assigned: andy+bugzilla)
References
Details
We need a REST API for generating test app receipts. The Firefox OS Simulator will use this API to install a test receipt when an App is installed into the Simulator. This will allow developers of paid apps to perform end-to-end testing of receipt validation
Reporter | ||
Comment 1•11 years ago
|
||
see https://github.com/mozilla/r2d2b2g/issues/427
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → amckay
Priority: -- → P2
Target Milestone: --- → 2013-05-02
Assignee | ||
Comment 2•11 years ago
|
||
https://github.com/mozilla/zamboni/commit/cecae9 Docs: http://firefox-marketplace-api.readthedocs.org/en/latest/topics/payment.html#test-receipts Let me know if that works for you.
Reporter | ||
Comment 3•11 years ago
|
||
(In reply to Andy McKay [:andym] from comment #2) > https://github.com/mozilla/zamboni/commit/cecae9 > > Docs: > > http://firefox-marketplace-api.readthedocs.org/en/latest/topics/payment. > html#test-receipts > > Let me know if that works for you. Andy, we need to make this work for packaged apps in the simulator.
Comment 4•11 years ago
|
||
So the simulator creates: - Hosted Apps - Packaged Apps - Generated Apps (give it a URL and it turns it into an unprivileged package app with that URL as the launch path) So the API needs to support these three scenarios.
Assignee | ||
Comment 5•11 years ago
|
||
This should work with any of those 3 apps. manifest_url is used to fill out the URL of the field: https://wiki.mozilla.org/Apps/WebApplicationReceipt#the_product_field Currently for packaged apps, the manifest_url is set to the marketplace URL. I'll make it optional and populate it with the marketplace URL if empty.
Assignee | ||
Comment 6•11 years ago
|
||
Hmm not happy about that. We set this in bug 784447. But the product URL is the only way to check that the receipt is actually for your app and not a different one. If they are all the marketplace, how do we distinguish them?
Comment 7•11 years ago
|
||
Would it hurt to use the origin of the packaged app (app://uuid)? Would that even make sense?
Assignee | ||
Comment 8•11 years ago
|
||
This bug works as is, filed https://bugzilla.mozilla.org/show_bug.cgi?id=867265 for this issue.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•