Closed Bug 581496 Opened 16 years ago Closed 16 years ago

Prevent excessive contributions

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect, P5)

defect

Tracking

(Not tracked)

VERIFIED FIXED
5.12.1

People

(Reporter: jbalogh, Assigned: chenba)

References

()

Details

(Whiteboard: [z][patch])

Attachments

(2 files)

GET:<QueryDict: {u'comment': [u''], u'source': [u'developers-pledge-83'], u'onetime-amount': [u'20000000000'], u'type': [u'onetime'], u'monthly-amount': [u'']}>, Proposed fix: alert("Don't be a jackass");
(In reply to comment #0) > Proposed fix: alert("Don't be a jackass"); Or rather "seriously, Bill, you're using Firefox?"
What's a good cap?
Target Milestone: 5.11.7 → 5.11.8
Please explain this bug in English
Our code complains when someone tries to make a monthly subscription donation of $9999999999999999999999999[1]. We'd like to limit it. [1] not made up
Let's set a limit of 1000
Target Milestone: 5.11.8 → 5.12
Assignee: nobody → chenba
Priority: -- → P5
Target Milestone: 5.12 → 5.12.1
http://github.com/chenba/zamboni/commit/35db92a9c27d82d26c6b9b76d4732a2c2a11073d Very simple client side check. jbalogh's description showed a onetime contribution, while clouserw and fligtar's comments talked about monthly contributions, so the limit is being applied to both. The limit is currently set to fligtar's suggested 1000.
Whiteboard: [z] → [z][patch]
http://github.com/jbalogh/zamboni/commit/6f11f1229802a3650503ff01e3705d0a72396a69 This'll still email us with a traceback if someone tampers with it, but we'll see if it continues. If it does, we need a try/except around that chunk of code which is easy enough.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
There is an error message-'The maximum contribution amount is 1 000,00 $US.' whenever user tries to make one-time/monthly contribution of more than 1000$. User cannot proceed with contributions if amt > 1000 checked in en-US,de,fr,he and ja locales.
Status: RESOLVED → VERIFIED
Attached image post-fix screenshot 1 —
Attached image post-fix screenshot 2 —
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: