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

Failed iATS contribution should be set to failed, not pending

    Details

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

      Description

      Presumably this also affects other payment processors, but in recent 4.7.x series (related to CRM-16417), this happens:

      • Go to a contact record, contribution tab
      • Submit a new (live) credit card contribution
      • use 4111111111111111 for iATS, which will fail to process

      Result: the contribution is left as "pending", but it should be "failed".

      Discussed with Eileen: failPayment() should set the status, even if sometimes that might be redundant.

      https://chat.civicrm.org/civicrm/pl/atssxewjoffn9y337onycjqs7e

        Attachments

          Activity

            People

            • Assignee:
              mlutfy Mathieu Lutfy
              Reporter:
              mlutfy Mathieu Lutfy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: