Order api updates to fix participant handling & deprecate creating 'completed'
authoreileen <emcnaughton@wikimedia.org>
Tue, 15 Oct 2019 07:09:30 +0000 (20:09 +1300)
committereileen <emcnaughton@wikimedia.org>
Tue, 15 Oct 2019 09:58:48 +0000 (22:58 +1300)
commitaf595ac21d1562ed9560e5b7c1ceaf7f533a7bbd
tree7e052204cf9d09736eabde90ab1cd180c7094f89
parent443fd42fd84bb15b7ae95f0f4e0b36215d28a6d4
Order api updates to fix participant handling & deprecate creating 'completed'

Per https://docs.civicrm.org/dev/en/latest/financial/OrderAPI/

1) we want to deprecate creating orders with a status other than 'Pending'
2) we don't want to have to require status is passed in for Participant.
api/v3/Order.php
api/v3/examples/Order/Create.ex.php
api/v3/examples/Order/CreateOrderParticipant.ex.php
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php
tests/phpunit/CRM/Contribute/Form/Task/InvoiceTest.php
tests/phpunit/CRMTraits/Financial/PriceSetTrait.php
tests/phpunit/api/v3/OrderTest.php