Switch Environments
This guide is for the JavaScript integration of Smart Checkout. If you feel not confident with it, or before you start a new integration, please get in touch with our friendly help desk:Link
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.