if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn02.plentymarkets.com/t77l3iqhnbrj/plugin/47/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZoPL732xYKG5AN9us_J1hPWSHBnTIYJSsrIkBtAvPIzAwEfKLzVFE_Irz-oDTeKqTtNqwrv4jQOz1WL");
script.setAttribute("data-currency", "CHF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjI4MzZkNGExMDVmY2VmZTI0MWI0YzA5NjMxMmQ2MWM4NDc4YzUxMWI0YmJkMjZkYTQyNzMzNGMzZDJhOTcyMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMzBUMTI6MzA6MTcuMDgxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU15N1EtQW9Fa2xyYTZsaUx6Q0hxeXl6bWR5enMxMzM3Ym81dDlFSGNTcnE0T2JyY1ZhUmx4VXlnOTZyY0ZiRjF5Z09KUmRGdE1jOWNJM1V2YkN3ZkM2T2dMZmtBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AZoPL732xYKG5AN9us_J1hPWSHBnTIYJSsrIkBtAvPIzAwEfKLzVFE_Irz-oDTeKqTtNqwrv4jQOz1WL");
script.setAttribute("data-currency", "CHF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjI4MzZkNGExMDVmY2VmZTI0MWI0YzA5NjMxMmQ2MWM4NDc4YzUxMWI0YmJkMjZkYTQyNzMzNGMzZDJhOTcyMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMzBUMTI6MzA6MTcuMDgxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU15N1EtQW9Fa2xyYTZsaUx6Q0hxeXl6bWR5enMxMzM3Ym81dDlFSGNTcnE0T2JyY1ZhUmx4VXlnOTZyY0ZiRjF5Z09KUmRGdE1jOWNJM1V2YkN3ZkM2T2dMZmtBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('656882c7271ce', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('656882c7271ce', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('656882c7271ce', 'paypal', 'pay', 'pill', 'gold');
});
} else {
renderPayPalButtons('656882c7271ce', 'paypal', 'pay', 'pill', 'gold');
}