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/xp4oxtd91bsc/plugin/458/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AZwPQlmQgksSWPqvtGyvz_4Bn5J_uhDFVJufQeZoN_CtqECNQX9JDa14fktutR-sWwZLaXKc2puE5eLa");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzlmMTM3OTM2ZjY0YjE0MWZkNTY3NGI5MTE2MGZlNDBhMjA0Yjc0MGE1NDZjOTUyNDE5YjViZTg5MzYzYTU5OXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMDQ6MjE6MDUuMTUyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1NWFdfOG5mbnlINU5HY1F0eERoRm04ZnlvZTZqOGRjOVVxdTJ6bGJkSTk3QzRqSk5VNGpsbkotWjJtNTA2U0lYMEpPOWlyakRZVlNWcnBNaGZBbjBTalJTSml3In19");
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", "AZwPQlmQgksSWPqvtGyvz_4Bn5J_uhDFVJufQeZoN_CtqECNQX9JDa14fktutR-sWwZLaXKc2puE5eLa");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzlmMTM3OTM2ZjY0YjE0MWZkNTY3NGI5MTE2MGZlNDBhMjA0Yjc0MGE1NDZjOTUyNDE5YjViZTg5MzYzYTU5OXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMDQ6MjE6MDUuMTUyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1NWFdfOG5mbnlINU5HY1F0eERoRm04ZnlvZTZqOGRjOVVxdTJ6bGJkSTk3QzRqSk5VNGpsbkotWjJtNTA2U0lYMEpPOWlyakRZVlNWcnBNaGZBbjBTalJTSml3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6628891928807', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6628891928807', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6628891928807', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6628891928807', 'paypal', 'buynow', 'rect', 'gold');
}