Closed
Bug 870432
Opened 11 years ago
Closed 11 years ago
Handle complete failure to load Persona
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-10-01
People
(Reporter: kumar, Assigned: scolville)
References
Details
Attachments
(1 file)
427.08 KB,
image/png
|
Details |
In the rare case that the Persona server cannot be reached, WebPay fails with a spinner that says "Beginning payment" but never does anything. This is an example the JS error we get: E/GeckoConsole( 546): [JavaScript Error: "TypeError: navigator.id is undefined" {file: "https://marketplace.allizom.org/mozpay/media/js/pay-min.js?build=973734e" line: 6}] We should add a generic timeout to handle this and related errors with a button that says "Try again" or something
Reporter | ||
Updated•11 years ago
|
Blocks: marketplace-payments
Priority: -- → P3
Comment 1•11 years ago
|
||
How's this for an error message?
Reporter | ||
Comment 2•11 years ago
|
||
yep, that looks good to me
Updated•11 years ago
|
Assignee: nobody → scolville
Reporter | ||
Comment 3•11 years ago
|
||
Stuart, the bug description says to handle the case when Persona can't be reached but it would be nice to make this a generic timeout/retry handler for anything, such as an unexpected JS error. E.G. You could fire off a setTimeout from the progress spinner -- https://github.com/mozilla/webpay/blob/master/media/js/cli.js -- then clear the timeout in hide progress.
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Kumar McMillan [:kumar] (on PTO 5/20-5/24) from comment #3) > Stuart, the bug description says to handle the case when Persona can't be > reached but it would be nice to make this a generic timeout/retry handler > for anything, such as an unexpected JS error. E.G. You could fire off a > setTimeout from the progress spinner -- > https://github.com/mozilla/webpay/blob/master/media/js/cli.js -- then clear > the timeout in hide progress. Yep that sounds like a plan.
Assignee | ||
Comment 5•11 years ago
|
||
(In reply to Maureen Hanratty from comment #1) > Created attachment 747510 [details] > Error message connecting to Persona > > How's this for an error message? Looks good, we won't be able to cover the header of the trusted ui but the rest should be possible.
Status: NEW → ASSIGNED
Reporter | ||
Updated•11 years ago
|
Summary: Handle complete failure to load Persona → Handle complete failure to load Persona (and any webpay timeout)
Updated•11 years ago
|
Flags: affects-tricycle+
Flags: affects-seville+
Flags: affects-seahorse+
Flags: affects-moss+
Flags: affects-durango+
Updated•11 years ago
|
Version: 1.0 → 1.3
Assignee | ||
Updated•11 years ago
|
Target Milestone: --- → 2013-10-01
Assignee | ||
Comment 7•11 years ago
|
||
PR: https://github.com/mozilla/webpay/pull/301
Assignee | ||
Comment 8•11 years ago
|
||
https://github.com/mozilla/webpay/commit/c9e1df6cd33a9cd4513a3cc155cbf6294fd8f2e1 Other timeouts will come in other upcoming branches.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Summary: Handle complete failure to load Persona (and any webpay timeout) → Handle complete failure to load Persona
You need to log in
before you can comment on or make changes to this bug.
Description
•