Add ajax request to get topay and paid for Payment page Fixes #172