openaustralia / oaf

OpenAustralia Foundation
https://github.com/openaustralia/oaf#readme
4 stars 3 forks source link

If you don't select an amount when donating it silently defaults to $15 #256

Closed henare closed 5 years ago

henare commented 7 years ago

I observed this using a test-drive form. Looking at the code seems to confirm that would be the case when donating on a live form too:

selection_002

equivalentideas commented 7 years ago

@henare does the test mode include all the scripts/css that users see? A test mode I saw earlier didn't so wondering if that's the issue.

henare commented 7 years ago

Yes it does. Also the codez above are from a freshly loaded live page.

equivalentideas commented 7 years ago

Yes it does.

Ah awesome. That's also a way better test page, than a hokey one I saw inside civicrm đź‘Ť

I think a solution to this could be running a function we have to clear the buttons on page load. From memory it currently runs when you change the selection—and when we moved to default to 'once-off' I probably forgot to catch this situation.

jamezpolley commented 5 years ago

We don't use CiviCRM any more