Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.4
-
Fix Version/s: 4.4.0
-
Component/s: CiviMember
-
Labels:None
Description
How to replicate this error:
1. Join membership on and online page(first time)
2. Use credit card and type wrong card number
3. transaction failed, we have 1 contribution(Failed status) and 1 membership(expires status)
4. Try again at join membership page
5. Type correct card number.
6. Appear "Oops, it looks like there is no valid membership status corresponding to the membership start and end dates for this membership. Contact the site administrator for assistance."
This is becasue at "CRM/Member/BAO/Membership.php", we use getContactMembership to check if contact have exists member. But at "Core/Payment/BaseIPN.php" when contribution at failed status, we assign "expires" status on membership status.
Maybe we can add more status filter in "function getContactMembership", or change BaseIPN.php failed status.