Server Environments

Sometimes you might need to connect to another secuconnect API server. You can achieve this by adding the attribute server to the options object.

JavaScript
secupayCheckout.setOptions({
contractId: "GCR_WA66JUP62PNVHBHCXA57PRUNKZP0P5",
isDemo: true,
server: "nw"
});

You need to use the short server names like testing, dev1 .. devN, live, showcase or nw.