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/6rrxb4f8ubzh/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AbANRZ243q8ZkLrPCzoKjmXV3i776MhwcrrZqdZvo4QhsaGQeuqn4SEmJTqjL888-6O5VlQTXm3-PBmW");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2MyMTYxMTE5YmY3M2JhNDEwMjJmOWRmOTBkYWRiOTNkM2NkZjY1MzVjYWRiZTA3NGY2MjE0OGY0YzU3N2ZhNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDRUMDg6MDQ6MTguNDUyMDY0OTQyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBJc2xlbWdVRGZINWRqOV9xX1hnbEdDTHp1a3ljaUVFVmVqUG5GUklOX0JUVEFuaEI0UWY0amQ4M05xRlZWZzI2cTd4UkJaQzBJQnpJVUdxTXd5U2FYYjlJaHN3In19");
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", "AbANRZ243q8ZkLrPCzoKjmXV3i776MhwcrrZqdZvo4QhsaGQeuqn4SEmJTqjL888-6O5VlQTXm3-PBmW");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2MyMTYxMTE5YmY3M2JhNDEwMjJmOWRmOTBkYWRiOTNkM2NkZjY1MzVjYWRiZTA3NGY2MjE0OGY0YzU3N2ZhNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDRUMDg6MDQ6MTguNDUyMDY0OTQyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBJc2xlbWdVRGZINWRqOV9xX1hnbEdDTHp1a3ljaUVFVmVqUG5GUklOX0JUVEFuaEI0UWY0amQ4M05xRlZWZzI2cTd4UkJaQzBJQnpJVUdxTXd5U2FYYjlJaHN3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67ef9f8c1a6d1', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67ef9f8c1a6d1', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67ef9f8c1a6d1', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67ef9f8c1a6d1', 'paypal', 'buynow', 'rect', 'gold');
});
}