Closed Bug 1111826 Opened 10 years ago Closed 9 years ago

send dialog closed by user message when payment window is closed

Categories

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

Avenir
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kumar, Assigned: scolville)

References

Details

When a user closes the payment window popup, we should send the message DIALOG_CLOSED_BY_USER similar to how mozPay sent that code to paymentFailed().

See https://developer.mozilla.org/en-US/Marketplace/Monetization/In-app_payments_section/fxPay_iap#Errors
Blocks: 969539
Assignee: nobody → scolville
Priority: -- → P2
https://github.com/mozilla/spartacus/commit/945fa63762e851d06d8085f5da610f27a2befa63
https://github.com/mozilla/fxpay/commit/edfb8e99e59a0c124818cd039c7ec2cb38311317

Testing video: https://www.dropbox.com/s/lkra5gjwwffbju8/window-closure.mp4?dl=0

Here's the URL http://fxpay-hosted.paas.allizom.org/ to test - currently only on -dev.

You should see the DIALOG_CLOSED_BY_USER when closing the window via the 'x'.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.