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

For failed membership transaction, update payment status to failed

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Important
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.25
    • Fix Version/s: 4.7.30
    • Component/s: CiviMember
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      When Membership Signup process started using online page. we create contribution record with 'pending incomplete' status.

      Then request submitted to payment gateway for approval, if its successful then status changed to 'completed' and if failed it should change to 'Failed'.

      Right now status still show as 'pending' due to incomplete transaction.

      (this is happening only for membership payment and not for normal donation, we have separate function to call doPayment )

      Normal donation process handled through '

      CRM_Contribute_BAO_Contribution_Utils::processConfirm' And membership payment handled through '

      CRM_Contribute_Form_Contribution_Confirm::postProcessMembership' page.

      functionality available in Utils.php which update status to 'Failed' is not present for membership payment if failed. 

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sunil Sunil Pawar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: