-
- Downloads
financial#152 remove determination of source
This function call determines the source, requiring quite a bit of complexity - however I believe it is unnecessary because either 1 ) we are completing an existing contribution - in which case the source will already exist or 2 ) we are repeating a contribution - in which case the source will be derived from the template contribution (with recurring appended). Removing this brings us close to the point where contribution is unnessary as an input parameter on the function
Showing
- CRM/Contribute/BAO/Contribution.php 1 addition, 37 deletionsCRM/Contribute/BAO/Contribution.php
- tests/phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php 4 additions, 2 deletionstests/phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php
- tests/phpunit/CRMTraits/Financial/OrderTrait.php 5 additions, 2 deletionstests/phpunit/CRMTraits/Financial/OrderTrait.php
- tests/phpunit/CiviTest/CiviUnitTestCase.php 1 addition, 0 deletionstests/phpunit/CiviTest/CiviUnitTestCase.php
- tests/phpunit/api/v3/ContributionTest.php 12 additions, 8 deletionstests/phpunit/api/v3/ContributionTest.php
Loading
Please register or sign in to comment