[REF] Simplify calculation of recurring membership parameters
authoreileen <emcnaughton@wikimedia.org>
Wed, 24 Mar 2021 22:29:47 +0000 (11:29 +1300)
committereileen <emcnaughton@wikimedia.org>
Fri, 26 Mar 2021 20:29:30 +0000 (09:29 +1300)
commitaba748e5599b058abc2d7a5934039f0f9894f508
treede8858c5ce8a18a0d1c2bff4c7bb8e99a46f178e
parentf3da3b2cd03b49ad9aa3c2d70b3e14814d4f9d37
[REF] Simplify calculation of recurring membership parameters

We need frequency_unit & frequency_interval for the params we pass
to the payment process & those we use to create the recurring -
this simplifies them to be calculated in a function rather than being
passed around

For the legacyProcessRecurringContribution function to be reached
auto_renew must be true
CRM/Financial/BAO/Order.php
CRM/Member/Form/Membership.php
tests/phpunit/CRM/Member/Form/MembershipTest.php