Closed Bug 840117 Opened 11 years ago Closed 11 years ago

Figure out a way to workaround bug 831106 when backspacing in the PIN entry flow for payments

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

VERIFIED FIXED
2013-06-13

People

(Reporter: jsmith, Assigned: scolville)

References

Details

(Whiteboard: p=2)

Attachments

(1 file)

Triage determined to not block on bug 831106, but we should investigate whether it's possible to workaround the problem on the marketplace side. If it isn't possible, feel free to wont fix the bug and explain why.
Depends on: 831106
potch, is this fixed or not yet? I recall you mentioned this was because the click target was too big.
Priority: -- → P2
Version: 1.0 → 1.2
Potch, this is still happening in the latest webpay. Can you think of a workaround?
Assignee: nobody → thepotch
Stuart is doing PIN ui work so he's going to take a look at this
Assignee: thepotch → scolville
Kumar - Can someone provide a reduced test case in bug 831106 so Jeff can fix the bug? If so, we might be able to avoid hacking a workaround on marketplace and uplifting a fix to 1.01.
I've been looking into this further and after bisecting some of the button styles I found the problem stops happening if border-radius is set to 0 on the button styles.

I'll see about providing a stand-alone test-case.
Status: NEW → ASSIGNED
Potch was talking about reducing the size of the click area I think.  He could speak more to his ideas, of course.  Potch - did you have any WIP patches or ideas for this?
A test-case has been added to 831106. So far no viable workarounds appear to be available.
Assignee: scolville → nobody
Status: ASSIGNED → NEW
Assignee: nobody → scolville
Status: NEW → ASSIGNED
No longer depends on: 831106
Whiteboard: p=2
Target Milestone: --- → 2013-06-06
See the PR above for a workaround.
https://github.com/mozilla/webpay/commit/9a7b2ab5bf69c00c9668c2925199372893ecbd7d
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Stuart, thanks for fixing this. However, I found a way to create the blank button

STR:
1. Log in using a new account
2. Start the purchase of a paid app
3. Create PIN and click continue
4. IN the confirm screen, enter . instead of digits 

observed behavior:
Form submission fails with "Pin can contain only digits" and the "Cancel" button label disappears

Note: The label appears if you give it a few seconds. However this behavior is pretty visible to the user.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to krupa raj 82[:krupa] from comment #12)
> Stuart, thanks for fixing this. However, I found a way to create the blank
> button
> 
> STR:
> 1. Log in using a new account
> 2. Start the purchase of a paid app
> 3. Create PIN and click continue
> 4. IN the confirm screen, enter . instead of digits 
> 
> observed behavior:
> Form submission fails with "Pin can contain only digits" and the "Cancel"
> button label disappears
> 
> Note: The label appears if you give it a few seconds. However this behavior
> is pretty visible to the user.

Good catch Krupa! I expect it's just one more place I need to add the code to update the buttons, so it shouldn't a problem.
Status: REOPENED → ASSIGNED
Target Milestone: 2013-06-06 → 2013-06-13
https://github.com/mozilla/webpay/commit/14141de13c8ca6e11f5d7be9e8c435dfaee48508
Status: ASSIGNED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Verified as fixed using both scenarios. No blank button anymore.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: