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

Billing form does not preload defaults when changing processor

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      I observed while testing paypal that if you change billing block it doesn't get the default address details. I suspect this is not new to 4.7. However, the fix is not tricky - except that I'm not sure the best way approach in CRM/common/PaymentBlock.tpl

      I've altered the payment form such that it reacts to the normal url parameters of cid & cs (checksum)

      So, I guess the calling form needs to check first whether it 'knows' the cid by virtue of it being selected on the form. Alternatively does the url contain cid or cs. If not then it doesn't need to determine the logged in user as the form will fall back on that anyway.

      @Coleman - I'm going to add the php part of this & then try to pin you down to determine the template / js part

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: