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/l15fxo25pv7b/plugin/22/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQRHEFTQKZjFmTAHnkvR-gJmDYiW5ZxZev0rqYYyTHGM_7BW-WoWFvpIp5coJ0fYLhyjwmmc7NOyjru-");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTY2YzlhMzRlM2FjOWRlN2FhMjhhZmMyYzc2ZDFkNTU3MjYxNjRmNzc0MWQ3YjFlN2EwYjc5NTYxYjZjYjY1YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDVUMTI6Mjk6MjMuMzE1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5nRm9pYWw1RkpGc19yRThwc19GNFdldENoSV9fXzBDOW5DSXhaSC1lOGZJeEpISUR6N0RrS3F2RkRLM21DMTZ0UVpGSEJ5MnJmci1NeGk2T2tzVmFKVW8wQ29nIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dfa9329bfa1', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dfa9329bfa1', 'paypal', 'buynow', 'rect', 'gold');
});
}