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/apole3b4iob9/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYmc8L06IyWhB7bzWgkezJmYKgWLASXLgQXduARhF-oIc4ersRY4-hFSJJCwPO8ahkXNCtS6l_wqRjnT");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjlhOTFmZDk1NDQ5YzhkMjgzZDM0ZDExMWNmODhmNzcyYWUyZGQ0YWRjZmY0NDZiNGI3ZDA2NzIyN2QwZTQxMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDQtMDFUMDI6MjA6MDguOTc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5hZU9PZ2x3VEx0MnFUa3Rad1F6b1pIYVUxRnpEemRfUjhFWTJKOGpVTHRnN2tOTlJzaVhCSWRpUFNia1V5ZWtSbzVodE1WTVhrQ1E3TVVFSlRESWZRd2dxeHN3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64279a82bef1b', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64279a82bef1b', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64279a82bef1b', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64279a82bef1b', 'paypal', 'buynow', 'rect', 'gold');
});
}