-
-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes #core-5641 add MembershipPayment and ParticipantPayment APIv4 #31593
base: master
Are you sure you want to change the base?
Conversation
🤖 Thank you for contributing to CiviCRM! ❤️ We will need to test and review this PR. 👷 Introduction for new contributors...
Quick links for reviewers...
|
IIRC these weren't added intentionally, since the Line Item relationship should render them irrelevant. But that's not me expressing an opinion one way or the other, just repeating what I heard. |
I think you're referring to the discussion here: https://chat.civicrm.org/civicrm/pl/4rypijzmofdbdekkh5kch4mkic |
I think these ought to be placed in |
@lcdservices This keeps popping up but we've not added them because effectively both MembershipPayment and ParticipantPayment are deprecated in favour of LineItems. |
But as far as I can see -- they have not yet been deprecated, and are actively in use. I feel like we should support them until they are actually deprecated. @colemanw your thoughts? -- and I moved them to the respective ext folders, PR is updated. |
Agree it's not entirely clear but anything that creates either of those entities should also be creating LineItems. There is a note here: https://lab.civicrm.org/dev/core/-/issues/2486 - also see #29388 |
See also #31538 which is something i came up following similar discussions happening in mattermost |
I don't know that actively supporting them is the same as increasing support for them (ie adding apiv4) - we should do more to stop using them though - esp the membership payment which should be easier |
Overview
Registers MembershipPayment and ParticipantPayment entities for APIv4.