Answers.Body: <p>Take a look at the <a href="http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_membershipTypeValues" rel="nofollow">membershipTypeValues hook</a> and implement that in an extension.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-13T18:02:32.917Z
Answers.LastActivityDate: 2016-01-13T18:02:32.917Z
Answers.UserDisplayName: Aidan
Body: <p>Seeking advice on the best practice way to implement membership fees based on the custom field which contains organisation income. i.e. Membership fee would be 1% of income for type 'A' contact.</p>
  
  <p>I understand custom development is likely to be involved, so would it be best to create a module &amp; which hooks or classes to override? Something that is maintainable through releases without constant code changes would be good.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-13T05:09:11.950Z
Comments.Text: In short, a membership rate calculator.
Comments.UserDisplayName: Adam
Tags: <civimember>
Title: Membership fee based on custom field
ThreadText: # Membership fee based on custom field
  
  (Asked by: username_0 on 2016-01-12)
  
  Seeking advice on the best practice way to implement membership fees based on the custom field which contains organisation income. i.e. Membership fee would be 1% of income for type 'A' contact.
  
  I understand custom development is likely to be involved, so would it be best to create a module & which hooks or classes to override? Something that is maintainable through releases without constant code changes would be good.
  
  **Tags:** civimember
  
  > **Comments:**
  > **username_0**: In short, a membership rate calculator.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-01-13. Score: 1 | Accepted answer
  
  Take a look at the [membershipTypeValues hook](http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_membershipTypeValues) and implement that in an extension.
  
  
  ---
  
  