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

Blank billing address created on paid event registrations with no billing address

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.6
    • Fix Version/s: 4.7.8
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      If you use an 'external' payment provider;
      And you don't have any 'billing' address fields on your event registration form;
      Then a blank 'billing' address is created for the registering contact.

      I've tracked this down to the murky depths of CRM_Event_Form_Registration_Confirm::fixLocationFields

      I'm not sure what this function is doing. I need to investigate more. Not sure why it's called on every field in the params either.

      This is major rather than minor because of the undocumented complexities in the class.

      Proposed fix is: if we don't ask for billing details on the form, then we don't want to store them in Civi. So don't create a blank billing address - even if we're taking a payment.

        Attachments

          Activity

            People

            • Assignee:
              john John K.
              Reporter:
              john John K.
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 31 minutes
                1h 31m