Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.9
-
Fix Version/s: 2.0
-
Component/s: CiviMember
-
Labels:None
Description
Form validation code for online membership signup is incorrectly requiring the contribution amount to
To recreate with sample data:
- Set contribution page id=2 so that Membership Setting have "Separate Membership Payment" = true. Also enable the Contribution Amount - Other Amount block and field.
- Go to test-drive and select a Membership with a $100 fee and then also enter an additional Contribution of $15 - the current code returns a validation error (requires that the contribution be >= $100). However, if I enter a contribution of $115 and continue - it will generate 2 payments - $100 for the membership and $115 for the contribution for a total of $215. (I should be able to enter a $15 contribution and wind up w/ 2 payments - $100 for membership and $15 for contribution.)
To Fix
=====
We should NOT do any min amount validation on the contribution amount WHEN "Separate Membership Payment" is TRUE (other than any rules configured explicitly by civicrm_contribution_page min_amount and max_amount).