changes to how payment gateways are initialized