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/va111pypex47/plugin/40/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AeFvNKFP0zZNpTD7g6b-8_mgRlBWftpmccF6k7EsA-jfxtlGIU3gfMKZ0VNaToEQwjD9jtS6Qkmo_34M");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzhkMWQzMzViNjI1MDAxZmY3NDNiM2FkY2ZiYjJkZDg4OGY4MjQwNTFmZDNlZTllNDc4ZTJiZGFjNTgzNTZmOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDFUMTE6MzU6NTIuNjA2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5FUG1CQWc4MndSLXpMQ09Wb1NSRUdHZ3puMzVRMzgwQTdGM09GSXI4QjR2LXZJeU51NUVqM3JXWW5DQXZfX0FqeGZkZThfVl9vVDZ4RG1mcG5iT2I0cTExZnZRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6519599836965', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6519599836965', 'paypal', 'buynow', 'rect', 'gold');
});
}