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/oj9uo570qqdt/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQNVp2hzBXwBXuHYxYqIAF5o9BtNHCfvA9ezlw6KMd7VzpigH-tKeSMHoc4q5Z-SjBcNarzO6pb9jKJ7");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmZiNmJjZWYzNjU3NzQwM2UxOTVkNjBjZDk1Zjk2ZTVkMzc3N2QwYmZiNWIxYjFkZGUxZDA1MzMzMjNhMjQxM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDhUMTQ6MDI6NTkuOTE1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVAxNkJDWXZSZmE2OVc5R3d0QV83bTViWDZ4T012TEZGYzRkY0hwU1o5RWFJVkJJWEN4VmRTQVB2VU9hYjFWbVc3TmNOMU93UVE3REZCSE5sZkJSaUk4UjdqTmlRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e3ab93854b1', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e3ab93854b1', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e3ab93854b1', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e3ab93854b1', 'paypal', 'buynow', 'rect', 'gold');
});
}