Simple use of Widget SDK
<div id="switchere" style="min-height: 500px; max-width: 450px; width: 100%;">Loading...</div>
<script src="https://sandbox.switchere.com/js/sdk-builder.js"></script>
<script>
window.switchereSdk.init({
el: '#switchere',
partnerKey: 'XXXXXXXXXXXXXXX',
httpReturnSuccess: 'https://domain.tld/success',
httpReturnFailed: 'https://domain.tld/failed',
});
</script>
<div id="switchere" style="min-height: 500px; max-width: 450px; width: 100%;">Loading...</div>
<script src="https://switchere.com/js/sdk-builder.js"></script>
<script>
window.switchereSdk.init({
el: '#switchere',
partnerKey: 'XXXXXXXXXXXXXXX',
httpReturnSuccess: 'https://domain.tld/success',
httpReturnFailed: 'https://domain.tld/failed',
});
</script>