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/zp7ofx9k7xw8/plugin/6/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVOiGqJ-fzgDPDKRjNVMtgT-gpIhM5tCX8TEiItWn0zEGjm79VZACVGA5XGVgfeafj4MYh6IMbXAwQh5");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjJiZTQyNDQzY2YwMThiYzZlYzg3MTdiMzk4YjhhZGI3YjA3MTczMGVlMGM4NzY2ZWEzYmE0OWMyN2EzNjY3MnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDEtMzBUMTA6MjM6MzUuMjg2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4xN015VHBNV2dvdUcydGFodGhzRzAwa3R4LUZJQjRlVjMzV1p0eDJKZWtjOC03SFM2bEhoVm9fV2wxbW9rR2NTVm9uZkRUblJ0Q0xXdGxSYUp6SjJIWEo5R0dBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65b8d289aff78', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65b8d289aff78', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65b8d289aff78', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65b8d289aff78', 'paypal', 'buynow', 'rect', 'gold');
});
}