Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.0
-
Fix Version/s: 4.6, Unscheduled
-
Component/s: None
-
Labels:None
-
Documentation Required?:None
Description
OK - this is one for the long list. I've often struggled with the fact that when IPN calls go wrong they are extremely hard to debug / test as the retrieval of POST vars is mixed throughout the function.
I recently refactored the PayPalPro one enough that I could re-run failed transactions & debug what was going wrong & have recorded my efforts (in that branch is a partial on A-net & a usable refactoring of PayPalProIPN which would allow unit testing.
https://github.com/eileenmcnaughton/civicrm-core/commit/0427884c959cce54be93d4b78afe592eb23474cc