Update offsiteGateway.php

Fixed script from throwing "Notice: Undefined index:" notices.