Fix issue with redirect from checkout not always working

Github

Github
platform
This update fixes an issue where the redirect from the checkout did not always work when you did not have your own custom domain for your platform.
This update fixes an issue where the redirect from the checkout did not always work when you did not have your own custom domain for your platform.