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/baq8d80g246h/plugin/1/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Aclz7UwofqTVJBPDZkYjz5v0PZ7pgtEjBjXDVmD5auoUzBCQN-B64aR02iLP9dP8Xsgiw9dy3HM71wKU");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjY4ZWFlYzc1YWE4ZGU5NWRiYzM3NGJkMjEzOTRkNDUwODJmMTJhMzE5MTQ5MTkzZTI3MjU2ODZkNTYzNDJjM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMzBUMTk6MzA6NDEuMTEyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5LMjZ4YXVhck5GNkctVm50TEVseHRGWHZuWWo2WTdDZk9XNjdBRUh3Q0RNWmRnSFZJQXdhMmdQRmVvQm1OdU45M3N0SXRSbUhPenZBaDh3WHF3WHotUzlsLTJBIn19");
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", "Aclz7UwofqTVJBPDZkYjz5v0PZ7pgtEjBjXDVmD5auoUzBCQN-B64aR02iLP9dP8Xsgiw9dy3HM71wKU");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjY4ZWFlYzc1YWE4ZGU5NWRiYzM3NGJkMjEzOTRkNDUwODJmMTJhMzE5MTQ5MTkzZTI3MjU2ODZkNTYzNDJjM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMzBUMTk6MzA6NDEuMTEyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5LMjZ4YXVhck5GNkctVm50TEVseHRGWHZuWWo2WTdDZk9XNjdBRUh3Q0RNWmRnSFZJQXdhMmdQRmVvQm1OdU45M3N0SXRSbUhPenZBaDh3WHF3WHotUzlsLTJBIn19");
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('66a9492bb3fa6', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66a9492bb3fa6', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66a9492bb3fa6', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66a9492bb3fa6', 'paypal', 'buynow', 'rect', 'gold');
}