Closed Bug 905805 Opened 11 years ago Closed 11 years ago

Create the seller model and API

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: andy+bugzilla, Assigned: davidbgk)

References

Details

(Whiteboard: [zippy])

Create a seller model that takes a bunch of fields. Let's just make it a simple set:
  * name
  * email
  * bank account number
  * bank account sort code
  * address etc

Create a CRUD API to this.
Document.
Whiteboard: [bagpuss]
Priority: -- → P3
Blocks: 908771
Blocks: 905736
No longer blocks: 908771
No longer depends on: 905736
The bank account stuff is an implementation detail for Bango, we might not do that every time. If we put anything that sounds like "bank account" people at first glance will have these security worries, so let's not do that, besides it makes for a boring form that.

Let's just gather:

* marketplace user id
* paypal id

Those are pretty harmless.
Whiteboard: [bagpuss] → [zippy]
Assigning to David, because it looks like he created a seller API already.
Assignee: nobody → david
Yes, but it's outdated. I must rewrite the code using promises/restforms and the tests using the new client to be consistent with recent implementations of models.
Whiteboard: [zippy] → [zippy] kanbanzilla[Review]
Done in https://github.com/mozilla/zippy/commit/cea920d8bc79b98cae4d3ec228307409d06dd2c5
and https://github.com/mozilla/zippy/commit/9b8f9ffd7c18636cbeaaa46dac41be99767c9b2d

There is still a discussion about how to split sellers/bank accounts but there will be a new bug for that specifically.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [zippy] kanbanzilla[Review] → [zippy]
You need to log in before you can comment on or make changes to this bug.