Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add information about network information use cases for Mozilla's carrier billing payments #27

Closed
ernesto-jimenez opened this issue Dec 12, 2013 · 5 comments

Comments

@ernesto-jimenez
Copy link
Member

Mozilla marketplace payments authentication for carrier billing changes depending on whether the user is on WiFi or cellular.

@kumar303 can provide some details and screenshots.

@kumar303
Copy link

I'll try to get a screenshot for a pull request but while it's fresh on my mind, this is the use case:

For a first time payment on Firefox OS using Bango one of two things may happen:

  1. If the user is on a network connection (3g, 4g, etc) then Bango will attempt to make an HTTP request to a special operator service which can sniff operator-injected headers to authenticate the user. When successful, direct billing is set up immediately.
  2. If the user is on WiFi then Bango needs to do an SMS challenge to authenticate the user's phone for direct billing. This is more cumbersome and error prone. The user must wait for a PIN code, find it in their SMS application, then enter it into the web form before the payment can begin.

@ernesto-jimenez
Copy link
Member Author

Thanks Kumar!

It would also be nice to have your feedback on wether a netinfo API could be useful to cover such use case.

@marcoscaceres
Copy link
Contributor

@kumar303, sorry to bother, but could you possibly drop in the screenshot? Be good to get the above into the document.

@kumar303
Copy link

kumar303 commented Jan 8, 2014

Sure, here are a couple.

Beginning an SMS / PIN authentication for direct billing:

2014-01-08-10-31-46

Entering a PIN after receiving the SMS:

2014-01-08-10-32-48

When successfully authenticated (or after doing silent SMS) you can put charges on your bill:

2014-01-08-10-43-19

@marcoscaceres
Copy link
Contributor

@ernesto-jimenez, as you know the inner workings of this stuff, could you please compile this into a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants