Closed
Bug 939328
Opened 11 years ago
Closed 11 years ago
User is prompted to sign in for every purchase
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P2)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: krupa.mozbugs, Unassigned)
References
Details
Nightly 28.0a1 (11-04)
steps to reproduce:
1. Load marketplace stage on Firefox mobile
2. Start the purchase of a paid app
3. Sign in using your persona address when prompted to sign up.
4. Complete the app purchase
5. Return to marketplace-stage and start a second app purchase
expected behavior:
User is already logged in and doesn't need to log in for every purchase
observed behavior:
User is prompted to sign in for every purchase
Comment 1•11 years ago
|
||
Sounds like cookies from the previous "trusted ui" session are not being retained for the second invocation?
Assignee: nobody → wjohnston
Priority: -- → P2
Comment 2•11 years ago
|
||
Wes, this sounds more serious than bug 939270. It looks like cookies are not preserved in the mozPay() window between invocations. To rule out marketplace, a simple cookie set/read test would help deduce this.
Comment 3•11 years ago
|
||
If I:
* log into the marketplace on nightly
* search for paid app, hit buy
* we reset the users account, the log is here:
https://www.dropbox.com/s/y2l0tt59l99zod4/Screenshot%202013-11-27%2016.22.44.png
Is navigator.id.logout being triggered for a reason here? This then goes on to call reset_user on the webpay server, which is a noop, but I'm guessing that logout being called is the problem. This doesn't occur on firefox os.
Comment 4•11 years ago
|
||
I think mozPay is doing the right things with cookies here. I set up a simple test:
* change in about:config so that mozilla-local/payments/pay/v1/ points to http://www.agmweb.ca/files/mozpay-end.html
* go to http://www.agmweb.ca/files/mozpay.html
* note a test1 cookie is written
* click "Test", note that on the next page (which has been opened by webpay, we have the cookie)
Updated•11 years ago
|
Version: 1.4 → 1.5
Comment 5•11 years ago
|
||
I couldn't find anything wrong with the cookie handling so far in Android. I think this is related to bug 939270 and so assigning to Kumar for further investigation.
Assignee: wjohnston → kumar.mcmillan
See Also: → 939270
Comment 6•11 years ago
|
||
oops! The login problem was because I told Wes to put 'dom.identity.enabled = true' in our addon to flip payment prefs but that kicked in some native code. Android won't ship with that so it should be false (which fixes the login issue).
I'll leave this bug open so I can patch the addon.
Target Milestone: --- → 2014-01-21
Comment 7•11 years ago
|
||
Hey Wes, could you pull this in and upload a new version of your super nifty addon? The testers have been using it. https://github.com/wesj/devMarketplace/pull/1
Flags: needinfo?(wjohnston)
Comment 8•11 years ago
|
||
Since we're still trying to crack this, Wes, you can hold off on that patch. I think it only fixed part of the problem. It fixed a login on one page but not another (our bounce page). I'm still digging into that.
Flags: needinfo?(wjohnston)
Comment 9•11 years ago
|
||
It looks like Persona is not handling the unverified email correctly. Not sure if it's us or them. Here's the issue: https://github.com/mozilla/persona/issues/4073
Updated•11 years ago
|
Target Milestone: 2014-01-21 → ---
Comment 12•11 years ago
|
||
This because of our use of unverified emails in the web version of persona as opposed to native. With the impending arrival of Firefox Accounts, we decided it wasn't worth trying to fix this and instead focus attention on Firefox Accounts. Unfortunately till that lands, we'll just have to live with this.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•