Closed
Bug 981235
Opened 12 years ago
Closed 12 years ago
fxpay: check for product ownership (i.e. validate in-app receipts)
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
2014-06-24
People
(Reporter: kumar, Assigned: kumar)
References
Details
(Whiteboard: [qa-])
The fxpay script needs a method that an app can call to answer 'does the user on this device already own product ID 123'?
Under the hood this will use the apps API to check for and validate receipts.
Comment 2•12 years ago
|
||
Would that mean the app could then decide to allow a duplicate payment or not? Some in-apps could be made multiple times, others not, others might have some app logic that makes sense to the app.
Updated•12 years ago
|
Priority: -- → P2
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → kumar.mcmillan
| Assignee | ||
Comment 3•12 years ago
|
||
Hmm, if an app were to allow duplicate payments then that might get messy because fxpay would install multiple receipts (I think?). Maybe we need to add a 'quantity' field to the receipt to accommodate buying multiple Unicorns or whatever.
| Assignee | ||
Comment 4•12 years ago
|
||
I filed bug 984504 just so we remember to check on this
| Assignee | ||
Updated•12 years ago
|
Assignee: kumar.mcmillan → nobody
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → kumar.mcmillan
| Assignee | ||
Comment 5•12 years ago
|
||
refactoring in preparation for validating receipts on startup: https://github.com/mozilla/fxpay/pull/13
| Assignee | ||
Comment 6•12 years ago
|
||
Added fxpay.init() to restore receipts in: https://github.com/mozilla/fxpay/pull/15
| Assignee | ||
Comment 7•12 years ago
|
||
final patch with receipt/product validation https://github.com/mozilla/fxpay/pull/16
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2014-06-24
You need to log in
before you can comment on or make changes to this bug.
Description
•