Closed Bug 754965 Opened 12 years ago Closed 12 years ago

Backend for financial sales data: revenue and refunds

Categories

(Marketplace Graveyard :: Statistics, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2012-05-24

People

(Reporter: cvan, Assigned: kngo)

References

()

Details

We have contribution stats on AMO:

    https://github.com/mozilla/zamboni/blob/master/apps/stats/views.py#L406

This gives us date purchase, number of sales, total sales, average sale price.

We should move this to Marketplace:

    https://github.com/mozilla/zamboni/blob/master/mkt/stats/views.py#L59

And we should also add purchase type (app sale or in-app), number of refunds, and currency. We can throw this in elasticsearch, as currently this is taken care of by ORM calls.
Depends on: 748015
We'll want to add permission checks (à la https://github.com/mozilla/zamboni/blob/master/apps/stats/views.py#L288) and add tests (à la https://github.com/mozilla/zamboni/blob/master/apps/stats/tests/test_views.py#L120).
Assignee: nobody → ngoke
Target Milestone: --- → 2012-05-17
Depends on: 755448
Depends on: 755450
Depends on: 755472
Priority: -- → P2
Summary: Backend for financial sales data → Backend for financial sales data: revenue and refunds
Target Milestone: 2012-05-17 → 2012-05-24
https://github.com/mozilla/zamboni/commit/586491b0fe18d592eb7d05c78d1d289f95ed1e5d
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: 2012-05-24 → 2012-05-17
Target Milestone: 2012-05-17 → 2012-05-24
You need to log in before you can comment on or make changes to this bug.