Closed Bug 859989 Opened 12 years ago Closed 7 years ago

Enhance navigator.mozPay() to get price/currency for price point

Categories

(Core :: DOM: Device Interfaces, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: kumar, Unassigned)

References

Details

Current, a developer defines the price of an in-app product like this: { request: { name: "Magical Unicorn", description: "Adventure game item", pricePoint: 1 } } pricePoint is an abstraction that enables carrier billing across different regions easier. For Mozilla's pay provider, the number maps to a value here: https://developer.mozilla.org/en-US/docs/Apps/Publishing/Marketplace_Payments#Price_points (not final) Let's provide a new navigator.mozPay() helper method to translate a price point into a price in the localized currency. Use case: a developer wants to display a Buy button and *also* wants to display the price of the item. For Mozilla's pay provider, we have this server API to use: http://zamboni.readthedocs.org/en/latest/topics/api/payment.html#pay-tiers (done in bug 827986)
This belongs under the PayAndID tracking bug.
Blocks: PayId-v1next
No longer blocks: marketplace-payments
Cleaning up Device Interfaces component, and mass-marking old FxOS bugs as incomplete. If any of these bugs are still valid, please let me know.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.