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

paypal express button, when used with paypal pro recurring contribs, doesn't work

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1.4
    • Fix Version/s: 3.2
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      The code developed for paypal pro recurring contribs doesn't taken into consideration the possible use of the paypal express button. The current functionality is very misleading, as someone could complete the form with recurring contrib, click paypal express, go all the way through the process and receive a receipt email indicating they've created a recurring contrib – when in fact the recurring record was not created with paypal.

      Attached find revised files:
      CRM/Core/Payment/PayPalImpl.php
      CRM/Contribute/BAO/Contribution/Utils.php

      I've basically created a new method in the PayPalImpl file to handle the paypal express if recurring. The code can probably be tightened up.
      mods commented with //LCD

        Attachments

        1. PayPalImpl.patch
          4 kB
          Brian Shaughnessy
        2. Utils.patch
          0.6 kB
          Brian Shaughnessy

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: