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