Marketplace/PaymentAndroid: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 9: Line 9:
## Identity: Users can link up any SIM card in a device using MT Auth on first run. They enter the phone number of the other device with a SIM. After that all return purchases will not need to do the identity step.
## Identity: Users can link up any SIM card in a device using MT Auth on first run. They enter the phone number of the other device with a SIM. After that all return purchases will not need to do the identity step.
## Payment: they can use operator billing or credit card depending upon the country.
## Payment: they can use operator billing or credit card depending upon the country.
## '''Note:''' The flow will have been to do MT Auth, then enter a credit card. In this case the MT Auth was to establish an identity with Bango and not to use the phone number. Bugs {{Bugzilla|893050}} {{Bugzilla|956412}} will fix this.
## '''Note:''' The flow will have been to do MT Auth, then enter a credit card. In this case the MT Auth was to establish an identity with Bango and not to use the phone number for billing. Bugs {{Bugzilla|893050}} {{Bugzilla|956412}} will fix this.
# {{wishlist|Without any SIM card in any device}}
# {{wishlist|Without any SIM card in any device}}
## Identity: won't be possible, because MT Auth is required by Bango. Bug {{Bugzilla|893050}} will fix this.
## Identity: won't be possible, because MT Auth is required by Bango. Bug {{Bugzilla|893050}} will fix this.

Revision as of 21:58, 7 January 2014

Features

What will work:

  1. [DONE] Without a SIM card in a supported carrier and country
    1. Identity: HTTP Header Enrichment (magic) or MT Auth (enter phone number, wait for PIN) on first run. After that all return purchases will skip identity and go to payment.
    2. Payment: they can use operator billing or credit card depending upon the country (eg. Venezuela is credit card only)
  2. [DONE] Without SIM card in the device and using a supported carrier and country
    1. Identity: Users can link up any SIM card in a device using MT Auth on first run. They enter the phone number of the other device with a SIM. After that all return purchases will not need to do the identity step.
    2. Payment: they can use operator billing or credit card depending upon the country.
    3. Note: The flow will have been to do MT Auth, then enter a credit card. In this case the MT Auth was to establish an identity with Bango and not to use the phone number for billing. Bugs 893050 956412 will fix this.
  3. [WISHLIST] Without any SIM card in any device
    1. Identity: won't be possible, because MT Auth is required by Bango. Bug 893050 will fix this.
    2. Payment: won't be possible because identity isn't possible, even though credit card would work.
  4. [WISHLIST] With a SIM card, but not in a supported country
    1. Identity: won't be possible, because MT Auth will not allow to get past. However if you've already been identified in another country and have travelled, you will be to use it.
    2. Payment: won't be possible because identity isn't possible, even though credit card would work. Bug 893050 will fix this.

Testing payments for Android

  1. Go get nightly Android: http://nightly.mozilla.org/
  2. Go and install this add-on so that you will get mozPay configured for dev and stage: https://addons.mozilla.org/en-US/firefox/addon/dev-marketplace/
  3. Use an existing app, or upload a new one and make sure you make it android compatible. Here's a test one: https://marketplace.allizom.org/app/test-app-iupsbfodawsp/
  4. Press buy

Debugging

Need to hook up a debugger to get some debugging action for that Android page? Try:

http://starkravingfinkle.org/blog/2012/08/firefox-for-android-remote-debugging-is-here/ https://hacks.mozilla.org/2012/08/remote-debugging-on-firefox-for-android/