Fixes to functions to determine if isMembership, isSeparatePayment
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 22 Nov 2023 22:49:13 +0000 (11:49 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 22 Nov 2023 23:56:36 +0000 (12:56 +1300)
commit6723d96fccf66775c543e9a33a87017f8c44d2c0
tree77630e63672cff5454cad3343c74618694e86316
parent214a76a103d83f63494dc251b5cd0b93948710e3
Fixes to functions to determine if isMembership, isSeparatePayment

In the case of isSeparatePayment we have a function to determine if the form
supports separate payments - but are using this interchangeably with whether the
user has selected more than one option (if they only selected 1 there is only 1 payment)
CRM/Contribute/Form/Contribution/Confirm.php
CRM/Contribute/Form/ContributionBase.php
tests/phpunit/api/v3/ContributionPageTest.php