Closed
Bug 977764
Opened 11 years ago
Closed 10 years ago
Insert some data about the in-app payment into the receipt
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
2014-06-10
People
(Reporter: andy+bugzilla, Assigned: kumar)
References
Details
(Whiteboard: [qa-])
If a payment is for an in-app purchase, then we should insert some data into the receipt. We've got the storedata field where we can insert as much as we want as a string into the JSON. So let's add it in there.
https://github.com/mozilla/zamboni/blob/master/mkt/receipts/utils.py#L24
Then when the receipt is verified, it will check the app and the in-app payment id to make sure its valid.
Reporter | ||
Updated•11 years ago
|
Priority: -- → P2
Comment 1•11 years ago
|
||
https://github.com/mozilla/zamboni/blob/master/mkt/receipts/utils.py#L24
Add:
inapp_id: inapp.pk
transaction_id: <transaction id>
Updated•10 years ago
|
Assignee: nobody → jkerim
Assignee | ||
Updated•10 years ago
|
Assignee: jkerim → kumar.mcmillan
Comment 2•10 years ago
|
||
Instead of transaction_id use contribution_uuid
Comment 3•10 years ago
|
||
Store in the storedata as a query string
Assignee | ||
Comment 4•10 years ago
|
||
We have in-app receipts as of this merge: https://github.com/mozilla/zamboni/pull/2126
There is a new storedata parameter of contrib=123 where the ID is for a contribution object with a foreign key to inapp_products.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2014-06-10
Comment 5•10 years ago
|
||
Can you please add some STRs or mark it as [qa-] ?
Assignee | ||
Updated•10 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•