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/5zsd8cligdud/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQWh156DG6-kZLopqriiwbyATk7C6LqNWBdUQjzcKksE7NvqjcNJ_dnUGCWmRz2ghsvC3v1bscS-hlK3");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjYxZDU4OTA2YTk1NTIxYThiNjUzZDM1ODVlYjE2YTYwOTg4YmVlYzY3MzBkYWNiMWI4NGZiNGU0Y2ZkYjIyOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjZUMTc6MjY6MTguNzY4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9NUEdzOHU0aUxzc0dXUnlQemt4TV9FSG5MakJmYlgtYzEwYlRtNFRMMjJla1YySFpnZ2xObVNGWXNEN0NrQUZPTGN6c09sdHVHcGFJOGE5d1Q0TEtpUDZqeE13In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b896ba6e1fd', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b896ba6e1fd', 'paypal', 'buynow', 'rect', 'gold');
});
}