Clean up contributionParams
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 6 Nov 2023 22:36:07 +0000 (11:36 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 8 Nov 2023 23:53:08 +0000 (12:53 +1300)
commitbd7f0813f253606446ad261f681a5bf7d644ea93
tree9d9fea7957647590af16c015ad5ad7a4dac422fe
parent6f5b62182a081f888a8a6764f5b7fa871558a2bc
Clean up contributionParams

THere are 2 modes here
- credit card payment, contributionParams is not used
- non card payment, record_contribution is TRUE and total_amount is set on the
form, the submitted value for total_amount is used rather than
any calculated value

Hence the total_amount in the legacy (previously shared) prepare function
is always overwritten or discarded
CRM/Event/Form/Participant.php