There seems to be an unnecessary dependency on the iDeal module. The only reference I can see is the use of a "define" (IDEAL_MAXIMUM_AMOUNT) when setting the default maximum donation amount.

And I don't see the need for a dependency on the Currency module either. The donation form doesn't allow for the end-user to select a currency. This module has "EUR" hard-coded into it, with no way to change it other than (I guess) HOOK_form_alter. Not really user- OR developer-friendly, is it?

Comments

xano’s picture

Status: Active » Needs review
StatusFileSize
new3.04 KB
xano’s picture

Can you confirm whether this works for you?

extexan’s picture

Yes, it's fine now. Thanks.

xano’s picture

Status: Needs review » Fixed

Thanks!

roderik’s picture

Status: Fixed » Needs review
StatusFileSize
new1.14 KB

Actually, it doesn't work for new installations. Generates a fatal error because the currency variable isn't set.

Also, the block UI doesn't show the currnency selector.

roderik’s picture

StatusFileSize
new1.89 KB

Oh. #5 made it possible to set the currency variable, but this one also prevents the fatal exception if the currency variable isn't set.

xano’s picture

Status: Needs review » Fixed

Thanks! Committed.

a.ross’s picture

Please roll another stable release, as 1.1 doesn't work because of this bug.

xano’s picture

Releases are not made every time a critical issue is fixed. As it happens, we need to fix #2159001: Catch payment validation exceptions during form validation as well before publishing the next release.

a.ross’s picture

Well, as 1.1 is just unusable (and I struggled with it myself an hour yesterday) and this presumably fixes it. Normal release policies dictate that a new release should be made instantly or at the very least the broken release should be pulled until a new release can be made.

I'll just use the dev release, I'm but concerned about other users...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.