code tidy
 code tidy.
tidying code indentation on github.
code indentation tidy for github.
code indentation tidy for github.
code indentation tidy and added error function in logger to log errors.
Merge branch 'paypal_integrate'