if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/hoa5gsm22yel/plugin/43/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Ad2NYmga6IKAXejDJdf4Qar8t8kEJc7I9y3wCQP2KkClhLIRMHTQ2cF_KvhITh0X9kevn5zfUKM_hDUD");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzdmMGFiMWQ4Y2ZjNzQ2MWJlNTQyNDQ3MWNhYWE2MGNlMmQyNzc2ZTI0ZGY0ZmI1ZDZmNmQyZmY3YWJjNDRmOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjlUMDA6NDk6MjEuMDI2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1yRlRuYXFMUXExUGRRSEg5TlNMY0lxZ1pIaThJTl9nM3BiNjVSRUFBUUFOVFNKaDdxeFVMeDRXdk5tZ214TEFoSXJuV1N3OFlzZXlURzhCWWRESE5fVS1pVFB3In19");
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", "Ad2NYmga6IKAXejDJdf4Qar8t8kEJc7I9y3wCQP2KkClhLIRMHTQ2cF_KvhITh0X9kevn5zfUKM_hDUD");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzdmMGFiMWQ4Y2ZjNzQ2MWJlNTQyNDQ3MWNhYWE2MGNlMmQyNzc2ZTI0ZGY0ZmI1ZDZmNmQyZmY3YWJjNDRmOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjlUMDA6NDk6MjEuMDI2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1yRlRuYXFMUXExUGRRSEg5TlNMY0lxZ1pIaThJTl9nM3BiNjVSRUFBUUFOVFNKaDdxeFVMeDRXdk5tZ214TEFoSXJuV1N3OFlzZXlURzhCWWRESE5fVS1pVFB3In19");
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('662ef9ba96478', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('662ef9ba96478', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662ef9ba96478', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('662ef9ba96478', 'paypal', 'buynow', 'rect', 'gold');
}