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/kyx77bbyb2ry/plugin/3/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWImiyq667Ax74-uFtRVO1ZZU23CapZWLyH-nHYyARSGxCMEFQ4AV2M-jBpau5Iu0dTYeApEWKX_blx9");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzUyN2U5NDE0Y2U5MTg2Y2QxNmQ3NjVhOTQxYWY4NDU4YTAxNDg5N2U1YmRkOGU0YjdiMGE4YWM5YTFlMzdlOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjZUMDU6MjM6NTcuNjAxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB6ejdncWxEenh3LUIxWW91S0JVOXBhdFYwZU9pVzNhZGRvcUhMekc5TTZ1Tmk1OXgxOGtIZTgwQld3dV9pUDhHX3B3WlZOVGpwNGZjeEZQaFp2Tk1kSDJNVjZBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628f0eecc6d22', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628f0eecc6d22', 'paypal', 'buynow', 'rect', 'gold');
});
}