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/7rmj15n3wgyz/plugin/25/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AV_BnL-LQpA40ZNz3EAa2hUJc2MbztTverzg7sPe_dJFbugGwBGNm7Dd5vAiJsCX2LfOO-BKvjEcl-cq");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTA5ZWIwNTQ1M2M4NmViZjNjMjZmZTExZmFhZDY4NzMwNzQxZGUyOGE3ODQ3ZTVhMTM4ZTAyMjdiOTcyM2UwNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjlUMTg6MzI6MjguMTA0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1GaUpPcHE1YTh3MlBaeXZhZG9ZNXp3aG1HemhVUUtXa0hQNnFjdERoWFhIaF9lWklsTENKNHVKbzF6RUR0VENGbTFsSzQtbjBCTDJxbkNPZFlDd3ZlMEo2RlFRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d6c1c908bdd', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d6c1c908bdd', 'paypal', 'buynow', 'rect', 'gold');
});
}