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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTQ4M2VmMjU3ZTg4MzlkODVhYjcwMjk3MmM2YWQ1NWYyZjY1YTdmNGJlM2FhYjA5NDEzMjgxNmM3YmE5MWQ4NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMzFUMTk6NDg6MjIuOTA3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU04WjZ0M2x1b1FBYzlqRmw0eEFOR09vdldCekp3N0N0c083ZmcwNGhfOUZhWFk5b3c1SG81WVE1X0Y4UXZGb3llSlJLRUt4TlJRemd2NWp5NlVWS3Q3Mm5vTDFBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6477acaf40957', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6477acaf40957', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6477acaf40957', 'paypal', 'buynow', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6477acaf40957', 'paypal', 'buynow', 'pill', 'gold');
});
}