This is an experimental prototype of a product catalog server for navigator.mozPay().
If successful, this could let developers do in-app payments without hosting their own server. I.E. Mozilla would provide a server such as this one.
The exact developer API needs more work and should ultimately be an extension of navigator.mozPay(). See the discussion for gory details.
Run the server
Let's get started!
npm install cp settings-dist.js settings.js
Run a local server:
Or upload to Stackato:
Update the Stackato app with:
Take a look at
www/js/index.js to see the developer API.