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/bsao23rb33cj/plugin/3/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AXdYMCHU_bo0opuA6FOv3rXWk_ziO1dDrEBD6gc_7l3B2TRVWoaFjkEc1KTcXE4iK0I3_mJ5TjS-3H_j");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzM5ZmVkYjEyOGZjYTc0MzE1ZmI0Mzk0OWZhYjIxMzcwYWNmMDMyNTRmYzk5NzViODQwMTU2MzJlYjAwY2UyZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMzBUMTU6Mjg6MzEuMzA1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1ZY3lEX3E4OUtwRDFLM3NaZzNqUmItWjdGYTVEd0txdFhMUFBYNUVJcHRBZ0VrLWtiUzBEWTF1ZG1YcFpTRlZLMkp5TXBnNEJTdU84U3VfUHFMQmhISE4wMDRnIn19");
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", "AXdYMCHU_bo0opuA6FOv3rXWk_ziO1dDrEBD6gc_7l3B2TRVWoaFjkEc1KTcXE4iK0I3_mJ5TjS-3H_j");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzM5ZmVkYjEyOGZjYTc0MzE1ZmI0Mzk0OWZhYjIxMzcwYWNmMDMyNTRmYzk5NzViODQwMTU2MzJlYjAwY2UyZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMzBUMTU6Mjg6MzEuMzA1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1ZY3lEX3E4OUtwRDFLM3NaZzNqUmItWjdGYTVEd0txdFhMUFBYNUVJcHRBZ0VrLWtiUzBEWTF1ZG1YcFpTRlZLMkp5TXBnNEJTdU84U3VfUHFMQmhISE4wMDRnIn19");
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('674b38b3ddb0f', 'paylater', 'paypal', 'rect', 'black');
});
} else {
renderPayPalButtons('674b38b3ddb0f', 'paylater', 'paypal', 'rect', 'black');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('674b38b3ddb0f', 'paypal', 'buynow', 'rect', 'black');
});
} else {
renderPayPalButtons('674b38b3ddb0f', 'paypal', 'buynow', 'rect', 'black');
}