Closed Bug 1079548 Opened 10 years ago Closed 10 years ago

App purchase fails with unexpected FXA_FAILED error

Categories

(Marketplace Graveyard :: Payments/Refunds, defect)

x86
Gonk (Firefox OS)
defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Assigned: ashort)

References

Details

Attachments

(2 files)

Attached image screenshot
Connectivity: wifi SIM used: Gaia/device: Flame/2.1 steps to reproduce: 1. Tester is not signed in 2. Launch marketplace payments-alt app 3. Search for :paid 4. Start the purchase of an app 5. Sign in using fxA 6. Sign in again using fxA (bug 1079529) expected behavior: After user signs in (twice), Enter PIN screen loads actual behavior: After user signs in for the second time, an error message loads. See screenshot.
10-07 18:19:20.832 E/GeckoConsole( 277): Content JS LOG at https://payments-alt-cdn.allizom.org/mozpay/spa/js/main.min.js?bust=a1a9a19c7f86cc01f048cd95337a6fcd4632e107:65 in i<.render: [views][fxa-authorize] authorizing FxA login 10-07 18:19:21.122 E/GeckoConsole( 277): Content JS LOG at https://payments-alt-cdn.allizom.org/mozpay/spa/js/main.min.js?bust=a1a9a19c7f86cc01f048cd95337a6fcd4632e107:63 in s/<: [lib][auth] error 10-07 18:19:21.122 E/GeckoConsole( 277): Content JS LOG at https://payments-alt-cdn.allizom.org/mozpay/spa/js/main.min.js?bust=a1a9a19c7f86cc01f048cd95337a6fcd4632e107:63 in s/<: [lib][auth] 502 10-07 18:19:21.132 E/GeckoConsole( 277): Content JS LOG at https://payments-alt-cdn.allizom.org/mozpay/spa/js/main.min.js?bust=a1a9a19c7f86cc01f048cd95337a6fcd4632e107:63 in s/<: [lib][auth] login error 10-07 18:19:21.132 E/GeckoConsole( 277): Content JS LOG at https://payments-alt-cdn.allizom.org/mozpay/spa/js/main.min.js?bust=a1a9a19c7f86cc01f048cd95337a6fcd4632e107:66 in o<.render: [views][error] {"cancelModifier":"cancel","cancelText":"Cancel","ctaText":"OK","errorCode":"FXA_FAILED","heading":"Error","msg":"An unexpected error occurred.","showCancel":true,"showCta":false} 10-07 18:19:21.132 E/GeckoConsole( 277): Content JS LOG at https://payments-alt-cdn.allizom.org/mozpay/spa/js/main.min.js?bust=a1a9a19c7f86cc01f048cd95337a6fcd4632e107:66 in o<.render: [views][error] Rendering Error template 10-07 18:19:21.132 E/GeckoConsole( 277): Content JS LOG at https://payments-alt-cdn.allizom.org/mozpay/spa/js/main.min.js?bust=a1a9a19c7f86cc01f048cd95337a6fcd4632e107:65 in c<.renderTemplate: [views][base] Replacing $el with rendered content ^Z
Assignee: nobody → ashort
Any idea Stuart?
Flags: needinfo?(scolville)
Looks like a request is failing that error_code appears to come from here: https://github.com/mozilla/spartacus/blob/b54f14c0adfcf47e5b19e709c0bb24d04ea59cc2/public/js/lib/auth.js#L98 Needs further digging into to understand why the request is blowing up.
Flags: needinfo?(scolville)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
I can make purchases now.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: