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