Closed Bug 833695 Opened 11 years ago Closed 11 years ago

GET requests to /bango/package/<id> does not use GetPackage

Categories

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

x86_64
Windows 7
defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-01-31

People

(Reporter: basta, Assigned: andy+bugzilla)

References

Details

(Whiteboard: u=dev p=)

Requesting a bango package resource URI (which is created by POSTing the values required by the Mozilla Exporter API; e.g.: adminEmailAddress, address1, addressCity, etc.) with GET does not return the values that would be fetched by calling the GetPackage method in the Bango API.

The docs for the GetPackage menu are on page 13 of the Exporter API.

Expected result:

GET requests to /bango/package/123 should return an object containing data like this:

{
'seller': '...',
'package_id': 123,
...
'bango_data': {
    'address1': '650 Castro St.',
    'address2': 'Suite 300',
    ...
}
}

It's conceivable that this part of the API simply hasn't been implemented (in which case, please re-title this bug. Once this is completed, changes will need to be made to zamboni to fill the Modify Payment Account form with the data retrieved from solitude (a fairly trivial change).
The GetPackage API is not implemented. Let's implement it :)
Assignee: nobody → amckay
Whiteboard: u=dev p=
Target Milestone: --- → 2013-01-31
Blocks: 834291
Priority: -- → P2
Version: 1.0 → 1.2
https://github.com/andymckay/solitude/commit/72a45f
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.