Multiple Memberships Status Not updated when payment status changed from pending to Completed
Pending Membership (multiple) created through Webform not updated in CiviCRM when Payment Status changed from Pending (paylater) to Completed.
- Create Webform in Drupal 7/8, Enable multiple contacts for Membership Signup/renew.
- Each contact can choose different/same membership type (-- User Select -- option for Membership Type)
- When form is submitted. Contribution Record created and Multiple membership created and these memberships linked to same contribution record in civicrm_membership_payment table
- In this scenario, All contact have chosen Same Membership Types
at backend, when Contribution/payment record status changed from Pending (Pay_later) to Completed, only last membership record from
civicrm_membership_payment against contribution record get updated to New/Current, other membership status remain Pending.
Note : This is no Inherited Membership, Each contact get Direct Membership for Same Contribution Record.
e.g. IF 3 person signup for General Membership. then in
civicrm_membership_payment table we have 3 entries of membership record with common contribution id.
All Pending Membership Status should change to New/Current.