Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
test server for b2g pay + identity integration
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
server
.awsbox.json
.gitignore
README.md
package.json

README.md

A test server for b2g identity/marketplace integration

Add the following to gaia/custom-prefs.js:

pref("dom.payment.provider.1.name", "firefoxmarketdev");
pref("dom.payment.provider.1.description", "marketplace-dev.allizom.org");
pref("dom.payment.provider.1.type", "mozilla/payments/pay/v1");
pref("dom.payment.provider.1.uri", "https://b2g2pac.org/?");
pref("dom.payment.provider.1.requestMethod", "GET");

pref("dom.identity.enabled", true);
pref("toolkit.identity.debug", true);

Then his this url from b2g:

The Pay button will open to the test server.

Something went wrong with that request. Please try again.