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/p7mwypdp0o1v/plugin/5/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AV7YGryNmlTrGfL23tuXuZG6H_OHnK7GvZN2cMXWP9Az9dZ19dDVuQ_iwB0I-Y-2czhIKiIrQBWITBir");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTc2Mzc2OTA2OTljM2YwYWNiYjM0ZTRhZWQ0MjRhODI5NmQ3ZDFjYjI5ZDlhNTc2NDljYjFiNzFkZTAwMGYzY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMzBUMDI6MDU6NDguNDA1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1lOUR5Y3RDWVUwdVQ0ZlBwbm9ZdzM0VGNpT29YdVZ1elk0cUZBcm8wQzdYdFpKazh1dTJZWFMya21yc2JCaERsMFhiVHlrLVE1ZzV5QjQ3ckhXeEVkY3BvNjh3In19");
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", "AV7YGryNmlTrGfL23tuXuZG6H_OHnK7GvZN2cMXWP9Az9dZ19dDVuQ_iwB0I-Y-2czhIKiIrQBWITBir");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTc2Mzc2OTA2OTljM2YwYWNiYjM0ZTRhZWQ0MjRhODI5NmQ3ZDFjYjI5ZDlhNTc2NDljYjFiNzFkZTAwMGYzY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMzBUMDI6MDU6NDguNDA1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1lOUR5Y3RDWVUwdVQ0ZlBwbm9ZdzM0VGNpT29YdVZ1elk0cUZBcm8wQzdYdFpKazh1dTJZWFMya21yc2JCaERsMFhiVHlrLVE1ZzV5QjQ3ckhXeEVkY3BvNjh3In19");
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('66a857907d625', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66a857907d625', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66a857907d625', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66a857907d625', 'paypal', 'buynow', 'rect', 'gold');
}