if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/txy2vcoxmc6h/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQxGA14mVO6ymlReOiO6-0N_OtxgXvBMS7TpSqrBDwxk-Wx6JHSNRX_BGfQh09bF6cjvCnSbegmVknEo");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTc3MTQ0YmNkOThmNGU5MTM1OWE3Y2YzNmM5NzZjMGY5NzViMWUxY2Y1ZjJhZTE0MmY2OTE5NmY1OWMzODRiNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDVUMTM6NDY6MjkuMjY5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9MdDNIWHVjV2M4OGN2M3VyUE00Qlc3b1ZwTzhVUlJVa1hIXy0xOWt3T1FVX29ncTUxajA4dGJKSlVsYmhFTzF5MjZibHVlMHNkcTZWQ3U1bk5fdjAxSHVyYk1BIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c440b4c8dff', 'paylater', 'paypal', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c440b4c8dff', 'paylater', 'paypal', 'rect', 'blue');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c440b4c8dff', 'paypal', 'buynow', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c440b4c8dff', 'paypal', 'buynow', 'rect', 'blue');
});
}