Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.3
-
Fix Version/s: 4.6.4
-
Component/s: None
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
In 4.6.3 in when you update a membership with a pending online contribution you get the recordContribution box). This will allow you to update the most recent pending payment - but does not fill the amount correctly - using the membership min_amount default rather than the contribution amount.
On looking at the code I feel that if there is an ability to update a pending contribution then it makes sense that this should apply to the 'last pending contribution' rather than being specifically online & I propose that change for 4.7. I'm not sure why the online bit would matter.
More controversially the payment type could be changed at this point. As contribution represents an order not a payment that is fine & in theory whatever code is working for change payment type elsewhere would still apply