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

Authorize.net does not check for duplicate invoice IDs, so we should before we submit

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.7
    • Fix Version/s: 2.0
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      Unfortunately Authorize.net allows the same invoice ID to be submitted twice. This means that the user can accidentally submit the form twice and thus be billed twice. This patch adds a check for a completed transaction with this invoice ID before submitting to Authorize.net. If one exists an error is thrown.

      Also I made the existing "No CURL" error more descriptive (there are a couple of forum posts from confused admins that don't have CURL installed).

        Attachments

          Activity

            People

            • Assignee:
              mover Michał Mach
              Reporter:
              dalin dave hansen-lange
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: