Currently issue is on hold :
- Did the verification of DB state : the storing was not proper as mentioned in description.
1) One extra row of actual amount paid i.e initial amount is getting added in financial_item table WRT online contribution
2) Only one financial_trxn row is been inserted :
a) only amount actually paid getting inserted in case of online contribution and,
b) total amount paid row getting inserted instead of initial amount row in case of online event registration
I had a discussion with Pradeep Nayak, this part will be fixed once he is done with restructuring / cleaning up of code.
Rest all mentioned points in description have been fixed.
fix for contribution page configuration – https://fisheye2.atlassian.com/changelog/CiviCRM?cs=44034