Body: <p>Drupal 7 / CiviCRM 4.6.10</p>
  
  <p>We are noticing this issue with this pattern:</p>
  
  <ol>
  <li>A Drupal User has existed for many years with a corresponding CiviCRM record</li>
  <li>Has never had a Membership record in CiviCRM</li>
  <li>Used a Contribution Page with a Membership Price Set to Become a Member without being logged in to their Drupal account</li>
  <li>Our Contribution page has the user account creation required </li>
  </ol>
  
  <p>The pre-existing Drupal account / Civi Record, which they did NOT appear to login to, is receiving the contribution, but NO membership record is created.</p>
  
  <p>I am thinking through all the options here - for a record we reviewed their linked Drupal record says this:</p>
  
  <p>Last seen: 4 years 3 months ago
  Joined: 11/14/2011 - 7:31am</p>
  
  <p>So - how is this even possible? It seems like maybe they forgot they had an existing Drupal username, created an entirely new one, but then Civi didn't update their record to it, and then the membership is lost?</p>
  
  <p>Thanks for your help.</p>
  
  <p>I've seen this issue: <a href="https://civicrm.stackexchange.com/questions/10112/contribution-recorded-but-no-membership-created-when-account-creation-is-used">Contribution recorded but no membership created when account creation is used</a></p>
  
  <p>We are using LoginToboggan (but not a rule) and it is redirecting members to a page after account creation, is it the same issue?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-08T11:48:17.430Z
Comments.Text: can you please give me some more details please - I couldn't recreate the issue - is your contribution page set correctly
Comments.UserDisplayName: Ramesh - ARTECH Consultancy
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-08T19:27:40.310Z
Comments.Text: Hey Ramesh - as far as I know it is. We have many other people using it every day, able to contribute as completely new members, creating accounts and memberships and contributions. Also, other existing members are able to do this.
  
  The accounts that had the issue of no membership created had Relationships to Organizations but I couldn't see any linked membership happening. 
  
  Is there anything else I could look for, debug? Perhaps the error is limited to the people/records who this happened to based on our data/setup ?
Comments.UserDisplayName: Zachary
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-09T09:31:02.357Z
Comments.Text: Is this happening only for member who has an relationship with the organization?
Comments.UserDisplayName: Ramesh - ARTECH Consultancy
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-18T22:36:57.877Z
Comments.Text: Not in our tests. Trying to find more data for you.
Comments.UserDisplayName: Zachary
Tags: <civicontribute><drupal><civimember>
Title: Issue of membership contribution recorded but no membership created
ThreadText: # Issue of membership contribution recorded but no membership created
  
  (Asked by: username_0 on 2016-03-07)
  
  Drupal 7 / CiviCRM 4.6.10
  
  We are noticing this issue with this pattern:
  
  1. A Drupal User has existed for many years with a corresponding CiviCRM record
  2. Has never had a Membership record in CiviCRM
  3. Used a Contribution Page with a Membership Price Set to Become a Member without being logged in to their Drupal account
  4. Our Contribution page has the user account creation required
  
  The pre-existing Drupal account / Civi Record, which they did NOT appear to login to, is receiving the contribution, but NO membership record is created.
  
  I am thinking through all the options here - for a record we reviewed their linked Drupal record says this:
  
  Last seen: 4 years 3 months ago
  Joined: 11/14/2011 - 7:31am
  
  So - how is this even possible? It seems like maybe they forgot they had an existing Drupal username, created an entirely new one, but then Civi didn't update their record to it, and then the membership is lost?
  
  Thanks for your help.
  
  I've seen this issue: [Contribution recorded but no membership created when account creation is used](https://civicrm.stackexchange.com/questions/10112/contribution-recorded-but-no-membership-created-when-account-creation-is-used)
  
  We are using LoginToboggan (but not a rule) and it is redirecting members to a page after account creation, is it the same issue?
  
  **Tags:** civicontribute, drupal, civimember
  
  > **Comments:**
  > **username_1**: can you please give me some more details please - I couldn't recreate the issue - is your contribution page set correctly  
  > **username_0**: Hey Ramesh - as far as I know it is. We have many other people using it every day, able to contribute as completely new members, creating accounts and memberships and contributions. Also, other existing members are able to do this.  The accounts that had the issue of no membership created had Relationships to Organizations but I couldn't see any linked membership happening.   Is there anything else I could look for, debug? Perhaps the error is limited to the people/records who this happened to based on our data/setup ?  
  > **username_1**: Is this happening only for member who has an relationship with the organization?  
  > **username_0**: Not in our tests. Trying to find more data for you.  
  
  ---
  
  ## 0 answers
  
  