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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGNhMmE5OTQwMTRhNmRkZGEzZTNjMjBkMTE1YmI2YmU5NDUwYzdjZjVmZGJkNDdhZDA5YzA0YTgzZjdmMGRlYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDJUMTg6MzM6MzQuMTY4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU16RGExcHBLV0pmRWFfNVI5ckVKVTBfS1A5SUF4bU5YODg5UHlCbjRqZ2d0cW5KaDRPQUx0UlZpN1dTOVRZeHZEWXhYdFJPTmlwc3NRcXlUOWplX296a0o5OHZnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c08f7dca73e', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c08f7dca73e', 'paypal', 'buynow', 'rect', 'gold');
});
}