Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-11242

Memberships "Renew - Credit Card" as administrator generates Civi error, sends no receipt, but does process membership and contribution

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.6
    • Fix Version/s: 4.2.7
    • Component/s: CiviContribute, CiviMember
    • Labels:
      None

      Description

      Reproduced on demo using mode=test and with test Auth.net credentials. The membership end dates are updated and a test contribution is created. Stuart also tested using Dummy processor and got the same error.

      Sorry but we are not able to provide this at the moment.
      One of parameters (value: ) is not of the type Integer

      — Backtrace from demo using Auth.net test mode —

      #0 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Core/Error.php(305): CRM_Core_Error::backtrace()
      #1 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Utils/Type.php(324): CRM_Core_Error::fatal("One of parameters (value: ) is not of the type Integer")
      #2 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Core/DAO.php(982): CRM_Utils_Type::validate(NULL, "Integer")
      #3 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Core/DAO.php(907): CRM_Core_DAO::composeQuery("\n SELECT id, financial_trxn_id\n FROM civicrm_entity_f...", (Array:2), TRUE)
      #4 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Core/BAO/FinancialTrxn.php(115): CRM_Core_DAO::executeQuery("\n SELECT id, financial_trxn_id\n FROM civicrm_entity_f...", (Array:2))
      #5 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Core/BAO/FinancialTrxn.php(60): CRM_Core_BAO_FinancialTrxn::getFinancialTrxnIds(NULL, "civicrm_contribution")
      #6 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Member/Form/MembershipRenewal.php(779): CRM_Core_BAO_FinancialTrxn::create((Array:9))
      #7 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Core/Form.php(246): CRM_Member_Form_MembershipRenewal->postProcess()
      #8 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Core/QuickForm/Action/Upload.php(151): CRM_Core_Form->mainProcess()
      #9 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Core/QuickForm/Action/Upload.php(128): CRM_Core_QuickForm_Action_Upload->realPerform(Object(CRM_Member_Form_MembershipRenewal), "upload")
      #10 /var/www/drupal7.civicrm.org/svn/civicrm42/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Upload->perform(Object(CRM_Member_Form_MembershipRenewal), "upload")
      #11 /var/www/drupal7.civicrm.org/svn/civicrm42/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Member_Form_MembershipRenewal), "upload")
      #12 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Core/Controller.php(289): HTML_QuickForm_Page->handle("upload")
      #13 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Member/Page/Tab.php(221): CRM_Core_Controller->run()
      #14 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Member/Page/Tab.php(289): CRM_Member_Page_Tab->edit()
      #15 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Core/Invoke.php(220): CRM_Member_Page_Tab->run((Array:4), NULL)
      #16 /var/www/drupal7.civicrm.org/svn/civicrm42/CRM/Core/Invoke.php(51): CRM_Core_Invoke::_invoke((Array:4))
      #17 /var/www/drupal7.civicrm.org/svn/civicrm42/drupal/civicrm.module(500): CRM_Core_Invoke::invoke((Array:4))
      #18 [internal function](): civicrm_invoke("contact", "view", "membership")
      #19 /var/www/drupal7.civicrm.org/public/includes/menu.inc(516): call_user_func_array("civicrm_invoke", (Array:3))
      #20 /var/www/drupal7.civicrm.org/public/index.php(21): menu_execute_active_handler()
      #21

      {main}

      — Original post ----
      After credit card is entered and submitted, page redirects to "https://SITE.org/civicrm/contact/view/membership" and returns an error referring to "not an integer"

      It appears the ID of the membership and contact is not being passed, thus the error.

      However, the membership is renewed and the credit card is charged.

      A receipt is NOT sent, even if the receipt option is selected.

        Attachments

          Activity

            People

            • Assignee:
              ravish.nair Ravish Nair
              Reporter:
              stoob Stoob
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: