Project60 / org.project60.membership

CiviCRM extension to facilitate the "European" membership concept
GNU Affero General Public License v3.0
6 stars 14 forks source link

Only renew membership when membership has a configured status. #27

Closed jaapjansma closed 5 years ago

jaapjansma commented 5 years ago

In issue #18 the functionality to renew a membership upon completing a contribution is added. However when a new membership is created with a pending contribution the membership has status pending. As soon as the membership is paid CiviCRM core sets the status of the membership to new. With the functionality in #18 enabled the membership is renewed immediatly.

Proposal is to add a configuration so that renewal only takes places when the membership has a certain status (e.g. Active).

jaapjansma commented 5 years ago

After investigating and testing I discovered a CiviCRM core bug. When CiviCRM is not in English then the membership status cron job processes pending memberships to new, even if a contribution is pending.

jaapjansma commented 5 years ago

In the master branch of civicrm core it looks like this issue is solved. I expect that with civicrm 5.7.x this issue will be solved.