Closed Bug 797125 Opened 12 years ago Closed 12 years ago

Bango API proof of concept

Categories

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

x86
macOS
defect

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: nobody → kumar.mcmillan
Target Milestone: --- → 2012-10-04
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
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
Blocks: 795103
Blocks: 802610
Whiteboard: [blocked on bango]
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
Summary: Bango Package/Number API proof of concept → Bango API proof of concept
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).
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 }
I'm working with Raul@bango on this
Target Milestone: 2012-11-01 → 2012-11-08
Not on-device - removing nom.
blocking-basecamp: + → ---
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
Links to the API docs and custom Bango documentation lives here now: https://wiki.mozilla.org/Apps/ID_and_Payments#Bango_API
What is the current status of Bango in Marketplace ?
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.

Attachment

General

Created:
Updated:
Size: