if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/zdh7dhw8nuee/plugin/4/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQVttkfe9846FidNd5vpGXc9lGu5uKGwAvxyrJ0JBUNujkz3BaIGZ8gTtRTc5oHUBqSwSQ3rqSbouI5b");
script.setAttribute("data-currency", "CHF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjRhYzE1NmY4NzlkZWZiMGMzZWVhYTVjY2U0MzQxMzQxYWJlMTIxNjU1MjdhZTA5ZTk4NWEwZjQxNDhmNGU1ZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMTI6Mjg6NDQuNDU5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5KeEdZU3R2SzFEYjNDalRlTmtsQ0pBNzh0SFJJV0dleTd0QkNEWkZySTY3aVRqMkhyLUM5WFNmemd5dnhUUkV5b2lVV0JqOUhyQkNPejI0cElOZVhLOFBUT3NnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AQVttkfe9846FidNd5vpGXc9lGu5uKGwAvxyrJ0JBUNujkz3BaIGZ8gTtRTc5oHUBqSwSQ3rqSbouI5b");
script.setAttribute("data-currency", "CHF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjRhYzE1NmY4NzlkZWZiMGMzZWVhYTVjY2U0MzQxMzQxYWJlMTIxNjU1MjdhZTA5ZTk4NWEwZjQxNDhmNGU1ZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMTI6Mjg6NDQuNDU5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5KeEdZU3R2SzFEYjNDalRlTmtsQ0pBNzh0SFJJV0dleTd0QkNEWkZySTY3aVRqMkhyLUM5WFNmemd5dnhUUkV5b2lVV0JqOUhyQkNPejI0cElOZVhLOFBUT3NnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662a56e76dad5', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('662a56e76dad5', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662a56e76dad5', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('662a56e76dad5', 'paypal', 'buynow', 'rect', 'gold');
}