Code to interact with various payment gateways