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/tp5jqgy29rf5/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYV-bWC_9vOWlZ06JBbnGATNqpnxPUrKMWo0jq8xpVvNpZryg0wpOcu_gMndeU6vYe9Rt2ucJJHWNpeq");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzAzNjFmNmI5MDY5NmZmNGIxZWQ1NjBkZTRkMWJjYTJjNTY4YzM5ODdjOWJlYmY0OTI1OGRlYTQ4YTA5ZTRlN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMTBUMTA6MTk6MzIuNjI4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1XQkdjWHMzVEZfQ2VGM2tqZFRaemJKUU51NDl1eTFsNFpZTlNYUnpzNTFXeWI1UWc4V2wyU2xYZ0czT2FCYUxRcUlPMzR6c3hSRFNDZXlTZWY0ZmFlQzVSY0RRIn19");
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", "AYV-bWC_9vOWlZ06JBbnGATNqpnxPUrKMWo0jq8xpVvNpZryg0wpOcu_gMndeU6vYe9Rt2ucJJHWNpeq");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzAzNjFmNmI5MDY5NmZmNGIxZWQ1NjBkZTRkMWJjYTJjNTY4YzM5ODdjOWJlYmY0OTI1OGRlYTQ4YTA5ZTRlN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMTBUMTA6MTk6MzIuNjI4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1XQkdjWHMzVEZfQ2VGM2tqZFRaemJKUU51NDl1eTFsNFpZTlNYUnpzNTFXeWI1UWc4V2wyU2xYZ0czT2FCYUxRcUlPMzR6c3hSRFNDZXlTZWY0ZmFlQzVSY0RRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6484535e2dd9f', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6484535e2dd9f', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6484535e2dd9f', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6484535e2dd9f', 'paypal', 'buynow', 'rect', 'gold');
});
}