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

IPN copyCustomValues DB Error: already exists

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.19, 4.6, 4.7
    • Fix Version/s: 4.7.9
    • Component/s: CiviContribute
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      The complete contribution IPN code attempts to insert contribution custom fields assuming they have not yet been created. If the complete contribution code is called on an existing contribution for which custom fields have already been populated, this causes an error.

      The simple solution is to use the 'IGNORE' keyword in the INSERT statement.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                monish.deb Monish Deb
                Reporter:
                adixon Alan Dixon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: