Closed Bug 956354 Opened 8 years ago Closed 8 years ago
Add API to check transaction for in-app purchase
When a server-less JWT has been generated (bug 956351), the API returns a transaction ID. This new API is for checking the state of the transaction by ID. It will either be 'pending' or 'completed' or something else. When completed, the server-less app can deliver the purchased product.
I think this API also needs to return a receipt blob (when transaction is complete) that can be installed on device. bug 944522 might be a dupe.
It looks like thus far the JWT API -- https://github.com/mozilla/zamboni/commit/d19134455b83316ba537ca394941f2b3a5037854#diff-35d7bcbf62103d5e56fdf3d8597edf54R118 -- will return a link to the existing status API: http://firefox-marketplace-api.readthedocs.org/en/latest/topics/payment.html#payment-status-label Some changes it will need: * anonymous access * returning a receipt Because of this, we might want to create a new API, I'm not sure.
proposed patch: https://github.com/mozilla/zamboni/pull/2114/
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2014-06-10
You need to log in before you can comment on or make changes to this bug.