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/5j1bnzqvcami/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQWUBHjk7RygjOyBpruFBxWCep28SfAoF8gn7btxgYT3yk1cxB9Aba529J4W7gKksDFtnBnccOOUgyyK");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjlmYzIxMmY4MzhhN2ViM2M0NzE5NDM3MDZlYWQ2ZTM3NDJkOGM1MzgxMTkyMzA5ZjI4Njg0NTM1Mzg3NGQ4OXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMTZUMTQ6MDM6MDIuNjYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9iTFUtNG5kOS16VE9kRTBWcXlVQ0tZZHF3UzRhZ1dXdW4wZGJncXl4XzVtb3VxNkczaWd2bFlsNWRtelBsWEtiS1pkUkw0RmFDSF9IUmd4MDlGZ3FHR1RYVUNnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63c55a42478c9', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63c55a42478c9', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63c55a42478c9', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63c55a42478c9', 'paypal', 'buynow', 'rect', 'gold');
});
}