You need to set this value inside of your sandbox application on the developer website.
- Log into developer.paypal.com
- Click Applications
- Under My Rest Apps click your App name
- Click Edit next to App redirect URLs
- Set the return URLs for live or test
- Save