Closed Bug 956354 Opened 8 years ago Closed 8 years ago

Add API to check transaction for in-app purchase

Categories

(Marketplace Graveyard :: API, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
2014-06-10

People

(Reporter: kumar, Assigned: kumar)

References

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.
Blocks: 944480
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
Closed: 8 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.