Answers.Body: <p>I am also experiencing this issue and have raised an issue in JIRA - <a href="https://issues.civicrm.org/jira/browse/CRM-18389" rel="nofollow noreferrer">https://issues.civicrm.org/jira/browse/CRM-18389</a>.  You can fix this by upgrading to CiviCRM 4.7.9 or higher.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-11T18:57:52.640Z
Answers.Text: I know. However I don't have enough reputation to add it as a comment which is what it should be - and I think it's valuable information to assist the original poster in resolving the issue - as is the other "answer" on the page which you have flagged similarly.
Answers.UserDisplayName: StuAFCB
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-11T15:37:53.483Z
Answers.LastActivityDate: 2016-12-08T16:59:28.160Z
Answers.LastEditDate: 2016-12-08T16:59:28.160Z
Answers.UserDisplayName: StuAFCB
Answers.Body: <p>I was just testing my Membership Contributions pages in the PayPal Sandbox to see what does happen when a renewal goes through (I was expecting a receipt sent from CiviCRM), however I'm seeing the same error that Mr. Oxley is seeing.</p>
  
  <p>This on :
  Joomla 3.5.0
  CiviCRM 4.7.4
  MySql 5.5.45
  PHP 5.5.31</p>
  
  <p>Here's the relevant log entries:</p>
  
  <pre><code>Apr 04 05:42:23  [info] $Fatal Error Details = Array
  (
      [message] =&gt; Recurring contribution, but no database id
      [code] =&gt;
  )
  
  
  Apr 04 05:42:23  [info] $backTrace = #0 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php(366): CRM_Core_Error::backtrace("backTrace", TRUE)
  
  1 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Payment/PayPalImpl.php(904): CRM_Core_Error::fatal("Recurring contribution, but no database id")
  
  2 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Payment.php(978): CRM_Core_Payment_PayPalImpl-&gt;doTransferCheckout((Array:59), "contribute")
  
  3 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Payment/PayPalImpl.php(457): CRM_Core_Payment-&gt;doPayment((Array:59), "contribute")
  
  4 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(1575): CRM_Core_Payment_PayPalImpl-&gt;doPayment((Array:59), "contribute")
  
  5 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(1361): CRM_Contribute_Form_Contribution_Confirm-&gt;postProcessMembership((Array:54), "347", Object(CRM_Contribute_Form_Contribution_Confirm), (Array:50), (Array:0), (Array:0), (Array:13), (Array:1), TRUE, NULL, FALSE, "2", (Array:0), 0, TRUE)
  
  6 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(2266): CRM_Contribute_Form_Contribution_Confirm-&gt;processMembership((Array:54), "347", (Array:0), (Array:0), (Array:50), (Array:0), 0)
  
  7 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(2140): CRM_Contribute_Form_Contribution_Confirm-&gt;doMembershipProcessing("347", (Array:53), (Array:50), 0)
  
  8 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(594): CRM_Contribute_Form_Contribution_Confirm-&gt;processFormSubmission("347")
  
  9 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Form.php(423): CRM_Contribute_Form_Contribution_Confirm-&gt;postProcess()
  
  10 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/StateMachine.php(160): CRM_Core_Form-&gt;mainProcess()
  
  11 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php(61): CRM_Core_StateMachine-&gt;perform(Object(CRM_Contribute_Form_Contribution_Confirm), "next", "Next")
  
  12 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next-&gt;perform(Object(CRM_Contribute_Form_Contribution_Confirm), "next")
  
  13 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller-&gt;handle(Object(CRM_Contribute_Form_Contribution_Confirm), "next")
  
  14 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page-&gt;handle("next")
  
  15 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(312): CRM_Core_Controller-&gt;run((Array:3), NULL)
  
  16 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(86): CRM_Core_Invoke::runItem((Array:15))
  
  17 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(54): CRM_Core_Invoke::_invoke((Array:3))
  
  18 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm.php(116): CRM_Core_Invoke::invoke((Array:3))
  
  19 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm.php(40): civicrm_invoke()
  
  20 /home/nwtaadmin/public_html/libraries/cms/component/helper.php(405): require_once("/home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm.php")
  
  21 /home/nwtaadmin/public_html/libraries/cms/component/helper.php(380): JComponentHelper::executeComponent("/home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm.php")
  
  22 /home/nwtaadmin/public_html/libraries/cms/application/administrator.php(98): JComponentHelper::renderComponent("com_civicrm")
  
  23 /home/nwtaadmin/public_html/libraries/cms/application/administrator.php(152): JApplicationAdministrator-&gt;dispatch()
  
  24 /home/nwtaadmin/public_html/libraries/cms/application/cms.php(257): JApplicationAdministrator-&gt;doExecute()
  
  25 /home/nwtaadmin/public_html/administrator/index.php(51): JApplicationCms-&gt;execute()
  
  26 {main}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-04T12:52:47.337Z
Answers.LastActivityDate: 2016-04-12T07:42:22.543Z
Answers.LastEditDate: 2016-04-12T07:42:22.543Z
Answers.UserDisplayName: Neil Z
Body: <p>When processing a new recurring <em>membership</em>, with the <em>"Please renew my membership automatically"</em> option enabled, we get the following error:</p>
  
  <blockquote>
    <p>Sorry but we are not able to provide this at the moment.</p>
    
    <p>Recurring contribution, but no database id</p>
  </blockquote>
  
  <p>What can we do to troubleshoot/resolve this issue?</p>
  
  <h1>Temporary fix</h1>
  
  <p>As a temporary fix, we set the <em>Membership Type Auto-renew Option</em> value to <em>No auto-renew option</em>. Now, we can process memberships, but those memberships can not auto-renew. </p>
  
  <p>We would like for members to have the option to auto-renew their membership.</p>
  
  <h1>Environment</h1>
  
  <ul>
  <li>Drupal 7.x</li>
  <li>CiviCRM 4.7.x</li>
  <li>MySQL</li>
  </ul>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-09T20:15:53.263Z
Comments.Text: Please post your CMS and CiviCRM version?
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-13T08:41:57.793Z
Comments.Text: Thanks cor the clarifying question @JonG. I have added details about our server environment to the question.
Comments.UserDisplayName: Brylie Christopher Oxley
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-13T08:51:24.480Z
Comments.Text: I have also added clarifications regarding the recurring membership option.
Comments.UserDisplayName: Brylie Christopher Oxley
Tags: <civimember><payment-processor><recurring-contributions>
Title: How to resolve error: "Recurring contribution, but no database id"?
ThreadText: # How to resolve error: "Recurring contribution, but no database id"?
  
  (Asked by: username_0 on 2016-03-09)
  
  When processing a new recurring *membership*, with the *"Please renew my membership automatically"* option enabled, we get the following error:
  
  > Sorry but we are not able to provide this at the moment.
  >
  > Recurring contribution, but no database id
  
  What can we do to troubleshoot/resolve this issue?
  
  # Temporary fix
  
  As a temporary fix, we set the *Membership Type Auto-renew Option* value to *No auto-renew option*. Now, we can process memberships, but those memberships can not auto-renew.
  
  We would like for members to have the option to auto-renew their membership.
  
  # Environment
  
  * Drupal 7.x
  * CiviCRM 4.7.x
  * MySQL
  
  **Tags:** civimember, payment-processor, recurring-contributions
  
  > **Comments:**
  > **username_1**: Please post your CMS and CiviCRM version?  
  > **username_0**: Thanks cor the clarifying question @JonG. I have added details about our server environment to the question.  
  > **username_0**: I have also added clarifications regarding the recurring membership option.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2016-04-11. Score: 2
  
  I am also experiencing this issue and have raised an issue in JIRA - <https://issues.civicrm.org/jira/browse/CRM-18389>. You can fix this by upgrading to CiviCRM 4.7.9 or higher.
  
  > **Comments:**
  > **username_2**: I know. However I don't have enough reputation to add it as a comment which is what it should be - and I think it's valuable information to assist the original poster in resolving the issue - as is the other "answer" on the page which you have flagged similarly.  
  
  ---
  
  ### Answer by username_3 on 2016-04-04. Score: -1
  
  I was just testing my Membership Contributions pages in the PayPal Sandbox to see what does happen when a renewal goes through (I was expecting a receipt sent from CiviCRM), however I'm seeing the same error that Mr. Oxley is seeing.
  This on :
  Joomla 3.5.0
  CiviCRM 4.7.4
  MySql 5.5.45
  PHP 5.5.31
  Here's the relevant log entries:
  Apr 04 05:42:23  [info] $Fatal Error Details = Array
  (
      [message] => Recurring contribution, but no database id
      [code] =>
  )
  
  
  Apr 04 05:42:23  [info] $backTrace = #0 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php(366): CRM_Core_Error::backtrace("backTrace", TRUE)
  
  1 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Payment/PayPalImpl.php(904): CRM_Core_Error::fatal("Recurring contribution, but no database id")
  
  2 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Payment.php(978): CRM_Core_Payment_PayPalImpl->doTransferCheckout((Array:59), "contribute")
  
  3 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Payment/PayPalImpl.php(457): CRM_Core_Payment->doPayment((Array:59), "contribute")
  
  4 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(1575): CRM_Core_Payment_PayPalImpl->doPayment((Array:59), "contribute")
  
  5 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(1361): CRM_Contribute_Form_Contribution_Confirm->postProcessMembership((Array:54), "347", Object(CRM_Contribute_Form_Contribution_Confirm), (Array:50), (Array:0), (Array:0), (Array:13), (Array:1), TRUE, NULL, FALSE, "2", (Array:0), 0, TRUE)
  
  6 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(2266): CRM_Contribute_Form_Contribution_Confirm->processMembership((Array:54), "347", (Array:0), (Array:0), (Array:50), (Array:0), 0)
  
  7 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(2140): CRM_Contribute_Form_Contribution_Confirm->doMembershipProcessing("347", (Array:53), (Array:50), 0)
  
  8 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(594): CRM_Contribute_Form_Contribution_Confirm->processFormSubmission("347")
  
  9 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Form.php(423): CRM_Contribute_Form_Contribution_Confirm->postProcess()
  
  10 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/StateMachine.php(160): CRM_Core_Form->mainProcess()
  
  11 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php(61): CRM_Core_StateMachine->perform(Object(CRM_Contribute_Form_Contribution_Confirm), "next", "Next")
  
  12 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Contribute_Form_Contribution_Confirm), "next")
  
  13 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contribute_Form_Contribution_Confirm), "next")
  
  14 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page->handle("next")
  
  15 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(312): CRM_Core_Controller->run((Array:3), NULL)
  
  16 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(86): CRM_Core_Invoke::runItem((Array:15))
  
  17 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(54): CRM_Core_Invoke::_invoke((Array:3))
  
  18 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm.php(116): CRM_Core_Invoke::invoke((Array:3))
  
  19 /home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm.php(40): civicrm_invoke()
  
  20 /home/nwtaadmin/public_html/libraries/cms/component/helper.php(405): require_once("/home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm.php")
  
  21 /home/nwtaadmin/public_html/libraries/cms/component/helper.php(380): JComponentHelper::executeComponent("/home/nwtaadmin/public_html/administrator/components/com_civicrm/civicrm.php")
  
  22 /home/nwtaadmin/public_html/libraries/cms/application/administrator.php(98): JComponentHelper::renderComponent("com_civicrm")
  
  23 /home/nwtaadmin/public_html/libraries/cms/application/administrator.php(152): JApplicationAdministrator->dispatch()
  
  24 /home/nwtaadmin/public_html/libraries/cms/application/cms.php(257): JApplicationAdministrator->doExecute()
  
  25 /home/nwtaadmin/public_html/administrator/index.php(51): JApplicationCms->execute()
  
  26 {main}
  
  
  ---
  
  