Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17666

Allow passing membership_type_id when creating membership payments

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.10, 4.7
    • Fix Version/s: 4.7
    • Component/s: CiviCRM API, CiviMember
    • Labels:
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Contributed Code

      Description

      When creating membership payments, the membership type id is determined from the the membership through an api call, while there is a big chance that you know the membership type when creating the membership payment.

      This adds a big overhead when importing a lot of memberships payments through the api,
      and is also unnecessary in most cases when creating memberships payments through the UI

      The membership type id is used to update the line_item, until the transition from civicrm_membership_payment to line_item is complete (see CRM-14197)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mollux Mattias Michaux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: