If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

RESOLVED FIXED in 2013-01-31

Status

Marketplace
Payments/Refunds
P2
normal
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: basta, Assigned: andym)

Tracking

2013-01-31
x86_64
Windows 7
Points:
---

Details

(Whiteboard: u=dev p=)

(Reporter)

Description

5 years ago
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).
(Assignee)

Comment 1

5 years ago
The GetPackage API is not implemented. Let's implement it :)
(Assignee)

Updated

5 years ago
Assignee: nobody → amckay
Whiteboard: u=dev p=
Target Milestone: --- → 2013-01-31
(Reporter)

Updated

5 years ago
Blocks: 834291
Priority: -- → P2
Version: 1.0 → 1.2
(Assignee)

Comment 2

5 years ago
https://github.com/andymckay/solitude/commit/72a45f
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.