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/vqsi6s16km1o/plugin/12/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Abjv38lQuamrNk3uZA5wX6R_JhNf78C6khE9TonlyxeHZjMvv2xTDv5lpt3dWsExvvuNbyBAPoqDhb0H");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjlhMzBkZTY3YzJmZjlkMjIzZTI0MjQ2NjQ1MjBhOTJkNWI3MzdlMjBiZmFmMDNiYmM2ZDA0M2QyODM1NzNkOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDlUMTY6NDU6MjkuOTE4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1ZLTRPcW5hWWFKRVNXN2ZvU2pwUTF3LWZKemp6ZEJDNFhJRTc3RGE0OVZmeDNIM3FRaGlCY1ByZ2Vod2s3WG5MRG1RdnZXaEdWa1BwX3V4bE1JMXFhWjB3dWV3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65242e38591f9', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65242e38591f9', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65242e38591f9', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65242e38591f9', 'paypal', 'buynow', 'rect', 'gold');
});
}