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/32/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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2E0NDI2N2Y5ZmNlMWM0MzU4OTc5MWY0N2I1N2Q2NGNmNTU2NDM1MDkyZmQ5NGJmZjViYTA2YTVjMzU0ZDMzZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMTlUMDM6NDc6MjAuNjgyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBfdEZCOGhNem41SV9JcWdRN21Mb3ZuU0FrZ1BtLWdRZzB6S1RfbDROamtnLTA1WlcwaW9pOVBqTU53UzM0Rm51b2ZQTjFiYWJ3V3pHTkx0a2JpT3BrZ2cwbGN3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AV_BnL-LQpA40ZNz3EAa2hUJc2MbztTverzg7sPe_dJFbugGwBGNm7Dd5vAiJsCX2LfOO-BKvjEcl-cq");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2E0NDI2N2Y5ZmNlMWM0MzU4OTc5MWY0N2I1N2Q2NGNmNTU2NDM1MDkyZmQ5NGJmZjViYTA2YTVjMzU0ZDMzZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMTlUMDM6NDc6MjAuNjgyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBfdEZCOGhNem41SV9JcWdRN21Mb3ZuU0FrZ1BtLWdRZzB6S1RfbDROamtnLTA1WlcwaW9pOVBqTU53UzM0Rm51b2ZQTjFiYWJ3V3pHTkx0a2JpT3BrZ2cwbGN3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65f9106a0a1f6', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('65f9106a0a1f6', 'paypal', 'buynow', 'rect', 'gold');
}