[Desktop Payments] If not signed in before clicking the buy button the Failure/Success times out and the popup isn't closed.

VERIFIED FIXED in 2015-02-10

Status

P2
normal
VERIFIED FIXED
4 years ago
4 years ago

People

(Reporter: scolville, Assigned: scolville)

Tracking

Avenir
2015-02-10
x86
macOS
Points:
---

Details

If you aren't signed in before purchasing the app the popup doesn't close on Success/Failure.

This is because fxpay expects the client to handle the popup closure. To fix that we can tell FxPay to manage the closure in this case.

STR:

 * Logout
 * Search for a paid app on stage 
 * Click Purchase
 * When you get to the provider click cancel

What should happen:

 * The popup should close and the payment cancelled notification appears.

What happens:
 
 * The payment cancelled nofication is shown
 * There's a throbber with "Payment cancelled" 
 * Which is then replaced with a "PAY_FAILURE_TIMEOUT" message.
Assignee: nobody → scolville
Priority: -- → P2
Target Milestone: --- → 2015-02-10
https://github.com/mozilla/fireplace/commit/d133980bda30575d4edc931f61b5451128274d4d

The STR above mentions cancellation but this also applies to successful payments when starting logged-out too - we'll want to test both.

This should also fix bug 1125136
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED

Comment 3

4 years ago
Verified as fixed : http://screencast.com/t/m1LJFh6j9
Status: RESOLVED → VERIFIED
No longer blocks: 1125136
You need to log in before you can comment on or make changes to this bug.