dev/financial#2 Support payment processor title if configured on Contribution Pages
authoreileen <emcnaughton@wikimedia.org>
Sat, 26 Oct 2019 03:57:02 +0000 (16:57 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 28 Oct 2019 00:14:14 +0000 (13:14 +1300)
commitbf7ae8132f687f04138aa260c30cd5efc3dfc750
treea2347c0b4e7a17d11b4f824c9ba5f947ac29f932
parent573aa07e6fd431b32fd8a29994e87a65fa9cf971
 dev/financial#2 Support payment processor title if configured on Contribution Pages

Per https://lab.civicrm.org/dev/financial/issues/2 we agreed & added a 'title' field to the
civicrm_payment_processor table some time ago for exposure on front end forms.

We haven't actually done this, or made it UI configurable.

This fixes that for contribution pages & adds comments pointing out the tidy up
needed to make it similarly available on the events page.

Once done we should add to the payment processor form
CRM/Contribute/Form/Contribution/Main.php
CRM/Contribute/Form/ContributionBase.php
CRM/Event/Form/Registration/Register.php
CRM/Financial/Form/FrontEndPaymentFormTrait.php
tests/phpunit/CRM/Contribute/Form/ContributionTest.php
tests/phpunit/api/v3/ContributionPageTest.php