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/xikvbcwl22la/plugin/13/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AY1L4WIHM8TgPtYisXf9d5-7fL96CtT7j0xE8RV3LkPurGXUon8QiMFetxgccJniORjp2TWfirqoZ_32");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGQ2ZmI1N2MxYTFkYjEyMzFhZTI1NWZmOGY3ODY1Mzg4NjIwNWI0OGE4YTAwYmVmZDNmNjJjNzY0M2ViODBhNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjhUMTQ6MzQ6MjkuNzYzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU02Sl9LTGthdGZ1RVFRLTRNQ002c1JFU0htd01KcDlxSXRWZlhYeXJ5Q1ItT3FfRVN3eWxFX0w0T29DNUhrd2xsSW85ZzZ0YnRXYVJrMWxROFhrbnpBYUR5Q0NBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('629232f560781', 'paypal', 'buynow', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('629232f560781', 'paypal', 'buynow', 'rect', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('629232f560781', 'paylater', 'paypal', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('629232f560781', 'paylater', 'paypal', 'rect', 'white');
});
}