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