Apps/ID and Payments: Difference between revisions

no edit summary
No edit summary
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Project Management ==
'''''Please note, that as of Q1 2016, payments were removed from the Marketplace. This page exists for historical information.'''''


* [https://docs.google.com/spreadsheet/ccc?key=0AqMmxHRazC75dDAyVjdBM2gwUWlzLUR2S3Y1b0RIdHc Project Plan Under Revision]
== Payments by payment provider ==
 
There are seperate wiki pages for each Payment Provider. This page was done when Bango was being implemented so there might be many parts of this page that also mention Bango.
 
* [https://wiki.mozilla.org/Marketplace/BangoPayments Bango details]
* [https://wiki.mozilla.org/Marketplace/BokuPayments Boku details]
 
Zippy is our reference implementation to allow people to easily test and prototype (amongst other things):
 
* [https://zippypayments.readthedocs.org/ Zippy details]


== UX ==
The reference implementation is an example implementation of:


* [https://www.dropbox.com/s/7f8o9dbr1e76yzh/Marketplace_Payments_Flows_Walkthrough_042913.pdf UX "Happy" Flow (returning user, first time user, credit card payments)]
* [http://marketplace-payments-specification.readthedocs.org/en/latest/ Marketplace Payments Specification]
* [https://www.dropbox.com/s/8qasgh14gdt9cmu/Marketplace_Payments_Flows_Persona_042613.pdf Persona Flows]
* [https://www.dropbox.com/s/rjt9bqa4piso6hf/Marketplace_Payments_Flows_PinCodes_031813.pdf Pin Code Flows]
* [https://www.dropbox.com/s/d5scq50drvyf9nb/Marketplace_Payments_Bango_Flows_042913.pdf Bango Flows]
* [https://www.dropbox.com/s/m38d7bfpnwoirmy/Marketplace_Payments_Flows_Spec_031313.pdf Payments Style Guide]
* [https://www.dropbox.com/s/am1ecw2j6o0a0ji/Marketplace_Payments_Flows_PinLockOut.pdf Pin Lock Out Flows]


== Payment WebAPI ==
== Code and API ==


* [[WebAPI/WebPayment|navigator.mozPay()]] API
* [[WebAPI/WebPayment|navigator.mozPay()]] API
* [[WebAPI/WebPaymentProvider|WebPaymentProvider]] spec - hosted buy flow for navigator.mozPay()
* [[WebAPI/WebPaymentProvider|WebPaymentProvider]] spec - hosted buy flow for navigator.mozPay()
** Mozilla's [https://github.com/mozilla/webpay WebPay] implementation


== Bugs ==
* [https://github.com/mozilla/webpay WebPay] and [https://github.com/mozilla/spartacus Spartacus] implementation
* [https://github.com/mozilla/solitude Solitude] implementation
 
== Old stuff ==
 
Everything below should be considered legacy, may be relevant, may not.


=== Legacy Project Management ===
* [https://docs.google.com/spreadsheet/ccc?key=0AqMmxHRazC75dDAyVjdBM2gwUWlzLUR2S3Y1b0RIdHc Project Plan Under Revision]
* Proposed [[Marketplace/InAppPayments|improvements to in-app payments]]
* [[Marketplace/PaymentQueries|PaymentQueries]]
* [[Marketplace/PaymentQueries|PaymentQueries]]


== Testing ==
=== Legacy UX ===
 
These are mostly old, but relatively accurate.
 
* [https://www.dropbox.com/s/lvtggj6heenfdjv/Marketplace_Payments_Flows_Walkthrough_042913.pdf UX "Happy" Flow (returning user, first time user, credit card payments)]
* [https://www.dropbox.com/s/wi3yb34xrkz9v7l/Marketplace_Payments_Flows_Persona_042613.pdf Persona Flows]
* [https://www.dropbox.com/s/428mippp7g72gi0/Marketplace_Payments_Flows_PinCodes_031813.pdf Pin Code Flows]
* [https://www.dropbox.com/s/68ak239yzh2a18x/Marketplace_Payments_Flows_Spec_031313.pdf Payments Style Guide]
* [https://www.dropbox.com/s/0dkr2tftupdnyyf/Marketplace_Payments_Flows_PinLockOut.pdf Pin Lock Out Flows]
 
=== Legacy Testing ===


* [https://wiki.mozilla.org/Apps/ID_and_Payments/Test_Plan Identity and Payments Testing]
* [https://wiki.mozilla.org/Apps/ID_and_Payments/Test_Plan Identity and Payments Testing]


== Sequence Flow ==
=== Legacy Sequence Flow ===


=== Identity Flow ===
=== Identity Flow ===
Line 40: Line 62:
[[Image:Pay_Flow_Sequence.png]]
[[Image:Pay_Flow_Sequence.png]]


== Data Flow Diagrams ==
=== Payment Flow Videos ===
[https://www.dropbox.com/s/t2qi2gl75hctacl/zippy-iap.mov?dl=0 In App Payments Video] <br>
[https://www.dropbox.com/s/ixkdb212whgorpl/zippy-fxa.mov?dl=0 Paid App (w/ Zippy)]
 
=== Data Flow Diagrams ===


=== Payments Data Flow Diagram ===
=== Payments Data Flow Diagram ===
Line 253: Line 279:
   </tr>
   </tr>
</table>
</table>
== Bango API ==
Currently Mozilla uses [http://bango.com/ Bango] to enable mobile payments. They have several [http://bango.custhelp.com/app/answers/detail/a_id/1449/kw/relay/related/1/session/L2F2LzEvc25vLzEvdGltZS8xMzUyNDYzNTU1L3NpZC84WE5OUlFhbA%3D%3D/sno/1 public APIs] but they have also customized some APIs for what Mozilla needs to do. Here is some info on those custom APIs. See [https://bugzilla.mozilla.org/show_bug.cgi?id=797125 bug 797125] for some proofs that were done to use the custom APIs.
=== Custom Mozilla APIs ===
==== Mozilla Exporter API ====
This API is for registering developers to begin selling apps or accepting in-app payments. The API can be used to create packages (which are linked to a single developer) and products for sale which are called Numbers.
* View: [[Media:MozillaExporterAPI_v1.0.1.pdf]]
* Edit: [[File:MozillaExporterAPI_v1.0.1.pdf]]
==== Billing Configuration API ====
After creating a Number (e.g. an app to sell) Mozilla uses the Billing Information API to create a one time token that can initiate a payment.
* View: [[Media:BillingConfigurationAPI v1.0.0.pdf]]
* Edit: [[File:BillingConfigurationAPI v1.0.0.pdf]]
Version two, going live, Jan 1st 2014
* View: [[Media:BillingConfigurationAPI v2.0.0.pdf]]
* Edit: [[File:BillingConfigurationAPI v2.0.0.pdf]]
==== Mozilla Vendor Portal API ====
How developers registered through the Marketplace can access information about their payments.
* View: [[Media:MozillaVendorPortal v1.0.0.pdf]]
* Edit: [[File:MozillaVendorPortal v1.0.0.pdf]]
=== Standard APIs ===
* [http://bango.custhelp.com/app/answers/detail/a_id/1547 Direct Billing API], also at [[Media:DirectBillingAPI_v3.1.6.pdf]]
* [http://support.bango.com/entries/23381152-Event-Notification-API Event Notification API], also at [[Media:EventNotification v2.0.pdf]]
Confirmed users
1,158

edits