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

Propagate address info entered on CiviCRM forms to Paypal Standard

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Usability fix:

      The attached diff modifies the 2.0.1 version of CRM/Core/Payment/PayPalImpl.php to prevent requiring users to enter their name/address info twice, once on our Contribution form, and then again once we send them off to Paypal Standard. Should work for any Contribution/Membership/other form that includes standard contact info fields. Is agnostic about which address is used (Primary, Billing, etc).

      This propagates the variables I cared about (first, last, address1, city, state, zip, email). If more variables are desired, the doc on Paypal's variable names is here:
      https://www.paypal.com/IntegrationCenter/ic_std-variable-reference.html#HTMLVariablesforPrepoluatingPayPalPaymentPages

      *NOTE* the attached diff was generated against my locally SVN'd cop of CiviCRM so the revision number in the patch won't match the official repository.

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              maarten Maarten van Dantzich
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: