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/tz3npe0yiq4v/plugin/17/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ASEPCrZQVEgMZa5av0Teq0b6UY8Lw8XUrfj6y-BTj-pPI2nhNZZco84aunl2zSTfao3mAL4TWuoIxd0J");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2IzMGExY2FjNTk1OTRlNzA4NDY1N2UwYTYxZWM5M2FhOTU4ODU3MzJhZDMwMzg3ZmIyODUyZWY0NmQyZmZiMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDItMDhUMDU6MTk6MjUuOTc3ODc0OTk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU8tV0tpdHBFU1lSVGh2dEFaOFJ3QmxOVGI3REd1RV82QXFlV2c2Nnd3ZnB1TmQwemNBYWxXLVRONEtkNG5wOVh2aDU1MEFKeVV4UV9QVHd5WkoyV2c0MGJmRUh3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67a6ee88c13de', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67a6ee88c13de', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67a6ee88c13de', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67a6ee88c13de', 'paypal', 'buynow', 'rect', 'gold');
});
}