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/ihry4r7lok1l/plugin/59/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVY6Z99HzpX4kHbhbeYtusKcJuWp3HcggBFzTvDSPLmQBqRk9XU98VFv5yzKvZBuLgqyg8_FTj8SFY0X");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjhlNmM0ZGE3M2UzNTgxZTQ2MWYxYTc3ZjMzZDk2ZTQzNzA4MzY1YTRmMWI0N2E5ZjFmMjE0YTg0OTgyYWRjM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjhUMDM6MjE6NTYuMDc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1SRkYxSHRBdkEyT3lyOExkSlpQWmlJNV9tekUwR0VnZ3hFQURManp0U280b1VuT3dyTmxoclZid0t5WklHWERydU9lejdqZnZYc2dnZWxrb3NjbWxHMk5lYk1nIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62919553b7649', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62919553b7649', 'paypal', 'buynow', 'rect', 'gold');
});
}