"Spread the word" page says minimum donation amount is 10 Euro but allows 5 Euro #770

Closed
opened 2019-02-05 10:45:07 +00:00 by reinhard · 8 comments
Member

Donations with 5 Euro are quite ineffective because the transaction costs can already eat more than ¼ of the donation.

Donations with 5 Euro are quite ineffective because the transaction costs can already eat more than ¼ of the donation.
Owner

Thanks for the report. It's a limitation of HTML's possibilities. AFAIK it's impossible to set something like "this input field can only have the values 0 or more than 10."

Right now we make this possible with a min value of 0 and a "step" of 5. Increasing the step to 10 would mean nobody could donate 15 or 25€...

Do you know a solution to that, except just catching this in the PHP file which would probably cause some frustration?

Thanks for the report. It's a limitation of HTML's possibilities. AFAIK it's impossible to set something like "this input field can only have the values 0 or more than 10." Right now we make this possible with a min value of 0 and a "step" of 5. Increasing the step to 10 would mean nobody could donate 15 or 25€... Do you know a solution to that, except just catching this in the PHP file which would probably cause some frustration?
Author
Member

One possible solution might be to have a checkbox "I want to make a donation" and the input field with a minimum of 10. Also not ideal though, maybe somebody has a better idea.

One possible solution might be to have a checkbox "I want to make a donation" and the input field with a minimum of 10. Also not ideal though, maybe somebody has a better idea.
Owner

One possible solution might be to have a checkbox “I want to make a donation” and the input field with a minimum of 10. Also not ideal though, maybe somebody has a better idea.

Possible, but that's a really dirty hack. With the setup we have right now it makes donating (or not donating) simple.

I think it would be possible with some Javascript magic to implement this criterion while providing compatibility for non-JS users, probably with a hard check in the PHP script. But I have no idea of JS to be honest...

> One possible solution might be to have a checkbox “I want to make a donation” and the input field with a minimum of 10. Also not ideal though, maybe somebody has a better idea. Possible, but that's a really dirty hack. With the setup we have right now it makes donating (or not donating) simple. I think it would be possible with some Javascript magic to implement this criterion while providing compatibility for non-JS users, probably with a hard check in the PHP script. But I have no idea of JS to be honest...
max.mehl added this to the Hackathon1905 milestone 2019-05-22 15:13:15 +00:00
max.mehl added the
cgi Scripting
javascript
labels 2019-05-22 15:14:02 +00:00
ineiev was assigned by mweimann 2019-05-25 08:52:00 +00:00
ineiev was unassigned by mweimann 2019-05-25 08:52:00 +00:00
mweimann self-assigned this 2019-05-25 08:52:10 +00:00
Member

See #934

See #934
Member

As discussed with Max we propose the following pragmatic solution:

  • Add a JavaScript Validation that shows a message for amounts > 0 and < 10
  • The payment only starts for amounts > 10 (server side)

For users with JavaScript enabled that works. If someone without JavaScript tries to submit an amount <10 he will be just redirected to the success page without starting the actual payment process

As discussed with Max we propose the following pragmatic solution: * Add a JavaScript Validation that shows a message for amounts > 0 and < 10 * The payment only starts for amounts > 10 (server side) For users with JavaScript enabled that works. If someone without JavaScript tries to submit an amount <10 he will be just redirected to the success page without starting the actual payment process
Author
Member

Let me be clear: a donation of 5 Euro is not a broken leg, it is just highly inefficient, since about 30% to 50% get lost in fees.

So I would be ok with the above proposal, but I would also be ok with just allowing 5 Euro donations for people with disabled JavaScript.

Let me be clear: a donation of 5 Euro is not a broken leg, it is just highly inefficient, since about 30% to 50% get lost in fees. So I would be ok with the above proposal, but I would also be ok with just allowing 5 Euro donations for people with disabled JavaScript.
Member

The server side check is now 5 €

The server side check is now 5 €
Owner

Closed with #934

Closed with #934
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: FSFE/fsfe-website#770
No description provided.