Test environment in the same domain Answered

Post author
Chuck Lapointe


is there a way to force Test Environment with the vanilla javascript code?

I have one of my websites that has a test environment on the same domain and we use ?sandbox=true to work, rather than another subdomain or domain, so it would be great to be able to force test enviroment.


1 comment

  • Comment author
    Chuck Lapointe

    Nevermind, found a way to do this through the memberstackConfig & publicKey.
    const memberstackConfig = {
    useCookies: true,
    setCookieOnRootDomain: true,
    publicKey: xxxx

    I’m assuming this will override these settings ?


Please sign in to leave a comment.