Page MenuHomePhabricator

Bug: payment form still displays warning that we do not accept over 10K donations
Closed, ResolvedPublic0 Estimated Story Points


Attempt to make a donation over $12K
Result: See error message below in screenshot

Expected: The errors message is changed to denote the 12K limit

From Peter: the donate_interface-bigamount-error message still has USD 10000 hardcoded in it.

image.png (338×730 px, 47 KB)

Event Timeline

Is this on donatewiki? On payments-wiki, if I don't specify an amount and currency in the URL, I can put in 11,000 USD and when I click submit the validation allows the amount (while warning on other empty fields)

derp, never mind, I just read the last line of the task description

So the correct fix for this is slightly more involved than just a text change - we should make that max amount a parameter and fix the places where we use it. This way it'll be correct for e.g. DLocal forms where we have a smaller max donation.

Change 529106 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[mediawiki/extensions/DonationInterface@master] Parameterize max USD amount in bigamount message

Change 529106 merged by jenkins-bot:
[mediawiki/extensions/DonationInterface@master] Parameterize max USD amount in bigamount message