CRM-2718 If "Pay later option" is checked, hide Billing Name and Address fields as well as Credit Card info fields

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: CiviContribute, CiviEvent
    • Labels:
      None

      Description

      User should not be prompted for Credit / Debit Card info or for Billing Name and Address if they check the Pay Later option.

      For event registration and online contribution pages where the selected payment processor causes these 2 blocks of fields to be included... add javascript which hides these blocks when Pay Later is checked.

      (I'm not sure if there are cases where we include the credit card fields but NOT the Billing Name / Address block - or vice versa. If so, please make sure the hide code handles these combinations of conditions.)

      Also, make sure we don't create an empty Billing location.

        Attachments

          Activity

          [CRM-2718] If "Pay later option" is checked, hide Billing Name and Address fields as well as Credit Card info fields
          Sunil Pawar added a comment -

          Fixed in r14004.

          Paul Hardwick added a comment -

          I can understand removing the billing address, and of course we wouldn't need the CC# info when "Pay Later" is selected, but I think that we should still collect the donor's name. Otherwise all we have(for new donors, its diff if they are signed in) is their email address. With the name we could do better customization of the emails we send them. It would also be easier to ID the person. Many people have cryptic email addresses that don't reflect their name.

            People

            • Assignee:
              Deepak Srivastava
              Reporter:
              Kurund Jalmi

              Dates

              • Created:
                Updated:
                Resolved: