For some reason when I set window.location.href = it opens another window.
window.location.href = ‘https://MyDomain.com/Checkout/Purchase.asp‘;
It doesn’t happen in my development environment, only production. The only only thing different that I can think of is that we are switching from http to https. If this were a straight link () it would work.
Any ideas how to get this to work correctly? The url is built with Javascript (it requires some information from the user).
What about specifying the target?