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/w3sdhfvatsqw/plugin/9/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZthOwxznot8p053JVfj80kGpjOz0keDFy_bjUBHsKFThHUyvyX4bFQcca-7PNHRCOa_DxEwTjKyXMOb");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjZhMjQ5OWE0ZGE4OWZiMGY4YjVlODAyNWZjMTBiMzI3OGMzYTUwYTRjYmJkMjU2ZjZjZGY0NDk0ZDRiODE0MnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMjZUMTg6NDc6MTIuMDY1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9SUHZXaW5TS2tiYThpVVRITmZUNFRiM3c5c3loU1B4NUVER2NzODNpSVpUOVVzVzE0SGNlRGxTSW1pb1JCcVhIcUN4VDJ0b05YUTJsNFlsMEdnTlBFRmhlTlJRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64710c0f11db0', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64710c0f11db0', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64710c0f11db0', 'paypal', 'buynow', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64710c0f11db0', 'paypal', 'buynow', 'pill', 'gold');
});
}