Closed
Bug 797125
Opened 12 years ago
Closed 12 years ago
Bango API proof of concept
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
2012-11-08
People
(Reporter: kumar, Assigned: kumar)
References
Details
(Whiteboard: [blocked on bango])
Attachments
(2 files)
Using Bango's Package Management API and Number API, prove out these concepts:
- Sign up a developer automatically and create a paid package/number to sell an app
- Create a package/number automatically right before making an in-app payment
Some more basic concepts were in bug 794699
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → kumar.mcmillan
Target Milestone: --- → 2012-10-04
Assignee | ||
Comment 1•12 years ago
|
||
looks like we may be able to move forward on this proof this week. Still waiting on Bango though.
Target Milestone: 2012-10-04 → 2012-10-11
Assignee | ||
Comment 2•12 years ago
|
||
Bango needs to do some dev work to get this set up and targeted next Friday for completing it.
Target Milestone: 2012-10-11 → 2012-10-25
Updated•12 years ago
|
Whiteboard: [blocked on bango]
Assignee | ||
Comment 3•12 years ago
|
||
Hmm, in the latest meeting Bango says we actually have access to this. I will follow up this week to see why I'm still getting access denied.
Target Milestone: 2012-10-25 → 2012-11-01
Assignee | ||
Updated•12 years ago
|
Summary: Bango Package/Number API proof of concept → Bango API proof of concept
Assignee | ||
Comment 4•12 years ago
|
||
We have our very own API now :) This is a replacement for the Package/Number API. It lets us do the same thing though: create packages and number. Packages are developers and numbers are products they sell (like apps).
Assignee | ||
Comment 5•12 years ago
|
||
FYI, I've been experimenting with CreatePackage() but I keep getting "invalid parameter" for countryIso even when using values Bango tells me are valid. I'm working through it over email with them.
It looks like this in suds:
>>> from suds.client import Client
>>> client = Client('https://webservices.bango.com/mozillaexporter/?WSDL')
>>> package = client.factory.create('CreatePackageRequest')
>>> package
(CreatePackageRequest){
username = None
password = None
adminEmailAddress = None
supportEmailAddress = None
financeEmailAddress = None
paypalEmailAddress = None
vendorName = None
companyName = None
address1 = None
address2 = None
addressCity = None
addressState = None
addressZipCode = None
addressPhone = None
addressFax = None
vatNumber = None
countryIso = None
currencyIso = None
homePageURL = None
eventNotificationURL = None
}
>>> package.username = 'Mozilla'
>>> package.password = '<ask me for this>'
>>> package.adminEmailAddress = 'kumar.mcmillan@gmail.com'
>>> package.supportEmailAddress = 'kumar.mcmillan@gmail.com'
>>> package.financeEmailAddress = 'kumar.mcmillan@gmail.com'
>>> package.paypalEmailAddress = 'kumar.mcmillan@gmail.com'
>>> package.vendorName = 'Kumar Test'
>>> package.companyName = 'Kumar Test'
>>> package.address1 = '111 Somewhere St.'
>>> package.addressCity = 'Chicago'
>>> package.addressState = 'IL'
>>> package.addressZipCode = '60640'
>>> package.countryIso = 'USA'
>>> resp = client.service.CreatePackage(package)
>>> resp
(CreatePackageResponse){
responseCode = "INVALID_PARAMETER"
responseMessage = "Parameter currencyIso is invalid"
packageId = 0
adminPersonId = 0
supportPersonId = 0
financePersonId = 0
}
Assignee | ||
Comment 6•12 years ago
|
||
I'm working with Raul@bango on this
Target Milestone: 2012-11-01 → 2012-11-08
Assignee | ||
Comment 8•12 years ago
|
||
Assignee | ||
Comment 9•12 years ago
|
||
I was able to sit down with Bango folks and work through the Mozilla Exporter and Billing Config APIs to make some calls and sort through the errors. After fiddling we got everything to work that should allow us to set up devs to sell apps and make in-app payments. Here is a log of what I did: https://github.com/kumar303/bangotest/blob/master/api-scratchpad.txt
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•12 years ago
|
||
Links to the API docs and custom Bango documentation lives here now: https://wiki.mozilla.org/Apps/ID_and_Payments#Bango_API
Comment 11•12 years ago
|
||
What is the current status of Bango in Marketplace ?
Comment 12•12 years ago
|
||
The first end to end tests are due Dec 15th, the dogfooding Jan 15. There hasn't been a complete end to end payment yet.
You need to log in
before you can comment on or make changes to this bug.
Description
•