Answers.Body: <p>One possibility is when they come out as a guest and pay the fee, you provide them with an automatic discount from the CiviDiscount extension, which is applicable to the full "Member" membership type and is automatically given to folks with a current "Guest" membership. </p>
  
  <p><a href="https://i.sstatic.net/BnA24.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/BnA24.png" alt="Auto discount membership"></a></p>
  
  <p>You may need to play with settings to see for sure if it will work in your case.</p>
  
  <ul>
  <li>Extension page: <a href="https://civicrm.org/extensions/cividiscount" rel="nofollow noreferrer">CiviDiscount</a></li>
  <li>Github: <a href="https://github.com/dlobo/org.civicrm.module.cividiscount" rel="nofollow noreferrer">org.civicrm.module.cividiscount</a></li>
  </ul>
  
  <blockquote>
    <p><strong>CiviDiscount</strong>: This extension allows the admin to create and manage
    discount codes that can be used on membership and event pages.</p>
    
    <p><strong>Features</strong>:</p>
    
    <ul>
    <li>Support for price sets and individual items in a price set</li>
    <li>Use of monetary or percentage based discounts</li>
    <li>Automatic discount based on membership</li>
    <li>Generate random discount codes</li>
    <li>Usage and assigned code tabs on a contact record</li>
    <li>Code summary screen displays usage for a given discount code</li>
    <li>Option to apply discounts to additional participants</li>
    </ul>
  </blockquote>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-25T16:06:45.897Z
Answers.Text: That's an interesting idea. Do you know if it's possible to automatically generate the discount code and e-mail it when they register, or would that have to be manual?
Answers.UserDisplayName: Paul Dufresne
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-25T16:16:15.027Z
Answers.Text: I think you can set an automatic discount for Guest members that are current. (no code needed)
Answers.UserDisplayName: Laryn
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-25T15:51:22.680Z
Answers.LastActivityDate: 2016-04-25T16:28:32.047Z
Answers.LastEditDate: 2016-04-25T16:28:32.047Z
Answers.UserDisplayName: Laryn
Body: <p>Our club allows people to come out as guests, for which we collects guest fee. If that person later chooses to become a member, we deduct that guest fee from their membership fee.</p>
  
  <p>I know I can create different fee structures, but that assumes the person entering the information, whether that's a club executive or the member selects the correct thing. I haven't found a mechanism for membership upgrades, or a means of replacing one membership with another but applying a credit against the new one.</p>
  
  <p>Is there a way with CiviCRM to automate this process? </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-25T04:15:27.880Z
Comments.Text: Part of the answer, I believe, lies with the renewal engine.
  
  Since our club uses a fixed-term membership, someone who has registered as a guest can renew their membership and select a different membership type. Now the question is, how do I subtract the contribution paid in the first membership from the fee paid for the up-sell or new membership?
Comments.UserDisplayName: Paul Dufresne
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-25T14:51:13.967Z
Comments.Text: I configured a guest membership type, and registered a user as a guest, then tried using the renew process to change their membership type to member, but in the process it extended their membership by a year.
Comments.UserDisplayName: Paul Dufresne
Tags: <civimember><contributions><cividiscount>
Title: Can I subtract guest fees collected from a membership fee when a user registers
ThreadText: # Can I subtract guest fees collected from a membership fee when a user registers
  
  (Asked by: username_0 on 2016-04-25)
  
  Our club allows people to come out as guests, for which we collects guest fee. If that person later chooses to become a member, we deduct that guest fee from their membership fee.
  
  I know I can create different fee structures, but that assumes the person entering the information, whether that's a club executive or the member selects the correct thing. I haven't found a mechanism for membership upgrades, or a means of replacing one membership with another but applying a credit against the new one.
  
  Is there a way with CiviCRM to automate this process?
  
  **Tags:** civimember, contributions, cividiscount
  
  > **Comments:**
  > **username_0**: Part of the answer, I believe, lies with the renewal engine.  Since our club uses a fixed-term membership, someone who has registered as a guest can renew their membership and select a different membership type. Now the question is, how do I subtract the contribution paid in the first membership from the fee paid for the up-sell or new membership?  
  > **username_0**: I configured a guest membership type, and registered a user as a guest, then tried using the renew process to change their membership type to member, but in the process it extended their membership by a year.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-04-25. Score: 5 | Accepted answer
  
  One possibility is when they come out as a guest and pay the fee, you provide them with an automatic discount from the CiviDiscount extension, which is applicable to the full "Member" membership type and is automatically given to folks with a current "Guest" membership.
  
  [![Auto discount membership](https://i.sstatic.net/BnA24.png)](https://i.sstatic.net/BnA24.png)
  
  You may need to play with settings to see for sure if it will work in your case.
  
  * Extension page: [CiviDiscount](https://civicrm.org/extensions/cividiscount)
  * Github: [org.civicrm.module.cividiscount](https://github.com/dlobo/org.civicrm.module.cividiscount)
  
  > **CiviDiscount**: This extension allows the admin to create and manage
  > discount codes that can be used on membership and event pages.
  >
  > **Features**:
  >
  > * Support for price sets and individual items in a price set
  > * Use of monetary or percentage based discounts
  > * Automatic discount based on membership
  > * Generate random discount codes
  > * Usage and assigned code tabs on a contact record
  > * Code summary screen displays usage for a given discount code
  > * Option to apply discounts to additional participants
  
  > **Comments:**
  > **username_0**: That's an interesting idea. Do you know if it's possible to automatically generate the discount code and e-mail it when they register, or would that have to be manual?  
  > **username_1**: I think you can set an automatic discount for Guest members that are current. (no code needed)  
  
  ---
  
  