Closed Bug 776644 Opened 12 years ago Closed 12 years ago

Initial backend to purchase app on B2G

Categories

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

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
2012-08-02

People

(Reporter: kumar, Assigned: kumar)

References

Details

Create a JWT for a navigator.pay() app payment, signed with the developer's secret. This is the backend to support just the JWT part for the frontend (bug 776638). It doesn't cover postbacks.

Spec: https://wiki.mozilla.org/WebAPI/WebPayment#Marketplace_payment
Blocks: 776638
since solitude holds seller/developer info, the JWT should probably be generated by solitude. Marketplace can call something like:

solitude.get_bluevia_app_payment_jwt(app.pk, mkt_postback_url, mkt_chargeback_url)
Assignee: nobody → kumar.mcmillan
Priority: -- → P1
Target Milestone: --- → 2012-07-26
Depends on: 777933
Depends on: 777936
I landed backend stuff that the UI can use: https://github.com/mozilla/zamboni/commit/04aa011e1c5974ca7f9c94ad64f12606efbbe0d3

This needs some more work (in other bugs) and also will make calls to non-existant solitude APIs. If needed, we can mock solitude until it's ready.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: 2012-07-26 → 2012-08-02
Summary: Create JWT for B2G app payment → Initial backend to purchase app on B2G
You need to log in before you can comment on or make changes to this bug.