fixed bug with setIsSandbox parameter from String to Boolean