Update gateway.php

Fix Sandbox