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