Closed
Bug 837289
Opened 12 years ago
Closed 10 years ago
[tracking] Make single-page app for webpay
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kumar, Assigned: scolville)
References
Details
(Whiteboard: p=3)
Attachments
(1 file)
The payment flow (webpay) has to be as snappy as possible with as little http interaction as possible. This is to prototype a client side implementation without the server to get a sense for how to support all the variations on the user flow.
Reporter | ||
Updated•12 years ago
|
Reporter | ||
Comment 1•12 years ago
|
||
This is just a prototype so it doesn't depend on anything in the current UI (yet)
No longer depends on: 837913
Updated•12 years ago
|
Version: 1.0 → 1.2
Updated•12 years ago
|
Whiteboard: p=
Comment 2•12 years ago
|
||
Documenting my thoughts on this for the next person to inherit this bug (hi stuart!)
webpay is a good candidate for a single-page app because of the consistency of its UI, and the statefulness of the interaction.
I will attempt to explain the various UI states as a basic text adventure below. Hope it helps!
Detail Page
-----------
You are on the detail page for a paid app.
You see a button marked "0.99".
> PRESS BUTTON
Are you logged in?
> NO
GOTO Persona
> YES
GOTO Pin Entry
Persona
-------
You are in Mozilla Persona's sign-in-flow.
Are you locked out or resetting your PIN?
> NO
Logging in...
GOTO Lobby
> YES
Logging in...
GOTO Pin Reset
Lobby
-----
You are in webpay's lobby.
Do you have a PIN?
> NO
GOTO Create PIN
> YES
Enter your PIN to continue.
> **** √
GOTO Payment
> **** X
Invalid Pin.
> **** X
Invalid Pin.
> **** X
You are now locked out. Please Sign in to reset your pin.
GOTO Persona
> FORGOT PIN
GOTO Confirm PIN Reset
Pin Confirm
-----------
You are at the PIN reset confirmation.
Are you sure you would like to reset your PIN?
> YES
Your PIN is now being reset.
Please Sign in.
GOTO Persona
> NO
GOTO Lobby
Pin Reset
---------
You are now in the PIN Reset Flow.
Please enter a new PIN
> ****
Please re-enter the PIN to confirm.
> **** X
PIN does not match.
> **** √
Resetting your PIN...
GOTO Lobby
Payment
-------
You are about to purchase this awesome app for USD 0.99.
Are you sure you would like to complete this purchase?
> YES
Sending you to our secure payment provider.
GOTO Bango
> NO
Well never mind then.
GOTO Detail Page
Bango
-----
*A sudden flash of light and swirl of wind*
*Magic happens*
GOTO Payment Complete
Payment Complete
----------------
Your Purchase is complete.
> OK
GOTO Detail Page
Comment 3•12 years ago
|
||
Reporter | ||
Comment 4•12 years ago
|
||
Yes! I want this to be the source of our test suite.
Comment 5•12 years ago
|
||
Realized I forgot the Create PIN Flow.
Create PIN
----------
Select a 4-Digit PIN.
> ****
Please re-enter the PIN to confirm.
> **** X
PIN does not match.
> **** √
Setting up account...
*Something Something SMS (kumar can elaborate)*
GOTO Lobby
Updated•12 years ago
|
Assignee: thepotch → nobody
Reporter | ||
Updated•12 years ago
|
Assignee: nobody → scolville
Reporter | ||
Updated•12 years ago
|
Whiteboard: p= → p=3
Currently looking into this and prototyping with commonplace with a view to discussing this more in the upcoming workweek.
Status: NEW → ASSIGNED
Updated•11 years ago
|
Version: 1.2 → 1.4
Updated•11 years ago
|
Version: 1.4 → 1.5
Updated•11 years ago
|
Summary: Prototype single-page app for webpay → Make single-page app for webpay
Comment 8•11 years ago
|
||
How does a user select between multiple payment options if those exist before confirmation?
Comment 9•11 years ago
|
||
(In reply to David Bialer [:dbialer] from comment #8)
> How does a user select between multiple payment options if those exist
> before confirmation?
The payment choice page is out of scope for this bug.
Updated•11 years ago
|
Summary: Make single-page app for webpay → [tracking] Make single-page app for webpay
Comment 11•10 years ago
|
||
There's still a few bugs, but this is so done. Yay!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•