Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: 4.6.13, 4.7.2
-
Fix Version/s: Unscheduled
-
Component/s: CiviContribute
-
Labels:
-
Documentation Required?:Developer Doc
-
Funding Source:Needs Funding
Description
If a payproc returns a trxn_id for a recurring contribution, two different outcomes happen based on whether a membership is involved. If it is a recurring contribution for a membership, the contribution status will be Completed, while a regular recurring contribution will be in a Pending state, requiring a webhook to complete it.
When payment_status_id =1 is also returned, the regular non-membership recurring contribution is set to Completed, as expected. It seems odd that trxn_id works to complete a recurring contribution sometimes. Since payment_status_id is the favored method, maybe returning trxn_id alone shouldn't complete any recurring contribution.