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/qpod3xbz504k/plugin/22/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQ_G7zh6r8uV4DjmYhLNmpeQnWLwN02wQxLkwKZdv7k6xY3FULcrd9dNOmqH8_S7mV_jQWy-jNKkkXXR");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDdlMDU4Yjg0MWU1NTc2ZWIzNjBkM2MzN2FiYzNiOWM1M2IxYzM2NmYyZDk5Mjg3NDFlMmQ1MmNiYjE5YmMzZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMTBUMDk6MzI6MzAuMjQwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5BOWV3cGtpYVdrWFBRM2p5bmpObDVBNGs1UUZLeUpwbWxGS21EV2taYTFtWk1aRVRqSUE3d1o4X2MyV3lSRmdkelNsMzU3RVkzaEhOa2NUd0c4UFZOZlR4enFnIn19");
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", "AQ_G7zh6r8uV4DjmYhLNmpeQnWLwN02wQxLkwKZdv7k6xY3FULcrd9dNOmqH8_S7mV_jQWy-jNKkkXXR");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDdlMDU4Yjg0MWU1NTc2ZWIzNjBkM2MzN2FiYzNiOWM1M2IxYzM2NmYyZDk5Mjg3NDFlMmQ1MmNiYjE5YmMzZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMTBUMDk6MzI6MzAuMjQwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5BOWV3cGtpYVdrWFBRM2p5bmpObDVBNGs1UUZLeUpwbWxGS21EV2taYTFtWk1aRVRqSUE3d1o4X2MyV3lSRmdkelNsMzU3RVkzaEhOa2NUd0c4UFZOZlR4enFnIn19");
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('6707a0f70b7ec', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6707a0f70b7ec', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6707a0f70b7ec', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6707a0f70b7ec', 'paypal', 'buynow', 'rect', 'gold');
}