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/s0bztvj8pguc/plugin/21/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AYvp1gSiZeDGR-kR0TJv8WALcp0xOe4KHpBwoNGOI4l0_Z8EtiqadR9CK2ifL-yzCDqxt6_DODtxFH3U");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzAxM2IwNzA2ZDMxNWM0MjNhN2IxMDg4MTFiM2QwZTI4OGE1MWE1OGY0OWZmNDdmMGVjMjUwNTVjMzg0NmI3ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMTFUMTQ6MzA6MDYuNjE4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU85Q05IVm5ZMUMzVjA1bkZBOXVIR1JVVHo4NzBYY0kwdlI3MDBUUU4wZWdzU0JfLW83cDFMeFdibWhSZy1kTzdnMmFqVjhhSzNHaldmWHZVck9UcHpxVEpCT2hRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AYvp1gSiZeDGR-kR0TJv8WALcp0xOe4KHpBwoNGOI4l0_Z8EtiqadR9CK2ifL-yzCDqxt6_DODtxFH3U");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzAxM2IwNzA2ZDMxNWM0MjNhN2IxMDg4MTFiM2QwZTI4OGE1MWE1OGY0OWZmNDdmMGVjMjUwNTVjMzg0NmI3ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMTFUMTQ6MzA6MDYuNjE4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU85Q05IVm5ZMUMzVjA1bkZBOXVIR1JVVHo4NzBYY0kwdlI3MDBUUU4wZWdzU0JfLW83cDFMeFdibWhSZy1kTzdnMmFqVjhhSzNHaldmWHZVck9UcHpxVEpCT2hRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('654f9b7292615', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('654f9b7292615', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('654f9b7292615', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('654f9b7292615', 'paypal', 'buynow', 'rect', 'gold');
}