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/z2h9l54m7125/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATm-jgo75B2Pc4_08iKHnifY43-l__uek5DWr5nbZpbuBh-jjRWNTtyqGlt0itaaQc0Gs3yuwVnzjZXP");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTQyNDJmYWUzMGQ0YmI2OWI3YjQzZTExZTRhMzYzYmJlMTM0MzViMWQ0NDBlMTFmOWFjNmFhYWJhMDE5ZGUxNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDJUMjA6MzE6MDEuMDU4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBJUnJQT2tCd1JVUjNSY0dUQ3FUc2lwUlBjWXV5cUx5YmY0d3ctaXR6eGtyM2tvTjBlbmNaLWRRMGlfdzNRb0V5WnV4MV9MaVRuZVd2UjhzYnQyV25yQlFHUERRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('651b2884a9727', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('651b2884a9727', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('651b2884a9727', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('651b2884a9727', 'paypal', 'buynow', 'rect', 'gold');
});
}