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/t4m57w9r2qfo/plugin/6/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVZN1UJV4F3F3iBuENgbpfKnIoaFb7ubu5kGdBzTHoxIgXzmCYP9cHAaptxgDGY7YoxMGLxXI_BEhPxC");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODIwM2NkYWRmN2VmMWY4MjAwMTU1OGEzNzRkNDgyZTAyYTkxMzI4ZDExMzA2YTBjYjhlYTRlNmM4OGYyOTc5OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMTItMTVUMDc6MjQ6MjkuNzc3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5lVW1Kcm43ZHRHRmhMUWZVR0dJbDd2UzVuODZ1c3hobFBfdFdNWWl3RlpRQnlyMS1pbWt5SnBWMWZfdUIzNnFZS2RNY3gxb1kxSEhjVkRrcnJ2SHM5YlFNTnZRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('639ad61aaa62f', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('639ad61aaa62f', 'paypal', 'buynow', 'rect', 'gold');
});
}