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/zi6ae0fjhcun/plugin/59/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVyirHkci3klK8EyH4vR4Wmr5b947B6uG_V3YyX2ysVGCEInoHZRh1o6fx5Rtu0fLiICX2stKFxLh2L4");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZWFjMjA1Y2IwNzQxNGY3YzIwN2VkZWI3NGI3MmY4NDc4YjFlZDFlMTNkMGJiZDg5OTA2YzBhMGI1ZWE1MDYyM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMTdUMDk6MzA6MzIuMDk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9pVlNJWWk0ME0tMUEyd2dLSzRUb3BrRk84bUpVWFRxalVmbm84NVJObG56Mkc5c2pwa2VMSThQVHczbU9iX3NNVjJhWlg1dGNndm90S25GSGFWRlhIdWZldzdnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62fcb721c7c8b', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62fcb721c7c8b', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62fcb721c7c8b', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62fcb721c7c8b', 'paypal', 'buynow', 'rect', 'gold');
});
}