-
-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REF] Paypal ipn - cleanup references to completion
This extracts a function to check if the contribution is completed. I also rationalised the validation - it was using a combo of recur and first to validate but on thinking it through I realised all it was saying was 'if we are finalising a pending contribution the amount must match' I think that's fine even for recur with a change in amount - that seems to me to be something that happens down the track but we still expect the very first one to come in with the value it originally had - if that is NOT true then we probably should just remove the check
- Loading branch information
1 parent
66193de
commit 65e9782
Showing
2 changed files
with
28 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters