if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/6l5beiuj6h2e/plugin/13/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWitTo8tRSJ09LZgrfwXWCbtWSGQgAml66uF0ae-fSqbsRov5uNFdZjyF2eZ4KAoEAzvi8tZDpAV8wfG");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmVmNTViOTA2YmFiZDhhMDNlNDE2MGM0ZjEyYmJhZDQ4YjU0YTYyZjQzZjUwNzJhOTlhZDAzYzVmODE1ZmRlN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMDlUMTM6MDU6MjAuODA1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9FdHN4SG53TXBFQU1ic2J1aXZJdWVsX1Z6VFNySWVlOG5vX2JrbmFKbTNKZTJUMjBHdDNQYzVOVkdMZjl4Zk5uRmYtOGlZRjJ1OFljUkc0d1V6M1RwR3Zyel9RIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63bc1110635d7', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63bc1110635d7', 'paypal', 'buynow', 'rect', 'gold');
});
}