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/fbzzik6xequc/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXFtMg9frqhJEKqYGYj8IcvlsGxN25cbfsurV7wJdOCufNXR-MT7Z7IOngJc9R_zChzQNge42hYkJUR0");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTkwY2VkNGZjMTUwMDdlMzE2YmM2NWY5MWVkNWJlZGM1ZTRjNzYwZjU2MjI2ZjZiZGJkMDZiOTExOGMxOGEwZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjhUMDA6MTc6NDIuNTQ2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1JSWhmcGt4MGx0ZXJTaDR2RHVlOEs5eldIMFNoa0MzOTRxSjdqTzdmdV93M3FEdkxxdG1WbldOZnh6ZFRoTHBkR2RBVWVuc0w0MkhWNXhNZ1dReXhlX19ia0dRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62916a26303d0', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62916a26303d0', 'paypal', 'buynow', 'rect', 'gold');
});
}