Pay for an app on B2G (frontend)

RESOLVED FIXED in 2012-08-16

Status

Marketplace
Payments/Refunds
P1
normal
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: kumar, Assigned: kumar)

Tracking

2012-08-16
x86
Mac OS X
Points:
---
Dependency tree / graph

Details

This is to call the navigator.pay() JS when a user purchases an app on B2G.

Spec: https://wiki.mozilla.org/WebAPI/WebPayment#Marketplace_payment
There are a few backend bugs needed for this that will be forthcoming.
Blocks: 775802
Depends on: 776642
Depends on: 776644
Depends on: 776646
Assignee: nobody → kumar.mcmillan
Priority: -- → P1
Target Milestone: --- → 2012-08-09
I have a proof of concept started; I plan to have a working prototype by early next week.
Target Milestone: 2012-08-09 → 2012-08-16
It sort of works! https://github.com/mozilla/zamboni/commit/eb3cbf3ba8aedfcbd37de226e1bbaf7f06d8fe1a

I tried testing it in an emulator B2G build that has navigator.mozPay() but Persona logins aren't working due to a window.open component failure. We'll have to wait until a stable B2G build but this lays down the foundation for making payments via nav.pay()
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.