Backend for financial sales data: revenue and refunds

RESOLVED FIXED in 2012-05-24

Status

Marketplace
Statistics
P2
normal
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: cvan, Assigned: ngoke)

Tracking

2012-05-24
Points:
---
Dependency tree / graph

Details

(URL)

(Reporter)

Description

6 years ago
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.
(Reporter)

Updated

6 years ago
Depends on: 748015
(Reporter)

Comment 1

6 years ago
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
(Reporter)

Updated

6 years ago
Depends on: 755448
(Reporter)

Updated

6 years ago
Depends on: 755450
(Reporter)

Updated

6 years ago
Depends on: 755472
Priority: -- → P2
(Reporter)

Updated

6 years ago
Summary: Backend for financial sales data → Backend for financial sales data: revenue and refunds
(Reporter)

Updated

6 years ago
Target Milestone: 2012-05-17 → 2012-05-24
(Assignee)

Comment 2

6 years ago
https://github.com/mozilla/zamboni/commit/586491b0fe18d592eb7d05c78d1d289f95ed1e5d
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: 2012-05-24 → 2012-05-17
(Reporter)

Updated

6 years ago
Target Milestone: 2012-05-17 → 2012-05-24
You need to log in before you can comment on or make changes to this bug.