Add API to check transaction for in-app purchase

RESOLVED FIXED in 2014-06-10

Status

P2
normal
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: kumar, Assigned: kumar)

Tracking

2014-06-10
x86
Mac OS X
Points:
---

Details

(Whiteboard: [qa-])

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.
Priority: -- → P5
Priority: P5 → P2
Component: Payments/Refunds → API
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.
Assignee: nobody → kumar.mcmillan
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Target Milestone: --- → 2014-06-10
You need to log in before you can comment on or make changes to this bug.