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

Credit card payment not recorded when contribution is partially paid

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.16
    • Fix Version/s: 4.7.20
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      IIDA ticket : https://jmaltd.atlassian.net/browse/IIDA-108

      Steps to replicate:

      1. Create a contribution with status = Partially Paid
      2. Navigate to the contribution tab on the summary page and click on submit credit card payment from the options next to the contribution record.
      3. After filling in the fields and clicking submit, the payment is not successful and there are notice errors below:
      • Notice: Undefined index: billing_state_province_id-5 in CRM_Contribute_Form_AdditionalPayment->processCreditCard() (line 516 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Contribute/Form/AdditionalPayment.php).
      • Notice: Undefined index: billing_country_id-5 in CRM_Contribute_Form_AdditionalPayment->processCreditCard() (line 517 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Contribute/Form/AdditionalPayment.php).
      • Notice: Undefined index: credit_card_exp_date in CRM_Core_Payment_Form::getCreditCardExpirationYear() (line 418 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Core/Payment/Form.php).
      • Notice: Undefined index: credit_card_exp_date in CRM_Core_Payment_Form::getCreditCardExpirationMonth() (line 401 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Core/Payment/Form.php).
      • Notice: Undefined index: credit_card_exp_date in CRM_Core_Payment_Form::getCreditCardExpirationMonth() (line 405 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Core/Payment/Form.php).
      • Notice: Undefined index: credit_card_exp_date in CRM_Contribute_Form_AdditionalPayment->processCreditCard() (line 552 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Contribute/Form/AdditionalPayment.php).
      • Notice: Undefined index: credit_card_number in CRM_Contribute_Form_AdditionalPayment->processCreditCard() (line 557 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Contribute/Form/AdditionalPayment.php).
      • Notice: Undefined variable: contributionType in CRM_Contribute_Form_AdditionalPayment->processCreditCard() (line 571 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Contribute/Form/AdditionalPayment.php).
      • Notice: Trying to get property of non-object in CRM_Contribute_Form_AdditionalPayment->processCreditCard() (line 571 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Contribute/Form/AdditionalPayment.php).

        Attachments

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              edsel Edsel Lopez
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: