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/x0464bydh7qz/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZZrQV1MfwytCNdEt7Y3NLABZtcZqdPnouacEx2DIOs7k6hNqjhyhfkULM6QSxynJOZaqWlXbaPATvI3");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzI1NDVkNTAzNDYzODBmYWM5M2FjYWI2ZTRkMTQ1MDVlYzgyM2JkMzFiNDM0ZjIxMzExZmQ1MDRlZDg2MDk2NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDYtMjFUMDg6NTY6NTIuMzkyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1LLXVKV29BRDRmWXNrVEp4RUxad3VtMmM0cHZMOXNRbVlmTUE3eEstYm4wYnZBWExKOFkyZ3BNa2xVMVozU1BXUExxS0FuUkx2SlFDU0lsWldKR2Rjci1MYVJRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AZZrQV1MfwytCNdEt7Y3NLABZtcZqdPnouacEx2DIOs7k6hNqjhyhfkULM6QSxynJOZaqWlXbaPATvI3");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzI1NDVkNTAzNDYzODBmYWM5M2FjYWI2ZTRkMTQ1MDVlYzgyM2JkMzFiNDM0ZjIxMzExZmQ1MDRlZDg2MDk2NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDYtMjFUMDg6NTY6NTIuMzkyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1LLXVKV29BRDRmWXNrVEp4RUxad3VtMmM0cHZMOXNRbVlmTUE3eEstYm4wYnZBWExKOFkyZ3BNa2xVMVozU1BXUExxS0FuUkx2SlFDU0lsWldKR2Rjci1MYVJRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('667549180ec12', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('667549180ec12', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('667549180ec12', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('667549180ec12', 'paypal', 'buynow', 'rect', 'gold');
});
}