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/pvdtyofq45f2/plugin/7/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVIp3QYDfOHUuC2DG7p--7lS4iiI2Jg9CdgbkEt0RYslHbygrI_00oWzv-1LT7VLd-AUsprnpQcYzF2Y");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzMyMTUzZGQ5MzZiNzdkNTI1NTQ1NjlhZjYwNDZiMWMxMzU4NTQ1ODdiZDNiMDRhZTA5ZjAzOThkOGFiZjcxMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMTlUMDU6Mzk6MTYuNzEzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU0wcEkyMWx0UTV5OTc3VFVPWGV6cWdfanlILU5veWpxT1FFcnVvNFEwN24weGc4TU1ISk1KNHNYZVNhV0xzaTF1NTk5ckhyWEpHU2FhQ3MtY0h4SjlXdnNsbVNBIn19");
script.setAttribute("data-append-trailing-slash", "1");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6285d8045bfdf', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6285d8045bfdf', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6285d8045bfdf', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6285d8045bfdf', 'paylater', 'paypal', 'rect', 'gold');
});
}