Over the weekend, Mozilla has announced the launch of a new Mozilla JavaScript API they have developed that will debut in their Firefox OS. This new API has been designed to make it easy for people to pay for digital goods and services on the web, streamlining the process and enhancing user experience.
Mozilla Firefox OS engineer Kumar McMillan unveiled the new Mozilla JavaScript API in a blog post explaining that navigator.mozPay() is based on Google Wallet’s API, but modified for multiple payment providers and, importantly, carrier billing.
“navigator.mozPay() is a JavaScript API inspired by google.payments.inapp.buy() but modified for things like multiple payment providers and carrier billing. When a web app invokes navigator.mozPay() in Firefox OS, the device shows a secure window with a concise UI. After authenticating, the user can easily charge the payment to her mobile carrier bill or credit card. When completed, the app delivers the product. Repeat purchases are quick and easy.”
Enhanced Payment Flexibility
One of the standout features of the navigator.mozPay() API is its flexibility in handling various payment methods. Unlike traditional payment systems that may be limited to credit card transactions, this API supports multiple payment providers. This means users can choose from a variety of payment options, including mobile carrier billing, which is particularly beneficial in regions where credit card usage is less prevalent. By accommodating different payment methods, Mozilla aims to make digital transactions more accessible to a global audience.
Security and User Experience
Security is a critical aspect of any payment system, and Mozilla has taken significant steps to ensure that transactions made through navigator.mozPay() are secure. When a web app invokes the API, the device displays a secure window with a concise user interface. This secure window is designed to protect sensitive information during the transaction process. Users are required to authenticate their identity, adding an extra layer of security. Once authenticated, users can easily charge the payment to their mobile carrier bill or credit card, making the process both secure and convenient.
The user experience is further enhanced by the simplicity and speed of repeat purchases. Once a user has completed an initial transaction, subsequent purchases can be made quickly and easily, without the need to re-enter payment information. This streamlined process is expected to encourage more frequent transactions, benefiting both users and developers.
Implications for Developers
For developers, the introduction of navigator.mozPay() opens up new opportunities for monetizing web apps. By integrating this API, developers can offer a seamless payment experience within their apps, potentially increasing user engagement and revenue. The ability to support multiple payment providers also means that developers can cater to a broader audience, including users in regions where traditional payment methods may not be widely used.
Moreover, the API’s design allows for easy integration into existing web apps. Developers familiar with Google Wallet’s API will find the transition to navigator.mozPay() straightforward, thanks to its similar structure and functionality. This ease of integration is likely to encourage more developers to adopt the API, further expanding its reach and impact.
Future Prospects
Firefox OS is expected to launch later this year, and the introduction of navigator.mozPay() is poised to be a significant feature of the new operating system. As the digital economy continues to grow, the demand for secure and flexible payment solutions is likely to increase. Mozilla’s new API positions Firefox OS as a competitive player in the mobile operating system market, offering a robust solution for web and mobile payments.
For more information on the new Mozilla JavaScript API, jump over to the Mozilla website for details.
Source: Into Mobile : Verge
Latest Geeky Gadgets Deals
Disclosure: Some of our articles include affiliate links. If you buy something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn about our Disclosure Policy.