Add a check to see if they are using sandbox mode and then use the

proper host url