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