Closed
Bug 703019
Opened 13 years ago
Closed 13 years ago
Don't allow user to purchase the same app twice.
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P1)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
RESOLVED
FIXED
6.3.3
People
(Reporter: krupa.mozbugs, Assigned: potch)
References
()
Details
Attachments
(1 file)
764.28 KB,
image/png
|
Details |
steps to reproduce: 1. Purchase an app like https://apps-preview-dev.allizom.org/en-US/apps/app/test-webapp-4/ 2. Notice that after purchase the install button changes to "Install app" 3. Load https://apps-preview-dev.allizom.org/en-US/apps 4. Notice that the install button for the app still says "Purchase.." 5. Try to purchase the same app again. expected behavior: * We don't allow user to purchase the same app twice. * The install button in the listing page says "Install app" if the user has purchased the app. actual behavior: * The install button in the listing page says "Purchase app for $0.01" even when the user has purchased the app. * user can purchase the same app twice. See screenshot screencast: http://screencast.com/t/E5W7mBQC
Updated•13 years ago
|
Assignee: nobody → thepotch
Priority: -- → P1
Target Milestone: --- → 6.3.3
Comment 2•13 years ago
|
||
I added some code to prevent repurchase. But the issue here I believe is that the checking of data-purchases in the body element isn't being done on listing pages. gkoberger did that so ping him or me if you need anymore help on that.
Comment 3•13 years ago
|
||
If the app has been purchased, re-clicking "Purchase" should just open a "Hey, you already bought this!" modal that triggers an install.
Comment 4•13 years ago
|
||
And by "should", I mean "based on the code, it does this" rather than "in theory".
Assignee | ||
Comment 5•13 years ago
|
||
I see no evidence of this issue anymore. If we get the IPN, the user isn't able to repurchase. If we don't get the IPN, we can't prove they bought it, and they have to repurchase. Not much we can do there.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•