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/u54td98frv86/plugin/8/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYleraZKBEYgmrmdfMwftyfqF7KYzi8O9-McjlZ0A8x5Kj9XZjB1V8164wEFLpuMCpcXNS8j1CRO5_5S");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTdmMTBiMDQ5MTg5MzI1MmVkMzU4YTM3ZTY4MTI3Njg3YzY1ZWIwOTIwMmJmY2FkMGI4YTAxZThiNDQ5N2E3MnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTE6MTQ6NDUuMzQ2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5FMVB4RXRjT3NyMnpVNFc4eDBObVF3cUpBWDE1VVZlU0UxWG1Yc01ha3k5TzhuWTlEYTIxOGRJXzlBMVcxZ1RDTXJCWHBrQjAtUGFqZ2lyTmJXeE91MW5RSm1BIn19");
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", "AYleraZKBEYgmrmdfMwftyfqF7KYzi8O9-McjlZ0A8x5Kj9XZjB1V8164wEFLpuMCpcXNS8j1CRO5_5S");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTdmMTBiMDQ5MTg5MzI1MmVkMzU4YTM3ZTY4MTI3Njg3YzY1ZWIwOTIwMmJmY2FkMGI4YTAxZThiNDQ5N2E3MnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTE6MTQ6NDUuMzQ2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5FMVB4RXRjT3NyMnpVNFc4eDBObVF3cUpBWDE1VVZlU0UxWG1Yc01ha3k5TzhuWTlEYTIxOGRJXzlBMVcxZ1RDTXJCWHBrQjAtUGFqZ2lyTmJXeE91MW5RSm1BIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6605512783031', 'card', 'buynow', 'pill', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6605512783031', 'card', 'buynow', 'pill', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6605512783031', 'paylater', 'paypal', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6605512783031', 'paylater', 'paypal', 'pill', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6605512783031', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6605512783031', 'paypal', 'buynow', 'rect', 'gold');
});
}