pay gate refund function and test

Added refund function for pay gate gateway -- untested
Added refund success test to tests