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/y5gj46ti0gx1/plugin/16/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Ab7gYtqcPJDg2Tw29qL3xIIHZGb9-fAL9jRT2o0ubAAVFX-YIkptJl5anMmYuIWsBEVGfbmQfKv1yP-4");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTZhNDkxMzZmNzMzNmNjOTFjN2M3ZWJjYzExZjJkZTcxN2ZjNGZkMjkwMzY2MGM0ZWNlMjk1OGUyNWMxYzVhNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjlUMDk6MzQ6MjcuMDA2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5vRjUtRm5JYmxlWFVIa19oNTdnUEJFXy0wc3NfeGZvNEdwUDhLeW11RklGZmZBU0ltRzdZSTJSanRKSlJDdDRESFBlaHBpTHZOOGNjMnRHTy01d0wtbGd5aG5BIn19");
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", "Ab7gYtqcPJDg2Tw29qL3xIIHZGb9-fAL9jRT2o0ubAAVFX-YIkptJl5anMmYuIWsBEVGfbmQfKv1yP-4");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTZhNDkxMzZmNzMzNmNjOTFjN2M3ZWJjYzExZjJkZTcxN2ZjNGZkMjkwMzY2MGM0ZWNlMjk1OGUyNWMxYzVhNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjlUMDk6MzQ6MjcuMDA2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5vRjUtRm5JYmxlWFVIa19oNTdnUEJFXy0wc3NfeGZvNEdwUDhLeW11RklGZmZBU0ltRzdZSTJSanRKSlJDdDRESFBlaHBpTHZOOGNjMnRHTy01d0wtbGd5aG5BIn19");
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('662f6cbbac842', 'card', 'buynow', 'pill', 'black');
});
} else {
renderPayPalButtons('662f6cbbac842', 'card', 'buynow', 'pill', 'black');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662f6cbbac842', 'paylater', 'paypal', 'pill', 'silver');
});
} else {
renderPayPalButtons('662f6cbbac842', 'paylater', 'paypal', 'pill', 'silver');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662f6cbbac842', 'paypal', 'pay', 'pill', 'silver');
});
} else {
renderPayPalButtons('662f6cbbac842', 'paypal', 'pay', 'pill', 'silver');
}