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/luyfazekkfe3/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZ0gjwBR9WXT9RriMqgNvZ5dS73gVxBYfnXbyxWSwH8NhXbPRwXFCd7EuOnf0vIRhLbEQ2DCbyLN8bud");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjQ3MjFiODhmMjVlMzM0ZDM1MmNmYTI0M2U5YTAyZjVjNmYxMjg3ZmM1OWY0MGQ0NWQ0MzQyOTIzNDBmN2YyMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjhUMDU6MjA6MTkuMzE3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1kdlZHX3J0NjFReEtxaC1zeXlDbjA0cm8wRC1nbzNuY3J6OEx0UzFLV1BoS2lWNVVIaXhyazdrN0kzX1dFc3BQRTZyUXhYek1mRlFsM216TXJLOXJrb3MtUTN3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6291b112df623', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6291b112df623', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6291b112df623', 'paylater', 'paypal', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6291b112df623', 'paylater', 'paypal', 'pill', 'gold');
});
}